Commit 88ba6f44 by Eivi

bftsnd页面修改完成、bftacc交易完成、bftdcr完善中

parent ea7b230b
...@@ -120,7 +120,7 @@ const CodeTable = { ...@@ -120,7 +120,7 @@ const CodeTable = {
{ label: "type1", value: "1" } { label: "type1", value: "1" }
], ],
stacty:[ stacty: [
{ label: "AALAND ISLAND", value: "AX" }, { label: "AALAND ISLAND", value: "AX" },
{ label: "Afghanistan", value: "AF" }, { label: "Afghanistan", value: "AF" },
{ label: "Albania", value: "AL" }, { label: "Albania", value: "AL" },
...@@ -3985,10 +3985,6 @@ const CodeTable = { ...@@ -3985,10 +3985,6 @@ const CodeTable = {
{ label: "可转让", value: "IT" }, { label: "可转让", value: "IT" },
{ label: "不可转让", value: "I" }, { label: "不可转让", value: "I" },
], ],
docprbrol1: [
{ label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" },
],
lcselflg: [ lcselflg: [
{ label: "信用证闭卷", value: "1" }, { label: "信用证闭卷", value: "1" },
{ label: "信用证修改确认", value: "5" }, { label: "信用证修改确认", value: "5" },
......
...@@ -2,41 +2,34 @@ import Api from "~/service/Api" ...@@ -2,41 +2,34 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onAcbpDet(){ async onAcbpDet() {
let rtnmsg = await this.executeRule("acbp.det") let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onRmbpDet(){ async onRmbpDet() {
let rtnmsg = await this.executeRule("rmbp.det") let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBebpDet(){ async onBebpDet() {
let rtnmsg = await this.executeRule("bebp.det") let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
onSeainf() {},
onDetpButgetref() {},
} }
\ No newline at end of file
...@@ -22,10 +22,8 @@ let checkObj = { ...@@ -22,10 +22,8 @@ let checkObj = {
"bfdgrp.oth.pts.dizhii" :null, "bfdgrp.oth.pts.dizhii" :null,
"idcode" :null, "idcode" :null,
"bfdgrp.doc.adrelc" :null, "bfdgrp.doc.adrelc" :null,
"bftp.dedget.sdamod.dadsnd" :null,
"bfdgrp.rec.disdat" :null, "bfdgrp.rec.disdat" :null,
"bfdgrp.rec.matdat" :null, "bfdgrp.rec.matdat" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"bfdgrp.apl.pts.nam" :null, "bfdgrp.apl.pts.nam" :null,
"bfdsnd.usadet" :null, "bfdsnd.usadet" :null,
"bfdgrp.rec.rcvdat" :null, "bfdgrp.rec.rcvdat" :null,
...@@ -38,16 +36,12 @@ let checkObj = { ...@@ -38,16 +36,12 @@ let checkObj = {
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"bfdgrp.rec.anobnkcod" :null, "bfdgrp.rec.anobnkcod" :null,
"bfdgrp.blk.docdis" :null, "bfdgrp.blk.docdis" :null,
"bftp.recget.sdamod.dadsnd" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"bfdgrp.rec.invref" :null, "bfdgrp.rec.invref" :null,
"bfdgrp.rec.docrol" :null, "bfdgrp.rec.docrol" :null,
"bfdgrp.prb.pts.nam" :null, "bfdgrp.prb.pts.nam" :null,
"bfdgrp.rec.anodsp" :null, "bfdgrp.rec.anodsp" :null,
"bfdgrp.doc.pts.extkey" :null, "bfdgrp.doc.pts.extkey" :null,
"setmod.redamt" :null,
"bfdgrp.oth.pts.jigomc" :null, "bfdgrp.oth.pts.jigomc" :null,
"bftp.docp.ptsget.sdamod.dadsnd" :null,
"bfdgrp.oth.pts.bankno" :null, "bfdgrp.oth.pts.bankno" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
"bfdsnd.addphr" :null, "bfdsnd.addphr" :null,
...@@ -60,7 +54,6 @@ let checkObj = { ...@@ -60,7 +54,6 @@ let checkObj = {
"bfdgrp.rec.predat" :null, "bfdgrp.rec.predat" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"bfdgrp.blk.benref" :null, "bfdgrp.blk.benref" :null,
"bftp.prbp.ptsget.sdamod.dadsnd" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -8,7 +8,6 @@ import Utils from "~/utils/index" ...@@ -8,7 +8,6 @@ import Utils from "~/utils/index"
export default { export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"bftp.msgtyp" :Utils.defaultFunction, "bftp.msgtyp" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
...@@ -23,7 +22,6 @@ export default { ...@@ -23,7 +22,6 @@ export default {
"bfdgrp.cbs.max.cur" :Utils.defaultFunction, "bfdgrp.cbs.max.cur" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bfdgrp.rec.docrol" :Utils.defaultFunction,
"bfdgrp.rec.docrolflg" :Utils.defaultFunction, "bfdgrp.rec.docrolflg" :Utils.defaultFunction,
"bfdgrp.doc.pts.extkey" :Utils.defaultFunction, "bfdgrp.doc.pts.extkey" :Utils.defaultFunction,
"bfdgrp.cbs.max.amt" :Utils.defaultFunction, "bfdgrp.cbs.max.amt" :Utils.defaultFunction,
......
...@@ -2,49 +2,12 @@ import Api from "~/service/Api" ...@@ -2,49 +2,12 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onDadsnd() {
let rtnmsg = await this.executeRule("bftp.dedget.sdamod.dadsnd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {
},
async onBFDDadsnd() {
let rtnmsg = await this.executeRule("bftp.recget.sdamod.dadsnd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.bfdgrp.rec.ownref = rtnmsg.data.bfdgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onBFDSeainf() {
},
async onPrbpDet() { async onPrbpDet() {
let rtnmsg = await this.executeRule("prbp.det") let rtnmsg = await this.executeRule("prbp.det")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -53,8 +16,7 @@ export default { ...@@ -53,8 +16,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -63,8 +25,7 @@ export default { ...@@ -63,8 +25,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -73,8 +34,7 @@ export default { ...@@ -73,8 +34,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -83,8 +43,7 @@ export default { ...@@ -83,8 +43,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -93,8 +52,7 @@ export default { ...@@ -93,8 +52,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -103,8 +61,7 @@ export default { ...@@ -103,8 +61,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -113,38 +70,34 @@ export default { ...@@ -113,38 +70,34 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLiaallButmisamt() { async onSetmodDet() {
let rtnmsg = await this.executeRule("liaall.butmisamt") let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLiaallButmissig() { async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmissig") let rtnmsg = await this.executeRule("liaall.butmisamt")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onSetmodDet() { async onLiaallButmissig() {
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("liaall.butmissig")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -153,8 +106,7 @@ export default { ...@@ -153,8 +106,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -163,8 +115,7 @@ export default { ...@@ -163,8 +115,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -173,8 +124,7 @@ export default { ...@@ -173,8 +124,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -183,8 +133,7 @@ export default { ...@@ -183,8 +133,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -193,30 +142,13 @@ export default { ...@@ -193,30 +142,13 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onMtdbutButapy() {
let rtnmsg = await this.executeRule("mtdbut.butapy")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onMtdbutButcan() {
let rtnmsg = await this.executeRule("mtdbut.butcan")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onSeainf() {},
onDetpButgetref() {},
onBenpDet() {},
onAplpDet() {},
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- ====================左边======================= --> <!-- left -->
<c-col :span="11"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item <el-form-item
label="参考号" label="参考号"
prop="dedgrp.rec.ownref" prop="bfdgrp.rec.ownref"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.dedgrp.rec.ownref" v-model="model.bfdgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入参考号" placeholder="请输入参考号"
style="width: 95%" style="width: 95%"
...@@ -97,14 +97,9 @@ ...@@ -97,14 +97,9 @@
</c-col> </c-col>
<!-- </c-col> --> <!-- </c-col> -->
</c-col> </c-col>
<!-- 变动 -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur">
label="单据金额"
prop="bfdgrp.cbs.max.cur"
>
<c-input <c-input
v-model="model.bfdgrp.cbs.max.cur" v-model="model.bfdgrp.cbs.max.cur"
maxlength="3" maxlength="3"
...@@ -114,11 +109,7 @@ ...@@ -114,11 +109,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item label="" label-width="5px" prop="bfdgrp.cbs.max.amt">
label=""
label-width="5px"
prop="bfdgrp.cbs.max.amt"
>
<c-input <c-input
v-model="model.bfdgrp.cbs.max.amt" v-model="model.bfdgrp.cbs.max.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
...@@ -129,10 +120,7 @@ ...@@ -129,10 +120,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item label="单据余额" prop="bfdgrp.cbs.opn1.cur">
label="单据余额"
prop="bfdgrp.cbs.opn1.cur"
>
<c-input <c-input
v-model="model.bfdgrp.cbs.opn1.cur" v-model="model.bfdgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
...@@ -142,11 +130,7 @@ ...@@ -142,11 +130,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt">
label=""
label-width="5px"
prop="bfdgrp.cbs.opn1.amt"
>
<c-input <c-input
v-model="model.bfdgrp.cbs.opn1.amt" v-model="model.bfdgrp.cbs.opn1.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
...@@ -156,10 +140,7 @@ ...@@ -156,10 +140,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
label="单据类型"
prop="bfdgrp.rec.doctypcod"
>
<c-input <c-input
v-model="model.bfdgrp.rec.doctypcod" v-model="model.bfdgrp.rec.doctypcod"
maxlength="1" maxlength="1"
...@@ -169,25 +150,20 @@ ...@@ -169,25 +150,20 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="远期单据到期日" prop="bfdgrp.rec.matdat">
label="远期单据到期日"
prop="bfdgrp.rec.matdat"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bfdgrp.rec.matdat" v-model="model.bfdgrp.rec.matdat"
style="width: 100%" style="width: 100%"
placeholder="请选择远期单据到期日" placeholder="请选择远期单据到期日"
value-format="yyyy-MM-dd"
disabled disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item label="到单日期" prop="bfdgrp.rec.rcvdat">
label="到单日期"
prop="bfdgrp.rec.rcvdat"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bfdgrp.rec.rcvdat" v-model="model.bfdgrp.rec.rcvdat"
...@@ -198,10 +174,7 @@ ...@@ -198,10 +174,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item label="提示日期" prop="bfdgrp.rec.predat">
label="提示日期"
prop="bfdgrp.rec.predat"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bfdgrp.rec.predat" v-model="model.bfdgrp.rec.predat"
...@@ -222,6 +195,82 @@ ...@@ -222,6 +195,82 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur">
<c-input
v-model="model.bfdgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt">
<c-input
v-model="model.bfdgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="摘要" prop="bfdgrp.rec.nam">
<c-input
v-model="model.bfdgrp.rec.nam"
maxlength="40"
placeholder="请输入摘要"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '交单行',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '开证行',
grp: 'bfdgrp',
rol: 'iss',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '申请人',
grp: 'bfdgrp',
rol: 'apl',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item style="margin-left: 0px">
<el-divider />
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收到报文明细" prop="trnmod.swiadd.strinf"> <el-form-item label="收到报文明细" prop="trnmod.swiadd.strinf">
...@@ -358,86 +407,11 @@ ...@@ -358,86 +407,11 @@
<c-input <c-input
v-model="model.setmod.redamt" v-model="model.setmod.redamt"
placeholder="请输入扣减金额" placeholder="请输入扣减金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="信用证余额"
prop="bfdgrp.cbs.opn1.cur"
>
<c-input
v-model="model.bfdgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
label-width="5px"
prop="bfdgrp.cbs.opn1.amt"
>
<c-input
v-model="model.bfdgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="摘要" prop="bfdgrp.rec.nam">
<c-input v-model="model.bfdgrp.rec.nam" maxlength="40" placeholder="请输入摘要" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '交单行',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '开证行',
grp: 'bfdgrp',
rol: 'iss',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '申请人',
grp: 'bfdgrp',
rol: 'apl',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
</c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp.dedget.sdamod.dadsnd"> <el-form-item label="Drag Drop Sender" prop="bftp.dedget.sdamod.dadsnd">
...@@ -655,6 +629,11 @@ export default { ...@@ -655,6 +629,11 @@ export default {
} }
}, },
computed: {
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</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="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
...@@ -46,6 +64,7 @@ import Api from "~/service/Api" ...@@ -46,6 +64,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Bftacc from "~/model/Bftacc" import Bftacc from "~/model/Bftacc"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftacc/Check" import Check from "~/model/Bftacc/Check"
import Default from "~/model/Bftacc/Default" import Default from "~/model/Bftacc/Default"
import Pattern from "~/model/Bftacc/Pattern" import Pattern from "~/model/Bftacc/Pattern"
...@@ -72,10 +91,10 @@ export default { ...@@ -72,10 +91,10 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "accp",
trnName: "bftacc", trnName: "bftacc",
model: new Bftacc().data, model: new Bftacc().data,
checkRules: Check, checkRules: Check,
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- ====================左边======================= --> <!-- left -->
<c-col :span="11"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item <el-form-item
label="参考号" label="参考号"
prop="dedgrp.rec.ownref" prop="bfdgrp.rec.ownref"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.dedgrp.rec.ownref" v-model="model.bfdgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入参考号" placeholder="请输入参考号"
style="width: 95%" style="width: 95%"
...@@ -97,8 +97,6 @@ ...@@ -97,8 +97,6 @@
</c-col> </c-col>
<!-- </c-col> --> <!-- </c-col> -->
</c-col> </c-col>
<!-- 变动 -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur"> <el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur">
...@@ -158,6 +156,7 @@ ...@@ -158,6 +156,7 @@
v-model="model.bfdgrp.rec.matdat" v-model="model.bfdgrp.rec.matdat"
style="width: 100%" style="width: 100%"
placeholder="请选择远期单据到期日" placeholder="请选择远期单据到期日"
value-format="yyyy-MM-dd"
disabled disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
...@@ -196,53 +195,10 @@ ...@@ -196,53 +195,10 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-checkbox v-model="model.advrefflg" style="margin-left: 150px"
>拒付通知登记</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.bfdgrp.rec.advdocflg"
style="margin-left: 150px"
>退单通知登记</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.mtabut.clsflg"
style="margin-left: 150px"
disabled
>闭卷</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.advdisflg"
style="margin-left: 150px;margin-top:100px"
>Advice of Discrepancy(MT750)</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <!-- right -->
<el-form-item label="给受益人信息" prop="trnmod.trndoc.addstr750"> <c-col :span="12">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.addstr750"
maxlength="35"
show-word-limit
placeholder="请输入给受益人信息"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur"> <el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur">
...@@ -309,6 +265,61 @@ ...@@ -309,6 +265,61 @@
:disabled="true" :disabled="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
</c-col>
<c-col :span="24">
<el-form-item style="margin-left: 0px">
<el-divider />
</el-form-item>
</c-col>
<!-- next part -->
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<c-checkbox v-model="advrefflg" style="margin-left: 150px"
>拒付通知登记</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="advdocflg"
style="margin-left: 150px"
>退单通知登记</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="clsflg"
style="margin-left: 150px"
disabled
>闭卷</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.advdisflg"
style="margin-left: 150px; margin-top: 100px;margin-bottom: 10px;"
>Advice of Discrepancy(MT750)</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="给受益人信息" prop="trnmod.trndoc.addstr750">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.addstr750"
maxlength="35"
show-word-limit
placeholder="请输入给受益人信息"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付款人" prop="bfdgrp.rec.payrol"> <el-form-item label="付款人" prop="bfdgrp.rec.payrol">
...@@ -316,7 +327,15 @@ ...@@ -316,7 +327,15 @@
v-model="model.bfdgrp.rec.payrol" v-model="model.bfdgrp.rec.payrol"
style="width: 100%" style="width: 100%"
placeholder="请选择付款人" placeholder="请选择付款人"
disabled
> >
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -328,6 +347,7 @@ ...@@ -328,6 +347,7 @@
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bfdgrp.oth.pts.extkey')" @keyup.enter.native="showGridPromptDialog('bfdgrp.oth.pts.extkey')"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -340,7 +360,7 @@ ...@@ -340,7 +360,7 @@
:argadr="{ :argadr="{
title: '', title: '',
rol: 'oth', rol: 'oth',
grp: 'bfdgrp' grp: 'bfdgrp',
}" }"
></c-ptapdome> ></c-ptapdome>
...@@ -350,7 +370,15 @@ ...@@ -350,7 +370,15 @@
v-model="model.bfdgrp.rec.docprbrol" v-model="model.bfdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择交单行" placeholder="请选择交单行"
disabled
> >
<el-option
v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -373,8 +401,6 @@ ...@@ -373,8 +401,6 @@
</c-col> </c-col>
</c-col> </c-col>
<!-- 勾选 -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item <el-form-item
label="External Key of Address" label="External Key of Address"
...@@ -532,13 +558,39 @@ import PtapDome from "~/views/Public/PtapDome"; ...@@ -532,13 +558,39 @@ import PtapDome from "~/views/Public/PtapDome";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptsmsg": Ptsmsg ,"c-ptapdome": PtapDome ,"c-ptap": Ptap}, components: { "c-ptsmsg": Ptsmsg, "c-ptapdome": PtapDome, "c-ptap": Ptap },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {};
}, },
mounted:{
advrefflg: {
get() {
return this.model.advrefflg != ''
},
set(val) {
this.model.advrefflg = val ? "X" : ""
}
},
advdocflg: {
get() {
return this.model.bfdgrp.rec.advdocflg != ''
},
set(val) {
this.model.bfdgrp.rec.advdocflg = val ? "X" : ""
}
},
clsflg: {
get() {
return this.model.mtabut.clsflg != 'O'
},
set(val) {
this.model.mtabut.clsflg = val ? "C" : "O"
}
},
},
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
}; };
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<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="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000009 --> <!--PD000009 -->
<el-tab-pane label="明细" name="betdcrs"> <el-tab-pane label="明细" name="betdcrs">
<m-betdcrs :model="model" :codes="codes"/> <c-content>
<m-betdcrs :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000026 --> <!--PD000026 -->
<el-tab-pane label="不符点/拒付" name="betdcrd"> <el-tab-pane label="不符点/拒付" name="betdcrd">
<m-betdcrd :model="model" :codes="codes"/> <m-betdcrd :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="或有" name="engp"> <el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bftdcr from "~/model/Bftdcr" import Bftdcr from "~/model/Bftdcr";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Bftdcr/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Bftdcr/Default" import Check from "~/model/Bftdcr/Check";
import Pattern from "~/model/Bftdcr/Pattern" import Default from "~/model/Bftdcr/Default";
import Betdcrs from "./Betdcrs" import Pattern from "~/model/Bftdcr/Pattern";
import Betdcrd from "./Betdcrd" import Betdcrs from "./Betdcrs";
import Betdcrd from "./Betdcrd";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Bftdcr", name: "Bftdcr",
components:{ components: {
"m-betdcrs" : Betdcrs, "m-betdcrs": Betdcrs,
"m-betdcrd" : Betdcrd, "m-betdcrd": Betdcrd,
"m-engp" : Engp, "m-engp": Engp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "betdcrs",
trnName: "bftdcr", trnName: "bftdcr",
model: new Bftdcr().data, model: new Bftdcr().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {},
};
}, },
} methods: {
}, myTabClick(tab) {
methods:{ this.tabClick(tab);
myTabClick(tab){
this.tabClick(tab)
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入bftdcr交易"); console.log("进入bftdcr交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} },
} };
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="远期单据指示" prop="bfdsnd.usadet"> <el-form-item label="远期单据指示" prop="bfdsnd.usadet">
<c-input type="textarea" v-model="model.bfdsnd.usadet" maxlength="65" show-word-limit placeholder="请输入远期单据指示" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onUsatxtButtxmsel">
...
</c-button>
</c-col> -->
<c-col :span="24">
<el-form-item
label="远期单据指示"
prop="bfdsnd.usadet"
style="width: 100%"
>
<c-fullbox>
<c-input <c-input
type="textarea" type="textarea"
v-model="model.bfdsnd.usadet" v-model="model.bfdsnd.usadet"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入远期单据指示" placeholder="请输入远期单据指示"
disabled
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col>
<c-col :span="2">
<c-button <c-button
style="margin-left: 10px; padding: 0 10px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search"
@click="onUsatxtButtxmsel"
> >
... ...
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</c-row>
<c-row>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="偿付条款" prop="bfdsnd.addphr"> <el-form-item label="偿付条款" prop="bfdsnd.addphr">
<c-input type="textarea" v-model="model.bfdsnd.addphr" maxlength="65" show-word-limit placeholder="请输入偿付条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onRgfphrButtxmsel">
...
</c-button>
</c-col> -->
<c-col :span="24">
<el-form-item
label="偿付条款"
prop="bfdsnd.addphr"
style="width: 100%"
>
<c-fullbox>
<c-input <c-input
type="textarea" type="textarea"
v-model="model.bfdsnd.addphr" v-model="model.bfdsnd.addphr"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入偿付条款" placeholder="请输入偿付条款"
disabled
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col>
<c-col :span="2">
<c-button <c-button
style="margin-left: 10px; padding: 0 10px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search"
@click="onRgfphrButtxmsel"
> >
... ...
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</c-row>
<c-row> <c-col :span="24">
<c-col :span="12">
<el-form-item label="新受益人地址" prop="bfdsnd.newbenadr"> <el-form-item label="新受益人地址" prop="bfdsnd.newbenadr">
<c-input <c-input type="textarea" v-model="model.bfdsnd.newbenadr" maxlength="150" show-word-limit placeholder="请输入新受益人地址" disabled></c-input>
type="textarea"
v-model="model.bfdsnd.newbenadr"
maxlength="35"
show-word-limit
placeholder="请输入新受益人地址"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
<c-row> <c-col :span="24">
<c-col :span="12">
<el-form-item label="新受益人编号" prop="bfdgrp.blk.benref"> <el-form-item label="新受益人编号" prop="bfdgrp.blk.benref">
<c-input <c-input type="textarea" v-model="model.bfdgrp.blk.benref" maxlength="16" show-word-limit placeholder="请输入新受益人编号" ></c-input>
type="textarea"
v-model="model.bfdgrp.blk.benref"
maxlength="16"
show-word-limit
placeholder="请输入新受益人编号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bftsnd/Event"; import Event from "~/model/Bftsnd/Event"
export default { export default {
inject: ["root"], inject: ['root'],
props: ["model", "codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data(){
return {}; return {
}
}, },
methods: { ...Event }, methods:{...Event},
created: function () {}, created:function(){
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="24">
<el-form-item label="受益人统一社会信用代码" prop="idcode"> <el-form-item label="受益人统一社会信用代码" prop="idcode">
<c-input v-model="model.idcode" maxlength="18" placeholder="请输入受益人统一社会信用代码"></c-input> <c-input v-model="model.idcode" maxlength="18" placeholder="请输入受益人统一社会信用代码"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款人名称" prop="skrnam"> <el-form-item label="收款人名称" prop="skrnam">
<c-input v-model="model.skrnam" maxlength="40" placeholder="请输入收款人名称"></c-input> <c-input v-model="model.skrnam" maxlength="40" placeholder="请输入收款人名称" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款人账号" prop="skracc"> <el-form-item label="收款人账号" prop="skracc">
<c-input v-model="model.skracc" maxlength="40" placeholder="请输入收款人账号"></c-input> <c-input v-model="model.skracc" maxlength="40" placeholder="请输入收款人账号" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="快递单号" prop="bfdgrp.rec.expmno"> <el-form-item label="快递单号" prop="bfdgrp.rec.expmno">
<c-input type="textarea" v-model="model.bfdgrp.rec.expmno" maxlength="60" show-word-limit placeholder="请输入快递单号" ></c-input> <c-input type="textarea" v-model="model.bfdgrp.rec.expmno" maxlength="60" show-word-limit placeholder="请输入快递单号" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="发票信息" prop="bfdgrp.rec.invref"> <el-form-item label="发票信息" prop="bfdgrp.rec.invref">
<c-input type="textarea" v-model="model.bfdgrp.rec.invref" maxlength="35" show-word-limit placeholder="请输入发票信息" ></c-input> <c-input type="textarea" v-model="model.bfdgrp.rec.invref" maxlength="35" show-word-limit placeholder="请输入发票信息" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款行行号" prop="skhhao"> <el-form-item label="收款行行号" prop="skhhao">
<c-input v-model="model.skhhao" maxlength="40" placeholder="请输入收款行行号"></c-input> <c-input v-model="model.skhhao" maxlength="40" placeholder="请输入收款行行号"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款行名称" prop="skhnam"> <el-form-item label="收款行名称" prop="skhnam">
<c-input v-model="model.skhnam" maxlength="40" placeholder="请输入收款行名称"></c-input> <c-input v-model="model.skhnam" maxlength="40" placeholder="请输入收款行名称"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="交单批注行行号" prop="bfdgrp.rec.anobnkcod"> <el-form-item label="交单批注行行号" prop="bfdgrp.rec.anobnkcod">
<c-input v-model="model.bfdgrp.rec.anobnkcod" maxlength="20" placeholder="请输入交单批注行行号"></c-input> <c-input v-model="model.bfdgrp.rec.anobnkcod" maxlength="20" placeholder="请输入交单批注行行号" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="交单批注日期" prop="bfdgrp.rec.anodat"> <el-form-item label="交单批注日期" prop="bfdgrp.rec.anodat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.anodat" style="width:100%" placeholder="请选择交单批注日期"></c-date-picker> <c-date-picker type="date" v-model="model.bfdgrp.rec.anodat" style="width:100%" placeholder="请选择交单批注日期" disabled></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="交单批注描述" prop="bfdgrp.rec.anodsp"> <el-form-item label="交单批注描述" prop="bfdgrp.rec.anodsp">
<c-input type="textarea" v-model="model.bfdgrp.rec.anodsp" maxlength="55" show-word-limit placeholder="请输入交单批注描述" ></c-input> <c-input type="textarea" v-model="model.bfdgrp.rec.anodsp" maxlength="55" show-word-limit placeholder="请输入交单批注描述" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="报文类型" prop="bftp.msgtyp"> <el-form-item label="报文类型" prop="bftp.msgtyp">
<c-select v-model="model.bftp.msgtyp" style="width:100%" placeholder="请选择报文类型"> <c-select v-model="model.bftp.msgtyp" style="width:100%" placeholder="请选择报文类型" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="减少后的结算金额" prop="setmod.doccur"> <el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择减少后的结算金额"> <c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template> <template>
<c-page title="卖方信用证寄单">
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn
...@@ -17,83 +16,69 @@ ...@@ -17,83 +16,69 @@
<!-- <el-button size="small">拆分报文</el-button> --> <!-- <el-button size="small">拆分报文</el-button> -->
<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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<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="myTabClick">
<!--PD000021 --> <!--PD000021 -->
<el-tab-pane label="寄单" name="rgfp"> <el-tab-pane label="寄单" name="rgfp">
<c-content> <c-content>
<m-rgfp :model="model" :codes="codes"/> <m-rgfp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000259 --> <!--PD000259 -->
<el-tab-pane label="寄单1" name="rgfp1"> <el-tab-pane label="寄单1" name="rgfp1">
<c-content> <m-rgfp1 :model="model" :codes="codes" />
<m-rgfp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000050 --> <!--PD000050 -->
<el-tab-pane label="指示/不符点" name="dscins"> <el-tab-pane label="指示/不符点" name="dscins">
<c-content> <m-dscins :model="model" :codes="codes" />
<m-dscins :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000049 --> <!--PD000049 -->
<el-tab-pane label="单据描述" name="rgfdet"> <el-tab-pane label="单据描述" name="rgfdet">
<c-content> <m-rgfdet :model="model" :codes="codes" />
<m-rgfdet :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外" name="engp"> <el-tab-pane label="或有" name="engp">
<c-content> <m-engp :model="model" :codes="codes" />
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan"> <el-tab-pane label="账务" name="setpan">
<!--
<m-setpan :model="model" :codes="codes"/>
-->
<c-content>
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<c-content> <m-coninfp :model="model" :codes="codes" />
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<c-content> <m-docpan :model="model" :codes="codes" />
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<c-content> <m-limitbody :model="model" :codes="codes" />
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Bftsnd from "~/model/Bftsnd"; import Bftsnd from "~/model/Bftsnd";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
...@@ -105,38 +90,32 @@ import Rgfp from "./Rgfp"; ...@@ -105,38 +90,32 @@ import Rgfp from "./Rgfp";
import Rgfp1 from "./Rgfp1"; import Rgfp1 from "./Rgfp1";
import Dscins from "./Dscins"; import Dscins from "./Dscins";
import Rgfdet from "./Rgfdet"; import Rgfdet from "./Rgfdet";
import Detp from "./Detp";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Bftsnd", name: "Bftsnd",
components:{ components: {
"m-rgfp" : Rgfp, "m-rgfp": Rgfp,
"m-rgfp1" : Rgfp1, "m-rgfp1": Rgfp1,
"m-dscins" : Dscins, "m-dscins": Dscins,
"m-rgfdet" : Rgfdet, "m-rgfdet": Rgfdet,
"m-engp" : Engp, "m-setpan": Setpan,
"m-setpan" : Setpan, "m-docpan": Docpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-engp": Engp,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
"m-detp" : Detp,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {}, data() {
data(){
return { return {
tabVal: "rgfp", tabVal: "rgfp",
trnName: "bftsnd", trnName: "bftsnd",
...@@ -145,29 +124,30 @@ export default { ...@@ -145,29 +124,30 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: {
} ...CodeTable
}, },
methods:{ };
tabClick(){
}
}, },
created:async function(){ methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入bftsnd交易"); console.log("进入bftsnd交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} },
} };
</script> </script>
<style> <style>
</style> </style>
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