Commit 9cb52372 by 闫泽浩

letame与letrw缺陷修复

parent a54434f5
......@@ -506,6 +506,11 @@ export default {
this.model.trnmod.swiadd.newamt = parseFloat(isNaN(ameamt) || !ameamt ? 0 : ameamt) +
parseFloat(isNaN(amt) || !amt ? 0 : amt)
return this.model.trnmod.swiadd.newamt
},
engamt(){
this.model.letamep.engamt = this.model.letamep.maxamt -this.model.oldledgrp.cbs.max.amt
return this.model.letamep.engamt
}
},
}
......
......@@ -107,12 +107,13 @@ export default {
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
//获取信用证编号
async getref() {
let params = {
ptainr: this.model.ledgrp.apl.pts.ptainr,
businessType: 'LC',
tbl: 'LC',
ptainr: this.model.ledgrp.ben.pts.ptainr,
businessType: 'RS',
tbl: 'RS',
};
const loading = this.loading();
let res = await Api.post('/service/letdrw/getOwnRef', params);
......
......@@ -31,10 +31,8 @@
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref? false: true"
@click="getref"
>
获取
</c-button>
......
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