Commit 8882a0bd by liaoxing

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 6c2fb9bf 295726a8
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName); let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest); this.processLiaall(engpRequest);
break; break;
case 'setpan': case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName); let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值 // 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => { this.processSetpan(setfegRequest, () => {
......
...@@ -27,9 +27,12 @@ export default { ...@@ -27,9 +27,12 @@ export default {
} }
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'LID', objtyp: 'BRD',
objinr: model.brdgrp.rec.inr,
ownref: model.brdgrp.rec.ownref, ownref: model.brdgrp.rec.ownref,
expdat: model.lidgrp.rec.expdat, expdat: model.lidgrp.rec.expdat,
doccur: model.setmod.doccur,
docamt: model.setmod.docamt,
}, },
cbsMap: { cbsMap: {
......
...@@ -51,6 +51,13 @@ export default { ...@@ -51,6 +51,13 @@ export default {
this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog) this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog)
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg) this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
} }
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
return buildFn.buildSetglg(this.model, this.trnName);
});
}, },
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题 // 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) { copyValueFromVoData (model, data) {
......
...@@ -43,7 +43,7 @@ export default class Brtlat{ ...@@ -43,7 +43,7 @@ export default class Brtlat{
}, },
opn1:{ opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt amt:"0.0", // Balance .brdgrp.cbs.opn1.amt
}, },
}, },
apl:{ apl:{
......
...@@ -425,10 +425,10 @@ export default class Bctset { ...@@ -425,10 +425,10 @@ export default class Bctset {
}, },
lidgrp: { lidgrp: {
rec: { rec: {
inr:"00000014", inr:"",
expdat: '', expdat: '',
ownref: '', ownref: '',
branchinr:"00000014", branchinr:"",
}, },
cbs: { cbs: {
opn1: { opn1: {
......
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="单据金额部分" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="单据金额部分" prop="brdgrp.cbs.opn2.cur">
<c-select <c-select
v-model="model.brdgrp.cbs.opn2.cur" v-model="opn2cur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.cur" :code="codes.cur"
...@@ -293,7 +293,7 @@ ...@@ -293,7 +293,7 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="附加金额部分" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="附加金额部分" prop="brdgrp.cbs.opn2.cur">
<c-select <c-select
v-model="model.brdgrp.cbs.opn2.cur" v-model="opn2cur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.cur" :code="codes.cur"
...@@ -745,6 +745,12 @@ export default { ...@@ -745,6 +745,12 @@ export default {
}, },
}, },
}, },
computed:{
opn2cur(){
this.model.brdgrp.cbs.opn2.cur = this.model.brdgrp.cbs.max.cur
return this.model.brdgrp.cbs.opn2.cur
}
}
}; };
</script> </script>
<style> <style>
......
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
ownref: model.brdgrp.rec.ownref, ownref: model.brdgrp.rec.ownref,
opndat: model.brdgrp.rec.opndat, opndat: model.brdgrp.rec.opndat,
expdat: model.brdgrp.rec.expdat, expdat: model.brdgrp.rec.expdat,
branchInr: model.brdgrp.rec.branchInr, branchInr: model.brdgrp.rec.branchinr,
hndtyp: model.brdgrp.rec.hndtyp, hndtyp: model.brdgrp.rec.hndtyp,
gartyp: model.brdgrp.rec.gartyp, gartyp: model.brdgrp.rec.gartyp,
fingua: model.brdgrp.rec.fingua, fingua: model.brdgrp.rec.fingua,
...@@ -59,10 +59,17 @@ export default { ...@@ -59,10 +59,17 @@ export default {
cnfsta: model.brdgrp.rec.cnfsta, cnfsta: model.brdgrp.rec.cnfsta,
sftmt: model.sftmt, sftmt: model.sftmt,
docprbrol: model.brdgrp.rec.docprbrol, docprbrol: model.brdgrp.rec.docprbrol,
docamt: model.setmod.docamt,
doccur: model.setmod.doccur,
expdat: model.brdgrp.rec.expdat,
matdat: model.brdgrp.rec.matdat,
acpnowflg: model.brdgrp.rec.acpnowflg,
docflg: model.brdgrp.rec.docflg,
}, },
cbsMap: { cbsMap: {
MAX: model.brdgrp.cbs.max, MAX: model.brdgrp.cbs.max,
OPN1: model.brdgrp.cbs.opn1, OPN1: model.brdgrp.cbs.opn1,
OPN2: model.brdgrp.cbs.opn2,
MAC: model.brdgrp.cbs.mac, MAC: model.brdgrp.cbs.mac,
MAC2: model.brdgrp.cbs.mac2, MAC2: model.brdgrp.cbs.mac2,
OPC2: model.brdgrp.cbs.opc2, OPC2: model.brdgrp.cbs.opc2,
......
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
// 业务信息=》基本信息=》保函编号-----获取保函编号 // 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() { async queryOwnref() {
let params = { let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr, ptainr: this.model.brdgrp.apl.pts.ptainr,
businessType: 'LG', businessType: 'LG',
tbl: 'LG', tbl: 'LG',
}; };
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
let res = await Api.post('/service/brtudp/getOwnRef', params); let res = await Api.post('/service/brtudp/getOwnRef', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
loading.close(); loading.close();
this.model.gidgrp.rec.ownref = res.data; this.model.brdgrp.rec.ownref = res.data;
} }
}, },
// 获取brtudp弹框表格数据 // 获取brtudp弹框表格数据
......
...@@ -24,19 +24,19 @@ export default class Brtudp { ...@@ -24,19 +24,19 @@ export default class Brtudp {
relstoadr: '' relstoadr: ''
}, },
prb: { prb: {
pts:new Pts().data pts: new Pts().data
}, },
acb: { acb: {
pts:new Pts().data pts: new Pts().data
}, },
rmb: { rmb: {
pts:new Pts().data pts: new Pts().data
}, },
beb: { beb: {
pts:new Pts().data pts: new Pts().data
}, },
shp: { shp: {
pts:new Pts().data pts: new Pts().data
}, },
rec: { rec: {
tenmaxday: '', tenmaxday: '',
...@@ -70,6 +70,7 @@ export default class Brtudp { ...@@ -70,6 +70,7 @@ export default class Brtudp {
advdat: '', advdat: '',
stadat: '', stadat: '',
dscinsflg: '', dscinsflg: '',
acpnowflg:'X',
branchinr:'', branchinr:'',
inr:'' inr:''
}, },
...@@ -96,7 +97,7 @@ export default class Brtudp { ...@@ -96,7 +97,7 @@ export default class Brtudp {
brtp: { brtp: {
connum: '', connum: '',
oth: { oth: {
pts:new Pts().data pts: new Pts().data
}, },
}, },
aamset: { aamset: {
......
...@@ -45,6 +45,13 @@ ...@@ -45,6 +45,13 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod"> <el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
......
...@@ -14,8 +14,8 @@ export default class Infbed{ ...@@ -14,8 +14,8 @@ export default class Infbed{
}, },
infcon: { infcon: {
chksubcon: '', chksubcon: '',
opndatfrom: '', opndatfrom: new Date(),
opndatto: '', opndatto: new Date(),
seaownref: '', seaownref: '',
forflg: '', forflg: '',
invnum: '', invnum: '',
......
...@@ -48,12 +48,13 @@ ...@@ -48,12 +48,13 @@
<label style="display: inline-block; width: 100%">-</label> <label style="display: inline-block; width: 100%">-</label>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.infcon.opndatto" v-model="model.infcon.opndatto"
style="width: 100%" placeholder="请选择截止日期"
placeholder="请选择截至日期" style="width: 100%"
></c-date-picker> value-format="yyyy-MM-dd"
></c-date-picker>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -31,10 +31,11 @@ export default { ...@@ -31,10 +31,11 @@ export default {
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'BRD', objtyp: 'BRD',
ownref: model.lidgrp.rec.ownref, objinr: model.brdgrp.rec.inr,
opndat: model.lidgrp.rec.opndat, ownref: model.brdgrp.rec.ownref,
expdat: model.lidgrp.rec.expdat, opndat: model.brdgrp.rec.opndat,
branchInr: model.lidgrp.rec.branchInr, expdat: model.brdgrp.rec.expdat,
branchInr: model.brdgrp.rec.branchinr,
hndtyp: model.lidgrp.rec.hndtyp, hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp, gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua, fingua: model.lidgrp.rec.fingua,
...@@ -50,17 +51,14 @@ export default { ...@@ -50,17 +51,14 @@ export default {
advtyp: model.brdgrp.rec.advtyp, advtyp: model.brdgrp.rec.advtyp,
}, },
cbsMap: { cbsMap: {
MAX: model.lidgrp.cbs.max, // MAX: model.lidgrp.cbs.max,
// OLDMAX: model.lidgrp.cbs.oldmax,
OLDMAX: model.lidgrp.cbs.oldmax, // MAX2: model.lidgrp.cbs.max2,
MAX2: model.lidgrp.cbs.max2, // NOM1: model.lidgrp.cbs.nom1,
NOM1: model.lidgrp.cbs.nom1, // OPN1: model.lidgrp.cbs.opn1,
MAX: model.brdgrp.cbs.max,
OPN1: model.lidgrp.cbs.opn1, MAX2: model.brdgrp.cbs.max2,
MAC: model.lidgrp.cbs.mac, OPN2: model.brdgrp.cbs.opn1,
MAC2: model.lidgrp.cbs.mac2,
OPC2: model.lidgrp.cbs.opc2,
CNF: model.lidgrp.cbs.cnf,
}, },
ptsList: ptsptaList, ptsList: ptsptaList,
transName: trnName, transName: trnName,
......
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