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,20 +107,21 @@ export default {
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
ptainr: this.model.ledgrp.apl.pts.ptainr,
businessType: 'LC',
tbl: 'LC',
};
const loading = this.loading();
let res = await Api.post('/service/letdrw/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.ledgrp.rec.ownref = res.data;
}
},
//获取信用证编号
async getref() {
let params = {
ptainr: this.model.ledgrp.ben.pts.ptainr,
businessType: 'RS',
tbl: 'RS',
};
const loading = this.loading();
let res = await Api.post('/service/letdrw/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.ledgrp.rec.ownref = res.data;
}
},
// 获取gitopn弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
......
......@@ -26,16 +26,14 @@
>
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
<c-button
<c-button
style="margin: 0 0"
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>
</template>
......
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