Commit 18f2a267 by 潘际乾
parents 288d689a 18cc96ee
...@@ -388,12 +388,12 @@ const CodeTable = { ...@@ -388,12 +388,12 @@ const CodeTable = {
{label:"注销",value:"1" }, {label:"注销",value:"1" },
], ],
bchtyp:[ bchtyp:[
{label:"总行押汇中心",value:"3" }, /* {label:"总行押汇中心",value:"3" },
{label:"押汇中心XX组",value:"4" }, {label:"押汇中心XX组",value:"4" }, */
{label:"押汇中心XX1组",value:"5" }, {label:"押汇中心华北组",value:"5" },
{label:"非经办行",value:"2" }, /* {label:"非经办行",value:"2" },
{label:"经办行",value:"1" }, {label:"经办行",value:"1" },
{label:"收单行",value:"6" }, {label:"收单行",value:"6" }, */
], ],
bckgrd:[ bckgrd:[
{label:"Undefined",value:"" }, {label:"Undefined",value:"" },
......
...@@ -115,6 +115,9 @@ export default { ...@@ -115,6 +115,9 @@ export default {
if (name === "limitbody") { if (name === "limitbody") {
rulePath = "liaall.limmod.limitbody" rulePath = "liaall.limmod.limitbody"
} }
if (name === "ccvpan") {
rulePath = "liaall.liaccv.ccvpan"
}
if (!!rulePath) { if (!!rulePath) {
this.executeRule(rulePath).then(res => { this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
......
import Utils from "~/utils"
/**
* Bctacc Check规则
*/
let checkObj = {
"bctp.drrp.ptsget.sdamod.dadsnd" :null,
"liaall.misamt" :null,
"bcdgrp.dre.namelc" :null,
"bcdgrp.rmi.adrelc" :null,
"bcdgrp.blk.dftins" :null,
"bcdgrp.rmi.pts.nam" :null,
"bctp.recget.sdamod.dadsnd" :null,
"bcdgrp.dre.adrelc" :null,
"bcdgrp.blk.othins" :null,
"bcdgrp.co2.namelc" :null,
"bctp.drep.ptsget.sdamod.dadsnd" :null,
"bcdgrp.rmi.namelc" :null,
"bcdgrp.co2.pts.extkey" :null,
"bcdgrp.dre.pts.nam" :null,
"setmod.dspflg" :null,
"bctp.rmip.ptsget.sdamod.dadsnd" :null,
"bctp.co2p.ptsget.sdamod.dadsnd" :null,
"bcdgrp.drr.namelc" :null,
"bcdgrp.co2.pts.adrblk" :null,
"bcdgrp.rec.focflg" :null,
"bcdgrp.drr.pts.nam" :null,
"bcdgrp.rmi.pts.extkey" :null,
"bcdgrp.drr.adrelc" :null,
"bcdgrp.blk.colins" :null,
"bcdgrp.drr.pts.adrblk" :null,
"mtabut.coninf.conexedat" :null,
"bcdgrp.blk.chgtxt" :null,
"bcdgrp.drr.pts.extkey" :null,
"bcdgrp.co2.adrelc" :null,
"bcdgrp.dre.pts.adrblk" :null,
"setmod.docamt" :null,
"bcdgrp.rmi.pts.ref" :null,
"bcdgrp.dre.pts.extkey" :null,
"bcdgrp.rmi.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Bctacc Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bcdgrp.co2.pts.extkey" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bcdgrp.rec.doctypcod" :Utils.defaultFunction,
"bcdgrp.rmi.pts.extkey" :Utils.defaultFunction,
"bcdgrp.rmi.adrelc" :Utils.defaultFunction,
"bcdgrp.rmi.namelc" :Utils.defaultFunction,
"bcdgrp.rmi.dbfadrblkcn" :Utils.defaultFunction,
"bcdgrp.drr.pts.extkey" :Utils.defaultFunction,
"bcdgrp.drr.adrelc" :Utils.defaultFunction,
"bcdgrp.drr.namelc" :Utils.defaultFunction,
"bcdgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bcdgrp.rec.predat" :Utils.defaultFunction,
"bcdgrp.rec.accdat" :Utils.defaultFunction,
"bcdgrp.rec.focflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bcdgrp.co2.pts.adrblk" :Utils.defaultFunction,
"bcdgrp.rmi.pts.adrblk" :Utils.defaultFunction,
"bcdgrp.dre.pts.extkey" :Utils.defaultFunction,
"bcdgrp.dre.adrelc" :Utils.defaultFunction,
"bcdgrp.dre.namelc" :Utils.defaultFunction,
"bcdgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bcdgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bcdgrp.drr.pts.nam" :Utils.defaultFunction,
"bcdgrp.drr.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bcdgrp.co2.adrelc" :Utils.defaultFunction,
"bcdgrp.co2.namelc" :Utils.defaultFunction,
"bcdgrp.co2.dbfadrblkcn" :Utils.defaultFunction,
"bcdgrp.rmi.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bcdgrp.cbs.max.amt" :Utils.defaultFunction,
"bcdgrp.dre.pts.nam" :Utils.defaultFunction,
"bcdgrp.cbs.max.cur" :Utils.defaultFunction,
"bcdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onColinsButtxmsel(){
let rtnmsg = await this.executeRule("colins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDftinsButtxmsel(){
let rtnmsg = await this.executeRule("dftins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthins1Buttxmsel(){
let rtnmsg = await this.executeRule("othins1.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrepDet(){
let rtnmsg = await this.executeRule("drep.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmipDet(){
let rtnmsg = await this.executeRule("rmip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCo2pDet(){
let rtnmsg = await this.executeRule("co2p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrrpDet(){
let rtnmsg = await this.executeRule("drrp.det")
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 onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"bctp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bctp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bcdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.dre.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.dre.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bcdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bcdgrp.rmi.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bcdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bcdgrp.drr.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bcdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"bcdgrp.drr.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.rec.accdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bcdgrp.blk.colins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bcdgrp.blk.chgtxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.blk.dftins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bcdgrp.blk.othins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bctp.drep.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bctp.rmip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bcdgrp.dre.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bctp.drep.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bcdgrp.rmi.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bctp.rmip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bcdgrp.dre.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rmi.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rmi.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rmi.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.dre.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rmi.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.co2.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bctp.co2p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bctp.drrp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bcdgrp.co2.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bctp.co2p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bcdgrp.drr.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bctp.drrp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bcdgrp.co2.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.drr.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.co2.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.co2.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.co2.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.drr.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Bctacc{
constructor () {
this.data = {
bcdgrp:{
rec:{
ownref:"", // Collection Number .bcdgrp.rec.ownref
nam:"", // Name .bcdgrp.rec.nam
rcvdat:"", // Docs Received on .bcdgrp.rec.rcvdat
advdat:"", // Date of Advice of Documents Received .bcdgrp.rec.advdat
matdat:"", // Maturity Date .bcdgrp.rec.matdat
predat:"", // Maturity Date .bcdgrp.rec.predat
doctypcod:"", // Payment Condition .bcdgrp.rec.doctypcod
docsta:"", // Document Set Status .bcdgrp.rec.docsta
accdat:"", // Accepted on .bcdgrp.rec.accdat
chato:"", // Our Charges to .bcdgrp.rec.chato
focflg:"", // Free of Payment .bcdgrp.rec.focflg
waicolcod:"", // Waive Collecting Bank Charges .bcdgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bcdgrp.rec.wairmtcod
othins:"", // Defer Payment until .bcdgrp.rec.othins
stagod:"", // Good's Code (for Statistics) .bcdgrp.rec.stagod
proins:"", // Protest Instructions .bcdgrp.rec.proins
},
cbs:{
max:{
cur:"", // Document Amount .bcdgrp.cbs.max.cur
amt:"", // Document Amount .bcdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .bcdgrp.cbs.opn1.cur
amt:"", // Open Amount .bcdgrp.cbs.opn1.amt
},
},
dre:{
pts:new Pts().data,
namelc:"", // 名称 .bcdgrp.dre.namelc
adrelc:"", // 地址 .bcdgrp.dre.adrelc
dbfadrblkcn:"", // Chinese address .bcdgrp.dre.dbfadrblkcn
},
rmi:{
pts:new Pts().data,
namelc:"", // 名称 .bcdgrp.rmi.namelc
adrelc:"", // 地址 .bcdgrp.rmi.adrelc
dbfadrblkcn:"", // Chinese address .bcdgrp.rmi.dbfadrblkcn
},
drr:{
pts:new Pts().data,
namelc:"", // 名称 .bcdgrp.drr.namelc
adrelc:"", // 地址 .bcdgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn
},
blk:{
colins:"", // Collection Instructions .bcdgrp.blk.colins
dftins:"", // Draft Instructions .bcdgrp.blk.dftins
othins:"", // Other Instructions .bcdgrp.blk.othins
chgtxt:"", // Charges Text .bcdgrp.blk.chgtxt
},
co2:{
pts:new Pts().data,
namelc:"", // 名称 .bcdgrp.co2.namelc
adrelc:"", // 地址 .bcdgrp.co2.adrelc
dbfadrblkcn:"", // Chinese address .bcdgrp.co2.dbfadrblkcn
},
},
bctp:{
recget:{
sdamod:{
seainf:"", // .bctp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp.recget.sdamod.dadsnd
},
},
matp:{
mattxtlab:"", // Label for MATTXT .bctp.matp.mattxtlab
},
docgrdm:{
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
},
drep:{
ptsget:{
sdamod:{
seainf:"", // .bctp.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp.drep.ptsget.sdamod.dadsnd
},
},
},
co2p:{
ptsget:{
sdamod:{
seainf:"", // .bctp.co2p.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp.co2p.ptsget.sdamod.dadsnd
},
},
},
rmip:{
ptsget:{
sdamod:{
seainf:"", // .bctp.rmip.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp.rmip.ptsget.sdamod.dadsnd
},
},
},
drrp:{
ptsget:{
sdamod:{
seainf:"", // .bctp.drrp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp.drrp.ptsget.sdamod.dadsnd
},
},
},
},
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
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
},
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
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -99,11 +99,19 @@ export default { ...@@ -99,11 +99,19 @@ export default {
} }
}, },
async handleSearch() { async handleSearch() {
this.executeDefault("dspstm").then(res => {
//TODO 处理数据逻辑
this.stmData.data = res.data.dspstm.rows;
})
}, },
async handleReset(){ async handleReset(){
this.model.diafro = "";
this.model.diatil = "";
this.model.reasen = "";
this.model.searef = "";
this.model.seasec = "";
this.model.usfmod.flt = "";
} }
} }
\ No newline at end of file
...@@ -208,9 +208,11 @@ export default { ...@@ -208,9 +208,11 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLiaccvDel() { async onLiaccvDel(index,row) {
let rtnmsg = await this.executeRule("liaall.liaccv.del") const idx = index+1;
//const that = this.root; let rule = "liaall.liaccv.del";
let params = {selDst:"liaall.liaccv.liaccvg",selIdx:idx};
let rtnmsg = await this.executeRule(rule,params)
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
debugger; debugger;
......
...@@ -622,7 +622,8 @@ export default { ...@@ -622,7 +622,8 @@ export default {
], ],
"liaall.liaccv.cshpct": [ "liaall.liaccv.cshpct": [
{ type: "string", required: false, message: "必输项", trigger: "blur" }, { type: "string", required: false, message: "必输项", trigger: "blur" },
{ max: 5, message: "长度不能超过5", trigger: "blur" } { max: 8, message: "整数位不能超过5位"},
{ pattern: /(^\d{1,5}$)|(^\d{0,5}\.\d{1,2}$)/, message:"整数位不能超过5位,小数位不能超过2位",trigger:"blur"}
], ],
"liaall.liaccv.newresamt": [ "liaall.liaccv.newresamt": [
{ required: false, message: "必输项", trigger: "blur" }, { required: false, message: "必输项", trigger: "blur" },
...@@ -631,7 +632,8 @@ export default { ...@@ -631,7 +632,8 @@ export default {
], ],
"liaall.liaccv.relcshpct": [ "liaall.liaccv.relcshpct": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 5, message: "长度不能超过5" } { max: 8, message: "整数位不能超过5位"},
{ pattern: /(^\d{1,5}$)|(^\d{0,5}\.\d{1,2}$)/, message:"整数位不能超过5位,小数位不能超过2位",trigger:"blur"}
], ],
"liaall.liaccv.pctresamt": [ "liaall.liaccv.pctresamt": [
......
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
this.model.usfmod.flt = ""; this.model.usfmod.flt = "";
this.model.inidatfro = ""; this.model.inidatfro = "";
this.model.inidattil = ""; this.model.inidattil = "";
this.model.dflg = ""; this.model.dflg = "1";
this.model.chkypt = ""; this.model.chkypt = "";
this.model.yptinf = ""; this.model.yptinf = "";
......
<template>
<c-row>
<!--
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bctp.recget.sdamod.dadsnd">
<c-input v-model="model.bctp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<el-form-item label="Collection Number" prop="bcdgrp.rec.ownref">
<c-input v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="请输入Collection Number"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bctp.recget.sdamod.seainf">
<c-input v-model="model.bctp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="bcdgrp.rec.nam">
<c-input v-model="model.bcdgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
<c-select v-model="model.bcdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bcdgrp.cbs.max.amt">
<c-input v-model="model.bcdgrp.cbs.max.amt" placeholder="请输入Document Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drawee" prop="bcdgrp.dre.pts.ref">
<c-input v-model="model.bcdgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
<c-select v-model="model.bcdgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Open Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.amt">
<c-input v-model="model.bcdgrp.cbs.opn1.amt" placeholder="请输入Open Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bcdgrp.dre.pts.nam">
<c-input v-model="model.bcdgrp.dre.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.rcvdat" style="width:100%" placeholder="请选择Docs Received on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of Advice of Documents Received" prop="bcdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.advdat" style="width:100%" placeholder="请选择Date of Advice of Documents Received"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Remitting Bank" prop="bcdgrp.rmi.pts.ref">
<c-input v-model="model.bcdgrp.rmi.pts.ref" maxlength="16" placeholder="请输入Remitting Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bcdgrp.rmi.pts.nam">
<c-input v-model="model.bcdgrp.rmi.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bctp.matp.mattxtlab" data-path=".bctp.matp.mattxtlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bcdgrp.rec.predat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.predat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
<c-select v-model="model.bcdgrp.rec.doctypcod" style="width:100%" placeholder="请选择Payment Condition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drawer" prop="bcdgrp.drr.pts.ref">
<c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="16" placeholder="请输入Drawer"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-input v-model="model.bcdgrp.rec.docsta" maxlength="1" placeholder="请输入Document Set Status"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bcdgrp.drr.pts.nam">
<c-input v-model="model.bcdgrp.drr.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Accepted on" prop="bcdgrp.rec.accdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.accdat" style="width:100%" placeholder="请选择Accepted on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bctp.docgrdm.docdsclab" data-path=".bctp.docgrdm.docdsclab" > </span>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Collection Instructions" prop="bcdgrp.blk.colins">
<c-input type="textarea" v-model="model.bcdgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Our Charges to" prop="bcdgrp.rec.chato">
<c-select v-model="model.bcdgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Text" prop="bcdgrp.blk.chgtxt">
<c-input type="textarea" v-model="model.bcdgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Draft Instructions" prop="bcdgrp.blk.dftins">
<c-input type="textarea" v-model="model.bcdgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bcdgrp.rec.focflg">Free of Payment</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Waive Collecting Bank Charges" prop="bcdgrp.rec.waicolcod">
<c-select v-model="model.bcdgrp.rec.waicolcod" style="width:100%" placeholder="请选择Waive Collecting Bank Charges">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Protest Instructions" prop="bcdgrp.rec.proins">
<c-select v-model="model.bcdgrp.rec.proins" style="width:100%" placeholder="请选择Protest Instructions">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Waive Remitting Bank Charges" prop="bcdgrp.rec.wairmtcod">
<c-select v-model="model.bcdgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Other Instructions" prop="bcdgrp.blk.othins">
<c-input type="textarea" v-model="model.bcdgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Defer Payment until" prop="bcdgrp.rec.othins">
<c-select v-model="model.bcdgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Good's Code (for Statistics)" prop="bcdgrp.rec.stagod">
<c-select v-model="model.bcdgrp.rec.stagod" style="width:100%" placeholder="请选择Good's Code (for Statistics)">
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bctp.drep.ptsget.sdamod.dadsnd">
<c-input v-model="model.bctp.drep.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bctp.rmip.ptsget.sdamod.dadsnd">
<c-input v-model="model.bctp.rmip.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bcdgrp.dre.pts.extkey">
<c-input v-model="model.bcdgrp.dre.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bctp.drep.ptsget.sdamod.seainf">
<c-input v-model="model.bctp.drep.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDrepDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bcdgrp.rmi.pts.extkey">
<c-input v-model="model.bcdgrp.rmi.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bctp.rmip.ptsget.sdamod.seainf">
<c-input v-model="model.bctp.rmip.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRmipDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bcdgrp.dre.namelc">
<c-input type="textarea" v-model="model.bcdgrp.dre.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bcdgrp.rmi.namelc">
<c-input type="textarea" v-model="model.bcdgrp.rmi.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bcdgrp.dre.pts.adrblk">
<c-input type="textarea" v-model="model.bcdgrp.dre.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bcdgrp.dre.dbfadrblkcn">
<c-input type="textarea" v-model="model.bcdgrp.dre.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bcdgrp.rmi.pts.adrblk">
<c-input type="textarea" v-model="model.bcdgrp.rmi.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bcdgrp.rmi.dbfadrblkcn">
<c-input type="textarea" v-model="model.bcdgrp.rmi.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bcdgrp.dre.adrelc">
<c-input type="textarea" v-model="model.bcdgrp.dre.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bcdgrp.rmi.adrelc">
<c-input type="textarea" v-model="model.bcdgrp.rmi.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="2nd Collecting Bank" prop="bcdgrp.co2.pts.ref">
<c-input v-model="model.bcdgrp.co2.pts.ref" maxlength="16" placeholder="请输入2nd Collecting Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bctp.co2p.ptsget.sdamod.dadsnd">
<c-input v-model="model.bctp.co2p.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bctp.drrp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bctp.drrp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bcdgrp.co2.pts.extkey">
<c-input v-model="model.bcdgrp.co2.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bctp.co2p.ptsget.sdamod.seainf">
<c-input v-model="model.bctp.co2p.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCo2pDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bcdgrp.drr.pts.extkey">
<c-input v-model="model.bcdgrp.drr.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bctp.drrp.ptsget.sdamod.seainf">
<c-input v-model="model.bctp.drrp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDrrpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bcdgrp.co2.namelc">
<c-input type="textarea" v-model="model.bcdgrp.co2.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bcdgrp.drr.namelc">
<c-input type="textarea" v-model="model.bcdgrp.drr.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bcdgrp.co2.pts.adrblk">
<c-input type="textarea" v-model="model.bcdgrp.co2.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bcdgrp.co2.dbfadrblkcn">
<c-input type="textarea" v-model="model.bcdgrp.co2.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bcdgrp.drr.pts.adrblk">
<c-input type="textarea" v-model="model.bcdgrp.drr.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bcdgrp.drr.dbfadrblkcn">
<c-input type="textarea" v-model="model.bcdgrp.drr.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bcdgrp.co2.adrelc">
<c-input type="textarea" v-model="model.bcdgrp.co2.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bcdgrp.drr.adrelc">
<c-input type="textarea" v-model="model.bcdgrp.drr.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="进口代收承兑">
<div class="eContainer">
<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>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--Settle BC -->
<el-tab-pane label="Settle BC" name="bctset">
<m-bctset :model="model" :codes="codes"/>
</el-tab-pane>
<!--Instructions -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--Parties -->
<el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Bctacc from "~/model/Bctacc"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Bctacc/Check"
import Default from "~/model/Bctacc/Default"
import Pattern from "~/model/Bctacc/Pattern"
import Bctset from "./Bctset"
import Detp from "./Detp"
import Ptyp from "./Ptyp"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
export default {
components:{
"m-bctset" : Bctset,
"m-detp" : Detp,
"m-ptyp" : Ptyp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "bctset",
trnName: "bctacc",
model: new Bctacc().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable },
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bctacc交易");
let rtnmsg = await this.init(this.$route.query)
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
...@@ -20,6 +20,7 @@ import Mgrtsk from "./Mgrtsk" ...@@ -20,6 +20,7 @@ import Mgrtsk from "./Mgrtsk"
import Switsk from "./Switsk" import Switsk from "./Switsk"
import Infusr from "./Infusr" import Infusr from "./Infusr"
import Infcpd from "./Infcpd" import Infcpd from "./Infcpd"
import Bctacc from "./Bctacc"
/** /**
* 带有name的才会被添加进顶部的标签页里 * 带有name的才会被添加进顶部的标签页里
...@@ -49,6 +50,7 @@ const BusRouter = [ ...@@ -49,6 +50,7 @@ const BusRouter = [
{ path: 'switsk', component: Switsk, name: 'Switsk', meta: {title: 'Switsk'} }, { path: 'switsk', component: Switsk, name: 'Switsk', meta: {title: 'Switsk'} },
{ path: 'infusr', component: Infusr, name: 'Infusr', meta: {title: '用户信息'} }, { path: 'infusr', component: Infusr, name: 'Infusr', meta: {title: '用户信息'} },
{ path: 'infcpd', component: Infcpd, name: 'Infcpd', meta: {title: '汇款查询'} }, { path: 'infcpd', component: Infcpd, name: 'Infcpd', meta: {title: '汇款查询'} },
{ path: 'bctacc', component: Bctacc, name: 'Bctacc', meta: {title: 'Bctacc'} },
] ]
export default BusRouter export default BusRouter
\ No newline at end of file
...@@ -112,7 +112,10 @@ ...@@ -112,7 +112,10 @@
<el-form-item label="保证金实收比例" prop="liaall.liaccv.relcshpct"> <el-form-item label="保证金实收比例" prop="liaall.liaccv.relcshpct">
<c-row> <c-row>
<c-col :span="8"> <c-col :span="8">
<c-input :readonly="true" v-model="model.liaall.liaccv.relcshpct"></c-input> <c-input
:readonly="true"
v-model="model.liaall.liaccv.relcshpct"
></c-input>
</c-col> </c-col>
<c-col :span="12" style="margin-left: 20px"> <c-col :span="12" style="margin-left: 20px">
<span>%</span> <span>%</span>
...@@ -183,53 +186,69 @@ ...@@ -183,53 +186,69 @@
--> -->
<c-col :span="24" style="text-align: right"> <c-col :span="24" style="text-align: right">
<c-row> <c-row>
<c-col :span="2" :offset="19"> <c-col :span="2" :offset="20">
<c-button <c-button size="small" type="primary" @click="onLiaccvAdd">
size="small"
type="primary"
@click="onLiaccvAdd"
>
Add Add
</c-button> </c-button>
<el-dialog :visible.sync="dialogTableVisible" :close-on-click-modal="false" :close-on-press-escape="false"> <el-dialog
<c-istream-table :visible.sync="dialogTableVisible"
:list="stmData.data" :close-on-click-modal="false"
:columns="stmData.columns" :close-on-press-escape="false"
> >
<el-table-column <c-istream-table :list="stmData.data" :columns="stmData.columns">
prop="op" <el-table-column prop="op" label="OP" width="100">
label="OP" <template slot-scope="scope">
width="100"> <a href="javascript:void(0)" @click="pickDepItem(scope.row)"
<template slot-scope="scope"> >选择</a
<a href="javascript:void(0)" @click="pickDepItem(scope.row)">选择</a> >
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</el-dialog> </el-dialog>
</c-col> </c-col>
<c-col :span="2"> <!-- <c-col :span="2">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel"> <c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
Del Del
</c-button> </c-button>
</c-col> </c-col> -->
</c-row> </c-row>
</c-col> </c-col>
<c-col :span="24"><div style="height:10px"></div></c-col> <c-col :span="24"><div style="height: 10px"></div></c-col>
<c-col :span="22" :offset="1"> <c-col :span="22" :offset="1">
<c-table :border="true" :list="model.liaall.liaccv.liaccvg" style="width:80%,text-align:center"> <c-table
<el-table-column prop="ccdflg" label="CF000048" width="auto"> </el-table-column> :border="true"
<el-table-column prop="ownref" label="保证金编号" width="auto"> </el-table-column> :list="model.liaall.liaccv.liaccvg"
<el-table-column prop="cur" label="币种" width="auto"> </el-table-column> style="width:80%,text-align:center"
<el-table-column prop="oldamt" label="余额" width="auto"> </el-table-column> >
<el-table-column prop="amt" label="变动金额" width="auto"> </el-table-column> <el-table-column prop="ccdflg" label="CF000048" width="auto">
<el-table-column prop="acc" label="保证金账号" width="auto"> </el-table-column> </el-table-column>
<el-table-column prop="rat" label="汇率" width="auto"> </el-table-column> <el-table-column prop="ownref" label="保证金编号" width="auto">
<el-table-column prop="concur" label="币种" width="auto"> </el-table-column> </el-table-column>
<el-table-column prop="covamt" label="折算后金额" width="auto"> </el-table-column> <el-table-column prop="cur" label="币种" width="auto">
<el-table-column prop="acccovamt" label="Acc Amount" width="auto"> </el-table-column> </el-table-column>
<el-table-column prop="oldamt" label="余额" width="auto">
</el-table-column>
<el-table-column prop="amt" label="变动金额" width="auto">
</el-table-column>
<el-table-column prop="acc" label="保证金账号" width="auto">
</el-table-column>
<el-table-column prop="rat" label="汇率" width="auto">
</el-table-column>
<el-table-column prop="concur" label="币种" width="auto">
</el-table-column>
<el-table-column prop="covamt" label="折算后金额" width="auto">
</el-table-column>
<el-table-column prop="acccovamt" label="Acc Amount" width="auto">
</el-table-column>
<el-table-column label="OP" width="auto">
<template slot-scope="scope">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel(scope.$index,scope.row)">
Del</c-button>
</template>
</el-table-column>
</c-table> </c-table>
</c-col> </c-col>
...@@ -262,22 +281,30 @@ ...@@ -262,22 +281,30 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24">
<c-col :span="24"> <el-form-item label="金额总和">
<el-form-item label="金额总和"> <c-col :span="8">
<c-col :span="8"> <c-input
<c-input style="width:50%" v-model="model.liaall.liaccv.totcovamt" placeholder="请输入金额总和"></c-input> style="width: 50%"
</c-col> v-model="model.liaall.liaccv.totcovamt"
</el-form-item> placeholder="请输入金额总和"
</c-col> ></c-input>
<c-col :span="12">
<el-form-item label="Additional Information ">
<c-input type="textarea" :rows="5" v-model="model.liaall.liaccv.addinf" maxlength="200" show-word-limit placeholder="请输入Additional Information " ></c-input>
</el-form-item>
</c-col> </c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Information ">
<c-input
type="textarea"
:rows="5"
v-model="model.liaall.liaccv.addinf"
maxlength="200"
show-word-limit
placeholder="请输入Additional Information "
></c-input>
</el-form-item>
</c-col>
</div> </div>
</template> </template>
<script> <script>
...@@ -287,7 +314,7 @@ import CodeTable from "~/config/CodeTable"; ...@@ -287,7 +314,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
......
...@@ -19,6 +19,13 @@ ...@@ -19,6 +19,13 @@
style="width: 100%" style="width: 100%"
placeholder="请选择Branch" placeholder="请选择Branch"
> >
<el-option
v-for="item in codes.bchtyp"
: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>
...@@ -78,6 +85,13 @@ ...@@ -78,6 +85,13 @@
style="width: 100%" style="width: 100%"
placeholder="请选择User" placeholder="请选择User"
> >
<el-option
v-for="item in codes.usrsort"
: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>
......
...@@ -62,6 +62,8 @@ export default { ...@@ -62,6 +62,8 @@ export default {
codes: { codes: {
relflg:CodeTable.relflg, relflg:CodeTable.relflg,
dflg:CodeTable.dflg, dflg:CodeTable.dflg,
bchtyp:CodeTable.bchtyp,
usrsort:CodeTable.usrsort,
}, },
} }
}, },
......
...@@ -45,8 +45,10 @@ ...@@ -45,8 +45,10 @@
{ inifrm: "bdtudp", ininam: "国内证承兑", pntmiu: "2" }, { inifrm: "bdtudp", ininam: "国内证承兑", pntmiu: "2" },
{ inifrm: "3", ininam: "出口信用证", pntmiu: "" }, { inifrm: "3", ininam: "出口信用证", pntmiu: "" },
{ inifrm: "letopn", ininam: "出口信用证通知", pntmiu: "3" }, { inifrm: "letopn", ininam: "出口信用证通知", pntmiu: "3" },
{ inifrm: "4", ininam: "静态参数管理", pntmiu: "" }, { inifrm: "4", ininam: "进口代收", pntmiu: "" },
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "4" }, { inifrm: "bctacc", ininam: "进口代收承兑", pntmiu: "4" },
{ inifrm: "5", ininam: "静态参数管理", pntmiu: "" },
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "5" },
], ],
menusOrigin: [], menusOrigin: [],
menus: [], menus: [],
......
...@@ -137,9 +137,11 @@ ...@@ -137,9 +137,11 @@
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel"> <template slot-scope="scope">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel(scope.$index,scope.row)">
Del Del
</c-button> </c-button>
</template>
</c-col> </c-col>
</c-row> </c-row>
</c-col> </c-col>
......
...@@ -448,7 +448,7 @@ export default { ...@@ -448,7 +448,7 @@ export default {
}, },
// 第二个表格 // 第二个表格
detail1(index, row) { detail1(index, row) {
this.executeDefault("det").then(res=>{ this.executeDefault("setfel/det").then(res=>{
this.dialogVisible = true; this.dialogVisible = true;
this.dialog = row; this.dialog = row;
this.index = index; this.index = index;
...@@ -464,7 +464,8 @@ export default { ...@@ -464,7 +464,8 @@ export default {
// 第三个表格 // 第三个表格
detail2(index, row) { detail2(index, row) {
const that = this; const that = this;
that.executeRule("det").then(res=>{ const rule = "setmod.setfeg.setfel("+(index+1)+").det";
that.executeRule(rule).then(res=>{
that.$refs.setpanDialog.visiable = true; that.$refs.setpanDialog.visiable = true;
that.$refs.setpanDialog.formData = Object.assign({}, that.model.setmod.setfeg.setfel[index]); that.$refs.setpanDialog.formData = Object.assign({}, that.model.setmod.setfeg.setfel[index]);
that.index = index; that.index = index;
......
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