Commit b4123492 by wangren
parents 7f76c990 3b285464
......@@ -149,7 +149,7 @@ export default {
"dedgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bftp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
......
......@@ -102,6 +102,7 @@ export default class Bftdcr {
},
docgrdm: {
docdsclab: "", // Label of document description .bftp.docgrdm.docdsclab
docgrd: "", //.bftp.docgrdm.docgrd
},
},
dedgrp: {
......
......@@ -18,7 +18,7 @@ export default {
"dedgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bftp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
......
......@@ -112,6 +112,7 @@ export default class Bftdrv {
msgtyp: "", // 报文类型 .bftp.msgtyp
docgrdm: {
docdsclab: "", // Label of document description .bftp.docgrdm.docdsclab
docgrd: "", //.bftp.docgrdm.docgrd
},
folwupopt: "", // Processing Options .bftp.folwupopt
othp: {
......
/**
* Bftset Default规则
*/
* Bftset Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bfdgrp.rec.frepayflg" :Utils.defaultFunction,
"bfdgrp.cbs.max.amt" :Utils.defaultFunction,
"bfdgrp.prb.pts.nam" :Utils.defaultFunction,
"bfdgrp.cbs.max.cur" :Utils.defaultFunction,
"bfdgrp.iss.pts.nam" :Utils.defaultFunction,
"trtcre.crefinflg" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bfdgrp.apl.pts.nam" :Utils.defaultFunction,
"bfdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"bfdgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"bfdgrp.cbs.opn1.amt" :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,
"setmod.doccur": Utils.defaultFunction,
"setmod.docamt": Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey": Utils.defaultFunction,
"setmod.setamt": Utils.defaultFunction,
"setmod.dspflg": Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey": Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2": Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1": Utils.defaultFunction,
"bfdgrp.rec.frepayflg": Utils.defaultFunction,
"bfdgrp.cbs.max.amt": Utils.defaultFunction,
"bfdgrp.prb.pts.nam": Utils.defaultFunction,
"bfdgrp.cbs.max.cur": Utils.defaultFunction,
"bfdgrp.iss.pts.nam": Utils.defaultFunction,
"trtcre.crefinflg": Utils.defaultFunction,
"setmod.redamt": Utils.defaultFunction,
"dedgrp.rec.ownref": Utils.defaultFunction,
"liaall.limmod.comamt": Utils.defaultFunction,
"liaall.limmod.ccvamt": Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam": Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt": Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev": Utils.defaultFunction,
"bfdgrp.apl.pts.nam": Utils.defaultFunction,
"bfdgrp.rec.ownref": Utils.defaultFunction,
"mtabut.coninf.usr.extkey": Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam": Utils.defaultFunction,
"aamset.utlamt": Utils.defaultFunction,
"bfdgrp.cbs.opn2.cur": Utils.defaultFunction,
"aamset.utlamt2": Utils.defaultFunction,
"bfdgrp.cbs.opn1.amt": 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处理
\ No newline at end of file
......@@ -20,6 +20,7 @@ export default class Bftsnd {
},
docgrdm: {
docdsclab: "", // Label of document description .bftp.docgrdm.docdsclab
docgrd: "", //.bftp.docgrdm.docgrd
},
prbp: {
ptsget: {
......
......@@ -4,6 +4,30 @@ import Utils from "~/utils"
* Brtame Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"brdgrp.rec.relgodflg" :null,
"brdgrp.rec.expdat" :null,
"brdgrp.cbs.max.amt" :null,
"brdgrp.rec.reltyp" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"brdgrp.shp.namelc" :null,
"setmod.dspflg" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"brdgrp.shp.adrelc" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"brdgrp.shp.pts.adrblk" :null,
"brdgrp.blk.relstoadr" :null,
"brdgrp.rec.trpdocnum" :null,
"brdgrp.shp.pts.extkey" :null,
}
for (const key in checkObj) {
......
......@@ -6,5 +6,47 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brdgrp.shp.pts.extkey" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.relgodflg" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"brdgrp.rec.reltyp" :Utils.defaultFunction,
"brdgrp.shp.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"brdgrp.shp.adrelc" :Utils.defaultFunction,
"brdgrp.shp.namelc" :Utils.defaultFunction,
"brdgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.rec.shpdat" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"lidgrp.rec.avbby" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"lidgrp.rec.redclsflg" :Utils.defaultFunction,
"brdgrp.rec.rtoaplflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,5 +2,185 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onShppDet(){
let rtnmsg = await this.executeRule("shpp.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: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"brtp.lidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.lidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.avbnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"brdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.shgref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp.connum":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.relgoddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.carnam":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.blnum":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"brdgrp.rec.trpdocnum":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.tradat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.relstoadr":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.vesnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.blk.pordis":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brtp.shpp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.blk.delplc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.shp.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.shpp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.shp.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.roggod":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.shp.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.shp.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.shp.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.notpty":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.porlod":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.blk.voynum":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Brtame{
constructor () {
this.data = {
lidgrp:{
rec:{
ownref:"", // 参考号 .lidgrp.rec.ownref
nam:"", // 简略信息 .lidgrp.rec.nam
revflg:"", // Revolving Flag .lidgrp.rec.revflg
avbby:"", // Available by .lidgrp.rec.avbby
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg
opndat:"", // 开证日期 .lidgrp.rec.opndat
shpdat:"", // 最迟装运日期 .lidgrp.rec.shpdat
expdat:"", // 到期日/到期地点 .lidgrp.rec.expdat
expplc:"", // 到期日/到期地点 .lidgrp.rec.expplc
lcrtyp:"", // 信用证类型 .lidgrp.rec.lcrtyp
},
cbs:{
nom1:{
cur:"", // 信用证金额 .lidgrp.cbs.nom1.cur
amt:"", // 信用证金额 .lidgrp.cbs.nom1.amt
},
opn1:{
cur:"", // 信用证余额 .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
avbnam:"", // 指定银行 .lidgrp.avbnam
},
brtp:{
lidget:{
sdamod:{
seainf:"", // .brtp.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.lidget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .brtp.aammod.addamtflg
},
recget:{
sdamod:{
seainf:"", // .brtp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.recget.sdamod.dadsnd
},
},
shpp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.shpp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.shpp.ptsget.sdamod.dadsnd
},
},
},
connum:"", // Contract Number .brtp.connum
},
brdgrp:{
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
},
rec:{
ownref:"", // Document Set Ref. .brdgrp.rec.ownref
nam:"", // Name .brdgrp.rec.nam
shgref:"", // SG Reference .brdgrp.rec.shgref
relgodflg:"", // Release of Goods .brdgrp.rec.relgodflg
reltyp:"", // Release Type .brdgrp.rec.reltyp
relgoddat:"", // issue date .brdgrp.rec.relgoddat
expdat:"", // Expiry Date of Shipping Guarantee .brdgrp.rec.expdat
trpdoctyp:"", // Transport Doc. Type .brdgrp.rec.trpdoctyp
trpdocnum:"", // Transport Doc. No. .brdgrp.rec.trpdocnum
tradat:"", // shipment date .brdgrp.rec.tradat
tramod:"", // Mode of Transport .brdgrp.rec.tramod
rtoaplflg:"", // Release Goods to Applicant ? .brdgrp.rec.rtoaplflg
ngrcod:"", // Goods code .brdgrp.rec.ngrcod
blnum:"", // B/L Number .brdgrp.rec.blnum
},
cbs:{
max:{
cur:"", // Amount of Shipment .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt
},
},
blk:{
vesnam:"", // Vessel Name .brdgrp.blk.vesnam
pordis:"", // Port of Discharge .brdgrp.blk.pordis
delplc:"", // Place of Delivery .brdgrp.blk.delplc
roggod:"", // Covered Goods .brdgrp.blk.roggod
relstoadr:"", // Release to Address .brdgrp.blk.relstoadr
porlod:"", // Port of loading .brdgrp.blk.porlod
voynum:"", // Voyage numer .brdgrp.blk.voynum
notpty:"", // Notify Party .brdgrp.blk.notpty
carnam:"", // Carrier .brdgrp.blk.carnam
},
shp:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.shp.namelc
adrelc:"", // 地址 .brdgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.shp.dbfadrblkcn
},
},
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
......
export default {
"bfdgrp.blk.docdis":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
"bfdgrp.blk.docdis": [
{ type: "string", required: false, message: "必输项" },
{ max: 50, message: "长度不能超过50" }
],
"bfdgrp.blk.intdis":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
"bfdgrp.blk.intdis": [
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"bftp.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bftp.othp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bfdgrp.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bfdgrp.oth.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bftp.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bftp.othp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bfdgrp.oth.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.oth.namelc": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.oth.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.oth.pts.adrblk": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.oth.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.oth.dbfadrblkcn": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.oth.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.oth.adrelc": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.rec.expmno":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
"bfdgrp.rec.expmno": [
{ type: "string", required: false, message: "必输项" },
{ max: 60, message: "长度不能超过60" }
],
"dedgrp.rec.kzref":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"dedgrp.rec.kzref": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.rec.lescom":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"bfdgrp.rec.lescom": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"letprbl1blk":[
{type: "string", required: false, message: "必输项"},
{max: 200,message:"长度不能超过200"}
"letprbl1blk": [
{ type: "string", required: false, message: "必输项" },
{ max: 200, message: "长度不能超过200" }
],
"letissl1blk":[
{type: "string", required: false, message: "必输项"},
{max: 200,message:"长度不能超过200"}
"letissl1blk": [
{ type: "string", required: false, message: "必输项" },
{ max: 200, message: "长度不能超过200" }
],
"bfdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bfdgrp.cbs.max.cur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bfdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"bfdgrp.cbs.max2.amt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.blk.chaded":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.blk.chaded": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.blk.chaadd":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.blk.chaadd": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bfdgrp.rec.totcur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bfdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"bfdgrp.rec.totamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bftp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bftp.acbp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bfdgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bfdgrp.acb.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bftp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bftp.acbp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bfdgrp.acb.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.acb.namelc": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.acb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.acb.pts.adrblk": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.acb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.acb.dbfadrblkcn": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.acb.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.acb.adrelc": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.blk.nartxt77a":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.blk.nartxt77a": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bftp.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bftp.rmbp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bfdgrp.rmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bfdgrp.rmb.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bftp.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bftp.rmbp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bfdgrp.rmb.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.rmb.namelc": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.rmb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.rmb.pts.adrblk": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.rmb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.rmb.dbfadrblkcn": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.rmb.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.rmb.adrelc": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bftp.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bftp.bebp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"dedgrp.beb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"dedgrp.beb.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bftp.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bftp.bebp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"dedgrp.beb.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"dedgrp.beb.namelc": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"dedgrp.beb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"dedgrp.beb.pts.adrblk": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"dedgrp.beb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"dedgrp.beb.dbfadrblkcn": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"dedgrp.beb.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"dedgrp.beb.adrelc": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
"bfdgrp.rec.totdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bftp.dedget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bftp.dedget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"dedgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"dedgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bftp.dedget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bftp.dedget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"dedgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"dedgrp.cbs.opn1.cur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"dedgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"dedgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bftp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bftp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bfdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bfdgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bftp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bftp.recget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bfdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"bfdgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bfdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bfdgrp.prb.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bfdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bfdgrp.cbs.opn1.cur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bfdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"bfdgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"bfdgrp.prb.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bfdgrp.iss.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bfdgrp.iss.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bfdgrp.iss.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"bfdgrp.iss.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bfdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
"bfdgrp.rec.matdat": [
{ type: "date", required: true, message: "输入正确的日期" }
],
"bfdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
"bfdgrp.rec.rcvdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bfdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
"bfdgrp.rec.predat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bfdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bfdgrp.apl.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bfdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"bfdgrp.rec.docsta": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bfdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"bfdgrp.apl.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bftp.imggrdm.fftref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
"bftp.imggrdm.fftref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"bftp.invgrdm.fftref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
"bftp.invgrdm.fftref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"dedgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"dedgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"dedgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"dedgrp.cbs.nom1.cur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"dedgrp.cbs.nom1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"dedgrp.cbs.nom1.amt": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.avbnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"dedgrp.avbnam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"dedgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
"dedgrp.rec.shpdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"dedgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
"dedgrp.rec.opndat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bfdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bfdgrp.prb.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"dedgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
"dedgrp.rec.expdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"dedgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"dedgrp.rec.expplc": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"bfdgrp.prb.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bfdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bfdgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bfdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"bfdgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bfdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bfdgrp.cbs.max.cur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bfdgrp.cbs.max.amt":[
{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"bfdgrp.cbs.max.amt": [
{ type: "string", required: true, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bfdgrp.prb.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bfdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bfdgrp.prb.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bfdgrp.prb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
"bfdgrp.prb.pts.bankno": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"bfdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
"bfdgrp.rec.rcvdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bfdgrp.rec.orddat":[
{type: "date", required: false, message: "输入正确的日期"}
"bfdgrp.rec.orddat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bfdgrp.prb.pts.jigomc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.prb.pts.jigomc": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
"bfdgrp.rec.matdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bfdgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
"bfdgrp.rec.shpdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bfdgrp.prb.pts.dizhii":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bfdgrp.prb.pts.dizhii": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.blk.matper":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
"bfdgrp.blk.matper": [
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"bfdgrp.rec.invtyp":[
{type: "string", required: true, message: "必输项"},
"bfdgrp.rec.invtyp": [
{ type: "string", required: true, message: "必输项" },
],
}
\ No newline at end of file
......@@ -115,23 +115,35 @@
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-col :span="24" style="margin-bottom: 30px;">
<c-table
height="200px"
style="text-align: center"
:list="TableValue"
:list="this.model.bftp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
prop="cmail1"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail1"
></c-input>
</template>
</el-table-column>
<el-table-column
label="2st"
prop="cmail2"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail2"
></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="交单批注行行号" prop="bfdgrp.rec.anobnkcod">
<c-input
......@@ -22,7 +24,10 @@
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="交单批注描述" prop="bfdgrp.rec.anodsp">
<c-input
......@@ -54,6 +59,7 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......
......@@ -226,23 +226,35 @@
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-col :span="24" style="margin-bottom: 30px;">
<c-table
height="200px"
style="text-align: center"
:list="TableValue"
:list="this.model.bftp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
prop="cmail1"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail1"
></c-input>
</template>
</el-table-column>
<el-table-column
label="2st"
prop="cmail2"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail2"
></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
......
......@@ -313,6 +313,7 @@
<!-- next part -->
<c-col :span="24" style="margin-bottom: 35px">
<c-istream-table
ref="table"
:list="model.liaall.tenstm.rows || []"
:columns="stmData.columns"
:showSelection="true"
......@@ -419,7 +420,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="" prop="frepayflg">
<el-form-item label="" prop="bfdgrp.rec.frepayflg">
<c-checkbox v-model="frepayflg">无偿放单</c-checkbox>
</el-form-item>
</c-col>
......@@ -845,6 +846,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bftset/Event";
import Ptsmsg from "~/views/Public/Ptsmsg";
import Utils from "~/utils/index"
// import PtapDome from "~/views/Public/PtapDome";
// import Ptap from "~/views/Public/Ptap"; "c-ptapdome": PtapDome, "c-ptap": Ptap
......@@ -889,16 +891,30 @@ export default {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
mounted (){
this.$nextTick(() => {
})
},
methods: {
...Event,
multipleSelect(selection) {
async multipleSelect(selection) {
console.log(selection);
if (selection) {
const rtnmsg = this.executeRule("tenstm");
this.updateModel(rtnmsg.data);
let selIds = selection.map(x=>x+1);
let params = {selDst:"liaall.tenstm",selIds}
const rtnmsg = await this.executeRule("liaall.tenstm",params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
},
created: function () {},
};
</script>
......
......@@ -24,7 +24,7 @@
<!--PD000034 -->
<el-tab-pane label="收款" name="setp">
<c-content>
<m-setp :model="model" :codes="codes"/>
<m-setp ref="setp" :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......@@ -118,6 +118,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
}
else
{
......
......@@ -320,23 +320,35 @@
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="margin-bottom: 30px">
<c-col :span="24" style="margin-bottom: 30px;">
<c-table
height="200px"
style="text-align: center"
:list="TableValue"
:list="this.model.bftp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
prop="cmail1"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail1"
></c-input>
</template>
</el-table-column>
<el-table-column
label="2st"
prop="cmail2"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail2"
></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
......
<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>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-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="$t('other.please_enter')+'Infotext'" ></c-input>
</c-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="$t('other.please_enter')+'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>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-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="$t('other.please_enter')+'Infotext'" ></c-input>
</c-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="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-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/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" :placeholder="$t('other.please_enter')+'国内证落款'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'修改申请人名称'" ></c-input>
</c-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">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" :placeholder="$t('other.please_enter')+'国内证通知书'"></c-input>
</c-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/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000552 : Outgoing Correspondence, Attachments and other Documents -->
<c-col :span="12">
<c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" :placeholder="$t('other.please_enter')+'File Receiver'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" :placeholder="$t('other.please_enter')+'Document tree'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
{{$t('trndoc.CF000547')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
{{$t('trndoc.CF000548')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
{{$t('trndoc.CF000553')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
{{$t('trndoc.CG001184')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
{{$t('trndoc.CF000549')}}
</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">{{$t('trndoc.CF000556')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">{{$t('trndoc.CF000557')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
{{$t('trndoc.CF000551')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" :placeholder="$t('other.please_enter')+'Connected Documents'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-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/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtame/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">
<c-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" :placeholder="$t('other.please_enter')+'ECIFNO'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<!-- S0001138 : 业务编号 -->
<c-col :span="12">
<c-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" :placeholder="$t('other.please_enter')+'国结业务编号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.oth.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<!-- S0001135 : 业务余额 -->
<c-col :span="12">
<c-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" :placeholder="$t('other.please_enter')+'业务余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0001136 : 保证金 -->
<!-- S0000011 : 额度类型 -->
<c-col :span="12">
<c-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" :placeholder="$t('other.please_enter')+'保证金余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet1">
{{$t('limpts.C0000013')}}
</c-button>
</c-col>
<!-- S0000012 : 额度类型 -->
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg2">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
{{$t('limpts.C0000014')}}
</c-button>
</c-col>
<!-- S0001137 : 余额 -->
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.lsh" data-path=".liaall.limmod.limpts.lsh" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�'号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 合同流水号 -->
<c-col :span="12">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�'号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
{{$t('limmod.C0000005')}}
</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/Brtame/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">
<c-form-item label="Drag Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
<c-input v-model="model.brtp.lidget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<!-- S0000172 : 参考号 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000172')" prop="lidgrp.rec.ownref">
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtp.S0000172')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="brtp.lidget.sdamod.seainf">
<c-input v-model="model.brtp.lidget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<!-- S0000183 : 简略信息 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000183')" prop="lidgrp.rec.nam">
<c-input v-model="model.lidgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000183')"></c-input>
</c-form-item>
</c-col>
<!-- S0000173 : 信用证金额 -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000173')" prop="lidgrp.cbs.nom1.cur">
<c-select v-model="model.lidgrp.cbs.nom1.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000173')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000173')" prop="lidgrp.cbs.nom1.amt">
<c-input v-model="model.lidgrp.cbs.nom1.amt" :placeholder="$t('other.please_enter')+$t('brtp.S0000173')"></c-input>
</c-form-item>
</c-col>
<!-- S0000181 : 申请人 -->
<!-- S0000188 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000181')" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtp.S0000181')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brtp.aammod.addamtflg">{{$t('brtp.CF000171')}}</c-checkbox>
</c-col>
<!-- S0000174 : 信用证余额 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000174')" prop="lidgrp.cbs.opn1.cur">
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('brtp.S0000174')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="lidgrp.cbs.opn1.amt">
<c-input v-model="model.lidgrp.cbs.opn1.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lidgrp.rec.revflg">{{$t('brtp.CF000170')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0000176 : 指定银行 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000176')" prop="lidgrp.avbnam">
<c-input v-model="model.lidgrp.avbnam" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000176')"></c-input>
</c-form-item>
</c-col>
<!-- S0000175 : 受益人 -->
<!-- S0000184 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000175')" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtp.S0000175')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lidgrp.rec.redclsflg">{{$t('brtp.CF000169')}}</c-checkbox>
</c-col>
<!-- S0000177 : 兑付方式 -->
<c-col :span="12">
<el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select v-model="model.lidgrp.rec.avbby" style="width:100%" :placeholder="$t('other.please_enter')+'Available by'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0000182 : 开证日期 -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000182')" prop="lidgrp.rec.opndat">
<c-date-picker type="date" v-model="model.lidgrp.rec.opndat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000182')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000185 : 最迟装运日期 -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000185')" prop="lidgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.shpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000185')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000180 : 交单行 -->
<!-- S0000186 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000180')" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtp.S0000180')"></c-input>
</c-form-item>
</c-col>
<!-- S0000179 : 到期日/到期地点 -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000179')" prop="lidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000179')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000179')" prop="lidgrp.rec.expplc">
<c-input v-model="model.lidgrp.rec.expplc" maxlength="29" :placeholder="$t('other.please_enter')+$t('brtp.S0000179')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0000178 : 信用证类型 -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000178')" prop="lidgrp.rec.lcrtyp">
<c-select v-model="model.lidgrp.rec.lcrtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000178')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="brtp.recget.sdamod.dadsnd">
<c-input v-model="model.brtp.recget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<!-- S0000079 : Document Set Ref. -->
<c-col :span="12">
<c-form-item :label="$t('brtame.S0000079')" prop="brdgrp.rec.ownref">
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtame.S0000079')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="brtp.recget.sdamod.seainf">
<c-input v-model="model.brtp.recget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('brtame.S0000078')" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtame.S0000078')"></c-input>
</c-form-item>
</c-col>
<!-- S0000078 : Name -->
<!-- SG000213 : SG Reference -->
<c-col :span="12">
<c-form-item :label="$t('brtame.SG000213')" prop="brdgrp.rec.shgref">
<c-input v-model="model.brdgrp.rec.shgref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtame.SG000213')"></c-input>
</c-form-item>
</c-col>
<!-- SF000060 : Amount of Shipment -->
<c-col :span="12">
<c-form-item :label="$t('brtame.SF000060')" prop="brdgrp.cbs.max.cur">
<c-input v-model="model.brdgrp.cbs.max.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('brtame.SF000060')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-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/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000002 : 参考号 -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
</c-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="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+'document currency'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 类型 -->
<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="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
{{$t('setmod.CF000032')}}
</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">
<c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自�'�区主�'�号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<!-- S0000001 : Foreign Commission / Charges: -->
<!-- S0000001 : Own Commission / Charges: -->
<!-- SF000001 : Settlement: -->
<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/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000080 : Release of Goods -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000080')" prop="brdgrp.rec.relgodflg">
<c-select v-model="model.brdgrp.rec.relgodflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000080')">
</c-select>
</el-form-item>
</c-col>
<!-- SG000229 : Contract Number -->
<c-col :span="12">
<c-form-item label="Contract Number" prop="brtp.connum">
<c-input v-model="model.brtp.connum" maxlength="35" :placeholder="$t('other.please_enter')+'Contract Number'"></c-input>
</c-form-item>
</c-col>
<!-- S0000081 : Release Type -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000081')" prop="brdgrp.rec.reltyp">
<c-select v-model="model.brdgrp.rec.reltyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000081')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000082 : issue date -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000082')" prop="brdgrp.rec.relgoddat">
<c-date-picker type="date" v-model="model.brdgrp.rec.relgoddat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000082')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000091 : Expiry Date -->
<c-col :span="12">
<el-form-item label="Expiry Date of Shipping Guarantee" prop="brdgrp.rec.expdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+'Expiry Date of Shipping Guarantee'"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000093 : Carrier -->
<c-col :span="12">
<c-form-item label="Carrier" prop="brdgrp.blk.carnam">
<c-input v-model="model.brdgrp.blk.carnam" maxlength="35" :placeholder="$t('other.please_enter')+'Carrier'"></c-input>
</c-form-item>
</c-col>
<!-- S0000083 : Transport Doc. Type -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000083')" prop="brdgrp.rec.trpdoctyp">
<c-select v-model="model.brdgrp.rec.trpdoctyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000083')">
</c-select>
</el-form-item>
</c-col>
<!-- SG000228 : B/L Number -->
<c-col :span="12">
<c-form-item label="B/L Number" prop="brdgrp.rec.blnum">
<c-input v-model="model.brdgrp.rec.blnum" maxlength="20" :placeholder="$t('other.please_enter')+'B/L Number'"></c-input>
</c-form-item>
</c-col>
<!-- S0000084 : Transport Doc. No. -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000084')" prop="brdgrp.rec.trpdocnum">
<c-input v-model="model.brdgrp.rec.trpdocnum" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000084')"></c-input>
</c-form-item>
</c-col>
<!-- S0000094 : Release to Address -->
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.rtoaplflg">{{$t('brtp.CF000095')}}</c-checkbox>
</c-col>
<!-- S0000085 : shipment date -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000085')" prop="brdgrp.rec.tradat">
<c-date-picker type="date" v-model="model.brdgrp.rec.tradat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000085')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Release to Address" prop="brdgrp.blk.relstoadr">
<c-input type="textarea" v-model="model.brdgrp.blk.relstoadr" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Release to Address'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000086 : Mode of Transport -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000086')" prop="brdgrp.rec.tramod">
<c-select v-model="model.brdgrp.rec.tramod" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000086')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000087 : Vessel Name -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000087')" prop="brdgrp.blk.vesnam">
<c-input v-model="model.brdgrp.blk.vesnam" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000087')"></c-input>
</c-form-item>
</c-col>
<!-- S0000088 : Port of Discharge -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000088')" prop="brdgrp.blk.pordis">
<c-input v-model="model.brdgrp.blk.pordis" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000088')"></c-input>
</c-form-item>
</c-col>
<!-- SF000225 : Shipping company -->
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="brtp.shpp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.shpp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<!-- S0000089 : Place of Delivery -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000089')" prop="brdgrp.blk.delplc">
<c-input v-model="model.brdgrp.blk.delplc" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000089')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="brdgrp.shp.pts.extkey">
<c-input v-model="model.brdgrp.shp.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="brtp.shpp.ptsget.sdamod.seainf">
<c-input v-model="model.brtp.shpp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onShppDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="brdgrp.shp.namelc">
<c-input type="textarea" v-model="model.brdgrp.shp.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000090 : Covered Goods -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000090')" prop="brdgrp.blk.roggod">
<c-input type="textarea" v-model="model.brdgrp.blk.roggod" maxlength="40" show-word-limit :placeholder="$t('other.please_enter')+$t('brtp.S0000090')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="brdgrp.shp.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.shp.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="brdgrp.shp.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="brdgrp.shp.adrelc">
<c-input type="textarea" v-model="model.brdgrp.shp.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<!-- SG000226 : Notify Party -->
<c-col :span="12">
<c-form-item label="Notify Party" prop="brdgrp.blk.notpty">
<c-input type="textarea" v-model="model.brdgrp.blk.notpty" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Notify Party'" ></c-input>
</c-form-item>
</c-col>
<!-- SG000223 : Port of loading -->
<c-col :span="12">
<c-form-item :label="$t('brtp.SG000223')" prop="brdgrp.blk.porlod">
<c-input v-model="model.brdgrp.blk.porlod" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.SG000223')"></c-input>
</c-form-item>
</c-col>
<!-- SG000227 : Goods code -->
<!-- SG000224 : Voyage numer -->
<c-col :span="12">
<c-form-item :label="$t('brtp.SG000224')" prop="brdgrp.blk.voynum">
<c-input v-model="model.brdgrp.blk.voynum" maxlength="30" :placeholder="$t('other.please_enter')+$t('brtp.SG000224')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Goods code" prop="brdgrp.rec.ngrcod">
<c-select v-model="model.brdgrp.rec.ngrcod" style="width:100%" :placeholder="$t('other.please_enter')+'Goods code'">
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<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">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button
size="small"
@click="setDraggableContent('cms', '影像信息')"
>影像信息</el-button
>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
: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"
>
<!--brtame PD000057 Release Goods -->
<el-tab-pane label="Release Goods" name="rog">
<m-rog :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Shipping Details" name="shpdet">
<m-shpdet :model="model" :codes="codes" />
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Brtame from "~/model/Brtame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Brtame/Check"
import Default from "~/model/Brtame/Default"
import Pattern from "~/model/Brtame/Pattern"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Brtame from "~/model/Brtame";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Brtame/Check";
import Default from "~/model/Brtame/Default";
import Pattern from "~/model/Brtame/Pattern";
import Rog from "./Rog";
import Shpdet from "./Shpdet";
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 Limitbody from "~/views/Public/Limitbody";
export default {
components:{
name: "Brtame",
components: {
"m-rog": Rog,
"m-shpdet": Shpdet,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "",
tabVal: "rog",
trnName: "brtame",
trnType: "",
model: new Brtame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
codes: {},
};
},
}
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
tabClick(){
}
},
created:async function(){
created: async function () {
console.log("进入brtame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ===========================左边 ======================== -->
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
<c-input v-model="model.brtp.lidget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
<!-- 信用证编号 -->
<c-col :span="24">
<c-form-item label="Import L/C Ref" prop="lidgrp.rec.ownref">
<c-fullbox>
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="" style="width: 100%"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag" @click="onDitpButgetref">
获取
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- 到期日 -->
<c-col :span="24">
<el-form-item label="Expiry" prop="lidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width: 100%" placeholder="请输入Expiry">
</c-date-picker>
</el-form-item>
</c-col>
<!-- 单据参考号 -->
<c-col :span="24">
<c-form-item label="Bill Set Reference" prop="brdgrp.rec.ownref">
<c-fullbox>
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder=""></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag" @click="onDitpButgetref">
获取
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- 单据金额 -->
<c-col :span="24">
<c-col :span="13">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width: 100%" placeholder="请输入Document Amount"
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<c-form-item label="" label-width="5px" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- 单据余额 -->
<c-col :span="24">
<c-col :span="13">
<c-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur">
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount"></c-input>
</c-form-item>
</c-col>
<c-col :span="11">
<c-form-item label="" label-width="5px" prop="brdgrp.cbs.opn1.amt">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- 到单日期 -->
<c-col :span="12">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号"></c-input>
<el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width: 100%" placeholder="请选择">
</c-date-picker>
</el-form-item>
</c-col>
<!-- 通知到单日期 -->
<c-col :span="12">
<el-form-item label="" prop="brtp.lidget.sdamod.seainf">
<c-input v-model="model.brtp.lidget.sdamod.seainf" placeholder="请输入"></c-input>
<el-form-item label="Advised on" prop="brdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width: 100%" placeholder="请选择">
</c-date-picker>
</el-form-item>
</c-col>
<!-- Maturity Date -->
<c-col :span="12">
<el-form-item label="Date of Expiry" prop="lidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择Date of Expiry">
<el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择">
</c-date-picker>
</el-form-item>
</c-col>
<!-- Start Date 远期单据到期日-->
<c-col :span="12">
<el-form-item label="Currency" prop="lidgrp.cbs.opn1.cur">
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input>
<el-form-item label="Start Date" prop="brdgrp.rec.stadat">
<c-date-picker type="date" v-model="model.brdgrp.rec.stadat" style="width:100%" placeholder="请选择">
</c-date-picker>
</el-form-item>
</c-col>
<!-- 单据类型 Document Type-->
<c-col :span="16">
<el-form-item label="Document Type" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型" :code="codes.docflg">
</c-select>
</el-form-item>
</c-col>
<!-- Tenor -->
<c-col :span="8">
<el-form-item label="Tenor" label-width="100px" prop="brdgrp.rec.tenmaxday">
<c-input v-model="model.brdgrp.rec.tenmaxday" placeholder="请输入Tenor day"></c-input>
</el-form-item>
</c-col>
<!-- 单据状态 Document Set Status-->
<c-col :span="24">
<el-form-item label="Document Set Status" prop="brdgrp.rec.docsta">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态" :code="codes.docsta">
</c-select>
</el-form-item>
</c-col>
<!-- Narrative -->
<c-col :span="24">
<el-form-item label="Narrative" prop="strinf">
<c-input type="textarea" v-model="model.strinf" maxlength="50" show-word-limit placeholder="请输入Narrative">
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================== 右边 ======================== -->
<c-col :span="11" :offset="1">
<!-- 信用证余额 -->
<c-col :span="12">
<c-form-item label="Open Amt L/C" prop="lidgrp.cbs.opn1.cur">
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3"
:placeholder="$t('other.please_enter') + 'Currency'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
<c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<!--label="Name of Bill Contract" -->
<el-form-item label="" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg :model="model" :argadr="{ title: 'Applicant Ref', grp: 'brdgrp', rol: 'apl' }">
</c-ptsmsg>
</c-col>
<!-- Name of Party prop="brdgrp.apl.pts.nam"-->
<c-col :span="24">
<el-form-item label="" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<!-- eneficiary Ref -->
<c-col :span="24">
<c-ptsmsg :model="model" :argadr="{ title: 'Beneficiary Ref', grp: 'brdgrp', rol: 'ben' }">
</c-ptsmsg>
</c-col>
<!-- Name of Party prop="brdgrp.ben.pts.nam-->
<c-col :span="24">
<el-form-item label="" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<!-- Presenting Bank Ref -->
<c-col :span="24">
<c-ptsmsg :model="model" :argadr="{
title: 'Presenting Bank Ref',
grp: 'brdgrp',
rol: 'prb',
}">
</c-ptsmsg>
</c-col>
<!--Name of Party prop="brdgrp.prb.pts.nam" -->
<c-col :span="24">
<el-form-item label="" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
<c-input v-model="model.brtp.lidget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="" prop="brtp.lidget.sdamod.seainf">
<c-input v-model="model.brtp.lidget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Date of Expiry" prop="lidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择Date of Expiry">
</c-date-picker>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Currency" prop="lidgrp.cbs.opn1.cur">
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Balance" prop="lidgrp.cbs.opn1.amt">
<c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.recget.sdamod.dadsnd">
<c-input v-model="model.brtp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="单据参考号" prop="brdgrp.rec.ownref">
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="" prop="brtp.recget.sdamod.seainf">
<c-input v-model="model.brtp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额">
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="申请人" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur">
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input>
</el-form-item>
......@@ -91,96 +300,96 @@
<el-form-item label="Balance" prop="brdgrp.cbs.opn1.amt">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<!--
<c-col :span="12">
<el-form-item label="到单日期" prop="brdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期">
</c-date-picker>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Date of Advice of Payment" prop="brdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%"
placeholder="请选择Date of Advice of Payment"></c-date-picker>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="受益人" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<span v-text="model.brtp.matp.mattxtlab" data-path=".brtp.matp.mattxtlab"> </span>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date">
</c-date-picker>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="远期单据到期日" prop="brdgrp.rec.stadat">
<c-date-picker type="date" v-model="model.brdgrp.rec.stadat" style="width:100%" placeholder="请选择远期单据到期日">
</c-date-picker>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="单据类型" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型">
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Tenor day" prop="brdgrp.rec.tenmaxday">
<c-input v-model="model.brdgrp.rec.tenmaxday" placeholder="请输入Tenor day"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="交单行" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="单据状态" prop="brdgrp.rec.docsta">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态">
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Narrative" prop="strinf">
<c-input type="textarea" v-model="model.strinf" maxlength="50" show-word-limit placeholder="请输入Narrative">
</c-input>
</el-form-item>
</c-col>
</c-col> -->
</div>
</template>
<script>
......@@ -188,8 +397,14 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brteus/Event"
import Ptsmsg from "~/views/Public/Ptsmsg";
export default {
components: {
// "c-ptap1": Ptap1,
// "c-ptap": Ptap,
"c-ptsmsg": Ptsmsg,
},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
......@@ -198,10 +413,13 @@ export default {
}
},
methods: { ...Event },
created: function () {
}
methods: { ...Event, onSeainf() { }, onDitpButgetref() { } },
created: function () {},
computed: {
flag() {
return this.model.brdgrp.prb.pts.extkey == "";
},
},
}
</script>
<style>
......
<template>
<c-page title="进口信用证单据展期">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮-->
<c-function-btn
......@@ -61,17 +63,18 @@
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Brteus from "~/model/Brteus"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Brteus from "~/model/Brteus";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Brteus/Check"
import Default from "~/model/Brteus/Default"
import Pattern from "~/model/Brteus/Pattern"
import Brteuss from "./Brteus"
import Check from "~/model/Brteus/Check";
import Default from "~/model/Brteus/Default";
import Pattern from "~/model/Brteus/Pattern";
import Brteuss from "./Brteus";
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Coninfp from "./Coninfp"
......@@ -113,6 +116,7 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable//...即返回到views同级,关联码表
},
}
},
......
......@@ -156,6 +156,7 @@ import Litsel from "./Litsel"
import Litame from "./Litame"
import Brtdcr from "./Brtdcr"
import Brtacp from "./Brtacp"
import Brtame from "./Brtame"
import Litrog from "./Litrog"
......@@ -326,6 +327,7 @@ const BusRouter = [
{ path: 'Litame', component: Litame, name: 'Litame', meta: { title: '进口信用证修改' } },
{ path: 'Brtdcr', component: Brtdcr, name: 'Brtdcr', meta: { title: 'Brtdcr' } },
{ path: 'Brtacp', component: Brtacp, name: 'Brtacp', meta: { title: 'Brtacp' } },
{ path: 'Brtame', component: Brtame, name: 'Brtame', meta: { title: 'Brtame' } },
{ path: 'Litrog', component: Litrog, name: 'Litrog', meta: { title: '进口信用证提货担保' } },
]
......
......@@ -345,7 +345,6 @@
v-model="model.bfdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择到期日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......
......@@ -8,7 +8,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litsel from "~/model/Ditsel"
import Litsel from "~/model/Litsel"
import commonProcess from "~/mixin/commonProcess"
......@@ -71,7 +71,7 @@ export default {
this.navcode = []
//请求按钮数据
//this.model.didgrp.rec.ownref = 'KZ3500210540AA'
this.model.bddgrp.rec.ownref = this.ownref
this.model.brdgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
// let rtnmsg = await this.executeRule("didgrp.rec.ownref");//didgrp_rec_ownref
let rtnmsg0 = await this.executeRule("brdgrp.rec.ownref");//cfgfil.hotreg3
......
......@@ -234,13 +234,48 @@
>
<el-table-column fixed="right" prop="op" label="操作" width="150px">
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
@click="closeTrn('popover_' + scope.row.IDX)"
/>
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
......@@ -277,6 +312,26 @@ export default {
return {
ownref: "",
initdialog: false,
trnData: {
columns: [
'1 1 "编号" 200',
'2 2 "交易名称" 120',
// '3 3 "日期" 200',
{ index: 3, position: 3, width: 110, pattern: "date", label: "日期" },
// '4 4 "状态" 50',
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "状态",
code: this.codes.relstaEN,
},
'5 5 "币种" 80',
'6 6 "金额" 110',
],
data: [],
},
columns: [
'1 1 "Reference" 140',
'2 2 "Resp. User" 100',
......@@ -317,7 +372,7 @@ export default {
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.didgrp.rec.inr = row["INR"];
this.model.brdgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
......
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