Commit 9cb52372 by 闫泽浩

letame与letrw缺陷修复

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