Commit 81a416c7 by 潘际乾

交易金额计算回显

parent adc6c2ef
......@@ -45,6 +45,7 @@ export default {
"liaall.butmissig" :defaultLiaallButmissig,
"ditp.revclause.buttxmsel" :defaultDitpRevclauseButtxmsel,
"didgrp.cbs.nom1.cur" :defaultDidgrpCbsNom1Cur,
"didgrp.cbs.nom1.amt" :defaultDidgrpCbsNom1Amt,
"setmod.zmqacc" :defaultSetmodZmqacc,
"ditp.amt" :defaultDitpAmt,
"didgrp.rec.mytype" :defaultDidgrpRecMytype,
......@@ -235,6 +236,12 @@ function defaultDitpRevclauseButtxmsel()
function defaultDidgrpCbsNom1Cur()
{
}
function defaultDidgrpCbsNom1Amt(newVal, oldVal) {
const that = this;
that.executeDefault("didgrp.cbs.max.amt", Utils.flatObject(this.model)).then(res => {
that.model.didgrp.cbs.max.amt = res.data.didgrp_cbs_max_amt;
})
}
function defaultSetmodZmqacc()
{
}
......
......@@ -60,7 +60,7 @@
</el-col>
<el-col :span="6" >
<el-form-item style="text-align:left" label-width="20px">
<c-input v-model="model.didgrp.cbs.nom1.amt" style="text-align:left;width:100%" placeholder="请输入信用证金额"></c-input>
<c-input v-model.lazy="model.didgrp.cbs.nom1.amt" style="text-align:left;width:100%" placeholder="请输入信用证金额"></c-input>
</el-form-item>
</el-col>
......@@ -180,7 +180,7 @@
<el-col :span="5">
<el-form-item label="" label-width="20px">
<c-input v-model="model.didgrp.cbs.max.amt" placeholder="请输入信用证最大金额"></c-input>
<c-input v-model="model.didgrp.cbs.max.amt" placeholder="请输入信用证最大金额" :readonly="true"></c-input>
</el-form-item>
</el-col>
......
......@@ -162,6 +162,7 @@ export default {
console.log(0)
}
})
// this.executeDefault("didgrp.cbs.max.amt", Utils.flatObject(this.model))
}
},
created:async function(){
......
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