Commit 978c4cb6 by wangguangchao

付款交易调试提交

parent 1729109e
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bdtset{ export default class Bdtset{
constructor () { constructor () {
this.data = { this.data = {
liaall:{ liaall: new Pub().data.Liaall,
tenstm:"", // Tenor Stream .liaall.tenstm
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur
totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
addinf:"", // Additional Information .liaall.liaccv.addinf
cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
},
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
setmod:{ setmod:{
doccur:"", // document currency .setmod.doccur doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt docamt:"", // document amount .setmod.docamt
...@@ -219,29 +162,7 @@ export default class Bdtset{ ...@@ -219,29 +162,7 @@ export default class Bdtset{
extrat:"", // Exchange Rate .trtcre.extrat extrat:"", // Exchange Rate .trtcre.extrat
}, },
paypsb:"", // Unpaid by Applicant .paypsb paypsb:"", // Unpaid by Applicant .paypsb
mtabut:{ mtabut: new Pub().data.Mtabut,
clsflg:"", // Close Flag .mtabut.clsflg
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
bddgrp:{ bddgrp:{
rec:{ rec:{
frepayflg:"", // Free of Payment Flag .bddgrp.rec.frepayflg frepayflg:"", // Free of Payment Flag .bddgrp.rec.frepayflg
...@@ -390,16 +311,7 @@ export default class Bdtset{ ...@@ -390,16 +311,7 @@ export default class Bdtset{
dfucur:"", // 代付金额: .dftcre.dfucur dfucur:"", // 代付金额: .dftcre.dfucur
dfuamt:"", // 代付金额: .dftcre.dfuamt dfuamt:"", // 代付金额: .dftcre.dfuamt
}, },
trnmod:{ trnmod: new Pub().data.Trnmod,
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doceot: [],
},
},
fkr:"", // 付款人: .fkr fkr:"", // 付款人: .fkr
fkzh:"", // 付款账号: .fkzh fkzh:"", // 付款账号: .fkzh
qxr:"", // 起息日: .qxr qxr:"", // 起息日: .qxr
......
...@@ -440,20 +440,65 @@ ...@@ -440,20 +440,65 @@
v-model="model.bddgrp.rec.docprbrol" v-model="model.bddgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择Presented by" placeholder="请选择Presented by"
:code="getValues('bddgrp.rec.docprbrol')"
@change="docprbrolChange"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单行BIC" prop="bddgrp.apl.pts.extkey"> <el-form-item label="交单行BIC" prop="bddgrp.prb.pts.extkey">
<c-input <c-input
v-model="model.bddgrp.prb.pts.extkey" v-model="model.bddgrp.prb.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" style="width: 100%"
placeholder="请输入交单行BIC"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行联行行号" prop="bddgrp.prb.pts.bankno">
<c-input
v-model="model.bddgrp.prb.pts.bankno"
maxlength="20"
style="width: 100%"
placeholder="请输入交单行联行行号"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
@keyup.enter.native="showGridPromptDialog('bddgrp.prb.pts.bankno')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-ptapdome
<c-col :span="24">
<el-form-item label="交单行联行名称(电证用)">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.jigomc"
style="width: 100%"
maxlength="35"
show-word-limit
placeholder="请输入联行名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行地址(电证用)">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.dizhii"
style="width: 100%"
maxlength="35"
show-word-limit
placeholder="请输入交单行地址"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
></c-input>
</el-form-item>
</c-col>
<!-- <c-ptapdome
:disabledJigomc="true" :disabledJigomc="true"
:disabledDizhii="true" :disabledDizhii="true"
:model="model" :model="model"
...@@ -462,7 +507,7 @@ ...@@ -462,7 +507,7 @@
rol: 'apl', rol: 'apl',
grp: 'bddgrp', grp: 'bddgrp',
}" }"
></c-ptapdome> ></c-ptapdome> -->
...@@ -584,6 +629,7 @@ import CommonProcess from "~/mixin/CommonProcess"; ...@@ -584,6 +629,7 @@ import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtset/Event"; import Event from "~/model/Bdtset/Event";
import PtapDome from "~/views/Public/PtapDome"; import PtapDome from "~/views/Public/PtapDome";
import Utils from "~/utils";
export default { export default {
components: { "c-ptapdome": PtapDome }, components: { "c-ptapdome": PtapDome },
...@@ -599,13 +645,22 @@ export default { ...@@ -599,13 +645,22 @@ export default {
'3 3 "Cdt" 0 ', '3 3 "Cdt" 0 ',
'4 4 "Cur" 0 ', '4 4 "Cur" 0 ',
'5 5 "Amt" 0 ', '5 5 "Amt" 0 ',
'6 6 "Mat.Dat." 0 ', '6 6 "Mat Dat" 0 ',
], ],
data: [], data: [],
}, },
}; };
}, },
methods: { ...Event }, methods: { ...Event,
docprbrolChange(){
this.executeRule("bddgrp.rec.docprbrol").then((res) => {
if ((res.respCode = SUCCESS)) {
debugger;
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -17,12 +17,12 @@ ...@@ -17,12 +17,12 @@
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000005 --> <!--PD000005 -->
<el-tab-pane label="付款信息" name="utlp"> <el-tab-pane label="付款信息" name="utlp">
<c-content> <c-content>
<m-utlp :model="model" :codes="codes"/> <m-utlp :model="model" :codes="codes" ref="utlp"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="融资" name="crefin" v-if="model.trtcre.crefinflg"> <el-tab-pane label="融资" name="crefin" v-if="model.trtcre.crefinflg">
...@@ -84,6 +84,8 @@ ...@@ -84,6 +84,8 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div> </div>
</c-page> </c-page>
</template> </template>
...@@ -174,16 +176,17 @@ export default { ...@@ -174,16 +176,17 @@ export default {
} }
}, },
methods:{ methods:{
tabClick(){
}
}, },
created:async function(){ created:async function(){
console.log("进入bdtset交易"); console.log("进入bdtset交易");
console.log(new Bdtset().data) console.log(new Bdtset().data)
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
let that = this;
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
that.$refs.utlp.stmData.data=rtnmsg.data.liaall_tenstm.rows
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
......
...@@ -597,6 +597,7 @@ ...@@ -597,6 +597,7 @@
style="width: 100%" style="width: 100%"
placeholder="请输入交单行联行行号" placeholder="请输入交单行联行行号"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true" :disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
@keyup.enter.native="showGridPromptDialog('bddgrp.prb.pts.bankno')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
}; };
}, },
methods: { methods: {
tabClick() {},
}, },
created: async function () { created: async function () {
// console.log("进入ditdck交易"); // console.log("进入ditdck交易");
......
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