Commit 280c507b by liuxin
parents f8d05a0f 483f68c5
...@@ -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() {
}, let rtnmsg = await this.executeRule("rmbp.det")
async onRmbpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("rmbp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onBebpDet() {
}, let rtnmsg = await this.executeRule("bebp.det")
async onBebpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("bebp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//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
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Setmod from "../Public/Setmod"
export default class Brtcan{ export default class Brtcan{
constructor () { constructor () {
this.data = { this.data = {
...@@ -112,20 +112,7 @@ export default class Brtcan{ ...@@ -112,20 +112,7 @@ export default class Brtcan{
ecifno:"", // ECIFNO .liaall.limmod.ecifno ecifno:"", // ECIFNO .liaall.limmod.ecifno
}, },
}, },
setmod:{ setmod:new Setmod().data,
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
mtabut:{ mtabut:{
coninf:{ coninf:{
oitinf:{ oitinf:{
......
...@@ -450,5 +450,12 @@ export default { ...@@ -450,5 +450,12 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
], ],
"bopmod.basflg":[
{required: true, message: "必输项"},
],
"brtp.ischktyp":[
{required: true, message: "必输项"},
],
} }
\ No newline at end of file
<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 :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="请输入给受益人信息"
></c-input>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1"> <!-- right -->
<c-col :span="12">
<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,20 +360,28 @@ ...@@ -340,20 +360,28 @@
:argadr="{ :argadr="{
title: '', title: '',
rol: 'oth', rol: 'oth',
grp: 'bfdgrp' grp: 'bfdgrp',
}" }"
></c-ptapdome> ></c-ptapdome>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单行" prop="bfdgrp.rec.docprbrol"> <el-form-item label="交单行" prop="bfdgrp.rec.docprbrol">
<c-select <c-select
v-model="model.bfdgrp.rec.docprbrol" v-model="model.bfdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择交单行" placeholder="请选择交单行"
> disabled
</c-select> >
</el-form-item> <el-option
</c-col> v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap <c-ptap
...@@ -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-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-function-btn
:handleSubmit="handleSubmit"
<!--PD000009 --> :handleCheck="handleCheck"
<el-tab-pane label="明细" name="betdcrs"> :handleStash="handleStash"
<m-betdcrs :model="model" :codes="codes"/> >
</el-tab-pane> <el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<!--PD000026 --> <el-button size="small">备忘录</el-button>
<el-tab-pane label="不符点/拒付" name="betdcrd"> <el-button size="small">影像信息</el-button>
<m-betdcrd :model="model" :codes="codes"/> <!-- <el-button size="small">保存模板</el-button> -->
</el-tab-pane> <!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!--PD000027 --> <!-- <el-button size="small">拆分报文</el-button> -->
<el-tab-pane label="或有" name="engp"> <el-button size="small">智能提示</el-button>
<m-engp :model="model" :codes="codes"/> </c-function-btn>
</el-tab-pane> <el-form
:model="model"
<!--PD000000 --> :rules="rules"
<el-tab-pane label="账务" name="setpan"> ref="modelForm"
<m-setpan :model="model" :codes="codes"/> label-width="150px"
</el-tab-pane> label-position="right"
size="small"
<!--PD000000 --> :validate-on-rule-change="false"
<el-tab-pane label="附言" name="coninfp"> >
<m-coninfp :model="model" :codes="codes"/> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
</el-tab-pane> <!--PD000009 -->
<el-tab-pane label="明细" name="betdcrs">
<!--PD000529 --> <c-content>
<el-tab-pane label="报文及面函" name="docpan"> <m-betdcrs :model="model" :codes="codes" />
<m-docpan :model="model" :codes="codes"/> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000026 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="不符点/拒付" name="betdcrd">
<m-limitbody :model="model" :codes="codes"/> <m-betdcrd :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</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) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入bftdcr交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, } else {
created:async function(){ this.$notify.error({ title: "错误", message: "服务请求失败!" });
console.log("进入bftdcr交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
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 <c-input type="textarea" v-model="model.bfdsnd.usadet" maxlength="65" show-word-limit placeholder="请输入远期单据指示" ></c-input>
type="textarea"
v-model="model.bfdsnd.usadet"
maxlength="65"
show-word-limit
placeholder="请输入远期单据指示"
></c-input>
</el-form-item> </el-form-item>
</c-col> </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="2"> <c-col :span="24">
<c-button <el-form-item
size="small" label="远期单据指示"
type="primary" prop="bfdsnd.usadet"
icon="el-icon-search" style="width: 100%"
@click="onUsatxtButtxmsel"
> >
... <c-fullbox>
</c-button> <c-input
type="textarea"
v-model="model.bfdsnd.usadet"
maxlength="65"
show-word-limit
placeholder="请输入远期单据指示"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</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 <c-input type="textarea" v-model="model.bfdsnd.addphr" maxlength="65" show-word-limit placeholder="请输入偿付条款" ></c-input>
type="textarea"
v-model="model.bfdsnd.addphr"
maxlength="65"
show-word-limit
placeholder="请输入偿付条款"
></c-input>
</el-form-item> </el-form-item>
</c-col> </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="2"> <c-col :span="24">
<c-button <el-form-item
size="small" label="偿付条款"
type="primary" prop="bfdsnd.addphr"
icon="el-icon-search" style="width: 100%"
@click="onRgfphrButtxmsel"
> >
... <c-fullbox>
</c-button> <c-input
type="textarea"
v-model="model.bfdsnd.addphr"
maxlength="65"
show-word-limit
placeholder="请输入偿付条款"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</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 }, }
created: function () {}, },
}; methods:{...Event},
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
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :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> --> <!-- <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> </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"
<!--PD000021 --> :rules="rules"
<el-tab-pane label="寄单" name="rgfp"> ref="modelForm"
<c-content> label-width="150px"
<m-rgfp :model="model" :codes="codes"/> label-position="right"
</c-content> size="small"
</el-tab-pane> :validate-on-rule-change="false"
>
<!--PD000259 --> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="寄单1" name="rgfp1"> <!--PD000021 -->
<c-content> <el-tab-pane label="寄单" name="rgfp">
<m-rgfp1 :model="model" :codes="codes"/> <c-content>
</c-content> <m-rgfp :model="model" :codes="codes" />
</el-tab-pane> </c-content>
</el-tab-pane>
<!--PD000050 -->
<el-tab-pane label="指示/不符点" name="dscins"> <!--PD000259 -->
<c-content> <el-tab-pane label="寄单1" name="rgfp1">
<m-dscins :model="model" :codes="codes"/> <m-rgfp1 :model="model" :codes="codes" />
</c-content> </el-tab-pane>
</el-tab-pane>
<!--PD000050 -->
<!--PD000049 --> <el-tab-pane label="指示/不符点" name="dscins">
<el-tab-pane label="单据描述" name="rgfdet"> <m-dscins :model="model" :codes="codes" />
<c-content> </el-tab-pane>
<m-rgfdet :model="model" :codes="codes"/>
</c-content> <!--PD000049 -->
</el-tab-pane> <el-tab-pane label="单据描述" name="rgfdet">
<m-rgfdet :model="model" :codes="codes" />
<!--PD000027 --> </el-tab-pane>
<el-tab-pane label="表外" name="engp">
<c-content> <!--PD000027 -->
<m-engp :model="model" :codes="codes"/> <el-tab-pane label="或有" name="engp">
</c-content> <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>
-->
<c-content> <!--PD000000 -->
<m-setpan :model="model" :codes="codes" /> <el-tab-pane label="附言" name="coninfp">
</c-content> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000529 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="报文及面函" name="docpan">
<c-content> <m-docpan :model="model" :codes="codes" />
<m-coninfp :model="model" :codes="codes"/> </el-tab-pane>
</c-content>
</el-tab-pane> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<!--PD000529 --> <m-limitbody :model="model" :codes="codes" />
<el-tab-pane label="报文及面函" name="docpan"> </el-tab-pane>
<c-content> </c-tabs>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</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,69 +90,64 @@ import Rgfp from "./Rgfp"; ...@@ -105,69 +90,64 @@ 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等的公共处理
data() {
return {
tabVal: "rgfp",
trnName: "bftsnd",
model: new Bftsnd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 },
computed: {}, created: async function () {
data(){ console.log("进入bftsnd交易");
return { let rtnmsg = await this.init({});
tabVal: "rgfp", if (rtnmsg.respCode == SUCCESS) {
trnName: "bftsnd", this.updateModel(rtnmsg.data);
model: new Bftsnd().data, //TODO 处理数据逻辑
checkRules: Check, } else {
defaultRules: Default, this.$notify.error({ title: "错误", message: "服务请求失败!" });
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bftsnd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -51,15 +51,16 @@ import Default from "~/model/Brtcan/Default" ...@@ -51,15 +51,16 @@ import Default from "~/model/Brtcan/Default"
import Pattern from "~/model/Brtcan/Pattern" import Pattern from "~/model/Brtcan/Pattern"
import Canp from "./Canp" import Canp from "./Canp"
import Engp from "./Engp" import Engp from "./Engp"
import Setpan from "./Setpan" // import Setpan from "./Setpan"
import Coninfp from "./Coninfp" import Coninfp from "./Coninfp"
import Docpan from "./Docpan" import Docpan from "./Docpan"
import Doctre from "./Doctre" import Doctre from "./Doctre"
import Limitbody from "./Limitbody" import Limitbody from "./Limitbody"
import Setpan from "../../Public/Setpan"
export default { export default {
name: 'Brtcan',
components:{ components:{
"m-canp" : Canp, "m-canp" : Canp,
"m-engp" : Engp, "m-engp" : Engp,
...@@ -78,7 +79,7 @@ export default { ...@@ -78,7 +79,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "canp",
trnName: "brtcan", trnName: "brtcan",
model: new Brtcan().data, model: new Brtcan().data,
checkRules: Check, checkRules: Check,
......
...@@ -81,13 +81,13 @@ ...@@ -81,13 +81,13 @@
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="12">
<c-checkbox <c-checkbox
v-model="model.cfadft.basflg" v-model="model.cfadft.basflg"
>签约信息</c-checkbox> >签约信息</c-checkbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="12">
<c-checkbox v-model="model.cfadft.dclflg">变动信息</c-checkbox> <c-checkbox v-model="model.cfadft.dclflg">变动信息</c-checkbox>
</c-col> </c-col>
......
...@@ -130,7 +130,11 @@ ...@@ -130,7 +130,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Tenor Stream" prop="liaall.tenstm"> <el-form-item label="Tenor Stream" prop="liaall.tenstm">
<c-input v-model="model.liaall.tenstm" placeholder="请输入Tenor Stream"></c-input> <c-istream-table
:list="model.liaall.tenstm"
:columns="columns"
>
</c-istream-table>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -216,50 +220,41 @@ ...@@ -216,50 +220,41 @@
<c-col :span="24"> <c-col :span="24">
<div class="e-table-wrapper"> <div class="e-table-wrapper">
<el-table <c-table
:data="model.bptbck.bptbckg" style="text-align: center"
style="width: 100%" :list="table1"
:paginationShow="false"
:border="true"
> >
<el-table-column
prop="ownref" <el-table-column label="Reference" prop="ownref" width="auto"></el-table-column>
label="" <el-table-column label="Cur." prop="opncur" width="auto"></el-table-column>
sortable <el-table-column label="Open Amount" prop="opnamt" width="auto"></el-table-column>
width="100"> <el-table-column label="Amount Paid" prop="bckamt" width="auto"></el-table-column>
</el-table-column> <el-table-button label="Cal." prop="butcal" width="auto"></el-table-button>
<el-table-column
prop="opncur" </c-table>
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="opnamt"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="bckamt"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="butcal"
label=""
sortable
width="100">
</el-table-column>
</el-table>
</div> </div>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="12">
<el-form-item label="预计核验日期" prop="brtp.prechkdat"> <el-form-item label="预计核验日期" prop="brtp.prechkdat">
<c-date-picker type="date" v-model="model.brtp.prechkdat" style="width:100%" placeholder="请选择预计核验日期"></c-date-picker> <c-date-picker type="date" v-model="model.brtp.prechkdat" style="width:100%" placeholder="请选择预计核验日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="是否需要检验" prop="brtp.ischktyp">
<c-select v-model="model.brtp.ischktyp" style="width:100%" placeholder="">
<el-option
v-for="item in codes.ischktyp"
:key="item.label"
:label="item.label"
:value="item.label">
</el-option>
</c-select> </el-form-item>
</c-col>
</c-col> </c-col>
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -411,7 +406,15 @@ export default { ...@@ -411,7 +406,15 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
columns:[
"1 1 \"Type\" 40",
"2 2 \"Dbt\" 48",
"3 3 \"Cdt\" 48",
"4 4 \"Cur\" 48",
"5 5 \"Amt\" 85 2 8 1 4",
"6 6 \"Mat.Dat.\" 75 4 7 1"
]
} }
}, },
methods:{...Event}, methods:{...Event},
......
...@@ -4,12 +4,22 @@ ...@@ -4,12 +4,22 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item label="申报类型" prop="bopmod.szflg"> <el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型"> <c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
<el-option
v-for="item in codes.szflg"
:key="item.label"
:label="item.label"
:value="item.label">
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox> <el-form-item label="" prop="bopmod.basflg">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -22,13 +32,25 @@ ...@@ -22,13 +32,25 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="款项去向" prop="bopmod.acttyp"> <el-form-item label="款项去向" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项去向"> <c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项去向">
<el-option
v-for="item in codes.acttyp"
:key="item.label"
:label="item.label"
:value="item.label">
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="地区机构号" prop="bopmod.ownextkey"> <el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号"> <c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">\
<el-option
v-for="item in codes.ownextkey"
:key="item.label"
:label="item.label"
:value="item.label">
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<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" @click="setDraggableContent('cms', '影像信息')">影像信息</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 <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -94,6 +108,7 @@ import Api from "~/service/Api" ...@@ -94,6 +108,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Brtset from "~/model/Brtset" import Brtset from "~/model/Brtset"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Brtset/Check" import Check from "~/model/Brtset/Check"
import Default from "~/model/Brtset/Default" import Default from "~/model/Brtset/Default"
import Pattern from "~/model/Brtset/Pattern" import Pattern from "~/model/Brtset/Pattern"
...@@ -136,10 +151,11 @@ export default { ...@@ -136,10 +151,11 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data(){ data(){
return { return {
tabVal: "", tabVal: "utlp",
trnName: "brtset", trnName: "brtset",
model: new Brtset().data, model: new Brtset().data,
checkRules: Check, checkRules: Check,
...@@ -147,6 +163,7 @@ export default { ...@@ -147,6 +163,7 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable
}, },
} }
}, },
......
...@@ -144,6 +144,8 @@ import AssetPub from "./AssetPub" ...@@ -144,6 +144,8 @@ import AssetPub from "./AssetPub"
import Fund from "./Fund" import Fund from "./Fund"
import Brtdck from "./Brtdck" import Brtdck from "./Brtdck"
// import Brtcsg from "./Brtcsg"
import Brtcan from "./Brtcan"
import Litsel from "./Litsel" import Litsel from "./Litsel"
import Brtdcr from "./Brtdcr" import Brtdcr from "./Brtdcr"
...@@ -246,6 +248,8 @@ const BusRouter = [ ...@@ -246,6 +248,8 @@ const BusRouter = [
{ path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } }, { path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } },
{ path: 'trtsel', component: Trtsel, name: 'Trtsel', meta: { title: '进口融资入口交易' } }, { path: 'trtsel', component: Trtsel, name: 'Trtsel', meta: { title: '进口融资入口交易' } },
{ path: 'brtdck', component: Brtdck, name: 'Brtdck', meta: { title: '进口信用证单据改单/二次到单' } }, { path: 'brtdck', component: Brtdck, name: 'Brtdck', meta: { title: '进口信用证单据改单/二次到单' } },
// { path: 'brtcsg', component: Brtcsg, name: 'Brtcsg', meta: { title: '进口信用证单据提货担保注销' } },
{ path: 'brtcan', component: Brtcan, name: 'Brtcan', meta: { title: '进口信用证单据注销' } },
{ path: 'inftxm', component: Inftxm, name: 'Inftxm', meta: { title: '条式语句查询' } }, { path: 'inftxm', component: Inftxm, name: 'Inftxm', meta: { title: '条式语句查询' } },
// { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } }, // { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } },
......
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