Commit b5a575af by WF1020

letame修改

parent 73c926f8
......@@ -105,15 +105,15 @@ export default {
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
ptainr: this.model.ledgrp.apl.pts.ptainr,
businessType: 'LC',
tbl: 'LC',
};
const loading = this.loading();
let res = await Api.post('/service/letame/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
this.model.ledgrp.rec.ownref = res.data;
}
},
// 获取letame弹框表格数据
......@@ -137,7 +137,7 @@ export default {
};
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.ledgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
......@@ -147,12 +147,12 @@ export default {
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg,
letp: {
swiftflg: this.model.letp.swiftflg,
},
gidgrp: {
ledgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
purpos: this.model.ledgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
......
......@@ -3,9 +3,6 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Letame {
constructor() {
this.data = {
brtp:{
swiftflg:''
},
number: '',
oldledgrp: {
rec: {
......@@ -29,6 +26,7 @@ export default class Letame {
}
},
letp: {
swiftflg:'',
usr: {
extkey: ''
},
......
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