Commit 29d67b23 by kai

20211227-zk-ditdck

parent 42636726
import Utils from "~/utils"
/**
* Ditdck Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"didgrp.apl.pts.ref" :null,
"bddgrp.rec.disdat" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"bddgrp.skh.pts.jigomc" :null,
"trnmod.swiadd.orimsgid" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"bddgrp.rec.orddat" :null,
"bddgrp.rec.docflg" :null,
"trnmod.swiadd.orimsgtyp" :null,
"bdtp.furide" :null,
"bddgrp.blk.docdis" :null,
"setmod.dspflg" :null,
"bddgrp.cbs.max.amt" :null,
"bddgrp.prb.pts.ref" :null,
"bddgrp.rec.ownref" :null,
"bddgrp.prb.pts.extkey" :null,
"bddgrp.rec.expdat" :null,
"bddgrp.shp.namelc" :null,
"liaall.liaccv.totcovamt" :null,
"trnmod.trndia.diarec.nam" :null,
"bddgrp.rec.rcvdat" :null,
"trnmod.trndia.diarec.cod" :null,
"bddgrp.shp.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"trnmod.trndia.atpget.sdamod.dadsnd" :null,
"bddgrp.blk.comcon" :null,
"bddgrp.prb.pts.bankno" :null,
"bddgrp.rec.reltyp" :null,
"bddgrp.rec.predat" :null,
"bdtp.shpp.ptsget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null,
"trnmod.trndia.diarec.dat" :null,
"bdtp.recget.sdamod.dadsnd" :null,
"bddgrp.skh.pts.bankno" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"bddgrp.shp.adrelc" :null,
"bddgrp.rec.matdat" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"trnmod.swiadd.oriinstgagt" :null,
"setmod.docamt" :null,
"liaall.liaccv.cshpct" :null,
"bddgrp.rec.invtyp" :null,
"bdtp.didget.sdamod.dadsnd" :null,
"bddgrp.blk.relstoadr" :null,
"bddgrp.shp.pts.extkey" :null,
"liaall.liaccv.relcshpct" :null,
"bddgrp.rec.docprbrol" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ditdck Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bddgrp.blk.docdis" :Utils.defaultFunction,
"bddgrp.rec.igndisflg" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"trnmod.trndia.atp.cod" :Utils.defaultFunction,
"bddgrp.shp.pts.extkey" :Utils.defaultFunction,
"bddgrp.shp.adrelc" :Utils.defaultFunction,
"bddgrp.shp.namelc" :Utils.defaultFunction,
"bddgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"didgrp.cbs.nom1.cur" :Utils.defaultFunction,
"bddgrp.prb.pts.extkey" :Utils.defaultFunction,
"didgrp.rec.avbby" :Utils.defaultFunction,
"bddgrp.rec.rtoaplflg" :Utils.defaultFunction,
"bddgrp.rec.rcvdat" :Utils.defaultFunction,
"bdtp.cre752flg" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bddgrp.rec.ownref" :Utils.defaultFunction,
"bddgrp.rec.tenmaxday" :Utils.defaultFunction,
"bddgrp.rec.matdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"bddgrp.rec.reltyp" :Utils.defaultFunction,
"bddgrp.shp.pts.adrblk" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"bddgrp.rec.docflg" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bddgrp.blk.docdisflg" :Utils.defaultFunction,
"bddgrp.ben.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"bddgrp.cbs.max.cur" :Utils.defaultFunction,
"bddgrp.rec.stadat" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"didgrp.rec.ownref" :Utils.defaultFunction,
"trnmod.trndia.usr.extkey" :Utils.defaultFunction,
"bddgrp.rec.advtyp" :Utils.defaultFunction,
"bddgrp.rec.dscinsflg" :Utils.defaultFunction,
"trnmod.trndia.dspstm" :Utils.defaultFunction,
"bddgrp.rec.docprbrol" :Utils.defaultFunction,
"bdtp.setnowflg" :Utils.defaultFunction,
"bddgrp.rec.approvcod" :Utils.defaultFunction,
"bddgrp.cbs.max.amt" :Utils.defaultFunction,
"bddgrp.rec.predat" :Utils.defaultFunction,
"bddgrp.rec.shpdat" :Utils.defaultFunction,
"didgrp.rec.expdat" :Utils.defaultFunction,
"didgrp.rec.utlnbr" :Utils.defaultFunction,
"didgrp.cbs.opn1.amt" :Utils.defaultFunction,
"didgrp.rec.shpdat" :Utils.defaultFunction,
"bddgrp.apl.pts.nam" :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,
"trnmod.trndia.diarec.cod" :Utils.defaultFunction,
"bddgrp.prb.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBdtmodButgetref(){
let rtnmsg = await this.executeRule("bdtmod.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onShppDet(){
let rtnmsg = await this.executeRule("shpp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButok(){
let rtnmsg = await this.executeRule("syswrn.butok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButcan(){
let rtnmsg = await this.executeRule("syswrn.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaSavdia(){
let rtnmsg = await this.executeRule("trndia.savdia")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiaprt(){
let rtnmsg = await this.executeRule("trndia.diaprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiaexi(){
let rtnmsg = await this.executeRule("trndia.diaexi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDia(){
let rtnmsg = await this.executeRule("trndia.dia")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiadsp(){
let rtnmsg = await this.executeRule("trndia.diadsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiamod(){
let rtnmsg = await this.executeRule("trndia.diamod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiadel(){
let rtnmsg = await this.executeRule("trndia.diadel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiaexi2(){
let rtnmsg = await this.executeRule("trndia.diaexi2")
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 onLiaccvAdd(){
let rtnmsg = await this.executeRule("liaccv.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaccvDel(){
let rtnmsg = await this.executeRule("liaccv.del")
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: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {
},
}
\ No newline at end of file
export default {
"bdtp.didget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bdtp.didget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"didgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"didgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"didgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"didgrp.avbnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"didgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"didgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"didgrp.rec.expplc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bdtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bdtp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.swiadd.oriinstgagt":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"didgrp.rec.utlnbr":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.prb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"bddgrp.rec.orddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.prb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.prb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.skh.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"trnmod.swiadd.orimsgid":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.skh.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"didgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"bddgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bddgrp.blk.accrmk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bdtp.connum":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rec.relgoddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.blk.carnam":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rec.blnum":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"bddgrp.rec.trpdocnum":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.rec.tradat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.blk.relstoadr":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.blk.vesnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.blk.pordis":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bdtp.shpp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.blk.delplc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.shp.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bdtp.shpp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.shp.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.blk.roggod":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.shp.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.shp.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.shp.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.blk.notpty":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.blk.porlod":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.blk.voynum":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"trnmod.docimm.ascin":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.docimm.prtswtrpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"trnmod.docimm.xmldocblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"trnmod.docimm.prtswtpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"mtabut.syswrn.dsp":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndia.diarec.dat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.trndia.diarec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trnmod.trndia.diarec.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"trnmod.trndia.diarec.ptyextkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"trnmod.trndia.diarec.paycur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trnmod.trndia.diarec.payamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"trnmod.trndia.diarec.prechkdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.trndia.diarec.ptynam":[
{type: "string", required: false, message: "必输项"},
{max: 100,message:"长度不能超过100"}
],
"trnmod.trndia.atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndia.atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"trnmod.trndia.atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trnmod.trndia.atptxt":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndia.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndia.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trnmod.trndia.diarec.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndia.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.doccur.coverblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"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"}
],
"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位" }
],
"liaall.liaccv.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.liaccv.newamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.cshpct":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"liaall.liaccv.newresamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.relcshpct":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"liaall.liaccv.pctresamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.totcovamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.addinf":[
{type: "string", required: true, message: "必输项"},
{max: 70,message:"长度不能超过70"}
],
"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"}
],
"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"}
],
"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"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Ditdck{
constructor () {
this.data = {
bddgrp:{
rec:{
docflg:"", // 单据类型 .bddgrp.rec.docflg
rcvdat:"", // 到单日期 .bddgrp.rec.rcvdat
predat:"", // 到单日期 .bddgrp.rec.predat
matdat:"", // Maturity Date .bddgrp.rec.matdat
shpdat:"", // Date of Shipment .bddgrp.rec.shpdat
dscinsflg:"", // Enter Docs, Discrep. and Instructions .bddgrp.rec.dscinsflg
docprbrol:"", // 单据类型 .bddgrp.rec.docprbrol
docsta:"", // 单据状态 .bddgrp.rec.docsta
nam:"", // Name of Bill Contract .bddgrp.rec.nam
ownref:"", // 单据参考号 .bddgrp.rec.ownref
orddat:"", // 通知日期 .bddgrp.rec.orddat
stadat:"", // Start Date .bddgrp.rec.stadat
tenmaxday:"", // 单据到期日 .bddgrp.rec.tenmaxday
invtyp:"", // 期限 .bddgrp.rec.invtyp
igndisflg:"", // Ignore Discrepancies .bddgrp.rec.igndisflg
advtyp:"", // Type of Advice Received .bddgrp.rec.advtyp
totdat:"", // 付款日期 .bddgrp.rec.totdat
disdat:"", // 不符点通知日期 .bddgrp.rec.disdat
approvcod:"", // Documents on Approval Basis .bddgrp.rec.approvcod
relgodflg:"", // Release of Goods .bddgrp.rec.relgodflg
reltyp:"", // Release Type .bddgrp.rec.reltyp
relgoddat:"", // issue date .bddgrp.rec.relgoddat
expdat:"", // Expiry Date of Shipping Guarantee .bddgrp.rec.expdat
trpdoctyp:"", // Transport Doc. Type .bddgrp.rec.trpdoctyp
trpdocnum:"", // Transport Doc. No. .bddgrp.rec.trpdocnum
tradat:"", // shipment date .bddgrp.rec.tradat
tramod:"", // Mode of Transport .bddgrp.rec.tramod
rtoaplflg:"", // Release Goods to Applicant ? .bddgrp.rec.rtoaplflg
ngrcod:"", // Goods code .bddgrp.rec.ngrcod
blnum:"", // B/L Number .bddgrp.rec.blnum
},
cbs:{
max:{
cur:"", // 单据金额 .bddgrp.cbs.max.cur
amt:"", // 单据金额 .bddgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .bddgrp.cbs.opn1.cur
amt:"", // Balance .bddgrp.cbs.opn1.amt
},
},
prb:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
skh:{
pts:new Pts().data,
},
blk:{
comcon:"", // Comments and Conclusions .bddgrp.blk.comcon
docdis:"", // Discrepancies .bddgrp.blk.docdis
docdisflg:"", // discrepancies modified .bddgrp.blk.docdisflg
accrmk:"", // 到期付款确认备注 .bddgrp.blk.accrmk
vesnam:"", // Vessel Name .bddgrp.blk.vesnam
pordis:"", // Port of Discharge .bddgrp.blk.pordis
delplc:"", // Place of Delivery .bddgrp.blk.delplc
roggod:"", // Covered Goods .bddgrp.blk.roggod
relstoadr:"", // Release to Address .bddgrp.blk.relstoadr
porlod:"", // Port of loading .bddgrp.blk.porlod
voynum:"", // Voyage numer .bddgrp.blk.voynum
notpty:"", // Notify Party .bddgrp.blk.notpty
carnam:"", // Carrier .bddgrp.blk.carnam
},
shp:{
pts:new Pts().data,
namelc:"", // 名称 .bddgrp.shp.namelc
adrelc:"", // 地址 .bddgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .bddgrp.shp.dbfadrblkcn
},
},
didgrp:{
rec:{
utlnbr:"", // Count of Received Document Sets .didgrp.rec.utlnbr
ownref:"", // 信用证参考号 .didgrp.rec.ownref
nam:"", // 参考号 .didgrp.rec.nam
avbby:"", // 兑付方式 .didgrp.rec.avbby
opndat:"", // 开证日期 .didgrp.rec.opndat
shpdat:"", // Shipment Date .didgrp.rec.shpdat
expdat:"", // Date of Expiry .didgrp.rec.expdat
lcrtyp:"", // 信用证类型 .didgrp.rec.lcrtyp
expplc:"", // 到期日/到期地点 .didgrp.rec.expplc
},
apl:{
pts:new Pts().data,
},
cbs:{
nom1:{
cur:"", // 信用证金额 .didgrp.cbs.nom1.cur
amt:"", // 信用证金额 .didgrp.cbs.nom1.amt
},
opn1:{
cur:"", // Currency .didgrp.cbs.opn1.cur
amt:"", // Balance .didgrp.cbs.opn1.amt
},
},
avbnam:"", // 指定银行 .didgrp.avbnam
},
bdtp:{
didget:{
sdamod:{
seainf:"", // .bdtp.didget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.didget.sdamod.dadsnd
},
},
zchday:"", // 最迟装运/服务提供日 .bdtp.zchday
setnowflg:"", // Register to Send and Settle Document .bdtp.setnowflg
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bdtp.recget.sdamod.dadsnd
seainf:"", // .bdtp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .bdtp.matp.mattxtlab
},
docgrdm:{
docgrd:[], // .bdtp.docgrdm.docgrd
},
cre752flg:"", // Create 752 .bdtp.cre752flg
furide:"", // Further Identification .bdtp.furide
cre732flg:"", // Create MT 732 .bdtp.cre732flg
shpp:{
ptsget:{
sdamod:{
seainf:"", // .bdtp.shpp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.shpp.ptsget.sdamod.dadsnd
},
},
},
connum:"", // Contract Number .bdtp.connum
},
zcdat:"", // 装船日期/服务提供日 .zcdat
trnmod:{
swiadd:{
orimsgid:"", // 原报文标识号 .trnmod.swiadd.orimsgid
oriinstgagt:"", // 原发起直接参与机构 .trnmod.swiadd.oriinstgagt
orimsgtyp:"", // 原报文类型 .trnmod.swiadd.orimsgtyp
},
docimm:{
ascin:"", // Message as stream .trnmod.docimm.ascin
prtswtrpblk:"", // XMLPanel prtswtrp的内置block .trnmod.docimm.prtswtrpblk
xmldocblk:"", // XMLPanel xmldoc的内置block .trnmod.docimm.xmldocblk
prtswtpblk:"", // XMLPanel prtswtp的内置block .trnmod.docimm.prtswtpblk
},
trndia:{
diarec:{
cod:"", // Diary Reason .trnmod.trndia.diarec.cod
donflg:"", // Entry Done Nonspace = Entry Done .trnmod.trndia.diarec.donflg
dat:"", // Date of Diary .trnmod.trndia.diarec.dat
nam:"", // Description .trnmod.trndia.diarec.nam
inftxt:"", // Detailed Information .trnmod.trndia.diarec.inftxt
ownusg:"", // Resp. Group .trnmod.trndia.diarec.ownusg
usr:"", // Entered by .trnmod.trndia.diarec.usr
prechkdat:"", // 预计核验日期 .trnmod.trndia.diarec.prechkdat
ptynam:"", // pty name .trnmod.trndia.diarec.ptynam
ptyextkey:"", // pty extkey .trnmod.trndia.diarec.ptyextkey
paycur:"", // Pay CUR .trnmod.trndia.diarec.paycur
payamt:"", // 付款币种 .trnmod.trndia.diarec.payamt
},
diamodflg:"", // used to define a codetable that to be show as status in Grid .trnmod.trndia.diamodflg
atp:{
cod:"", // Start Transaction .trnmod.trndia.atp.cod
},
atpget:{
sdamod:{
seainf:"", // .trnmod.trndia.atpget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trnmod.trndia.atpget.sdamod.dadsnd
},
},
atptxt:"", // Application Transaction Profile Text .trnmod.trndia.atptxt
usr:{
extkey:"", // Responsible User .trnmod.trndia.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .trnmod.trndia.usrget.sdamod.seainf
},
},
dspstm:"", // Display Stream of Diaries .trnmod.trndia.dspstm
},
trndoc:{
doccur:{
coverblk:"", // XMLPanel cover的内置block .trnmod.trndoc.doccur.coverblk
},
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doceot:[],
},
},
mtabut:{
syswrn:{
dsp:"", // Display .mtabut.syswrn.dsp
},
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur
totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
addinf:"", // Additional Information .liaall.liaccv.addinf
cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
},
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
glemod:{
gleshwstm: {}
}
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -17,6 +17,7 @@ import Bdtudp from "./Bdtudp" ...@@ -17,6 +17,7 @@ import Bdtudp from "./Bdtudp"
import Bdtdcr from "./Bdtdcr" import Bdtdcr from "./Bdtdcr"
import Trndtl from "./Trnrel/Trndtl" import Trndtl from "./Trnrel/Trndtl"
import Infpta from "./Infpta" import Infpta from "./Infpta"
import Ditdck from "./Ditdck"
import Letsel from "./Letsel" import Letsel from "./Letsel"
import Letopn from "./Letopn" import Letopn from "./Letopn"
...@@ -93,6 +94,7 @@ const BusRouter = [ ...@@ -93,6 +94,7 @@ const BusRouter = [
{ path: 'ditsel', component: Ditsel, name: 'Ditsel', meta: { title: '信用证查询' } }, { path: 'ditsel', component: Ditsel, name: 'Ditsel', meta: { title: '信用证查询' } },
{ path: 'ditopn', component: Ditopn, name: 'Ditopn', meta: { title: (tag) => { return tag.path.startsWith("/review") ? "复核:" : '买方信用证开立' } } }, { path: 'ditopn', component: Ditopn, name: 'Ditopn', meta: { title: (tag) => { return tag.path.startsWith("/review") ? "复核:" : '买方信用证开立' } } },
{ path: 'infdid', component: Infdid, name: 'Infdid', meta: { title: '信用证查询' } }, { path: 'infdid', component: Infdid, name: 'Infdid', meta: { title: '信用证查询' } },
{ path: 'ditdck', component: Ditdck, name: 'Ditdck', meta: { title: '信用证到单' } },
// 例 // 例
{ path: 'ditopn/:inr', component: Ditopn, name: 'DitopnInr', meta: { title: (tag) => { return '买方信用证开立-' + tag.params.inr } } }, { path: 'ditopn/:inr', component: Ditopn, name: 'DitopnInr', meta: { title: (tag) => { return '买方信用证开立-' + tag.params.inr } } },
{ path: 'office', component: Office, name: 'Office', meta: { title: 'Office' } }, { path: 'office', component: Office, name: 'Office', meta: { title: 'Office' } },
......
<template>
<div class="eibs-tab">
<!--
<c-col :span="12">
<el-form-item label="应付保证金金额">
<c-input v-model="model.liaall.liaccv.concur" maxlength="3" placeholder="请输入应付保证金金额"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.concur">
<c-row :gutter="20">
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.newamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="合同金额">
<c-input v-model="model.liaall.liaccv.newamt" placeholder="请输入合同金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金应收比例">
<c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<c-row>
<c-col :span="8">
<c-input v-model="model.liaall.liaccv.cshpct"></c-input>
</c-col>
<c-col :span="12" style="margin-left: 20px">
<span>%</span>
</c-col>
</c-row>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="Reserved Amount">
<c-input v-model="model.liaall.liaccv.newresamt" placeholder="请输入Reserved Amount"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<c-row :gutter="20">
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.newresamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="保证金实收比例">
<c-input v-model="model.liaall.liaccv.relcshpct" placeholder="请输入保证金实收比例"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<el-form-item label="保证金实收比例" prop="liaall.misamt">
<c-row>
<c-col :span="8">
<c-input :readonly="true" v-model="model.liaall.misamt"></c-input>
</c-col>
<c-col :span="12" style="margin-left: 20px">
<span>%</span>
</c-col>
</c-row>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.gleflg">Create gle flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="reserve amount based percent">
<c-input v-model="model.liaall.liaccv.pctresamt" placeholder="请输入reserve amount based percent"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.chgcurflg">Change currency flag</c-checkbox>
</c-col>
-->
<c-col :span="12">
<el-form-item label="应付保证金金额" prop="liaall.liaccv.concur">
<c-row :gutter="20">
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.pctresamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<c-button size="small" type="primary" @click="openMask">
Add
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
Del
</c-button>
</c-col>
-->
<c-col :span="24" style="text-align: right">
<c-row>
<c-col :span="2" :offset="19">
<c-button
size="small"
type="primary"
@click="onLiaccvAdd"
>
Add
</c-button>
<el-dialog :visible.sync="dialogTableVisible" :close-on-click-modal="false" :close-on-press-escape="false">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
>
<el-table-column
prop="op"
label="OP"
width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="pickDepItem(scope.row)">选择</a>
</template>
</el-table-column>
</c-istream-table>
</el-dialog>
</c-col>
<c-col :span="2">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
Del
</c-button>
</c-col>
</c-row>
</c-col>
<c-col :span="24"><div style="height:10px"></div></c-col>
<c-col :span="22" :offset="1">
<c-table :border="true" :list="model.liaall.liaccv.liaccvg" style="width:80%,text-align:center">
<el-table-column prop="ccdflg" label="CF000048" width="auto"> </el-table-column>
<el-table-column prop="ownref" label="保证金编号" width="auto"> </el-table-column>
<el-table-column prop="cur" label="币种" width="auto"> </el-table-column>
<el-table-column prop="oldamt" label="余额" width="auto"> </el-table-column>
<el-table-column prop="amt" label="变动金额" width="auto"> </el-table-column>
<el-table-column prop="acc" label="保证金账号" width="auto"> </el-table-column>
<el-table-column prop="rat" label="汇率" width="auto"> </el-table-column>
<el-table-column prop="concur" label="币种" width="auto"> </el-table-column>
<el-table-column prop="covamt" label="折算后金额" width="auto"> </el-table-column>
<el-table-column prop="acccovamt" label="Acc Amount" width="auto"> </el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Amount Covered">
<c-row>
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input
v-model="model.liaall.liaccv.totcovamt"
:readonly="true"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="金额总和">
<c-col :span="8">
<c-input style="width:50%" v-model="model.liaall.liaccv.totcovamt" placeholder="请输入金额总和"></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Information ">
<c-input type="textarea" rows="5" v-model="model.liaall.liaccv.addinf" maxlength="200" show-word-limit placeholder="请输入Additional Information " ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditdck/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
dialogTableVisible: false,
stmData: {
columns: [
'1 1:1 "Ref" 120',
'2 2:1 "User" 80',
'3 3:1 "Applicant" 196',
'4 4:1 "Account" 120',
'5 5:1 "Cur" 50',
'6 6:1 "Amount" 80 2 0 1 18.3',
'7 7:1 "Open date" 80 4 7',
'8 8:1 "flg" 40',
'9 9:1 "Remarks" 180',
"P COLORED TRUE",
"P VERTLINES TRUE",
"P HORZLINES TRUE",
"P MULTISELECT FALSE",
"P COLUMNSIZING TRUE",
],
data: [],
},
relrowDisabled: true,
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<c-row>
<c-col :span="24">
<c-col :span="12">
<el-form-item
style="height=200px;"
label="General"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitinf.oit.inftxt"
maxlength="60"
:autosize="{ minRows: 4, maxRows: 6 }"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitinf.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitinf.oit.inflev"
style="width: 50%"
disabled
placeholder="请选择Infotext Level"
>
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="Settlement"
prop="mtabut.coninf.oitset.oit.inftxt"
>
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitset.oit.inftxt"
maxlength="60"
:autosize="{ minRows: 4, maxRows: 6 }"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitset.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
style="width: 50%"
disabled
placeholder="请选择Infotext Level"
>
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<el-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 40%"
placeholder="请选择执行日期"
></el-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Send for Release to"
prop="mtabut.coninf.usr.extkey"
>
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
style="width: 40%"
disabled="disabled"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-row>
</template>
<script>
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditdck/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="11">
<c-col :span="20">
<el-form-item label="不符点">
<c-input type="textarea" v-model="model.bddgrp.blk.docdis" maxlength="50" show-word-limit
placeholder="请输入不符点"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button style="text-align: left" label-width="-10px" size="small" type="primary" icon="el-icon-search"
@click="onDocdisButtxmsel">
...
</c-button>
</c-col>
<c-col :span="24">
<el-form-item label="注释和结论">
<c-input type="textarea" v-model="model.bddgrp.blk.comcon" maxlength="65" show-word-limit
placeholder="请输入注释和结论"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到期付款确认备注">
<c-input type="textarea" v-model="model.bddgrp.blk.accrmk" maxlength="65" show-word-limit
placeholder="请输入到期付款确认备注"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =================右边====================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-checkbox v-model="model.bddgrp.rec.igndisflg">忽略不符点</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bddgrp.blk.docdisflg">录入不符点</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="收到的通知类型" prop="bddgrp.rec.advtyp">
<c-select v-model="model.bddgrp.rec.advtyp" style="width:100%" placeholder="请选择收到的通知类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期" prop="bddgrp.rec.totdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.totdat" style="width:100%"
placeholder="请选择付款日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不符点通知日期" prop="bddgrp.rec.disdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.disdat" style="width:100%"
placeholder="请选择不符点通知日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bddgrp.rec.approvcod">议付行担保协议</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.bdtp.cre752flg">Create MT 752</c-checkbox>
</c-col>
<c-col :span="16">
<el-form-item label="Further Identification" prop="bdtp.furide">
<c-select v-model="model.bdtp.furide" style="width:100%" placeholder="请选择Further Identification">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bdtp.cre732flg">Create MT 732</c-checkbox>
</c-col>
</c-col>
<!-- =================已交单据====================== -->
<c-col :span="24">
<c-table :border="true" :list="model.bdtp.docgrdm.docgrd" style="width:80%,text-align:center">
<el-table-column prop="cmail1" label="1st" width="auto"> </el-table-column>
<el-table-column prop="cmail2" label="2st" width="auto"> </el-table-column>
<el-table-column prop="docnam" label="Document" width="auto"> </el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdck/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: {
...Event
},
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24" style="margin-bottom:18px">
Liability
</c-col>
<c-col :span="22" :offset="1">
<c-table :list="model.liaall.liaallg" style="width:80%,text-align:center,margin-bottom:18px" :border="true">
<el-table-column prop="cbtpfx" label="Type" width="auto"> </el-table-column>
<el-table-column prop="matdat" label="Maturity" width="auto"> </el-table-column>
<el-table-column prop="tenday" label="Tenor" width="auto"> </el-table-column>
<el-table-column prop="rol" label="Dbt." width="auto"> </el-table-column>
<el-table-column prop="nam" label="Name" width="auto"> </el-table-column>
<el-table-column prop="cdtrol" label="Cdt." width="auto"> </el-table-column>
<el-table-column prop="cur" label="Cur" width="auto"> </el-table-column>
<el-table-column prop="oldamt" label="Old Amount" width="auto">
<template slot-scope="scope">
{{moneyFormat(scope.row.oldamt)}}
</template>
</el-table-column>
<el-table-column prop="amt" label="Booking Amo" width="auto">
<template slot-scope="scope">
{{moneyFormat(scope.row.amt)}}
</template>
</el-table-column>
<el-table-column prop="tenpct" label="%" width="auto"> </el-table-column>
<el-table-column prop="acc" label="Account" width="auto"> </el-table-column>
<el-table-column prop="valdat" label="Value Date" width="auto">
<template slot-scope="scope">
{{dateFormat(scope.row.valdat)}}
</template>
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Sight Amount">
<c-input style="width:50%" v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage">
<c-input style="width:50%" v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount">
<c-input style="width:70%" v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="Amount not yet assigned">
<c-input style="width:20%" disabled v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
<c-input style="width:50%" disabled v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-button size="small" disabled type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally">
<c-input style="width:50%" v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged">
<c-input style="width:50%" v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdck/Event"
export default {
inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="12">
<c-col :span="16">
<el-form-item
label="国内信用证项下开证授信额度:"
prop="liaall.limmod.limpts.wrk.pts.extkey"
>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
:disabled="true"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="20px">
<c-button
size="small"
type="primary;width:10%"
@click="onSeainf"
>i</c-button
>
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"
>
Details
</c-button>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width:90%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="额度类型"
prop="liaall.limmod.limpts.nonrevflg1"
>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
placeholder="请选择Flag to Mark Non-revolving Limits"
@change="nonrevflg1Change"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-button size="small" type="primary" @click="onLimptsGet1">
查询
</c-button>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="合同流水号"
prop="liaall.limmod.limpts.pfcod1"
>
<c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 55%"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 70%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 70%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
style="width: 70%"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="22" :offset="1">
<c-table style="text-align: center" :data="tableData" :border="true">
<el-table-column label="可否串用" width="auto">
</el-table-column>
-->
<el-table-column label="序号" width="auto"> </el-table-column>
<el-table-column label="额度类型" width="auto">
</el-table-column>
<el-table-column label="入账机构" width="auto">
</el-table-column>
<el-table-column label="额度编号" width="auto">
</el-table-column>
<el-table-column label="额度明细编号" width="auto">
</el-table-column>
<el-table-column label="额度品种代码" width="auto">
</el-table-column>
<el-table-column label="品种代码描述" width="auto">
</el-table-column>
<el-table-column label="" width="auto"> </el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditdck/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
tableData: {},
};
},
methods: { ...Event ,
nonrevflg1Change(){
if (this.model.liaall.limmod.limpts.nonrevflg1 == '1'){
this.model.liaall.limmod.limpts.pfcod1 = "";
}
}
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-row>
<!-- =================信用证信息====================== -->
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="8">
<el-form-item label="信用证参考号" prop="didgrp.rec.ownref">
<c-input v-model="model.didgrp.rec.ownref" maxlength="16" placeholder="请输入信用证参考号" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item style="text-align: left" label="" label-width="-10px">
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
</el-form-item>
</c-col>
<!-- <c-col :span="4">
<el-form-item label="Drag Drop Sender" prop="bdtp.recget.sdamod.dadsnd">
<c-input
v-model="model.bdtp.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="11">
<el-form-item label="摘要" prop="didgrp.rec.nam">
<c-input align="middle" v-model="model.didgrp.rec.nam" maxlength="40" placeholder="请输入摘要" disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =================左边====================== -->
<c-col :span="11">
<c-col :span="12">
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
<c-select disabled v-model="model.didgrp.cbs.nom1.cur" style="width: 100%" placeholder="请选择币种"
@keyup.enter.native="didCurEvent">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left" label-width="20px" prop="didgrp.cbs.nom1.amt">
<c-input disabled v-model="model.didgrp.cbs.nom1.amt" placeholder="请输入信用证金额"></c-input>
</el-form-item>
</c-col>
<!-- </c-col> -->
<c-col :span="12">
<el-form-item label="单据金额" prop="didgrp.cbs.opn1.cur">
<c-select disabled v-model="model.didgrp.cbs.opn1.cur" style="width: 100%" placeholder="请选择币种"
@keyup.enter.native="didCurEvent">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left" label-width="20px" label="" prop="didgrp.cbs.opn1.amt">
<c-input disabled v-model="model.didgrp.cbs.opn1.amt" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="指定银行" prop="didgrp.avbnam">
<c-input disabled v-model="model.didgrp.avbnam" maxlength="40" placeholder="请输入指定银行"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="兑付方式" prop="didgrp.rec.avbby">
<c-select disabled v-model="model.didgrp.rec.avbby" style="width: 100%" placeholder="请选择兑付方式">
<el-option v-for="item in codes.avbby" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证日期" prop="didgrp.rec.opndat">
<c-date-picker type="date" v-model="model.didgrp.rec.opndat" style="width: 100%" placeholder="请选择开证日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到期日" prop="didgrp.rec.expdat">
<c-date-picker type="date" v-model="model.didgrp.rec.expdat" style="width: 100%" placeholder="到期日">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证类型" prop="didgrp.rec.lcrtyp">
<c-select v-model="model.didgrp.rec.lcrtyp" style="width: 100%" placeholder="请选择信用证类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<span v-text="model.bdtp.zchday" data-path=".bdtp.zchday"> </span>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="didgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.didgrp.rec.shpdat" style="width: 100%"
placeholder="请选择最迟货物装运/服务提供日期"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- =================右边====================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="申请人编号" prop="bddgrp.apl.pts.ref">
<c-input v-model="model.bddgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人名称" prop="bddgrp.apl.pts.nam">
<c-input v-model="model.bddgrp.apl.pts.nam" maxlength="40" placeholder="申请人名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人编号" prop="bddgrp.ben.pts.ref">
<c-input v-model="model.bddgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="bddgrp.ben.pts.nam">
<c-input v-model="model.bddgrp.ben.pts.nam" maxlength="40" placeholder="受益人名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行编号" prop="bddgrp.prb.pts.ref">
<c-input v-model="model.bddgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行名称" prop="bddgrp.prb.pts.nam">
<c-input v-model="model.bddgrp.prb.pts.nam" maxlength="40" placeholder="交单行名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到期地点">
<c-input type="textarea" v-model="model.didgrp.rec.expplc" maxlength="35" show-word-limit
placeholder="请输入到期地点"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =================单据信息====================== -->
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="8">
<el-form-item label="单据参考号" prop="bddgrp.rec.ownref">
<c-input v-model="model.bddgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item style="text-align: left" label="" label-width="-25px">
<c-button size="small" type="primary" @click="onBdtmodButgetref">
获取
</c-button>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="摘要" prop="bddgrp.rec.nam">
<c-input align="middle" v-model="model.bddgrp.rec.nam" maxlength="40" placeholder="请输入摘要"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =================左边====================== -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="单据类型" prop="bddgrp.rec.docflg">
<c-select v-model="model.bddgrp.rec.docflg" style="width: 100%" placeholder="请选择单据类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-select disabled v-model="model.bddgrp.cbs.max.cur" style="width: 100%" placeholder="请选择币种"
@keyup.enter.native="bddCurEvent">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left" label-width="20px" label="" prop="bddgrp.cbs.max.amt">
<c-input v-model="model.bddgrp.cbs.max.amt" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="原发起直接参与机构" prop="trnmod.swiadd.oriinstgagt">
<c-input v-model="model.trnmod.swiadd.oriinstgagt" maxlength="20" placeholder="请输入原发起直接参与机构"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="此信用证下的到单次数" prop="didgrp.rec.utlnbr">
<c-input v-model="model.didgrp.rec.utlnbr" placeholder="请输入此信用证下的到单次数"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行类型" prop="bddgrp.rec.docprbrol">
<c-select v-model="model.bddgrp.rec.docprbrol" style="width: 100%" placeholder="请选择交单行类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.rcvdat" style="width: 100%" placeholder="请选择到单日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单日期" prop="bddgrp.rec.predat">
<c-date-picker type="date" v-model="model.bddgrp.rec.predat" style="width: 100%" placeholder="请选择交单日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="通知日期" prop="bddgrp.rec.orddat">
<c-date-picker type="date" v-model="model.bddgrp.rec.orddat" style="width: 100%" placeholder="请选择通知日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物装运/服务提供日期" prop="bddgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.shpdat" style="width: 100%" placeholder="请选择货物装运/服务提供日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="远期起算日" prop="bddgrp.rec.stadat">
<c-date-picker type="date" v-model="model.bddgrp.rec.stadat" style="width: 100%" placeholder="请选择起算日">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到期日" prop="bddgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.matdat" style="width: 100%" placeholder="请选择到期日">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限" prop="bddgrp.rec.tenmaxday">
<c-input v-model="model.bddgrp.rec.tenmaxday" placeholder="请输入期限"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="发票类型" prop="bddgrp.rec.invtyp">
<c-select v-model="model.bddgrp.rec.invtyp" style="width: 100%" placeholder="请选择发票类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bddgrp.rec.dscinsflg">录入单据、不符点、结算指示和货运详细信息</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bdtp.setnowflg">Register to Send and Settle Document</c-checkbox>
</c-col>
</c-col>
<!-- =================右边====================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="交单行编号" prop="bddgrp.prb.pts.ref">
<c-input v-model="model.bddgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行BIC" prop="bddgrp.prb.pts.extkey">
<c-input v-model="model.bddgrp.prb.pts.extkey" maxlength="16" placeholder="请输入交单行BIC"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行联行行号" prop="bddgrp.prb.pts.bankno">
<c-input v-model="model.bddgrp.prb.pts.bankno" maxlength="20" placeholder="请输入交单行联行行号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行联行名称(电证用)">
<c-input type="textarea" v-model="model.bddgrp.prb.pts.jigomc" maxlength="35" show-word-limit
placeholder="请输入联行名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行地址(电证用)">
<c-input type="textarea" v-model="model.bddgrp.prb.pts.dizhii" maxlength="35" show-word-limit
placeholder="请输入交单行地址"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="原报文标识号" prop="trnmod.swiadd.orimsgid">
<c-input v-model="model.trnmod.swiadd.orimsgid" maxlength="35" placeholder="请输入原报文标识号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据状态" prop="bddgrp.rec.docsta">
<c-input v-model="model.bddgrp.rec.docsta" maxlength="1" placeholder="请输入单据状态"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="原报文类型" prop="trnmod.swiadd.orimsgtyp">
<c-select v-model="model.trnmod.swiadd.orimsgtyp" style="width: 100%" placeholder="请选择原报文类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款行行号" prop="bddgrp.skh.pts.bankno">
<c-input v-model="model.bddgrp.skh.pts.bankno" maxlength="20" placeholder="请输入收款行行号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款行名称">
<c-input type="textarea" v-model="model.bddgrp.skh.pts.jigomc" maxlength="35" show-word-limit
placeholder="请输入收款行名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人编号" prop="didgrp.apl.pts.ref">
<c-input v-model="model.didgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人编号"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditdck/Event";
import Utils from "~/utils";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: {
...Event,
didCurEvent() {
this.executeDefault("didgrp.cbs.nom1.cur").then(
(res) => {
if (res.respCode = SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
}
}
);
},
bddCurEvent() {
this.executeDefault("bddgrp.cbs.max.cur").then(
(res) => {
if (res.respCode = SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
}
}
);
}
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-select v-model="model.bddgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.amt">
<c-input v-model="model.bddgrp.cbs.max.amt" placeholder="请输入单据金额"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
<c-input v-model="model.bddgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Balance" prop="bddgrp.cbs.opn1.amt">
<c-input v-model="model.bddgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Start Date" prop="bddgrp.rec.stadat">
<c-date-picker type="date" v-model="model.bddgrp.rec.stadat" style="width:100%" placeholder="请选择Start Date"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<span v-text="model.bdtp.matp.mattxtlab" data-path=".bdtp.matp.mattxtlab" > </span>
</el-col>
<el-col :span="12">
<el-form-item label="Maturity Date" prop="bddgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据到期日" prop="bddgrp.rec.tenmaxday">
<c-input v-model="model.bddgrp.rec.tenmaxday" placeholder="请输入单据到期日"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据类型" prop="bddgrp.rec.docflg">
<c-select v-model="model.bddgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据状态" prop="bddgrp.rec.docsta">
<c-select v-model="model.bddgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态">
</c-select>
</el-form-item>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="Release of Goods" prop="bddgrp.rec.relgodflg">
<c-select v-model="model.bddgrp.rec.relgodflg" style="width:100%" placeholder="请选择Release of Goods">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Contract Number" prop="bdtp.connum">
<c-input v-model="model.bdtp.connum" maxlength="35" placeholder="请输入Contract Number"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Release Type" prop="bddgrp.rec.reltyp">
<c-select v-model="model.bddgrp.rec.reltyp" style="width:100%" placeholder="请选择Release Type">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="issue date" prop="bddgrp.rec.relgoddat">
<c-date-picker type="date" v-model="model.bddgrp.rec.relgoddat" style="width:100%" placeholder="请选择issue date"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Expiry Date of Shipping Guarantee" prop="bddgrp.rec.expdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.expdat" style="width:100%" placeholder="请选择Expiry Date of Shipping Guarantee"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Carrier" prop="bddgrp.blk.carnam">
<c-input v-model="model.bddgrp.blk.carnam" maxlength="35" placeholder="请输入Carrier"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Transport Doc. Type" prop="bddgrp.rec.trpdoctyp">
<c-select v-model="model.bddgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择Transport Doc. Type">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="B/L Number" prop="bddgrp.rec.blnum">
<c-input v-model="model.bddgrp.rec.blnum" maxlength="20" placeholder="请输入B/L Number"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Transport Doc. No." prop="bddgrp.rec.trpdocnum">
<c-input v-model="model.bddgrp.rec.trpdocnum" maxlength="40" placeholder="请输入Transport Doc. No."></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<c-checkbox v-model="model.bddgrp.rec.rtoaplflg">Release Goods to Applicant ?</c-checkbox>
</el-col>
<el-col :span="12">
<el-form-item label="shipment date" prop="bddgrp.rec.tradat">
<c-date-picker type="date" v-model="model.bddgrp.rec.tradat" style="width:100%" placeholder="请选择shipment date"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Release to Address">
<c-input type="textarea" v-model="model.bddgrp.blk.relstoadr" maxlength="35" show-word-limit placeholder="请输入Release to Address" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Mode of Transport" prop="bddgrp.rec.tramod">
<c-select v-model="model.bddgrp.rec.tramod" style="width:100%" placeholder="请选择Mode of Transport">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Vessel Name" prop="bddgrp.blk.vesnam">
<c-input v-model="model.bddgrp.blk.vesnam" maxlength="40" placeholder="请输入Vessel Name"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Port of Discharge" prop="bddgrp.blk.pordis">
<c-input v-model="model.bddgrp.blk.pordis" maxlength="40" placeholder="请输入Port of Discharge"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bdtp.shpp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bdtp.shpp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Place of Delivery" prop="bddgrp.blk.delplc">
<c-input v-model="model.bddgrp.blk.delplc" maxlength="40" placeholder="请输入Place of Delivery"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="External Key of Address" prop="bddgrp.shp.pts.extkey">
<c-input v-model="model.bddgrp.shp.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="" prop="bdtp.shpp.ptsget.sdamod.seainf">
<c-input v-model="model.bdtp.shpp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<c-button size="small" type="primary" @click="onShppDet">
Details
</c-button>
</el-col>
<el-col :span="12">
<el-form-item label="名称">
<c-input type="textarea" v-model="model.bddgrp.shp.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Covered Goods">
<c-input type="textarea" v-model="model.bddgrp.blk.roggod" maxlength="40" show-word-limit placeholder="请输入Covered Goods" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Address Block">
<c-input type="textarea" v-model="model.bddgrp.shp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Chinese address">
<c-input type="textarea" v-model="model.bddgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="地址">
<c-input type="textarea" v-model="model.bddgrp.shp.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Notify Party">
<c-input type="textarea" v-model="model.bddgrp.blk.notpty" maxlength="35" show-word-limit placeholder="请输入Notify Party" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Port of loading" prop="bddgrp.blk.porlod">
<c-input v-model="model.bddgrp.blk.porlod" maxlength="40" placeholder="请输入Port of loading"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Voyage numer" prop="bddgrp.blk.voynum">
<c-input v-model="model.bddgrp.blk.voynum" maxlength="30" placeholder="请输入Voyage numer"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Goods code" prop="bddgrp.rec.ngrcod">
<c-select v-model="model.bddgrp.rec.ngrcod" style="width:100%" placeholder="请选择Goods code">
</c-select>
</el-form-item>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="到单">
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000047 -->
<el-tab-pane label="单据概况" name="litdckp">
<c-content>
<m-litdckp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000137 -->
<!-- <el-tab-pane label="ovwp" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000062 -->
<el-tab-pane label="单据详情" name="docpre">
<m-docpre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000079 -->
<!-- <el-tab-pane label="Shipping Detail" name="shpdet">
<m-shpdet :model="model" :codes="codes"/>
</el-tab-pane> -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="帐务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes" ref="docpan" />
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Ditdck from "~/model/Ditdck"
import CommonProcess from "~/mixin/CommonProcess"
import Pattern from "~/model/Ditdck/Pattern"
import Default from "~/model/Ditdck/Default";
import Check from "~/model/Ditdck/Check";
import Litdckp from "./Litdckp"
import Ovwp from "./Ovwp"
import Docpre from "./Docpre"
import Shpdet from "./Shpdet"
import Limitbody from "./Limitbody";
import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
export default {
components:{
"m-litdckp" : Litdckp,
"m-ovwp" : Ovwp,
"m-docpre" : Docpre,
"m-shpdet" : Shpdet,
"m-engp": Engp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-docpan": Docpan,
"m-limitbody": Limitbody,
"m-coninfp": Coninfp,
"m-ccvpan": Ccvpan,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "litdckp",
trnName:"ditdck",
model:new Ditdck().data,
//checkRules: Check,
defaultRules: Default,
//pattern: Pattern,
rules:null,
codes:{...CodeTable},
}
},
methods:{
},
created:async function(){
console.log("进入ditdck交易");
let rtnmsg = await this.init(this.$route.query)
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
console.log(rtnmsg)
Utils.copyValueFromVO(this.model,rtnmsg.data)
console.log(this.model);
if(this.isInDisplay){
this.restoreDisplay()
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
...@@ -51,6 +51,7 @@ export default { ...@@ -51,6 +51,7 @@ export default {
{ inifrm: "infbdd", ininam: "信用证单据查询", pntmiu: "2" }, { inifrm: "infbdd", ininam: "信用证单据查询", pntmiu: "2" },
{ inifrm: "bdtudp", ininam: "信用证承兑", pntmiu: "2" }, { inifrm: "bdtudp", ininam: "信用证承兑", pntmiu: "2" },
{ inifrm: "bdtdcr", ininam: "信用证不符点/拒付", pntmiu: "2" }, { inifrm: "bdtdcr", ininam: "信用证不符点/拒付", pntmiu: "2" },
{ inifrm: "ditdck", ininam: "信用证到单", pntmiu: "2" },
{ inifrm: "3", ininam: "出口信用证", pntmiu: "" }, { inifrm: "3", ininam: "出口信用证", pntmiu: "" },
//{ inifrm: "3", ininam: "出口信用证", pntmiu: "" }, //{ inifrm: "3", ininam: "出口信用证", pntmiu: "" },
{ inifrm: "letsel", ininam: "出口信用证查询", pntmiu: "3" }, { inifrm: "letsel", ininam: "出口信用证查询", pntmiu: "3" },
......
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