Commit 9b8b6307 authored by youjie's avatar youjie

no message

parent 5b88bb18
......@@ -4,7 +4,7 @@
height: 32px;
}
.yinhangForm{
max-height: 300px;
max-height: 500px;
overflow-y: auto;
}
.yinhangBox{
......@@ -33,7 +33,7 @@
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
<el-form-item :label="$t('objFill.v103.qichuyue')" prop="StartBalance">
<el-input-number :disabled="msg.Id==1&&msg.Image" class="w170" v-model="msg.StartBalance" :min="Number(0)" :step="50" size="small"/>
<el-input-number :disabled="msg.isImage" class="w170" v-model="msg.StartBalance" :min="Number(0)" :step="50" size="small"/>
</el-form-item>
<el-form-item style=" width: 500px;margin-top: 0px;" :label="$t('objFill.fj')" prop="Image">
<div style="display: flex;flex-direction: row;">
......@@ -43,7 +43,7 @@
:preview-src-list="[msg.Image]"
show-progress
fit="cover"/>
<el-upload v-if="msg.Id==0||msg.Image==''"
<el-upload v-if="!msg.isImage"
drag
:http-request="UploadImage"
:multiple="true" :show-file-list="false" action=""
......
......@@ -280,6 +280,7 @@ export default {
StartBalance: '',// 期初余额
Image: '',
SubjectList:[],
isImage: false,
},
BanObj:{
Id: 0,
......@@ -340,6 +341,7 @@ export default {
StartBalance: 0,
Image: '',
SubjectList: [],
isImage: false,
}
this.SubjectTypeList.forEach(x=>{
let BanObj = JSON.parse(JSON.stringify(x))
......@@ -361,6 +363,7 @@ export default {
StartBalance: item.StartBalance,
Image: '',
SubjectList: [],
isImage: false
}
this.SubjectList.forEach(x=>{
x.BalanceList.forEach(y=>{
......@@ -377,6 +380,7 @@ export default {
}
if(x.SubjectId==-6) {
this.BankStaObj.Image = y.Image
this.BankStaObj.isImage = y.Image!=''?true:false
}
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment