Commit 02bab10f by liaoxing

botdav 获取代收行等

parent 4c72dd75
......@@ -91,10 +91,6 @@ export default {
return;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
......@@ -109,12 +105,16 @@ export default {
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取gitopn弹框表格数据
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 获取botdav弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.gidgrp[type.toLowerCase()].pts.extkey,
extkey: this.model.bodgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
......@@ -123,14 +123,14 @@ export default {
this.root.promptData.type = type;
}
},
// 选中gitopn弹框表格的行数据
// 选中botdav弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data);
this.$set(this.model.bodgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
......
......@@ -158,20 +158,27 @@
title: '收款人',
grp: 'bodgrp',
rol: 'drr',
}" :isAdrblk="true" :disabled="this.flag1">
}" :isAdrblk="true" :disabled="this.flag1"
@keyup.enter.native="queryGridEtyPromptDialogData('DRR', 'C')">
</c-ptap>
<c-ptap :model="model" :argadr="{
title: '代收行',
grp: 'bodgrp',
rol: 'col',
}" :disabled="this.flag2">
}"
:disabled="this.flag2"
@keyup.enter.native="queryGridEtyPromptDialogData('COL', 'B')">
</c-ptap>
<c-ptap :model="model" :argadr="{
title: '付款人',
grp: 'bodgrp',
rol: 'dre',
}" :disabled="this.flag3">
}"
:disabled="this.flag3"
@keyup.enter.native="queryGridEtyPromptDialogData('DRE', 'B')"
>
</c-ptap>
<!-- 付款人TD看是F,但是为F新国结没数据 -->
<c-col :span="24">
<el-form-item label="国家或地区代码" prop="bodgrp.rec.stacty">
<c-select v-model="model.bodgrp.rec.stacty" style="width:100%" placeholder="请选择国家或地区代码(风险国家)"
......
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