Commit eaf5bc9c by wangna

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 5aa29f37 d59eafb9
......@@ -111,6 +111,7 @@ export default class Bftsnd {
docdis: "", // Discrepancies .bfdgrp.blk.docdis
docdisflg: "", // Discrepancies modified .bfdgrp.blk.docdisflg
benref: "", // 鏂板彈鐩婁汉缂栧彿 .bfdgrp.blk.benref
prsdoc: "", //.bfdgrp.blk.prsdoc
},
oth: {
pts: new Pts().data,
......
import Vue from "vue"
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
......
......@@ -93,7 +93,7 @@ export default {
],
"bodgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -117,13 +117,13 @@ export default {
],
"bodgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -174,15 +174,15 @@ export default {
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
//{type: "string", required: false, message: "必输项"},
//{max: 3,message:"长度不能超过3"}
],
"bodgrp.rec.paydocnum":[
{type: "string", required: false, message: "必输项"},
......@@ -231,7 +231,7 @@ export default {
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -293,7 +293,7 @@ export default {
],
"bodgrp.blk.setinsbo":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
//{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.agtaut":[
......
......@@ -156,16 +156,14 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -197,8 +195,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -58,6 +58,7 @@ export default class Botdcr {
dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn
},
blk: {
docpre:"", // bodgrp.blk.docpre
resrej: "", // Reason for Non-Payment/Non-Acceptance .bodgrp.blk.resrej
colins: "", // Collection Instructions .bodgrp.blk.colins
colinsflg: "", // Collection instructions modified .bodgrp.blk.colinsflg
......
import Utils from "~/utils"
/**
* Botpay Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bodgrp.rec.matperbeg" :null,
"bodgrp.rec.matpertyp" :null,
"bodgrp.blk.proins" :null,
"bodgrp.drr.pts.adrblk" :null,
"bodgrp.dre.adrelc" :null,
"bodgrp.dre.pts.nam" :null,
"setmod.dspflg" :null,
"bodgrp.col.adrelc" :null,
"bodgrp.col.pts.adrblk" :null,
"bodgrp.col.pts.extkey" :null,
"liaall.tenstm" :null,
"bodgrp.blk.dftins" :null,
"setmod.redamt" :null,
"bodgrp.blk.delins" :null,
"bodgrp.drr.pts.nam" :null,
"bodgrp.rec.focflg" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"bodgrp.drr.adrelc" :null,
"bodgrp.dre.namelc" :null,
"bodgrp.blk.colins" :null,
"setmod.docamt" :null,
"bodgrp.drr.namelc" :null,
"bodgrp.col.pts.nam" :null,
"bodgrp.dre.pts.adrblk" :null,
"bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null,
"bodgrp.drr.pts.extkey" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Botpay Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bptbck.dscbckcur" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.drr.pts.nam" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.dre.pts.nam" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"bodgrp.col.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :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 onProinsButtxmsel(){
let rtnmsg = await this.executeRule("proins.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 onWhinsButtxmsel(){
let rtnmsg = await this.executeRule("whins.buttxmsel")
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 onColpDet(){
let rtnmsg = await this.executeRule("colp.det")
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 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
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botpay{
constructor () {
this.data = {
bodgrp:{
rec:{
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod
docsta:"", // Document Set Status .bodgrp.rec.docsta
matdat:"", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Start of Maturity Period MATBEG .bodgrp.rec.matperbeg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
predat:"", // Presentation Date .bodgrp.rec.predat
focflg:"", // Free of Payment .bodgrp.rec.focflg
chato:"", // Our Charges to .bodgrp.rec.chato
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
},
cbs:{
max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt
},
opn1:{
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
},
drr:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.drr.namelc
adrelc:"", // 地址 .bodgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn
},
col:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.col.namelc
adrelc:"", // 地址 .bodgrp.col.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn
},
dre:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.dre.namelc
adrelc:"", // 地址 .bodgrp.dre.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn
},
blk:{
colins:"", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg
dftins:"", // Draft Instructions .bodgrp.blk.dftins
proins:"", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins
},
},
botp:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd
seainf:"", // .botp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .botp.matp.mattxtlab
},
drrp:{
ptsget:{
sdamod:{
seainf:"", // .botp.drrp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
},
},
colp:{
ptsget:{
sdamod:{
seainf:"", // .botp.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
},
},
},
drep:{
ptsget:{
sdamod:{
seainf:"", // .botp.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
},
},
},
ptsaddp:{
ptsaddg:[], // .botp.ptsaddp.ptsaddg
},
},
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
redamt:"", // Reduction Amount .setmod.redamt
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
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
bptbck:{
bptbckg:[], // .bptbck.bptbckg
dscbckcur:"", // currency discount paid back .bptbck.dscbckcur
},
liaall:{
tenstm:"", // Tenor Stream .liaall.tenstm
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
},
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
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
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -178,12 +178,10 @@ export default {
],
"bodgrp.drr.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -194,8 +192,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.drr.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
......@@ -218,12 +215,10 @@ export default {
],
"bodgrp.col.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -234,8 +229,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"bodgrp.col.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.rec.issdat":[
{type: "date", required: false, message: "输入正确的日期"}
......@@ -264,20 +258,17 @@ export default {
],
"bodgrp.dre.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.blk.cctinscol":[
{type: "string", required: true, message: "必输项"},
......
......@@ -102,6 +102,7 @@ export default class Botrad {
dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn
},
blk: {
docpre:"", // bodgrp.blk.docpre
colinssnm: "", // Instructions for Second Mail .bodgrp.blk.colinssnm
vesselnam: "", // Vessel Name .bodgrp.blk.vesselnam
goddes: "", // Description of Goods .bodgrp.blk.goddes
......
......@@ -83,7 +83,7 @@ export default {
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -91,7 +91,7 @@ export default {
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -128,7 +128,7 @@ export default {
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -176,7 +176,7 @@ export default {
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -371,7 +371,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -414,7 +414,7 @@ export default {
],
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -4,104 +4,94 @@ import Utils from "~/utils"
* Letopn Check规则
*/
let checkObj = {
"ledgrp.apb.pts.extkey": null,
"liaall.misamt": null,
"letp.rmbp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.opndat": null,
"ledgrp.adv.namelc": null,
"ledgrp.blk.shpper": null,
"ledgrp.rmb.pts.extkey": null,
"letp.avbp.ptsget.sdamod.dadsnd": null,
"ledgrp.a2b.pts.adrblk": null,
"letp.conp.ptsget.sdamod.dadsnd": null,
"ledgrp.iss.pts.adrblk": null,
"letp.issp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.revdat": null,
"ledgrp.blk.spcrcb": null,
"ledgrp.blk.preper": null,
"ledgrp.adv.adrelc": null,
"ledgrp.ben.adrelc": null,
"ledgrp.avb.adrelc": null,
"ledgrp.rec.tenmaxday": null,
"ledgrp.blk.mixdet": null,
"ledgrp.avb.pts.extkey": null,
"ledgrp.adv.pts.extkey": null,
"ledgrp.drw.adrelc": null,
"ledgrp.ben.pts.extkey": null,
"ledgrp.rmb.pts.adrblk": null,
"ledgrp.blk.lcrgod": null,
"setmod.dspflg": null,
"ledgrp.a2b.adrelc": null,
"ledgrp.avb.namelc": null,
"ledgrp.avb.pts.adrblk": null,
"ledgrp.apb.pts.adrblk": null,
"letp.usr.extkey": null,
"ledgrp.rec.nomspc": null,
"ledgrp.a2b.namelc": null,
"ledgrp.cbs.nom1.cur": null,
"ledgrp.rec.revtyp": null,
"ledgrp.rec.avbby": null,
"ledgrp.rec.shpdat": null,
"letp.a2bp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.prepers18": null,
"ledgrp.rec.nomtop": null,
"ledgrp.iss.adrelc": null,
"ledgrp.rec.nomton": null,
"ledgrp.rec.avbwth": null,
"ledgrp.apb.namelc": null,
"letp.drwp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.ownref": null,
"ledgrp.rmb.namelc": null,
"ledgrp.blk.feetxt": null,
"ledgrp.apl.namelc": null,
"ledgrp.blk.revcls": null,
"ledgrp.cbs.max2.amt": null,
"ledgrp.rec.stacty": null,
"ledgrp.adv.pts.adrblk": null,
"ledgrp.cbs.nom1.amt": null,
"ledgrp.blk.lcrdoc": null,
"ledgrp.blk.defdet": null,
"letp.apbp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.expdat": null,
"ledgrp.blk.dftat": null,
"letp.benp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.lcrtyp": null,
"ledgrp.blk.insbnk": null,
"mtabut.coninf.conexedat": null,
"ledgrp.rec.apprul": null,
"ledgrp.apl.adrelc": null,
"ledgrp.iss.pts.extkey": null,
"ledgrp.blk.adlcnd": null,
"ledgrp.iss.namelc": null,
"ledgrp.rec.expplc": null,
"letp.advp.ptsget.sdamod.dadsnd": null,
"ledgrp.drw.pts.extkey": null,
"ledgrp.a2b.pts.extkey": null,
"ledgrp.iss.pts.ref": null,
"ledgrp.ben.namelc": null,
"ledgrp.apl.pts.adrblk": null,
"letp.recget.sdamod.dadsnd": null,
"ledgrp.rec.preadvdt": null,
"ledgrp.ben.pts.adrblk": null,
"ledgrp.blk.addamtcov": null,
"setmod.docamt": null,
"ledgrp.rec.cnfins": null,
"ledgrp.apb.adrelc": null,
"ledgrp.rmb.adrelc": null,
"ledgrp.drw.namelc": null,
"ledgrp.apl.pts.extkey": null,
"letp.aplp.ptsget.sdamod.dadsnd": null,
"ledgrp.con.pts.extkey": null,
"ledgrp.rec.cnfdet": null,
"ledgrp.drw.pts.adrblk": null,
"ledgrp.rec.apprultxt": null,
"ledgrp.blk.spcben": null,
"ledgrp.apb.pts.extkey" :null,
"liaall.misamt" :null,
"ledgrp.rec.opndat" :null,
"ledgrp.adv.namelc" :null,
"ledgrp.blk.shpper" :null,
"ledgrp.rmb.pts.extkey" :null,
"ledgrp.iss.pts.adrblk" :null,
"ledgrp.avb.adrelc" :null,
"ledgrp.rec.tenmaxday" :null,
"ledgrp.blk.mixdet" :null,
"ledgrp.avb.pts.extkey" :null,
"ledgrp.drw.adrelc" :null,
"ledgrp.ben.pts.extkey" :null,
"setmod.dspflg" :null,
"letp.usr.extkey" :null,
"ledgrp.rec.nomspc" :null,
"ledgrp.a2b.namelc" :null,
"ledgrp.rec.revtyp" :null,
"ledgrp.rec.avbby" :null,
"ledgrp.rec.shpdat" :null,
"ledgrp.rec.prepers18" :null,
"ledgrp.iss.adrelc" :null,
"ledgrp.apb.namelc" :null,
"ledgrp.apl.namelc" :null,
"ledgrp.cbs.max2.amt" :null,
"ledgrp.rec.stacty" :null,
"ledgrp.blk.lcrdoc" :null,
"ledgrp.blk.dftat" :null,
"ledgrp.blk.insbnk" :null,
"ledgrp.iss.pts.extkey" :null,
"ledgrp.blk.adlcnd" :null,
"ledgrp.rec.expplc" :null,
"ledgrp.a2b.pts.extkey" :null,
"ledgrp.iss.pts.ref" :null,
"ledgrp.apl.pts.adrblk" :null,
"ledgrp.rmb.adrelc" :null,
"ledgrp.drw.pts.adrblk" :null,
"ledgrp.blk.spcben" :null,
"ledgrp.a2b.pts.adrblk" :null,
"ledgrp.rec.revdat" :null,
"ledgrp.blk.spcrcb" :null,
"ledgrp.blk.preper" :null,
"ledgrp.adv.adrelc" :null,
"ledgrp.ben.adrelc" :null,
"ledgrp.adv.pts.extkey" :null,
"ledgrp.rmb.pts.adrblk" :null,
"ledgrp.blk.lcrgod" :null,
"ledgrp.a2b.adrelc" :null,
"ledgrp.avb.namelc" :null,
"ledgrp.avb.pts.adrblk" :null,
"ledgrp.apb.pts.adrblk" :null,
"ledgrp.cbs.nom1.cur" :null,
"ledgrp.con.pts.nam" :null,
"ledgrp.rec.nomtop" :null,
"ledgrp.rec.nomton" :null,
"ledgrp.rec.avbwth" :null,
"ledgrp.rec.ownref" :null,
"ledgrp.rmb.namelc" :null,
"ledgrp.blk.feetxt" :null,
"ledgrp.blk.revcls" :null,
"ledgrp.adv.pts.adrblk" :null,
"ledgrp.cbs.nom1.amt" :null,
"ledgrp.blk.defdet" :null,
"ledgrp.rec.expdat" :null,
"ledgrp.rec.lcrtyp" :null,
"mtabut.coninf.conexedat" :null,
"ledgrp.rec.apprul" :null,
"ledgrp.apl.adrelc" :null,
"ledgrp.iss.namelc" :null,
"ledgrp.drw.pts.extkey" :null,
"ledgrp.ben.namelc" :null,
"ledgrp.rec.preadvdt" :null,
"ledgrp.ben.pts.adrblk" :null,
"ledgrp.blk.addamtcov" :null,
"setmod.docamt" :null,
"ledgrp.rec.cnfins" :null,
"ledgrp.apb.adrelc" :null,
"ledgrp.drw.namelc" :null,
"ledgrp.apl.pts.extkey" :null,
"ledgrp.con.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null,
"ledgrp.rec.apprultxt" :null,
}
// for (const key in checkObj) {
// if (Object.hasOwnProperty.call(checkObj, key)) {
// checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
// }
// }
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="12">
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item
......@@ -43,7 +43,7 @@
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
Get
</c-button>
<!-- </el-form-item> -->
</c-col>
......@@ -91,7 +91,7 @@
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
Get
</c-button>
<!-- </el-form-item> -->
</c-col>
......@@ -219,7 +219,7 @@
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Open Amt. L/C" prop="ledgrp.cbs.opn1.cur">
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="12">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Reimbursement Bank" prop="rmbclm.rmbrol">
<c-select
......@@ -50,7 +50,7 @@
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap
:model="model"
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="12">
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item
......@@ -236,7 +236,7 @@
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
......@@ -334,7 +334,7 @@
</c-col>
<!-- next part -->
<!-- left -->
<c-col :span="12">
<c-col :span="11">
<c-col :span="24">
<c-checkbox v-model="advrefflg" style="margin-left: 150px"
>拒付通知登记</c-checkbox
......@@ -375,7 +375,7 @@
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="付款人" prop="bfdgrp.rec.payrol">
<c-select
......@@ -425,6 +425,7 @@
v-model="model.bfdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单行"
disabled
>
<el-option
v-for="item in codes.docprbrol"
......
......@@ -128,6 +128,9 @@ export default {
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if(this.isInDisplay){
this.restoryDispaly();
}
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
......@@ -321,17 +321,18 @@
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="margin-bottom: 30px">
<c-table
<el-form-item label="" prop="bftp.docgrdm.docgrd" style="margin-left:-150px;">
<c-table
height="200px"
style="text-align: center"
:list="this.model.bftp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
@click="prsdoc"
>
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1"></c-input>
<c-input v-model="scope.row.cmail1"
@change="prsdoc"></c-input>
</template>
</el-table-column>
<el-table-column label="2nd" width="auto">
......@@ -365,6 +366,7 @@
</template>
</el-table-column>
</c-table>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -408,6 +410,7 @@
v-model="model.bfdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择到期日期"
:disabled="model.bfdgrp.rec.matdat!=''||model.bfdgrp.rec.doctypcod === 'P'"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -506,7 +509,7 @@
maxlength="65"
show-word-limit
placeholder="请输入远期单据到期时间"
disabled
:disabled="model.bfdgrp.blk.matper!=''||model.bfdgrp.rec.doctypcod === 'P'"
></c-input>
</el-form-item>
</c-col>
......@@ -870,7 +873,17 @@ export default {
let rtnmsg = await this.executeRule("bfdgrp.blk.prsdoc")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.bfdgrp.blk.prsdoc = rtnmsg.data
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async matdat() {
let rtnmsg = await this.executeDefault("bfdgrp.blk.matper")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
......@@ -142,6 +142,9 @@ export default {
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if(this.isInDisplay){
this.restoreDisplay();
}
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
......@@ -154,10 +154,10 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Delivery instructions" prop="bodgrp.blk.delins">
<el-form-item label="Warehouse/Insurance Instructions " prop="bodgrp.blk.delins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit
placeholder="请输入Delivery instructions"></c-input>
placeholder="请输入Warehouse/Insurance Instructions "></c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
......
......@@ -42,7 +42,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="35" disabled
<c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="50" disabled
show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
......@@ -75,7 +75,7 @@
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="35" disabled
<c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="50" disabled
show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
......@@ -107,7 +107,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.dre.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="35" show-word-limit
<c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="50" show-word-limit
placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
......
......@@ -36,14 +36,14 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="10">
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-input v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="13" :offset="1">
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item>
......@@ -59,14 +59,14 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="10">
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
<c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
placeholder="请选择Warehouse/Insurance" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="13" :offset="1">
<c-col :span="12">
<el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt">
<c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
disabled></c-input>
......@@ -113,7 +113,8 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="" prop="bodgrp.col.pts.nam">
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="bodgrp.col.pts.nam" disabled>
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="bodgrp.col.pts.nam"
disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -122,46 +123,48 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="10">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matdat">
<c-input v-model="model.bodgrp.rec.matdat" placeholder="" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item label="" prop="bodgrp.rec.matpercnt">
<c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
<c-col :span="2" :offset="1">
<span>Days</span>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Drawee Ref." prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee" disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Start of Maturity Period MATBEG" prop="bodgrp.rec.matperbeg">
<el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="5">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
</c-col> -->
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Drawee Ref." prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bodgrp.dre.pts.nam">
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="bodgrp.dre.pts.nam" disabled>
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="bodgrp.dre.pts.nam"
disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
......@@ -180,12 +183,12 @@
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24" style="margin-top:15px;border-top:2px solid #ddd;padding-top:15px" >
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Amount Accepted" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency" disabled>
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency"
disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -196,51 +199,45 @@
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<span v-text="model.botp.matp.mattxtlab" data-path=".botp.matp.mattxtlab"> </span>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%"
placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="currency discount paid back" prop="bptbck.dscbckcur">
<c-input v-model="model.bptbck.dscbckcur" maxlength="3" placeholder="请输入currency discount paid back">
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="11">
<c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
</c-col>
<!-- <c-col :span="24">
<div class="e-table-wrapper">
<el-table :data="model.bptbck.bptbckg" style="width: 100%">
<el-table-column prop="ownref" label="" sortable width="100">
<el-table-column prop="ownref" label="owner" sortable width="100">
</el-table-column>
<el-table-column prop="opncur" label="" sortable width="100">
<el-table-column prop="opncur" label="opncur" sortable width="100">
</el-table-column>
<el-table-column prop="opnamt" label="" sortable width="100">
<el-table-column prop="opnamt" label="opnamt" sortable width="100">
</el-table-column>
<el-table-column prop="bckamt" label="" sortable width="100">
<el-table-column prop="bckamt" label="bckamt" sortable width="100">
</el-table-column>
<el-table-column prop="butcal" label="" sortable width="100">
<el-table-column prop="butcal" label="butcal" sortable width="100">
</el-table-column>
</el-table>
<!-- <el-pagination
</el-table> -->
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.bptbck_bptbckg.total">
</el-pagination> -->
</div>
</c-col>
<!-- </div>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Tenor Stream" prop="liaall.tenstm">
......@@ -261,6 +258,34 @@ export default {
mixins: [commonProcess],
data() {
return {
docgrd: {
columns: [{
title: "Reference",
width: "80px",
dataIndex: "ownref",
show: "input",
},
{
title: "Cur",
width: "80px",
dataIndex: "opncur",
show: "input",
},
{
title: "Open Amount",
width: "80px",
dataIndex: "opnamt",
show: "input",
},
{
title: "Amount Paid",
width: "320px",
dataIndex: "bckamt",
show: "input",
},
],
urls: "bptbck.bptbckg.docgrd",
},
}
},
......
......@@ -60,7 +60,7 @@
</template>
<script>
import Api from "~/service/Api"
// import Utils from "~/utils/index"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Botacc from "~/model/Botacc"
import commonFuncs from "~/mixin/commonFuncs";
......@@ -71,13 +71,16 @@ import Pattern from "~/model/Botacc/Pattern"
import Setp from "./Setp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Engp from "./Engp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
import Doctre from "./Doctre"
// import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan"
import Docpan from "~/views/Public/Docpan"
import Engp from "~/views/Public/Engp"
import Doctre from "~/views/Public/Doctre"
import Coninfp from "~/views/Public/Coninfp"
export default {
......@@ -100,7 +103,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ptyp",
tabVal: "setp",
trnName: "botacc",
model: new Botacc().data,
checkRules: Check,
......
......@@ -24,7 +24,6 @@
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
></c-button>
</c-col>
......@@ -54,7 +53,7 @@
<el-form-item label="" >
</el-form-item>
</c-col>
<c-col :span="12" offset="4">
<c-col :span="12" :offset="4">
<el-form-item label="Amount" >
</el-form-item>
</c-col>
......@@ -171,27 +170,36 @@
<c-col :span="11">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Tenor Data" prop="trnmod.swiadd.newmatpercnt">
<c-input disabled v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入New Tenor Data"></c-input>
<el-form-item label="Tenor Data" prop="oldbodgrp.rec.matpercnt">
<c-input disabled v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入New Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" prop="trnmod.swiadd.newmatpertyp" label-width="5px">
<c-select disabled v-model="model.trnmod.swiadd.newmatpertyp" style="width: 100%" placeholder="请选择Days/Month or Year for Maturity Period"></c-select>
<el-form-item label="" prop="oldbodgrp.rec.matpertyp" label-width="5px">
<c-select disabled v-model="model.oldbodgrp.rec.matpertyp" style="width: 100%" placeholder="请选择Days/Month or Year for Maturity Period">
<el-option
v-for="item in codes.matper"
v-for="item in matpertyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="trnmod.swiadd.newmatperbeg" label-width="5px">
<c-select disabled v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%" placeholder="请选择Start of Maturity Period">
<el-form-item label="" prop="oldbodgrp.rec.matperbeg" label-width="5px">
<c-select disabled v-model="model.oldbodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period">
<el-option
v-for="item in codes.matperbeg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -203,16 +211,16 @@
<c-col :span="11">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="New Tenor Data" prop="oldbodgrp.rec.matpercnt">
<c-input :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入Tenor Data"></c-input>
<el-form-item label="New Tenor Data" prop="trnmod.swiadd.newmatpercnt">
<c-input :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" prop="oldbodgrp.rec.matper" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matper" style="width: 100%" placeholder="请输入Days/Months or Years for Maturity Period">
<el-form-item label="" prop="trnmod.swiadd.newmatpertyp" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatpertyp" style="width: 100%" placeholder="请输入Days/Months or Years for Maturity Period">
<el-option
v-for="item in codes.matper"
v-for="item in matpertyp"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -223,8 +231,8 @@
</c-col>
<c-col :span="11">
<el-form-item label="" prop="oldbodgrp.rec.matperbeg" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG">
<el-form-item label="" prop="trnmod.swiadd.newmatperbeg" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG">
<el-option
v-for="item in codes.matperbeg"
:key="item.value"
......@@ -275,18 +283,30 @@ export default {
mixins: [commonProcess],
data(){
return {
matpertyp: [
{ label: "Days", value: "D" },
],
}
},
watch:{
"model.bodgrp.rec.doctypcod":function(){
if(this.model.bodgrp.rec.doctypcod=='P'){
this.model.oldbodgrp.rec.matpercnt="";
this.model.oldbodgrp.rec.matper="";
this.model.oldbodgrp.rec.matperbeg="";
this.model.trnmod.swiadd.newmatpercnt="";
this.model.trnmod.swiadd.newmatpertyp="";
this.model.trnmod.swiadd.newmatperbeg="";
this.model.trnmod.swiadd.newmatdat="";
}
},
"model.trnmod.swiadd.newmatdat":function(){
if(this.model.trnmod.swiadd.newmatdat!=""||this.model.trnmod.swiadd.newmatpercnt!=""){
this.model.bodgrp.rec.matdat=this.model.trnmod.swiadd.newmatdat;
}
else{
this.model.bodgrp.rec.matdat=this.model.oldbodgrp.rec.matdat;
}
}
},
methods:{...Event},
created:function(){
......
......@@ -9,8 +9,6 @@
rol: 'drr',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
......@@ -22,8 +20,6 @@
rol: 'dre',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -36,8 +32,6 @@
rol: 'col',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -57,7 +51,7 @@
</c-edit-table>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -105,7 +99,7 @@ export default {
},
methods:{...Event},
created:function(){
onsole.log(this.root);
console.log(this.root);
}
}
</script>
......
......@@ -157,7 +157,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
}
else
{
......
......@@ -131,7 +131,6 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
......
......@@ -153,7 +153,7 @@
</c-table>
</c-col> -->
<c-col :span="24" style="height: 24px; margin-top: -10px">
<!-- <c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
</el-form-item>
......@@ -163,19 +163,18 @@
:paginationShow="false" :border="true">
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1" @change="docpre"></c-input>
<c-input v-model="scope.row.cmail1" @change="docpre" maxlength="12"></c-input>
</template>
</el-table-column>
<el-table-column label="2nd" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail2"></c-input>
<c-input v-model="scope.row.cmail2" maxlength="12" @change="docpre"></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam">
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam" @change="docpre">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
......@@ -187,7 +186,16 @@
</template>
</el-table-column>
</c-table>
</c-col>
</c-col> -->
<c-docpre
:model="model"
:argadr="{
path:'bodgrp.blk.docpre',
grp: 'botp',
rol: 'blk',
}"></c-docpre>
</c-col>
<!-- ====================右边======================= -->
......@@ -233,8 +241,12 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default {
components: { "c-ptap": Ptap },
components: {
"c-ptap": Ptap,
"c-docpre": Docpre,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
......
......@@ -10,7 +10,8 @@
</el-form-item>
</c-col>
<c-col :span="4">
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"></c-button>
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search">
</c-button>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
......@@ -56,14 +57,15 @@
<c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"
disabled>
:code="codes.doctypcod" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled>
</c-input>
<c-select v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled
:code="codes.docstabot">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -150,7 +152,8 @@
</c-col>
<c-col :span="24">
<el-form-item label="Collecting Bank" prop="bodgrp.col.pts.ref">
<c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank" disabled></c-input>
<c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank" disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -170,7 +173,7 @@
</el-form-item>
</c-col>
<c-col :span="24" style="height: 24px; margin-top: -10px">
<!-- <c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel">
<div v-if="model.rejtypsel == 'R'">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
......@@ -193,7 +196,6 @@
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam" :disabled="model.rejtypsel != 'R'">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......@@ -208,9 +210,17 @@
</template>
</el-table-column>
</c-table>
</c-col> -->
<c-col>
<c-docpre :model="model" :argadr="{
path: 'bodgrp.blk.docpre',
grp: 'botp',
rol: 'blk',
}" :ifShowAdd="model.rejtypsel == 'R'" :ifShowDelete="model.rejtypsel == 'R'"></c-docpre>
</c-col>
</c-col>
......@@ -225,9 +235,13 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdcr/Event"
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default {
components: { "c-ptap": Ptap },
components: {
"c-ptap": Ptap,
"c-docpre": Docpre,
},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
......
<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/Botpay/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/Botpay/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/Botpay/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/Botpay/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="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></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/Botpay/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="24">
<c-col :span="12">
<el-form-item label="Delivery of Documents Instructions" prop="bodgrp.blk.colins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit
placeholder="请输入Collection Instructions"></c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Condition" prop="bodgrp.rec.chato">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to">
<el-option v-for="item in codes.chato" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="bodgrp.blk.colinsflg">
<c-checkbox v-model="model.bodgrp.blk.colinsflg">Delivery Of Document Instructions modified</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt">
<c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit
placeholder="请输入Charges Text"></c-input>
</el-form-item>
</c-col>
</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="24">
<c-col :span="12">
<el-form-item label="Draft Instructions" prop="bodgrp.blk.dftins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit
placeholder="请输入Draft Instructions">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bodgrp.blk.colinsflg">
<c-checkbox v-model="model.bodgrp.rec.focflg">Free of Payment</c-checkbox>
</el-form-item>
</c-col>
</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="24">
<c-col :span="12">
<el-form-item label="Protest Instructions" prop="bodgrp.blk.proins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit
placeholder="请输入Protest Instructions"></c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Waive Collecting Bank Charges" prop="bodgrp.rec.waicolcod">
<c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%"
placeholder="请选择Waive Remitting Bank Charges">
<el-option v-for="item in codes.waicolcod" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="Waive Remitting Bank Charges" prop="bodgrp.rec.wairmtcod">
<c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%"
placeholder="请选择Waive Remitting Bank Charges">
<el-option v-for="item in codes.wairmtcod" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Protest Instructions" prop="bodgrp.rec.waicolcod">
<c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions">
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel">
...
</c-button>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Other Instructions" prop="bodgrp.blk.othins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit
placeholder="请输入Other Instructions"></c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Defer Payment until" prop="bodgrp.rec.othins">
<c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until">
<el-option v-for="item in codes.othins" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</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="24">
<c-col :span="12">
<el-form-item label="Warehouse/Insurance Instructions " prop="bodgrp.blk.delins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit
placeholder="请输入Warehouse/Insurance Instructions "></c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="9">
<el-form-item label="less comm" prop="bodgrp.rec.lescom">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount"
:disabled="true" :code="codes.cur">
</c-select>
</el-form-item>
</c-col>
<c-col :span="14" :offset="1">
<c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel">
...
</c-button>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botpay/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/Botpay/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">
<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">
<!--PD000027 -->
<el-tab-pane label="setp" name="setp">
<m-setp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="inst" name="inst">
<m-inst :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="engp" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="setpan" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="glepan" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="coninfp" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="docpan" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="doctre" 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 Botpay from "~/model/Botpay"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Botpay/Check"
import Default from "~/model/Botpay/Default"
import Pattern from "~/model/Botpay/Pattern"
import Setp from "./Setp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Glepan from "./Glepan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
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 "~/views/Public/Doctre"
import Glepan from "~/views/Public/Glepan"
export default {
name: "Botpay",
components: {
"m-setp": Setp,
"m-inst": Inst,
"m-ptyp": Ptyp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "setp",
trnName: "botpay",
model: new Botpay().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入botpay交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
......@@ -56,15 +56,15 @@
<c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"
disabled>
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition" :code="codes.doctypcod" disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled>
</c-input>
<c-select v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" :code="codes.docstabot" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......
......@@ -4,7 +4,7 @@
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" label-width="30%" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表"
:code="codes.cnyflg" :disabled="true">
:code="codes.cnyflg" >
</c-select>
</el-form-item>
</c-col>
......
......@@ -9,8 +9,6 @@
rol: 'drr',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
......@@ -22,8 +20,6 @@
rol: 'dre',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -36,8 +32,6 @@
rol: 'col',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -104,7 +98,7 @@ export default {
},
methods:{...Event},
created:function(){
onsole.log(this.root);
console.log(this.root);
}
}
</script>
......
......@@ -26,7 +26,6 @@
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
></c-button>
</c-col>
</c-col>
......@@ -254,13 +253,13 @@
<el-form-item
style="text-align: left"
label-width="5px"
prop="bodgrp.cbs.max.amt"
prop="setmod.redamt"
>
<c-input-currency :disabled="model.bodgrp.rec.focflg=='X'"
v-model="model.bodgrp.cbs.max.amt"
v-model="model.setmod.redamt"
style="text-align: left; width: 100%"
placeholder="请输入Reduction Amt"
@keyup.enter.native="defaultFunction('bodgrp.cbs.max.amt', model.bodgrp.cbs.max.amt)"
@keyup.enter.native="defaultFunction('setmod.redamt', model.setmod.redamt)"
></c-input-currency>
</el-form-item>
</c-col>
......@@ -292,13 +291,13 @@
<el-form-item
style="text-align: left"
label-width="5px"
prop="bodgrp.cbs.max.amt"
prop="setmod.docamt"
>
<c-input-currency
v-model="model.bodgrp.cbs.max.amt"
v-model="model.setmod.docamt"
style="text-align: left; width: 100%"
placeholder="请输入Settle Amt."
@keyup.enter.native="defaultFunction('bodgrp.cbs.max.amt', model.bodgrp.cbs.max.amt)"
@keyup.enter.native="defaultFunction('setmod.docamt', model.setmod.docamt)"
></c-input-currency>
</el-form-item>
</c-col>
......@@ -354,6 +353,29 @@ export default {
},
}
},
watch:{
"model.bodgrp.rec.docsta":function(){
if(this.model.bodgrp.rec.predat!=''){
this.model.bodgrp.rec.docsta=="A";
}
else if(this.model.bodgrp.rec.opndat!=''){
this.model.bodgrp.rec.docsta=="B";
}
else if(this.model.bodgrp.rec.focflg=='X'){
this.model.bodgrp.rec.docsta==="D";
}
else if(this.model.bodgrp.rec.clsdat!=''){
this.model.bodgrp.rec.docsta=="E";
}
},
"model.bodgrp.rec.focflg":function(){
if(this.model.bodgrp.rec.focflg=='X'){
this.model.setmod.redamt=this.model.setmod.docamt;
}else{
this.model.setmod.redamt=='';
}
}
},
computed: {
clsflgp: {
get() {
......
......@@ -22,7 +22,7 @@
<template slot="footer">
<el-form-item label="" prop="lendoc.actflg">
<c-checkbox
:disabled="model.bopmod.szflg==='3'"
:disabled="model.bopmod.szflg=='3' || model.bopmod.szflg==''"
v-model="model.lendoc.actflg"
style="margin-left: 10px"
>基础数据</c-checkbox
......@@ -38,7 +38,7 @@
v-model="model.bopmod.acttyp"
style="width: 100%"
placeholder="请选择款项来源"
:disabled="model.bopmod.szflg==='2' || model.bopmod.szflg==='3'"
:disabled="model.bopmod.szflg!='1'"
>
<el-option
v-for="item in acttyp"
......@@ -59,7 +59,7 @@
v-model="model.bopmod.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:disabled="model.bopmod.szflg==='3'"
:disabled="model.bopmod.szflg=='3' || model.bopmod.szflg==''"
>
</c-select>
</el-form-item>
......
......@@ -204,7 +204,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
}
else
{
......
......@@ -178,7 +178,10 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" style="margin-left: 0px" type="primary" @click="toBctdav">寄单</c-button>
</c-col>
......@@ -355,9 +358,9 @@ export
this.$emit('updateShowPanel', true)
},
// toBotdav() {
// this.$router.history.push("/business/botdav")
// }
toBctdav() {
this.$router.history.push("/business/bctdav")
}
},
created: function () {
......
......@@ -159,6 +159,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else {
......
......@@ -24,7 +24,7 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000017 -->
<el-tab-pane label="基本信息" name="ovwp">
<c-content>
......@@ -70,6 +70,16 @@
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'led'" />
</el-tab-pane>
<!--PD000317 -->
<el-tab-pane label="PD000317" name="revp">
<m-revp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<c-content>
......@@ -92,16 +102,6 @@
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000317 -->
<!-- <el-tab-pane label="PD000317" name="revp">
<m-revp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000394 -->
<el-tab-pane
v-if="model.ledgrp.rec.spcbenflg"
......@@ -116,6 +116,11 @@
/>
</el-tab-pane>
<!--PD000394 -->
<!-- <el-tab-pane label="PD000394" name="spcbenp">
<m-spcbenp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000395 -->
<el-tab-pane
v-if="model.ledgrp.rec.spcrcbflg"
......@@ -129,6 +134,10 @@
:rec="'led'"
/>
</el-tab-pane>
<!--PD000422 -->
<!-- <el-tab-pane label="PD000422" name="spcrcvp">
<m-spcrcvp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="分录信息" name="glepan">
......@@ -166,18 +175,25 @@ import Pattern from "~/model/Letopn/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
// import Dogp from './Dogp';
// import Dorp from './Dorp';
// import Adcp from './Adcp';
// import Setpan from "./Setpan";
// import Coninfp from "./Coninfp";
// import Docpan from "./Docpan";
// import Glepan from "./Glepan";
// import Engp from "./Engp";
import Doctre from "./Doctre";
// import Doctre from "./Doctre";
import Revp from "./Revp";
import Aamp from "./Aamp";
// import Spcbenp from './Spcbenp'
// import Spcrcvp from './Spcrcvp'
// import Glepan from './Glepan'
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
import Doxp from "~/views/Public/Doxp";
......@@ -217,7 +233,12 @@ export default {
};
},
methods: {
tabClick() {},
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入letopn交易");
......@@ -226,6 +247,7 @@ export default {
//更新数据
this.updateModel(rtnmsg.data)
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -86,19 +86,19 @@ export default {
// { inifrm: "inftrd", ininam: "进口押汇查询", pntmiu: "4" },
// { inifrm: "trtame", ininam: "进口融资修改", pntmiu: "4" },
// { inifrm: "inftxm", ininam: "条式语句查询", pntmiu: "4" },
{ inifrm: "5", ininam: "进口代收", pntmiu: "" },
{ inifrm: "bctdav", ininam: "进口代收到单通知", pntmiu: "5" },
{ inifrm: "bctame", ininam: "进口代收修改", pntmiu: "5" },
{ inifrm: "bctacc", ininam: "进口代收承兑", pntmiu: "5" },
{ inifrm: "bctrad", ininam: "进口代收二次收单", pntmiu: "5" },
{ inifrm: "bctdor", ininam: "进口代收拒付", pntmiu: "5" },
{ inifrm: "bctset", ininam: "进口代收付款", pntmiu: "5" },
{ inifrm: "bctcan", ininam: "进口代收注销", pntmiu: "5" },
// { inifrm: "bctdav", ininam: "进口代收到单通知", pntmiu: "5" },
// { inifrm: "bctame", ininam: "进口代收修改", pntmiu: "5" },
// { inifrm: "bctacc", ininam: "进口代收承兑", pntmiu: "5" },
// { inifrm: "bctrad", ininam: "进口代收二次收单", pntmiu: "5" },
// { inifrm: "bctdor", ininam: "进口代收拒付", pntmiu: "5" },
// { inifrm: "bctset", ininam: "进口代收付款", pntmiu: "5" },
// { inifrm: "bctcan", ininam: "进口代收注销", pntmiu: "5" },
{ inifrm: "infbcd", ininam: "进口代收查询", pntmiu: "5" },
{ inifrm: "6", ininam: "出口托收", pntmiu: "" },
{ inifrm: "infbod", ininam: "出口托收入口交易", pntmiu: "6" },
{ inifrm: "botsel", ininam: "出口托收入口交易Botsel", pntmiu: "6" },
{ inifrm: "botdav", ininam: "出口托收寄单", pntmiu: "6" },
{ inifrm: "botame", ininam: "出口托收修改", pntmiu: "6" },
{ inifrm: "botdcr", ininam: "出口托收拒付/不符点", pntmiu: "6" },
......
<template>
<div>
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model[argadr.grp].docgrdm.docdsclab" class="messageLabel" >
<div v-if="ifShowAdd">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
</div>
</el-form-item>
</c-col>
<c-col :span="24" style="margin-bottom: 30px;">
<c-table height="200px" style="text-align: center" :list="this.model[argadr.grp].docgrdm.docgrd || []"
:paginationShow="false" :border="true">
<el-table-column label="1st" width="auto" prop="cmail1">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1" @change="docpre" :disabled="disabledCmail1">
</c-input>
</template>
</el-table-column>
<el-table-column label="2nd" width="auto" prop="cmail2">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail2" @change="docpre" :disabled="disabledCmail2">
</c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam"
:disabled="disabledDocnam">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" @change="docpre"
:value="item.value">
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<div v-if="ifShowDelete">
<c-button @click="deleteTable(scope.$index)" type="primary">删除</c-button>
</div>
</template>
</el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
export default {
inject: ["root"],
mixins: [commonProcess],
data() {
return {
data: [],
codeTable: [
{ label: "Airway Bills", value: "Airway Bills" },
{ label: "Beneficiary's Declaration", value: "Beneficiary's Declaration" },
{ label: "Bill of Lading Copies", value: "Bill of Lading Copies" },
{ label: "Bill of Lading Originals", value: "Bill of Lading Originals" },
{ label: "Certificate", value: "Certificate" },
{ label: "Certificate of Analysis", value: "Certificate of Analysis" },
{ label: "Certificate of Origin", value: "Certificate of Origin" },
{ label: "Certificate of Quality", value: "Certificate of Quality" },
{ label: "Certificate of Quantity", value: "Certificate of Quantity" },
{ label: "Commercial Invoice", value: "Commercial Invoice" },
{ label: "Courier Receipt", value: "Courier Receipt" },
{ label: "Draft", value: "Draft" },
{ label: "Export Licence", value: "Export Licence" },
{ label: "Fax Report", value: "Fax Report" },
{ label: "Inspection Cert", value: "Inspection Cert" },
{ label: "Insurance Policy", value: "Insurance Policy" },
{ label: "Packing List", value: "Packing List" },
{ label: "Shipment Advice", value: "Shipment Advice" },
{ label: "Weight List", value: "Weight List" },
],
TableValue: [
{
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
description: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
],
};
},
watch: {},
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
grp: "", //所属模块 eg:bdtp,botp...
path: "", // path为存储数据字段所对应的default方法
};
},
},
disabledCmail1: {
type: Boolean,
default: false,
},
disabledCmail2: {
type: Boolean,
default: false,
},
disabledDocnam: {
type: Boolean,
default: false,
},
ifShowAdd: {
type: Boolean,
default: true,
},
ifShowDelete: {
type: Boolean,
default: true,
},
},
methods: {
...Event,
addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue);
const serial = Utils.generateUUID();
newTableValue.serialNum = serial;
this.model[argadr.grp].docgrdm.docgrd.splice(index - 1, 0, newTableValue);
},
deleteTable(index) {
this.model[argadr.grp].docgrdm.docgrd.splice(index, 1);
},
async docpre() {
let rtnmsg = await this.executeDefault(this.argadr.path)
// let rtnmsg = await this.executeDefault('bodgrp.blk.docpre')
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
created: function () {
}
};
</script>
<style>
.messageLabel>>>.el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bftdcr></Bftdcr>
</ReviewWrapper>
</template>
<script>
import Bftdcr from "~/views/Business/Bftdcr";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBftsnd",
components: { ReviewWrapper, Bftdcr },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Bftsnd></Bftsnd>
</ReviewWrapper>
</template>
<script>
import Bftsnd from "~/views/Business/Bftsnd";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBftsnd",
components: { ReviewWrapper, Bftsnd },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Letamc></Letamc>
</ReviewWrapper>
</template>
<script>
import Letamc from "~/views/Business/Letamc";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetamc",
components: { ReviewWrapper, Letamc },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Letame></Letame>
</ReviewWrapper>
</template>
<script>
import Letame from "~/views/Business/Letame";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetame",
components: { ReviewWrapper, Letame },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Letopn></Letopn>
</ReviewWrapper>
</template>
<script>
import Letopn from "~/views/Business/Letopn";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetopn",
components: { ReviewWrapper, Letopn },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -14,28 +14,57 @@ import ReviewBrtdck from "./Business/ReviewBrtdck.vue";
import ReviewBrtudp from "./Business/ReviewBrtudp.vue";
import ReviewBrteus from "./Business/ReviewBrteus.vue";
import ReviewLetnot from "./Business/ReviewLetnot.vue";
import ReviewLetopn from "./Business/ReviewLetopn.vue";
import ReviewLetamc from "./Business/ReviewLetamc.vue";
import ReviewLetame from "./Business/ReviewLetame.vue";
import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue";
import ReviewBdteus from "./Business/ReviewBdteus.vue";
import ReviewBftsnd from "./Business/ReviewBftsnd.vue";
import ReviewBftdcr from "./Business/ReviewBftdcr.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
{ path: "ditdck", component: ReviewDitdck, name: "ReviewDitdck", meta: { title: "复核-买方信用证到单" } },
{ path: "bdtset", component: ReviewBdtset, name: "ReviewBdtset", meta: { title: "复核-买方信用证付款" } },
{ path: "cptadv", component: ReviewCptadv, name: "ReviewCptadv", meta: { title: "复核-汇入汇款" } },
{ path: "cptopn", component: ReviewCptopn, name: "ReviewCptopn", meta: { title: "复核-汇出汇款" } },
{ path: "getset", component: ReviewGetset, name: "ReviewGetset", meta: { title: "复核-Getset" } },
{ path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } },
{ path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } },
{ path: "bdtdcr", component: ReviewBdtdcr, name: "ReviewBdtdcr", meta: { title: "复核-Bdtdcr" } },
{ path: "bdteus", component: ReviewBdteus, name: "ReviewBdteus", meta: { title: "复核-Bdteus" } },
{ path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } },
{ path: "botdcr", component: ReviewBotdcr, name: "ReviewBotdcr", meta: { title: "复核-Botdcr" } },
{ path: "botrad", component: ReviewBotrad, name: "ReviewBotrad", meta: { title: "复核-Botrad" } },
{ path: "botdav", component: ReviewBotdav, name: "ReviewBotdav", meta: { title: "复核-botdav" } },
{ path: "brtdck", component: ReviewBrtdck, name: "ReviewBrtdck", meta: { title: "复核-Brtdck" } },
{ path: "brtudp", component: ReviewBrtudp, name: "ReviewBrtudp", meta: { title: "复核-Brtudp" } },
{ path: "brteus", component: ReviewBrteus, name: "ReviewBrteus", meta: { title: "复核-Brteus" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
{ path: "ditdck", component: ReviewDitdck, name: "ReviewDitdck", meta: { title: "复核-买方信用证到单" } },
{ path: "bdtset", component: ReviewBdtset, name: "ReviewBdtset", meta: { title: "复核-买方信用证付款" } },
{ path: "cptadv", component: ReviewCptadv, name: "ReviewCptadv", meta: { title: "复核-汇入汇款" } },
{ path: "cptopn", component: ReviewCptopn, name: "ReviewCptopn", meta: { title: "复核-汇出汇款" } },
{ path: "getset", component: ReviewGetset, name: "ReviewGetset", meta: { title: "复核-Getset" } },
{ path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } },
{ path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } },
{ path: "bdtdcr", component: ReviewBdtdcr, name: "ReviewBdtdcr", meta: { title: "复核-Bdtdcr" } },
{ path: "bdteus", component: ReviewBdteus, name: "ReviewBdteus", meta: { title: "复核-Bdteus" } },
{ path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } },
{ path: "botdcr", component: ReviewBotdcr, name: "ReviewBotdcr", meta: { title: "复核-Botdcr" } },
{ path: "botrad", component: ReviewBotrad, name: "ReviewBotrad", meta: { title: "复核-Botrad" } },
{ path: "botdav", component: ReviewBotdav, name: "ReviewBotdav", meta: { title: "复核-botdav" } },
{ path: "brtdck", component: ReviewBrtdck, name: "ReviewBrtdck", meta: { title: "复核-Brtdck" } },
{ path: "brtudp", component: ReviewBrtudp, name: "ReviewBrtudp", meta: { title: "复核-Brtudp" } },
{ path: "brteus", component: ReviewBrteus, name: "ReviewBrteus", meta: { title: "复核-Brteus" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
{ path: "bftsnd", component: ReviewBftsnd, name: "ReviewBftsnd", meta: { title: "复核-卖方信用证单据寄单" } },
{ path: "bftdcr", component: ReviewBftdcr, name: "ReviewBftdcr", meta: { title: "复核-卖方信用证单据电提不符点/开证行拒付" } },
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
{ path: "ditdck", component: ReviewDitdck, name: "ReviewDitdck", meta: { title: "复核-买方信用证到单" } },
{ path: "bdtset", component: ReviewBdtset, name: "ReviewBdtset", meta: { title: "复核-买方信用证付款" } },
{ path: "cptadv", component: ReviewCptadv, name: "ReviewCptadv", meta: { title: "复核-汇入汇款" } },
{ path: "cptopn", component: ReviewCptopn, name: "ReviewCptopn", meta: { title: "复核-汇出汇款" } },
{ path: "getset", component: ReviewGetset, name: "ReviewGetset", meta: { title: "复核-Getset" } },
{ path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } },
{ path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } },
{ path: "bdtdcr", component: ReviewBdtdcr, name: "ReviewBdtdcr", meta: { title: "复核-Bdtdcr" } },
{ path: "bdteus", component: ReviewBdteus, name: "ReviewBdteus", meta: { title: "复核-Bdteus" } },
{ path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } },
{ path: "botdcr", component: ReviewBotdcr, name: "ReviewBotdcr", meta: { title: "复核-Botdcr" } },
{ path: "botrad", component: ReviewBotrad, name: "ReviewBotrad", meta: { title: "复核-Botrad" } },
{ path: "botdav", component: ReviewBotdav, name: "ReviewBotdav", meta: { title: "复核-botdav" } },
{ path: "brtdck", component: ReviewBrtdck, name: "ReviewBrtdck", meta: { title: "复核-Brtdck" } },
{ path: "brtudp", component: ReviewBrtudp, name: "ReviewBrtudp", meta: { title: "复核-Brtudp" } },
{ path: "brteus", component: ReviewBrteus, name: "ReviewBrteus", meta: { title: "复核-Brteus" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
{ path: "letopn", component: ReviewLetopn, name: "ReviewLetopn", meta: { title: "复核-Letopn" } },
{ path: "letamc", component: ReviewLetamc, name: "ReviewLetamc", meta: { title: "复核-Letamc" } },
{ path: "letame", component: ReviewLetame, name: "ReviewLetame", meta: { title: "复核-Letame" } },
];
export default ReviewRouter;
export default ReviewRouter;
\ No newline at end of file
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