Commit a103ab75 by Eivi

bftdcr交易优化

parent 13ec4f14
......@@ -2895,16 +2895,16 @@ const CodeTable = {
{ label: "信用证单据承兑", value: "1" },
],
docsta: [
{ label: "Goods released, Adv. of Payment received", value: "A" },
{ label: "Goods released, Adv. of Payment + docs", value: "B" },
{ label: "Adv. of Payment received, wait for docs", value: "C" },
{ label: "Advice of Payment and documents received", value: "D" },
{ label: "Adv. of Discrep. received, wait for docs", value: "E" },
{ label: "Advice of Discrepancy and docs received", value: "F" },
{ label: "Documents received", value: "G" },
{ label: "已寄单索数", value: "A" },
{ label: "已到单", value: "B" },
{ label: "已到期付款确认", value: "C" },
{ label: "待付款", value: "D" },
{ label: "付款成功", value: "E" },
{ label: "已拒付", value: "F" },
{ label: "已退单", value: "G" },
{ label: "Clean documents received", value: "H" },
{ label: "Discrepant documents received", value: "I" },
{ label: "Goods released, wait for documents", value: "J" },
{ label: "Documents settled free of payment", value: "J" },
{ label: "Goods released, documents received", value: "K" },
{ label: "Documents sent on approval basis", value: "L" },
{ label: "Documents taken up", value: "M" },
......@@ -6495,8 +6495,8 @@ const CodeTable = {
{ label: "MAY ADD", value: "A" },
],
invtyp:[
{label:"type1", value:"1"}
invtyp: [
{ label: "type1", value: "1" }
]
}
......
......@@ -128,7 +128,7 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.rec.totdat": [
{ type: "date", required: false, message: "输入正确的日期" }
{ type: "string", required: false, message: "输入正确的日期" }
],
"bftp.dedget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
......@@ -198,13 +198,13 @@ export default {
{ max: 40, message: "长度不能超过40" }
],
"bfdgrp.rec.matdat": [
{ type: "date", required: false, message: "输入正确的日期" }
{ type: "string", required: false, message: "输入正确的日期" }
],
"bfdgrp.rec.rcvdat": [
{ type: "date", required: false, message: "输入正确的日期" }
{ type: "string", required: false, message: "输入正确的日期" }
],
"bfdgrp.rec.predat": [
{ type: "date", required: false, message: "输入正确的日期" }
{ type: "string", required: false, message: "输入正确的日期" }
],
"bfdgrp.apl.pts.ref": [
{ type: "string", required: false, message: "必输项" },
......
......@@ -71,52 +71,6 @@ export default class Bftcan {
},
sndmsg: "", // Send Message .sndmsg
rebkpflg: "", // Booking Procedure .rebkpflg
liaall: {
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 国结业务编号 .liaall.limmod.ownref
comamt: "", // 业务余额 .liaall.limmod.comamt
ccvamt: "", // 保证金余额 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
},
mtabut: {
coninf: {
oitinf: {
......@@ -142,6 +96,7 @@ export default class Bftcan {
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
}
}
}
\ No newline at end of file
......@@ -2,137 +2,108 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
async onPrbpDet() {
let rtnmsg = await this.executeRule("prbp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIntdisButtxmsel(){
let rtnmsg = await this.executeRule("intdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onIntdisButtxmsel() {
let rtnmsg = await this.executeRule("intdis.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDocdisButtxmsel() {
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts.get1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts.get2")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod.trycal")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {},
onDetpButgetref() {},
onBenpDet() {},
onAplpDet() {},
}
\ No newline at end of file
......@@ -149,12 +149,12 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.blk.intdis": [
{ type: "string", required: true, message: "必输项" },
{ type: "string" },
{ max: 65, message: "长度不能超过65" }
],
"bfdgrp.blk.docdis": [
{ type: "string", required: true, message: "必输项" },
{ type: "string" },
{ max: 50, message: "长度不能超过50" }
],
......
......@@ -148,7 +148,7 @@ export default {
{ max: 3, message: "长度不能超过3" }
],
"dedgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -8,54 +8,6 @@ export default class Bftset {
bptbck: {
bptbckg: "",
},
liaall: {
tenstm: "",
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 閸氬牆鎮撳ù渚婃嫹'閸欙拷 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 閸氬牆鎮撳ù渚婃嫹'閸欙拷 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 閸氬牆鎮撳ù渚婃嫹'閸欙拷 .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 閸ョ晫绮ㄦ稉姘缂傛牕褰� .liaall.limmod.ownref
comamt: "", // 娑撴艾濮熸担娆擃杺 .liaall.limmod.comamt
ccvamt: "", // 娣囨繆鐦夐柌鎴滅稇妫帮拷 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
tenstm: "", // Tenor Stream .liaall.tenstm
},
mtabut: {
coninf: {
oitinf: {
......@@ -154,6 +106,7 @@ export default class Bftset {
pageId: "", // ctx閻ㄥ埍ey
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
}
}
}
\ No newline at end of file
......@@ -157,55 +157,10 @@ export default class Bftsnd {
},
},
},
liaall: {
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 鍚堝悓娴侊拷'鍙� .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 鍚堝悓娴侊拷'鍙� .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 鍚堝悓娴侊拷'鍙� .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 鍥界粨涓氬姟缂栧彿 .liaall.limmod.ownref
comamt: "", // 涓氬姟浣欓 .liaall.limmod.comamt
ccvamt: "", // 淇濊瘉閲戜綑棰� .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
},
pageId: "", // ctx鐨刱ey
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
}
}
}
\ No newline at end of file
......@@ -2,64 +2,65 @@ import Pts from "../Pts"
export default class Liaall {
constructor() {
this.data = {
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
tenstm: "",
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "",
liaallg: [], // Total booking amount external assinged .liaall.exttotamt
liaallg: [], // Total booking amount external assinged .liaall.exttotamt
limmod: {
limgrd: [],
lmegrd: [],
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 合同流�'号 .liaall.limmod.limpts.pfcod2
lsh: "", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 国结业务编号 .liaall.limmod.ownref
comamt: "", // 业务余额 .liaall.limmod.comamt
ccvamt: "", // 保证金余额 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
ownref: "", // 国结业务编号 .liaall.limmod.ownref
comamt: "", // 业务余额 .liaall.limmod.comamt
ccvamt: "", // 保证金余额 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
liaccv: {
newamt: "", // 合同金额 .liaall.liaccv.newamt
concur: "", // 应付保证金金额 .liaall.liaccv.concur
totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt
newresamt: "", // Reserved Amount .liaall.liaccv.newresamt
addinf: "", // Additional Information .liaall.liaccv.addinf
cshpct: "", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct: "", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg: "", // Create gle flag .liaall.liaccv.gleflg
chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt
newamt: "", // 合同金额 .liaall.liaccv.newamt
concur: "", // 应付保证金金额 .liaall.liaccv.concur
totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt
newresamt: "", // Reserved Amount .liaall.liaccv.newresamt
addinf: "", // Additional Information .liaall.liaccv.addinf
cshpct: "", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct: "", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg: "", // Create gle flag .liaall.liaccv.gleflg
chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg: [],
},
}
......
<template>
<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"
......@@ -48,6 +66,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Bftcan from "~/model/Bftcan";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftcan/Check";
import Default from "~/model/Bftcan/Default";
import Pattern from "~/model/Bftcan/Pattern";
......@@ -73,10 +92,10 @@ export default {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "",
tabVal: "canp",
trnName: "bftcan",
model: new Bftcan().data,
checkRules: Check,
......
......@@ -8,6 +8,7 @@
maxlength="65"
show-word-limit
placeholder="请输入单据不符点"
></c-input>
</el-form-item>
</c-col>
......@@ -32,6 +33,7 @@
maxlength="65"
show-word-limit
placeholder="请输入不符点"
:disabled="!docdisflg"
></c-input>
</el-form-item>
</c-col>
......@@ -42,6 +44,7 @@
type="primary"
icon="el-icon-search"
@click="onDocdisButtxmsel"
:disabled="!docdisflg"
>
...
</c-button>
......@@ -52,7 +55,7 @@
</c-col>
<c-col :span="2">
<c-checkbox v-model="model.bfdgrp.blk.docdisflg">不符点修改</c-checkbox>
<c-checkbox v-model="docdisflg">不符点修改</c-checkbox>
</c-col>
<c-col :span="24" style="height: 24px; margin-top: 20px">
......@@ -117,6 +120,17 @@ export default {
data() {
return {};
},
computed:{
docdisflg: {
get() {
return this.model.bfdgrp.blk.docdisflg != "";
},
set(val) {
this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
},
},
},
methods: { ...Event },
created: function () {},
};
......
......@@ -26,9 +26,10 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
......@@ -74,9 +75,10 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
......@@ -236,14 +238,14 @@
<c-ptsmsg
:model="model"
:argadr="{
title: '交单',
title: '交单',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
......@@ -253,7 +255,30 @@
}"
:disabled="true"
></c-ptsmsg>
</c-col> -->
<c-col :span="24">
<el-form-item label="开证行编号" prop="dedgrp.rec.kzref">
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="'请输入开证行编号'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="bfdgrp.iss.pts.nam">
<c-input
v-model="model.bfdgrp.iss.pts.nam"
maxlength="40"
placeholder="'请输入开证行名称'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
......@@ -281,26 +306,21 @@
</c-col>
<c-col :span="24">
<c-checkbox
v-model="advdocflg"
style="margin-left: 150px"
<c-checkbox v-model="clsflg" style="margin-left: 150px"
>退单通知登记</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="clsflg"
style="margin-left: 150px"
disabled
<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;"
v-model="advdisflg"
style="margin-left: 150px; margin-top: 100px; margin-bottom: 10px"
>Advice of Discrepancy(MT750)</c-checkbox
>
</c-col>
......@@ -313,14 +333,13 @@
maxlength="35"
show-word-limit
placeholder="请输入给受益人信息"
disabled
:disabled="!advdisflg"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="付款人" prop="bfdgrp.rec.payrol">
<c-select
......@@ -398,6 +417,15 @@
@onAplpDet="onBenpDet"
>
</c-ptap>
<!-- <c-ptsmsg
:model="model"
:argadr="{
title: '受益人',
grp: 'bfdgrp',
rol: 'ben',
}"
:disabled="true"
></c-ptsmsg> -->
</c-col>
</c-col>
......@@ -565,31 +593,45 @@ export default {
data() {
return {};
},
mounted:{
computed: {
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
advrefflg: {
get() {
return this.model.advrefflg != ''
},
set(val) {
this.model.advrefflg = val ? "X" : ""
}
get() {
return this.model.advrefflg != "";
},
set(val) {
this.model.advrefflg = val ? "X" : "";
},
},
// advdocflg: {
// get() {
// this.model.mtabut.clsflg = this.model.bfdgrp.rec.advdocflg != "" ? "C" : ""
// return this.model.bfdgrp.rec.advdocflg != "";
// },
// set(val) {
// this.model.bfdgrp.rec.advdocflg = val ? "X" : "";
// this.model.mtabut.clsflg = val ? "C" : "O";
// },
// },
clsflg: {
get() {
return this.model.bfdgrp.rec.advdocflg != "";
},
set(val) {
this.model.bfdgrp.rec.advdocflg = val ? "X" : "";
this.model.mtabut.clsflg = val ? "C" : "O";
},
advdocflg: {
get() {
return this.model.bfdgrp.rec.advdocflg != ''
},
set(val) {
this.model.bfdgrp.rec.advdocflg = val ? "X" : ""
}
},
advdisflg: {
get() {
return this.model.advdisflg != "";
},
clsflg: {
get() {
return this.model.mtabut.clsflg != 'O'
},
set(val) {
this.model.mtabut.clsflg = val ? "C" : "O"
}
set(val) {
this.model.advdisflg = val ? "X" : "";
},
},
},
methods: { ...Event },
created: function () {},
......
......@@ -16,6 +16,7 @@
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
......
<template>
<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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
......@@ -51,6 +69,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bftdrv from "~/model/Bftdrv"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftdrv/Check"
import Default from "~/model/Bftdrv/Default"
import Pattern from "~/model/Bftdrv/Pattern"
......@@ -81,10 +100,10 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "drv",
trnName: "bftdrv",
model: new Bftdrv().data,
checkRules: Check,
......
......@@ -26,6 +26,7 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -74,6 +75,7 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -200,9 +202,9 @@
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur">
<el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
<c-input
v-model="model.bfdgrp.cbs.opn1.cur"
v-model="model.dedgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
......@@ -210,9 +212,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt">
<el-form-item label="" label-width="5px" prop="dedgrp.cbs.opn1.amt">
<c-input
v-model="model.bfdgrp.cbs.opn1.amt"
v-model="model.dedgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input>
......@@ -235,14 +237,14 @@
<c-ptsmsg
:model="model"
:argadr="{
title: '交单',
title: '交单',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
......@@ -252,6 +254,27 @@
}"
:disabled="true"
></c-ptsmsg>
</c-col> -->
<c-col :span="24">
<el-form-item label="开证行编号" prop="dedgrp.rec.kzref">
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="'请输入开证行编号'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="bfdgrp.iss.pts.nam">
<c-input
v-model="model.bfdgrp.iss.pts.nam"
maxlength="40"
placeholder="'请输入开证行名称'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
......@@ -275,7 +298,12 @@
<!-- left -->
<c-col :span="12">
<c-col :span="24" style="margin-bottom:35px">
<c-istream-table :list="model.liaall.tenstm.rows || []" :columns="stmData.columns" :showSelection="true">
<c-istream-table
:list="model.liaall.tenstm.rows || []"
:columns="stmData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
>
</c-istream-table>
</c-col>
......@@ -426,6 +454,7 @@
<c-input
v-model="model.setmod.redamt"
placeholder="请输入扣减金额"
:disabled="frepayflg"
></c-input>
</el-form-item>
</c-col>
......@@ -846,7 +875,16 @@ export default {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
methods: { ...Event },
methods: {
...Event,
multipleSelect(selection) {
console.log(selection)
if (selection) {
const rtnmsg = this.executeRule('tenstm')
this.updateModel(rtnmsg.data)
}
}
},
created: function () {},
};
</script>
......
<template>
<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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
......@@ -44,6 +62,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bftset from "~/model/Bftset"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftset/Check"
import Default from "~/model/Bftset/Default"
import Pattern from "~/model/Bftset/Pattern"
......@@ -70,10 +89,10 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "setp",
trnName: "bftset",
model: new Bftset().data,
checkRules: Check,
......
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