Commit 684c26b1 by liuxin

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 990a6f64 1806f488
......@@ -16,38 +16,38 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"amedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"amenbr":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"oldbcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trnmod.swiadd.ameamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
{type: "string", required: false, message: "输入正确的日期"}
],
// "amenbr":[
// {type: "string", required: false, message: "必输项"},
// {max: 2,message:"长度不能超过2"}
// ],
// "oldbcdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
// "trnmod.swiadd.ameamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"trnmod.swiadd.newcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trnmod.swiadd.newamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "trnmod.swiadd.newamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"oldbcdgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "oldbcdgrp.rec.matpercnt":[
// {type: "string", required: false, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
// ],
"oldbcdgrp.rec.matpertyp":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......@@ -60,10 +60,10 @@ export default {
"oldbcdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.newmatdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.ametxt":[
{type: "string", required: true, message: "必输项"},
......@@ -105,21 +105,21 @@ export default {
],
"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.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.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"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.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.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -129,17 +129,17 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.dre.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.pts.ref":[
......@@ -161,7 +161,7 @@ export default {
],
"bcdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.namelc":[
......@@ -176,10 +176,10 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "bcdgrp.rec.matpercnt":[
// {type: "string", required: false, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
// ],
"bcdgrp.rmi.adrelc":[
......@@ -289,7 +289,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bctame{
constructor () {
this.data = {
liaall:new Pub().data.Liaall,
bcdgrp:{
rec:{
ownref:"", // Reference .bcdgrp.rec.ownref
......@@ -65,6 +66,12 @@ export default class Bctame{
adrelc:"", // 地址 .bcdgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn
},
co2:{
pts:new Pts().data,
namelc:"", // 名称 .bcdgrp.co2.namelc
adrelc:"", // 地址 .bcdgrp.co2.adrelc
dbfadrblkcn:"", // Chinese address .bcdgrp.co2.dbfadrblkcn
},
},
bctp:{
recget:{
......@@ -111,6 +118,14 @@ export default class Bctame{
sblx:"", // 申报类型 .bctp.sblx
acttyplab:"", // 款项去向 .bctp.acttyplab
acttyp:"", // ACTTYP .bctp.acttyp
co2p:{
ptsget:{
sdamod:{
seainf:"", // .bctp.co2p.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp.co2p.ptsget.sdamod.dadsnd
},
},
},
},
amedat:"", // Amendment Date .amedat
amenbr:"", // No. of Amendment .amenbr
......@@ -128,82 +143,10 @@ export default class Bctame{
matdat:"", // Maturity Date .oldbcdgrp.rec.matdat
},
},
trnmod:{
swiadd:{
amecur:"", // Amended .trnmod.swiadd.amecur
ameamt:"", // Amended .trnmod.swiadd.ameamt
newcur:"", // New Amount .trnmod.swiadd.newcur
newamt:"", // New amount .trnmod.swiadd.newamt
newmatpercnt:"", // New Tenor Data .trnmod.swiadd.newmatpercnt
newmatpertyp:"", // Days/Month or Year for Maturity Period .trnmod.swiadd.newmatpertyp
newmatperbeg:"", // Start of Maturity Period .trnmod.swiadd.newmatperbeg
newmatdat:"", // New Maturity Date .trnmod.swiadd.newmatdat
ametxt:"", // Further Amendments .trnmod.swiadd.ametxt
},
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
},
},
trnmod:new Pub().data.Trnmod,
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
newdoctypcod:"", // Amend Condition .newdoctypcod
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
glemod:{
gleshwstm: {}
}
},
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
},
},
},
pageId: "" // ctx的key
}
}
......
......@@ -36,10 +36,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"bcdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -51,10 +51,10 @@ export default {
],
"bcdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.drr.pts.ref":[
......@@ -189,7 +189,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.agtdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.blk.agtinf":[
{type: "string", required: true, message: "必输项"},
......@@ -202,10 +202,10 @@ export default {
],
"bcdgrp.rec.relgoddat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.trpdocnum":[
......@@ -221,7 +221,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"bcdgrp.rec.tradat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rog.pts.extkey":[
{type: "string", required: false, message: "必输项"},
......@@ -450,7 +450,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
......@@ -5,16 +5,13 @@ import Utils from "~/utils"
*/
let checkObj = {
"ledgrp.apb.pts.extkey" :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.blk.spcrcb" :null,
"ledgrp.blk.preper" :null,
"ledgrp.adv.adrelc" :null,
"ledgrp.ben.adrelc" :null,
......@@ -34,10 +31,8 @@ let checkObj = {
"ledgrp.apb.pts.adrblk" :null,
"letp.usr.extkey" :null,
"ledgrp.a2b.namelc" :null,
"ledgrp.cbs.nom1.cur" :null,
"setmod.redamt" :null,
"ledgrp.cbs.nom1.cur" :null,
"ledgrp.rec.shpdat" :null,
"letp.a2bp.ptsget.sdamod.dadsnd" :null,
"ledgrp.con.pts.nam" :null,
"ledgrp.rec.prepers18" :null,
"ledgrp.rec.nomtop" :null,
......@@ -45,19 +40,17 @@ let checkObj = {
"ledgrp.rec.nomton" :null,
"ledgrp.rec.avbwth" :null,
"ledgrp.apb.namelc" :null,
"letp.drwp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rmb.namelc" :null,
"ledgrp.blk.feetxt" :null,
"ledgrp.apl.namelc" :null,
"ledgrp.cbs.max2.amt" :null,
"ledgrp.rec.stacty" :null,
"ledgrp.adv.pts.adrblk" :null,
"ledgrp.cbs.nom1.amt" :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,
......@@ -67,24 +60,23 @@ let checkObj = {
"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.ben.pts.adrblk" :null,
"ledgrp.blk.addamtcov" :null,
"setmod.docamt" :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,
}
for (const key in checkObj) {
......@@ -94,3 +86,5 @@ for (const key in checkObj) {
}
export default checkObj
......@@ -218,8 +218,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButapy(){
let rtnmsg = await this.executeRule("mtdbut.butapy")
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -230,8 +230,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButcan(){
let rtnmsg = await this.executeRule("mtdbut.butcan")
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -242,8 +242,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -254,8 +254,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -266,8 +266,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -278,8 +278,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -290,8 +290,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -302,8 +302,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
async onSpcrcbButtxmsel(){
let rtnmsg = await this.executeRule("spcrcb.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -314,8 +314,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
async onSpcbenButtxmsel(){
let rtnmsg = await this.executeRule("spcben.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -49,7 +49,7 @@ export default {
],
"ledgrp.cbs.nom1.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位" }
],
......@@ -64,12 +64,12 @@ export default {
],
"ledgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{type: "string", required: false, message: "必输项",trigger: "blur"},
{max: 2,message:"长度不能超过2",trigger: "blur"}
],
"ledgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{type: "string", required: false, message: "必输项",trigger: "blur"},
{max: 2,message:"长度不能超过2",trigger: "blur"}
],
"ledgrp.ben.adrelc":[
{type: "string", required: true, message: "必输项"},
......@@ -80,7 +80,7 @@ export default {
"ledgrp.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位" }
],
......@@ -189,6 +189,22 @@ export default {
"ledgrp.cbs.max2.amt":[
{type: "strig", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.cbs.opn2.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.blk.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -465,6 +481,7 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
......@@ -489,10 +506,6 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"chaadv":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -507,22 +520,6 @@ export default {
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.redamttxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
......@@ -588,4 +585,14 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.blk.spcrcb":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ledgrp.blk.spcben":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
}
\ No newline at end of file
......@@ -69,6 +69,14 @@ export default class Letnot{
cur:"", // Maximum Amount .ledgrp.cbs.max.cur
amt:"", // Maximum Amount .ledgrp.cbs.max.amt
},
max2:{
cur:"", // Additional Amount .ledgrp.cbs.max2.cur
amt:"", // Additional Amount .ledgrp.cbs.max2.amt
},
opn2:{
cur:"", // Open Add. Amount .ledgrp.cbs.opn2.cur
amt:"", // Open Add. Amount .ledgrp.cbs.opn2.amt
},
},
preadvflg:"", // PreAdvice or Notification .ledgrp.preadvflg
ben:{
......@@ -96,6 +104,7 @@ export default class Letnot{
dbfadrblkcn:"", // Chinese address .ledgrp.avb.dbfadrblkcn
},
blk:{
addamtcov:"", // Covered .ledgrp.blk.addamtcov
avbwthtxt:"", // Available in .ledgrp.blk.avbwthtxt
defdet:"", // Deferred Payment Details .ledgrp.blk.defdet
dftat:"", // Drafts at .ledgrp.blk.dftat
......@@ -107,7 +116,9 @@ export default class Letnot{
lcrdoc:"", // Documents Required .ledgrp.blk.lcrdoc
adlcnd:"", // Additional Conditions .ledgrp.blk.adlcnd
insbnk:"", // Instructions to Pay., .ledgrp.blk.insbnk
},
spcrcb:"", // Special Payment Cond. .ledgrp.blk.spcrcb
spcben:"", // Special Payment Cond. .ledgrp.blk.spcben
},
drw:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.drw.namelc
......@@ -236,6 +247,9 @@ export default class Letnot{
},
},
},
ptsaddp:{
ptsaddg:[], // .letp.ptsaddp.ptsaddg
},
conp:{
ptsget:{
sdamod:{
......
......@@ -88,7 +88,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="" style="text-align: left" prop="model.bcdgrp.rec.focflg">
<el-form-item label="" style="text-align: left" prop="bcdgrp.rec.focflg">
<c-checkbox v-model="model.bcdgrp.rec.focflg">Free of Payment</c-checkbox>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Drawee Ref." prop="bcdgrp.dre.pts.ref">
<c-input
disabled
v-model="model.bcdgrp.dre.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入Application Ref"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.dre.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.bcdgrp.dre.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.dre.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.dre.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="2nd Collecting Bank Ref."
prop="bcdgrp.co2.pts.ref"
>
<c-input
v-model="model.bcdgrp.co2.pts.ref"
maxlength="16"
style="width: 100%"
placeholder=""
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.co2.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bcdgrp.co2.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.co2.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.co2.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Drawee',
grp: 'bcdgrp',
rol: 'dre',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onDrepDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '2nd Collecting',
grp: 'bcdgrp',
rol: 'co2',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onCo2pDet"
>
</c-ptap>
</c-col> -->
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Remitting Bank Ref." prop="bcdgrp.rmi.pts.ref">
<c-input
v-model="model.bcdgrp.rmi.pts.ref"
maxlength="16"
style="width: 100%"
placeholder=""
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.rmi.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bcdgrp.rmi.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.rmi.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.rmi.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drawer Ref." prop="bcdgrp.drr.pts.ref">
<c-input
v-model="model.bcdgrp.drr.pts.ref"
maxlength="16"
style="width: 100%"
placeholder=""
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.drr.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bcdgrp.drr.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.drr.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.drr.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Remitting Bank',
grp: 'bcdgrp',
rol: 'rmi',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onRmipDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Drawer',
grp: 'bcdgrp',
rol: 'drr',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onDrrpDet"
>
</c-ptap>
</c-col> -->
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctdor/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -6,13 +6,7 @@
: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">
......@@ -35,26 +29,40 @@
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--账务 -->
<el-tab-pane label="账务" name="setpan">
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--附言 -->
<el-tab-pane label="附言" name="coninfp">
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--报文及面函 -->
<el-tab-pane label="报文及面函" name="docpan">
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--附件 -->
<el-tab-pane label="附件" name="doctre">
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
......@@ -70,21 +78,25 @@ import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Bctame from "~/model/Bctame"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Bctame/Check"
import Default from "~/model/Bctame/Default"
import Pattern from "~/model/Bctame/Pattern"
import Amep from "./Amep"
import Ovwp from "./Ovwp"
import Detp from "./Detp"
import Ptyp from "./Ptyp"
//import Setpan from "./Setpan"
//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 Doctre from "~/views/Public/Doctre"
import Doctre from "~/views/Public/Doctre"
import Coninfp from "~/views/Public/Coninfp"
import Glepan from "~/views/Public/Glepan"
import Engp from "~/views/Public/Engp"
export default {
......@@ -92,17 +104,20 @@ export default {
"m-amep" : Amep,
"m-ovwp" : Ovwp,
"m-detp" : Detp,
"m-ptyp" : Ptyp,
"m-setpan" : Setpan,
"m-engp" : Engp,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-glepan" : Glepan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "amep",
......@@ -126,11 +141,7 @@ export default {
{
//TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model,rtnmsg.data)
this.updateModel(rtnmsg.data)
if(this.isInDisplay){
this.restoreDisplay()
}
this.updateModel(rtnmsg.data);
}
else
......
......@@ -6,13 +6,6 @@
: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="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
......@@ -27,16 +20,22 @@
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--Bookings -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Bookings -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :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">
......@@ -48,10 +47,7 @@
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -62,6 +58,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bctcan from "~/model/Bctcan"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Bctcan/Check"
import Default from "~/model/Bctcan/Default"
import Pattern from "~/model/Bctcan/Pattern"
......@@ -71,7 +68,7 @@ import Glepan from "~/views/Public/Glepan"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
import Doctre from "~/views/Public/Doctre"
export default {
......@@ -90,7 +87,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "canp",
......@@ -115,10 +112,8 @@ export default {
{
//TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
this.updateModel(rtnmsg.data);
}
else
{
......
......@@ -31,7 +31,8 @@ import Letopn from "./Letopn"
import Letame from "./Letame"
import Letrsv from './Letrsv'
import Infled from './Infled'
//import Bptsel from './Bptsel'
// import Bptsel from './Bptsel'
//import Bptopn from './Bptopn'
//import Bptset from './Bptset'
//import Bptame from './Bptame'
......@@ -242,8 +243,8 @@ const BusRouter = [
{ path: 'letdrv', component: Letdrv, name: 'Letdrv', meta: { title: '出口信用证出口收单' } },
{ path: 'infled', component: Infled, name: 'Infled', meta: { title: '出口信用证交易查询' } },
{ path: 'bptsel', component: Bptsel, name: 'Bptsel', meta: { title: '出口融资入口交易' } },
{ path: 'bptopn', component: Bptopn, name: 'Bptopn', meta: { title: '出口融资放款' } },
// { path: 'bptsel', component: Bptsel, name: 'Bptsel', meta: { title: '出口融资入口交易' } },
// { path: 'bptopn', component: Bptopn, name: 'Bptopn', meta: { title: '出口融资放款' } },
{ path: 'bptcan', component: Bptcan, name: 'Bptcan', meta: { title: '出口融资注销' } },
......
<template>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="13">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.cur">
<c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max2.amt">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"
@keyup.enter.native="
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)"></c-input>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur">
<c-select v-model="model.ledgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn2.amt">
<c-input v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.ledgrp.blk.addamtcov" maxlength="140" show-word-limit
placeholder="请输入Covered" rows="4"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letnot/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="Special Payment Cond." prop="ledgrp.blk.spcben">
<c-input type="textarea" v-model="model.ledgrp.blk.spcben" maxlength="65" show-word-limit
placeholder="请输入Special Payment Cond."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcbenButtxmsel">
...
</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/Letnot/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event ,onSpcbenButtxmsel(){}},
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Special Payment Cond." prop="ledgrp.blk.spcrcb">
<c-input type="textarea" v-model="model.ledgrp.blk.spcrcb" maxlength="65" show-word-limit
placeholder="请输入Special Payment Cond."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcrcbButtxmsel">
...
</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/Letnot/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event ,onSpcrcbButtxmsel(){}},
created: function () {
}
}
</script>
<style>
</style>
......@@ -28,7 +28,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>
......@@ -36,6 +36,11 @@
</c-content>
</el-tab-pane>
<!--PD000001 Additional Amount 附加金额/额外款项-->
<el-tab-pane label="附加金额" name="aamp" v-if="model.letp.aamp.aammod.addamtflg=='X'">
<m-aamp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000063 -->
<el-tab-pane label="信用证详情" name="detp">
<c-content>
......@@ -67,16 +72,6 @@
</c-content>
</el-tab-pane>
<!-- PD000015
<el-tab-pane label="PD000015" name="notcha">
<m-notcha :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000020 -->
<!-- <el-tab-pane label="信用证详情" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<c-content>
......@@ -98,8 +93,17 @@
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000422 -->
<el-tab-pane label="银行专用特殊付款条件" name="spcrcvp">
<m-spcrcvp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000394 -->
<el-tab-pane label="受益人特殊付款条件" name="spcbenp">
<m-spcbenp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
......@@ -120,17 +124,14 @@ import Check from "~/model/Letnot/Check";
import Default from "~/model/Letnot/Default";
import Pattern from "~/model/Letnot/Pattern";
import Ovwp from "./Ovwp";
import Aamp from "./Aamp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dogp from "./Dogp";
import Dorp from "./Dorp";
import Adcp from "./Adcp";
// import Notcha from "./Notcha";
// import Detp from "./Detp";
// import Setpan from "./Setpan";
// import Coninfp from "./Coninfp";
// import Docpan from "./Docpan";
// import Doctre from "./Doctre";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
......@@ -141,17 +142,19 @@ export default {
name: "Letnot",
components: {
"m-ovwp": Ovwp,
"m-aamp" : Aamp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dogp": Dogp,
"m-dorp": Dorp,
"m-adcp": Adcp,
// "m-notcha": Notcha,
// "m-detp": Detp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-spcrcvp" : Spcrcvp,
"m-spcbenp" : Spcbenp,
},
provide() {
return {
......@@ -172,14 +175,21 @@ export default {
};
},
methods: {
tabClick() {},
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入letnot交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
......
<template>
<ReviewWrapper>
<Letnot></Letnot>
</ReviewWrapper>
</template>
<script>
import Letnot from "~/views/Business/Letnot";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetnot",
components: { ReviewWrapper, Letnot },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -7,6 +7,7 @@ import ReviewGetset from "./Business/ReviewGetset.vue";
import ReviewDetopn from "./Business/ReviewDetopn.vue";
import ReviewDetdrv from "./Business/ReviewDetdrv.vue";
import ReviewBdtdck from "./Business/ReviewBdtdck.vue";
import ReviewLetnot from "./Business/ReviewLetnot.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
......@@ -18,6 +19,7 @@ const ReviewRouter = [
{ path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } },
{ path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } },
{ path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
];
export default ReviewRouter;
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