Commit 6fe3ed4c by zhoutian

ttt

parent 7785df36
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botdav{ export default class Botdav{
constructor () { constructor () {
this.data = { this.data = {
liaall: new Pub().data.Liaall,
bodgrp:{ bodgrp:{
rec:{ rec:{
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
......
import Utils from "~/utils"
/**
* Brtdck Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"brdgrp.prb.adrelc" :null,
"brdgrp.cbs.max.amt" :null,
"brdgrp.blk.docdis" :null,
"brtp.furide" :null,
"brdgrp.rec.reltyp" :null,
"brtp.oth.pts.extkey" :null,
"brdgrp.prb.pts.adrblk" :null,
"brdgrp.prb.namelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"brdgrp.shp.namelc" :null,
"setmod.dspflg" :null,
"brtp.oth.pts.adrblk" :null,
"brdgrp.rec.docflg" :null,
"brdgrp.rec.disdat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"mhtyp" :null,
"brdgrp.prb.pts.extkey" :null,
"brdgrp.rec.matdat" :null,
"brtp.oth.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"brdgrp.shp.adrelc" :null,
"mtabut.coninf.conexedat" :null,
"brtp.oth.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"brdgrp.shp.pts.adrblk" :null,
"brdgrp.blk.relstoadr" :null,
"brdgrp.blk.setinsbr" :null,
"brdgrp.blk.comcon" :null,
"brdgrp.shp.pts.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Brtdck Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"brdgrp.rec.igndisflg" :Utils.defaultFunction,
"brdgrp.blk.docdis" :Utils.defaultFunction,
"brdgrp.prb.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.adrelc" :Utils.defaultFunction,
"brdgrp.prb.namelc" :Utils.defaultFunction,
"brdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"brdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"brdgrp.cbs.max2.amt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"brdgrp.shp.pts.extkey" :Utils.defaultFunction,
"brdgrp.shp.adrelc" :Utils.defaultFunction,
"brdgrp.shp.namelc" :Utils.defaultFunction,
"brdgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"brdgrp.shp.pts.adrblk" :Utils.defaultFunction,
"brdgrp.rec.payrol" :Utils.defaultFunction,
"brtp.setnowflg" :Utils.defaultFunction,
"brdgrp.rec.approvcod" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"brdgrp.rec.advtyp" :Utils.defaultFunction,
"oldbrdgrp.cbs.max2.amt" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brtp.oth.pts.adrblk" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.rec.utlnbr" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"brdgrp.rec.predat" :Utils.defaultFunction,
"brdgrp.rec.shpdat" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"brdgrp.rec.matdat" :Utils.defaultFunction,
"brdgrp.blk.matper" :Utils.defaultFunction,
"brtp.oth.pts.extkey" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"brtp.oth.adrelc" :Utils.defaultFunction,
"brtp.oth.namelc" :Utils.defaultFunction,
"brtp.oth.dbfadrblkcn" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"brdgrp.rec.dscinsflg" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"brtp.cre752flg" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"oldbrdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.rec.rtoaplflg" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.relgodflg" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"brdgrp.rec.disdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.docprbrol" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.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 onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinstxmButtxmsel(){
let rtnmsg = await this.executeRule("setinstxm.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 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 onOthp1Det(){
let rtnmsg = await this.executeRule("othp1.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.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"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位" }
],
"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.cbs.max.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"}
],
"brdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.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"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brtp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.prbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"oldbrdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.prb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"oldbrdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brtp.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"days":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"brtp.oth.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brtp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.matper":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"brtp.oth.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.aplref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.utlnbr":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"brdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"brdgrp.blk.setinsbr":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"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"
export default class Brtdck{
constructor () {
this.data = {
oridoclab:"", // Label original .oridoclab
oriaddlab:"", // Label original .oriaddlab
brdgrp:{
rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam
rcvdat:"", // Date of Receipt of Documents .brdgrp.rec.rcvdat
advdat:"", // 到单日期 .brdgrp.rec.advdat
docflg:"", // Document Type .brdgrp.rec.docflg
docsta:"", // 单据状态 .brdgrp.rec.docsta
matdat:"", // Maturity Date .brdgrp.rec.matdat
tenmaxday:"", // 单据类型 .brdgrp.rec.tenmaxday
stadat:"", // 远期单据到期日 .brdgrp.rec.stadat
predat:"", // Presentation Date .brdgrp.rec.predat
shpdat:"", // Date of Shipment .brdgrp.rec.shpdat
dscinsflg:"", // Enter Docs, Discrep. and Instructions .brdgrp.rec.dscinsflg
docprbrol:"", // Presented by .brdgrp.rec.docprbrol
payrol:"", // Payer .brdgrp.rec.payrol
igndisflg:"", // Ignore Discrepancies .brdgrp.rec.igndisflg
advtyp:"", // Type of Advice Received .brdgrp.rec.advtyp
totdat:"", // 付款日期 .brdgrp.rec.totdat
disdat:"", // Discrepancy Advice Dated .brdgrp.rec.disdat
approvcod:"", // Documents on Approval Basis .brdgrp.rec.approvcod
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:"", // Document Amount .brdgrp.cbs.max.cur
amt:"", // Document Amount .brdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
opn2:{
cur:"", // 附加金额 .brdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .brdgrp.cbs.max2.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.prb.namelc
adrelc:"", // 地址 .brdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.prb.dbfadrblkcn
},
blk:{
matper:"", // Maturity Period .brdgrp.blk.matper
comcon:"", // Comments and Conclusions .brdgrp.blk.comcon
setinsbr:"", // Settlement Instructions BR .brdgrp.blk.setinsbr
docdis:"", // Discrepancies .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
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
},
},
lidgrp:{
rec:{
ownref:"", // 信用证编号 .lidgrp.rec.ownref
expdat:"", // Date of Expiry .lidgrp.rec.expdat
utlnbr:"", // Count of Received Document Sets .lidgrp.rec.utlnbr
aplref:"", // Applicant Reference .lidgrp.rec.aplref
},
cbs:{
opn1:{
cur:"", // Currency .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
},
brtp:{
lidget:{
sdamod:{
seainf:"", // .brtp.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.lidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .brtp.recget.sdamod.dadsnd
seainf:"", // .brtp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .brtp.matp.mattxtlab
},
prbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.prbp.ptsget.sdamod.dadsnd
},
},
},
oth:{
pts:new Pts().data,
namelc:"", // 名称 .brtp.oth.namelc
adrelc:"", // 地址 .brtp.oth.adrelc
dbfadrblkcn:"", // Chinese address .brtp.oth.dbfadrblkcn
},
othp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.othp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.othp.ptsget.sdamod.dadsnd
},
},
},
setnowflg:"", // Register to Send and Settle Document .brtp.setnowflg
docgrdm:{
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
},
cre752flg:"", // Create 752 .brtp.cre752flg
furide:"", // Further Identification .brtp.furide
cre732flg:"", // Create MT 732 .brtp.cre732flg
shpp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.shpp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.shpp.ptsget.sdamod.dadsnd
},
},
},
connum:"", // Contract Number .brtp.connum
},
oldbrdgrp:{
cbs:{
max:{
amt:"", // Balance .oldbrdgrp.cbs.max.amt
},
max2:{
amt:"", // Balance .oldbrdgrp.cbs.max2.amt
},
},
},
mhtyp:"", // Transaction Type .mhtyp
days:"", // days .days
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
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
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -9,13 +9,17 @@ let checkObj = { ...@@ -9,13 +9,17 @@ let checkObj = {
"brdgrp.blk.docdis" :null, "brdgrp.blk.docdis" :null,
"brtp.furide" :null, "brtp.furide" :null,
"brdgrp.acb.adrelc" :null, "brdgrp.acb.adrelc" :null,
"brtp.acbp.ptsget.sdamod.dadsnd" :null, "brdgrp.blk.prsdoc" :null,
"brdgrp.shp.namelc" :null, "brdgrp.shp.namelc" :null,
"brtp.shpp.ptsget.sdamod.dadsnd" :null,
"brdgrp.acb.pts.extkey" :null, "brdgrp.acb.pts.extkey" :null,
"brdgrp.rec.disdat" :null, "brdgrp.rec.disdat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"brdgrp.acb.pts.adrblk" :null, "brdgrp.acb.pts.adrblk" :null,
"brdgrp.shp.adrelc" :null, "brdgrp.shp.adrelc" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"brdgrp.shp.pts.adrblk" :null, "brdgrp.shp.pts.adrblk" :null,
"brdgrp.blk.setinsbr" :null, "brdgrp.blk.setinsbr" :null,
"brdgrp.blk.comcon" :null, "brdgrp.blk.comcon" :null,
......
...@@ -6,7 +6,11 @@ import Api from "~/service/Api"; ...@@ -6,7 +6,11 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"lidgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max2.amt" :Utils.defaultFunction, "brdgrp.cbs.max2.amt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"brdgrp.shp.pts.extkey" :Utils.defaultFunction, "brdgrp.shp.pts.extkey" :Utils.defaultFunction,
"brdgrp.shp.adrelc" :Utils.defaultFunction, "brdgrp.shp.adrelc" :Utils.defaultFunction,
"brdgrp.shp.namelc" :Utils.defaultFunction, "brdgrp.shp.namelc" :Utils.defaultFunction,
...@@ -15,17 +19,27 @@ export default { ...@@ -15,17 +19,27 @@ export default {
"brdgrp.rec.advtyp" :Utils.defaultFunction, "brdgrp.rec.advtyp" :Utils.defaultFunction,
"brdgrp.acb.pts.adrblk" :Utils.defaultFunction, "brdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction, "brdgrp.blk.docdisflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction, "brdgrp.cbs.max.amt" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction, "brdgrp.cbs.max.cur" :Utils.defaultFunction,
"brdgrp.blk.docdis" :Utils.defaultFunction, "brdgrp.blk.docdis" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.acb.pts.extkey" :Utils.defaultFunction, "brdgrp.acb.pts.extkey" :Utils.defaultFunction,
"brdgrp.acb.adrelc" :Utils.defaultFunction, "brdgrp.acb.adrelc" :Utils.defaultFunction,
"brdgrp.acb.namelc" :Utils.defaultFunction, "brdgrp.acb.namelc" :Utils.defaultFunction,
"brdgrp.acb.dbfadrblkcn" :Utils.defaultFunction, "brdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"brtp.cre752flg" :Utils.defaultFunction, "brtp.cre752flg" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.rec.rtoaplflg" :Utils.defaultFunction, "brdgrp.rec.rtoaplflg" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.relgodflg" :Utils.defaultFunction, "brdgrp.rec.relgodflg" :Utils.defaultFunction,
"brdgrp.rec.approvcod" :Utils.defaultFunction, "brdgrp.rec.approvcod" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"brdgrp.rec.disdat" :Utils.defaultFunction, "brdgrp.rec.disdat" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -2,10 +2,8 @@ import Api from "~/service/Api" ...@@ -2,10 +2,8 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onDocdisButtxmsel(){ async onAcbpDet(){
console.log("接口调试入口2====>>>"); let rtnmsg = await this.executeRule("acbp.det")
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -16,9 +14,8 @@ export default { ...@@ -16,9 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onSetinstxmButtxmsel(){ async onDocdisButtxmsel(){
console.log("接口调试入口2====>>>"); let rtnmsg = await this.executeRule("docdis.buttxmsel")
let rtnmsg = await this.executeRule("setinstxm.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -29,9 +26,8 @@ export default { ...@@ -29,9 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onShppDet(){ async onSetinstxmButtxmsel(){
console.log("接口调试入口3====>>>"); let rtnmsg = await this.executeRule("setinstxm.buttxmsel")
let rtnmsg = await this.executeRule("shpp.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -42,9 +38,8 @@ export default { ...@@ -42,9 +38,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onAcbpDet(){ async onShppDet(){
console.log("接口调试入口4====>>>"); let rtnmsg = await this.executeRule("shpp.det")
let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -3,14 +3,182 @@ export default { ...@@ -3,14 +3,182 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"} {max: 200,message:"长度不能超过200"}
], ],
"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.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"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位" }
],
"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.cbs.max.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"}
],
"brdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.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"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.blk.prsdoc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.blk.aplins":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.docdis":[ "brdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
"brdgrp.rec.totdat":[ "brdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
...@@ -123,65 +291,4 @@ export default { ...@@ -123,65 +291,4 @@ export default {
{max: 30,message:"长度不能超过30"} {max: 30,message:"长度不能超过30"}
], ],
"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位" }
],
"brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
} }
\ No newline at end of file
...@@ -6,24 +6,18 @@ export default class Brtlat{ ...@@ -6,24 +6,18 @@ export default class Brtlat{
this.data = { this.data = {
brtapll1blk:"", // XMLPanel brtapll1的内置block .brtapll1blk brtapll1blk:"", // XMLPanel brtapll1的内置block .brtapll1blk
brdgrp:{ brdgrp:{
blk:{
comcon:"", // Comments and Conclusions .brdgrp.blk.comcon
setinsbr:"", // Settlement Instructions BR .brdgrp.blk.setinsbr
docdis:"", // 不符点 .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
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
chaded:"", // Charges Deducted .brdgrp.blk.chaded
chaadd:"", // Charges Added .brdgrp.blk.chaadd
},
rec:{ rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam
rcvdat:"", // 到单日期 .brdgrp.rec.rcvdat
advdat:"", // Date of Advice of Payment .brdgrp.rec.advdat
docflg:"", // 单据类型 .brdgrp.rec.docflg
docsta:"", // 单据状态 .brdgrp.rec.docsta
matdat:"", // Maturity Date .brdgrp.rec.matdat
tenmaxday:"", // Tenor day .brdgrp.rec.tenmaxday
stadat:"", // 远期单据到期日 .brdgrp.rec.stadat
totcur:"", // Amount to be Paid .brdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .brdgrp.rec.totamt
igndisflg:"", // Ignore Discrepancies .brdgrp.rec.igndisflg igndisflg:"", // Ignore Discrepancies .brdgrp.rec.igndisflg
advtyp:"", // Type of Advice Received .brdgrp.rec.advtyp advtyp:"", // Type of Advice Received .brdgrp.rec.advtyp
totdat:"", // 付款日期 .brdgrp.rec.totdat totdat:"", // 付款日期 .brdgrp.rec.totdat
...@@ -40,20 +34,16 @@ export default class Brtlat{ ...@@ -40,20 +34,16 @@ export default class Brtlat{
rtoaplflg:"", // Release Goods to Applicant ? .brdgrp.rec.rtoaplflg rtoaplflg:"", // Release Goods to Applicant ? .brdgrp.rec.rtoaplflg
ngrcod:"", // Goods code .brdgrp.rec.ngrcod ngrcod:"", // Goods code .brdgrp.rec.ngrcod
blnum:"", // B/L Number .brdgrp.rec.blnum blnum:"", // B/L Number .brdgrp.rec.blnum
totcur:"", // Amount to be Paid .brdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .brdgrp.rec.totamt
},
shp:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.shp.namelc
adrelc:"", // 地址 .brdgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.shp.dbfadrblkcn
}, },
cbs:{ cbs:{
max:{ max:{
cur:"", // 单据金额 .brdgrp.cbs.max.cur cur:"", // 单据金额 .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt amt:"", // Balance .brdgrp.cbs.max.amt
}, },
opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
opn2:{ opn2:{
cur:"", // 附加金额 .brdgrp.cbs.opn2.cur cur:"", // 附加金额 .brdgrp.cbs.opn2.cur
}, },
...@@ -61,14 +51,83 @@ export default class Brtlat{ ...@@ -61,14 +51,83 @@ export default class Brtlat{
amt:"", // 附加金额 .brdgrp.cbs.max2.amt amt:"", // 附加金额 .brdgrp.cbs.max2.amt
}, },
}, },
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
},
blk:{
prsdoc:"", // Documents Presented .brdgrp.blk.prsdoc
aplins:"", // Instructions Received from Applicant .brdgrp.blk.aplins
chaded:"", // Charges Deducted .brdgrp.blk.chaded
chaadd:"", // Charges Added .brdgrp.blk.chaadd
docdis:"", // Discrepancies .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
comcon:"", // Comments and Conclusions .brdgrp.blk.comcon
setinsbr:"", // Settlement Instructions BR .brdgrp.blk.setinsbr
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
},
acb:{ acb:{
pts:new Pts().data, pts:new Pts().data,
namelc:"", // 名称 .brdgrp.acb.namelc namelc:"", // 名称 .brdgrp.acb.namelc
adrelc:"", // 地址 .brdgrp.acb.adrelc adrelc:"", // 地址 .brdgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.acb.dbfadrblkcn dbfadrblkcn:"", // Chinese address .brdgrp.acb.dbfadrblkcn
}, },
shp:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.shp.namelc
adrelc:"", // 地址 .brdgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.shp.dbfadrblkcn
},
},
lidgrp:{
rec:{
ownref:"", // 信用证编号 .lidgrp.rec.ownref
expdat:"", // Date of Expiry .lidgrp.rec.expdat
},
cbs:{
opn1:{
cur:"", // Currency .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
}, },
brtp:{ brtp:{
lidget:{
sdamod:{
seainf:"", // .brtp.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.lidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .brtp.recget.sdamod.dadsnd
seainf:"", // .brtp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .brtp.matp.mattxtlab
},
acbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.acbp.ptsget.sdamod.dadsnd
},
},
},
docgrdm:{ docgrdm:{
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
}, },
...@@ -84,15 +143,12 @@ export default class Brtlat{ ...@@ -84,15 +143,12 @@ export default class Brtlat{
}, },
}, },
connum:"", // Contract Number .brtp.connum connum:"", // Contract Number .brtp.connum
acbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.acbp.ptsget.sdamod.dadsnd
},
},
}, },
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
}, },
gleflg:"", // 系统内付款且过�'� .gleflg
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -12,7 +12,8 @@ import Utils from "~/utils" ...@@ -12,7 +12,8 @@ import Utils from "~/utils"
"dat" :null, "dat" :null,
"content" :null, "content" :null,
"visunit" :null, "visunit" :null,
"edit.theme" :null,
"edit.unit" :null,
} }
......
...@@ -12,6 +12,8 @@ export default { ...@@ -12,6 +12,8 @@ export default {
"dat" :Utils.defaultFunction, "dat" :Utils.defaultFunction,
"content" :Utils.defaultFunction, "content" :Utils.defaultFunction,
"visunit": Utils.defaultFunction, "visunit": Utils.defaultFunction,
"edit.theme":Utils.defaultFunction,
"edit.unit":Utils.defaultFunction,
} }
\ No newline at end of file
...@@ -4,12 +4,12 @@ export default{ ...@@ -4,12 +4,12 @@ export default{
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"theme":[ "edit.theme":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项" ,trigger: 'change'},
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"unit":[ "edit.unit":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"pubname":[ "pubname":[
......
...@@ -12,6 +12,8 @@ export default class Notice{ ...@@ -12,6 +12,8 @@ export default class Notice{
dat:"", // 发布时间 dat:"", // 发布时间
content:"", // 公告内容 content:"", // 公告内容
visunit:"", //可见范围 visunit:"", //可见范围
opndatto:"",
opndatfrom:"",
edit:{ edit:{
tid:"", tid:"",
...@@ -20,7 +22,7 @@ export default class Notice{ ...@@ -20,7 +22,7 @@ export default class Notice{
pubname:"", // 发布人 pubname:"", // 发布人
dat:"", // 发布时间 dat:"", // 发布时间
content:"", // 公告内容 content:"", // 公告内容
visunit:"", //可见范围 visunit:["总行"], //可见范围
}, },
......
...@@ -3,3 +3,7 @@ import Api from "~/service/Api" ...@@ -3,3 +3,7 @@ import Api from "~/service/Api"
export function my(data) { export function my(data) {
return Api.post("/notice/task/my", data) return Api.post("/notice/task/my", data)
} }
export function noticeQuery(data) {
return Api.post("/notice/task/noticeQuery", data)
}
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg"> <c-col :span="24">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表"> <el-form-item label="是否报送跨境人民币2101表" label-width="30%" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表" :code="codes.cnyflg">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg"> <el-form-item label="是否报送跨境人民币2107表" label-width="30%" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表"> <c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表" :code="codes.traflg">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg"> <el-form-item label="是否报送跨境人民币2111表" label-width="30%" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表"> <c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表" :code="codes.outflg">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg"> <el-form-item label="是否报送跨境人民币2106表" label-width="30%" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表"> <c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表" :code="codes.libflg">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg"> <el-form-item label="是否报送跨境人民币2122表" label-width="30%" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表"> <c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表" :code="codes.vouflg">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</div> </div>
</template> </template>
<script> <script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="22">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv"> <el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input> <c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm"> <el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input> <c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="2">
<c-col :span="24">
<c-button size="small" type="primary" @click="onTrndocButshw"> <c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w Sho&w
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd"> <c-button size="small" type="primary" @click="onTrndocButadd">
D&etails D&etails
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew"> <c-button size="small" type="primary" @click="onTrndocButnew">
&Add New &Add New
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto"> <c-button size="small" type="primary" @click="onTrndocButattto">
Attach to Attach to
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel"> <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete Delete
</c-button> </c-button>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span> <span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col> </c-col>
......
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to"> <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" :code="codes.chato">
</c-select> </c-select>
</c-col> </c-col>
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions"> <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions" :code="codes.waicolcod">
</c-select> </c-select>
</c-col> </c-col>
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges"> <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges" :code="codes.wairmtcod">
</c-select> </c-select>
</c-col> </c-col>
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until"> <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until" :code="codes.othins">
</c-select> </c-select>
</c-col> </c-col>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount"> <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" :code="codes.cur">
</c-select> </c-select>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur"> <el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-select <c-select
disabled
v-model="model.bodgrp.cbs.max.cur" v-model="model.bodgrp.cbs.max.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择Currency" placeholder="请选择Currency"
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod"> <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"> <c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition" :code="codes.doctypcod">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -199,6 +199,13 @@ ...@@ -199,6 +199,13 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="发票类型" prop="bodgrp.rec.invtyp"> <el-form-item label="发票类型" prop="bodgrp.rec.invtyp">
<c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" > <c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" >
<el-option
v-for="item in codes.invtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -211,7 +218,7 @@ ...@@ -211,7 +218,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Starting from" prop="bodgrp.rec.matperbeg"> <el-form-item label="Starting from" prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from"> <c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from" :code="codes.matperbeg">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -239,6 +246,7 @@ ...@@ -239,6 +246,7 @@
grp: 'bodgrp', grp: 'bodgrp',
rol: 'drr', rol: 'drr',
}" }"
:isAdrblk="true"
:disabled="true" :disabled="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
...@@ -270,18 +278,16 @@ ...@@ -270,18 +278,16 @@
</c-ptap> </c-ptap>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty"> <el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty">
<c-select v-model="model.bodgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country!"> <c-select v-model="model.bodgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country!" :code="codes.stacty">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Goods Code" prop="bodgrp.rec.stagod" > <el-form-item label="Goods Code" prop="bodgrp.rec.stagod" >
<c-select v-model="model.bodgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code"> <c-select v-model="model.bodgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code" :code="codes.stagod">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
</template> </template>
...@@ -303,8 +309,18 @@ ...@@ -303,8 +309,18 @@
}; };
}, },
methods: { methods: {
...Event ...Event,
onSeainf(){},
onBenpDet(){},
onDitpButgetref(){},
onExtkey(){},
},
computed: {
flag() {
return this.model.bodgrp.drr.pts.adrelc== "";
},
}, },
created: function () { created: function () {
console.log(this.root); console.log(this.root);
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据类型" prop="bodgrp.srm.djutyp"> <el-form-item label="单据类型" prop="bodgrp.srm.djutyp">
<c-select v-model="model.bodgrp.srm.djutyp" style="width:100%" placeholder="请选择单据类型"> <c-select v-model="model.bodgrp.srm.djutyp" style="width:100%" placeholder="请选择单据类型" :code="codes.djutyp">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -44,12 +44,22 @@ ...@@ -44,12 +44,22 @@
<m-instrecp :model="model" :codes="codes"/> <m-instrecp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--Settlement --> <!--Settlement -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--Bookings -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--Completion --> <!--Completion -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
...@@ -76,6 +86,8 @@ ...@@ -76,6 +86,8 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div> </div>
</c-page> </c-page>
</template> </template>
...@@ -94,9 +106,12 @@ import Instrecp from "./Instrecp" ...@@ -94,9 +106,12 @@ import Instrecp from "./Instrecp"
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre" //import Doctre from "./Doctre"
import Cnyp from "./Cnyp" import Cnyp from "./Cnyp"
import Srmp from "./Srmp" import Srmp from "./Srmp"
import Engp from "~/views/Public/Engp"
import Glepan from "~/views/Public/Glepan"
import Doctre from "~/views/Public/Doctre"
export default { export default {
...@@ -111,6 +126,9 @@ export default { ...@@ -111,6 +126,9 @@ export default {
"m-doctre" : Doctre, "m-doctre" : Doctre,
"m-cnyp" : Cnyp, "m-cnyp" : Cnyp,
"m-srmp" : Srmp, "m-srmp" : Srmp,
"m-engp":Engp,
"m-glepan":Glepan,
}, },
provide() { provide() {
return { return {
...@@ -128,12 +146,18 @@ export default { ...@@ -128,12 +146,18 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable
}, },
} }
}, },
methods:{ methods:{
tabClick(){ tabClick(){
} },
handleSubmit(){},
handleCheck(){},
handleStash(){},
}, },
created:async function(){ created:async function(){
console.log("进入botdav交易"); console.log("进入botdav交易");
......
<template>
<div class="eibs-tab">
<c-row>
<!-- 左边 -->
<c-col :span="11">
<!-- S0000198 : 信用证编号 -->
<c-col :span="16">
<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>
<!-- S0000195 : 到期日 -->
<c-col :span="8">
<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>
<!-- S0000196 : 单据参考号 -->
<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>
<!-- S0000197 : 单据金额 -->
<c-col :span="12">
<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">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder=""></c-input>
</c-form-item>
</c-col>
<!-- <c-col :span="12">
<c-form-item label="" prop="oldbrdgrp.cbs.max.amt">
<c-input v-model="model.oldbrdgrp.cbs.max.amt" placeholder=""></c-input>
</c-form-item>
</c-col> -->
<!-- S0000199 : 单据余额 -->
<c-col :span="12">
<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="12">
<c-form-item label="" prop="brdgrp.cbs.opn1.amt">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder=""></c-input>
</c-form-item>
</c-col>
<!-- S0000200 : 到单日期 -->
<c-col :span="12">
<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>
<!-- S0000202 : 通知到单日期 -->
<c-col :span="12">
<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="请输入Advised on"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000080 : Maturity Date -->
<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>
<!-- SG000232 : Start Date -->
<c-col :span="12">
<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="请输入 Start Date"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000206 : 单据类型 -->
<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="请输入Document Type">
</c-select>
</el-form-item>
</c-col>
<!-- SG000233 : Tenor -->
<c-col :span="8">
<c-form-item label="Tenor" prop="brdgrp.rec.tenmaxday">
<c-input v-model="model.brdgrp.rec.tenmaxday" placeholder="请输入Tenor"></c-input>
</c-form-item>
</c-col>
<!-- S0000207 : 单据状态 -->
<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="$t('other.please_enter')+$t('brtp.S0000207')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000084 : Document Type -->
<c-col :span="24">
<el-form-item label="Document Type" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请输入Document Type">
</c-select>
</el-form-item>
</c-col>
<!-- S0000086 : Document Amount -->
<c-col :span="12">
<el-form-item label="Document Amount" 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 :span="12">
<c-form-item label="" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder=""></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : 附加金额 -->
<c-col :span="12">
<el-form-item label="Drawn Add Amount" prop="brdgrp.cbs.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请输入Drawn Add Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder=""></c-input>
</c-form-item>
</c-col>
<!-- S0000081 : Presentation Date -->
<c-col :span="12">
<el-form-item label="Presentation Date" prop="brdgrp.rec.predat">
<c-date-picker type="date" v-model="model.brdgrp.rec.predat" style="width:100%" placeholder="请输入Presentation Date"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000082 : Received on -->
<c-col :span="12">
<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="请输入Received on"></c-date-picker>
</el-form-item>
</c-col>
<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>
<!-- S0000083 : Shipped on -->
<c-col :span="12">
<el-form-item label="Shipped on" prop="brdgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.shpdat" style="width:100%" placeholder="请输入Shipped on"></c-date-picker>
</el-form-item>
</c-col>
<!-- SG000365 : Transaction Type -->
<c-col :span="12">
<el-form-item label="Transaction Type" prop="mhtyp">
<c-select v-model="model.mhtyp" style="width:100%" placeholder="请输入Transaction Type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Letter day" prop="days">
<c-input v-model="model.days" placeholder="请输入Letter day"></c-input>
</c-form-item>
</c-col>
<!-- S0000079 : Maturity Period -->
<c-col :span="24">
<c-form-item label="Maturity Period" prop="brdgrp.blk.matper">
<c-input type="textarea" v-model="model.brdgrp.blk.matper" maxlength="65" show-word-limit placeholder="请输入Maturity Period" ></c-input>
</c-form-item>
</c-col>
<!-- SF000369 : Applicant Reference -->
<c-col :span="12">
<c-form-item label="Applicant Reference" prop="lidgrp.rec.aplref">
<c-input v-model="model.lidgrp.rec.aplref" maxlength="16" :placeholder="$t('other.please_enter')+'Applicant Reference'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.dscinsflg">Enter Docs,Discrep,Instr and Shipping Detials</c-checkbox>
</c-col>
<c-col :span="24">
<c-form-item label="Previous Drawings under this L/C" prop="lidgrp.rec.utlnbr">
<c-input v-model="model.lidgrp.rec.utlnbr" :placeholder="$t('other.please_enter')+'Count of Received Document Sets'"></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- 右边 -->
<c-col :span="11" :offset="1">
<!-- S0000192 : 信用证余额 -->
<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="" 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">
<c-form-item label="" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入"></c-input>
</c-form-item>
</c-col>
<!-- S0000194 : 申请人 -->
<!-- S0000203 : 编号 -->
<c-col :span="24">
<c-form-item label="Applicant Ref" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</c-form-item>
</c-col>
<!-- S0000193 : 受益人 -->
<!-- S0000205 : 编号 -->
<c-col :span="24">
<c-form-item label="Beneficiary Ref" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder=""></c-input>
</c-form-item>
</c-col>
<!-- S0000204 : 交单行 -->
<!-- S0000208 : 编号 -->
<c-col :span="24">
<c-form-item label="Presenting Bank Ref" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Presenting Bank Ref"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder=""></c-input>
</c-form-item>
</c-col>
<!-- S0000078 : Presented by -->
<c-col :span="24">
<el-form-item label="Presented by" prop="brdgrp.rec.docprbrol">
<c-select v-model="model.brdgrp.rec.docprbrol" style="width:100%" placeholder="请输入 Presented by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'brdgrp',
rol: 'prb',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<!-- SF000087 : Payer -->
<c-col :span="24">
<el-form-item label="Payer" prop="brdgrp.rec.payrol">
<c-select v-model="model.brdgrp.rec.payrol" style="width:100%" placeholder="请输入Payer">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'brdgrp',
rol: 'prb',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<!-- <c-col :span="12">
<c-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
<c-input v-model="model.brdgrp.prb.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col> -->
</c-col>
<!-- <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>
<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>
<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>
<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> -->
<!-- S0000201 : 远期单据到期日 -->
<!-- <c-col :span="12">
<span v-text="model.brtp.matp.mattxtlab" data-path=".brtp.matp.mattxtlab" > </span>
</c-col>
-->
<!--
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="brtp.prbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.prbp.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="" prop="brtp.prbp.ptsget.sdamod.seainf">
<c-input v-model="model.brtp.prbp.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="onPrbpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="brdgrp.prb.namelc">
<c-input type="textarea" v-model="model.brdgrp.prb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.oridoclab" data-path=".oridoclab" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.prb.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.prb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.prb.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.prb.adrelc">
<c-input type="textarea" v-model="model.brdgrp.prb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.oriaddlab" data-path=".oriaddlab" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="oldbrdgrp.cbs.max2.amt">
<c-input v-model="model.oldbrdgrp.cbs.max2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="brtp.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.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="brtp.oth.pts.extkey">
<c-input v-model="model.brtp.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="brtp.othp.ptsget.sdamod.seainf">
<c-input v-model="model.brtp.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.CF000081')}}
</c-button>
</c-col>-->
<!-- SF000381 : Letter day -->
<!-- SG000380 : days -->
<!-- <c-col :span="12">
<c-form-item label="名称" prop="brtp.oth.namelc">
<c-input type="textarea" v-model="model.brtp.oth.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="brtp.oth.pts.adrblk">
<c-input type="textarea" v-model="model.brtp.oth.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="brtp.oth.dbfadrblkcn">
<c-input type="textarea" v-model="model.brtp.oth.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="brtp.oth.adrelc">
<c-input type="textarea" v-model="model.brtp.oth.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col> -->
<!-- S0000076 : Previous Drawings under this L/C -->
<!-- <c-col :span="12">
<c-checkbox v-model="model.brtp.setnowflg">{{$t('brtdck.CF000094')}}</c-checkbox>
</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/Brtdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event,
onSeainf(){},
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<!-- 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/Brtdck/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/Brtdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000065 : 不符点 -->
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">{{$t('brtp.CF000074')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
{{$t('brtp.CF000077')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'Discrepancies'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">{{$t('brtp.CF000219')}}</c-checkbox>
</c-col>
<!-- SF000222 : 收到的通知类型 -->
<c-col :span="12">
<el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" :placeholder="$t('other.please_enter')+'Type of Advice Received'">
</c-select>
</el-form-item>
</c-col>
<!-- S0000067 : 付款日期 -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000067')" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000067')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000064 : 注释和结论 -->
<!-- SF000163 : Discrepancy Advice Dated -->
<c-col :span="12">
<el-form-item :label="$t('brtp.SF000163')" prop="brdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.SF000163')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Comments and Conclusions'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.approvcod">{{$t('brtp.CF000073')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brtp.cre752flg">{{$t('brtp.CF000159')}}</c-checkbox>
</c-col>
<!-- SF000164 : Further Identification -->
<c-col :span="12">
<el-form-item :label="$t('brtp.SF000164')" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.SF000164')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000063 : 结算指示 -->
<c-col :span="12">
<c-checkbox v-model="model.brtp.cre732flg">{{$t('brtp.CF000166')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Settlement Instructions BR" prop="brdgrp.blk.setinsbr">
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Settlement Instructions BR'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
{{$t('brtp.CF000211')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab" > </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/Brtdck/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/Brtdck/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/Brtdck/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="onOthp1Det">
{{$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/Brtdck/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/Brtdck/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/Brtdck/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="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--brtdck PD000046 Documents Received -->
<el-tab-pane label="Documents received" name="brtdckp">
<c-content>
<m-brtdckp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--brtp PD000062 Discr./Instr. -->
<el-tab-pane :label="$t('brtp.PD000062')" name="docpre">
<m-docpre :model="model" :codes="codes"/>
</el-tab-pane>
<!--brtp PD000079 Shipping Details -->
<el-tab-pane :label="$t('brtp.PD000079')" name="shpdet">
<m-shpdet :model="model" :codes="codes"/>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane :label="$t('liaall.PD000027')" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane :label="$t('setmod.PD000000')" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane :label="$t('coninf.PD000000')" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane :label="$t('trndoc.PD000529')" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane :label="$t('trndoc.PD000546')" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane :label="$t('limmod.PD000001')" 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 Brtdck from "~/model/Brtdck"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Brtdck/Check"
import Default from "~/model/Brtdck/Default"
import Pattern from "~/model/Brtdck/Pattern"
import Brtdckp from "./Brtdckp"
import Docpre from "./Docpre"
import Shpdet from "./Shpdet"
import Engp from "./Engp"
import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Limitbody from "./Limitbody"
export default {
name: "Brtdck",
components:{
"m-brtdckp" : Brtdckp,
"m-docpre" : Docpre,
"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
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "brtdck",
trnType: "",
model: new Brtdck().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入brtdck交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- 左边 -->
<c-col :span="12">
<!-- S0000198 : 信用证编号 -->
<c-col :span="16">
<c-form-item label="import L/C Ref" prop="lidgrp.rec.ownref">
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入import L/C Ref"></c-input>
</c-form-item>
</c-col>
<!-- S0000195 : 到期日 -->
<c-col :span="8">
<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>
<!-- S0000196 : 单据参考号 -->
<c-col :span="24">
<c-form-item label="Bill Set reference" prop="brdgrp.rec.ownref">
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入Bill Set reference"></c-input>
</c-form-item>
</c-col>
<!-- S0000197 : 单据金额 -->
<c-col :span="12">
<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">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入"></c-input>
</c-form-item>
</c-col>
<!-- S0000199 : 单据余额 -->
<c-col :span="12">
<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="12">
<c-form-item label="" prop="brdgrp.cbs.opn1.amt">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入"></c-input>
</c-form-item>
</c-col>
<!-- S0000200 : 到单日期 -->
<c-col :span="12">
<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="$t('other.please_enter')+$t('brtp.S0000200')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000202 : 通知到单日期 -->
<c-col :span="12">
<el-form-item label="Adviced on" prop="brdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%" placeholder="请输入Adviced on"></c-date-picker>
</el-form-item>
</c-col>
<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>
<!-- SG000232 : Start Date -->
<c-col :span="12">
<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="请输入Start Date "></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000206 : 单据类型 -->
<c-col :span="24">
<el-form-item label="Document Type" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请输入Document Type">
</c-select>
</el-form-item>
</c-col>
<!-- S0000207 : 单据状态 -->
<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="请输入Document Set Status">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : Documents presented -->
<c-col :span="24">
<c-form-item label="Documents Presented" prop="brdgrp.blk.prsdoc">
<c-input type="textarea" v-model="model.brdgrp.blk.prsdoc" maxlength="65" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
<!-- SF000020 : Instructions Received -->
<c-col :span="24">
<c-form-item label="Instructions Received from Applicant" prop="brdgrp.blk.aplins">
<c-input type="textarea" v-model="model.brdgrp.blk.aplins" maxlength="40" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- 右边 -->
<c-col :span="12">
<!-- S0000192 : 信用证余额 -->
<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="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="24">
<c-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入"></c-input>
</c-form-item>
</c-col>
<!-- S0000194 : 申请人 -->
<!-- S0000203 : 编号 -->
<c-col :span="24">
<c-form-item label="Applicant Ref" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</c-form-item>
</c-col>
<!-- S0000193 : 受益人 -->
<!-- S0000205 : 编号 -->
<c-col :span="24">
<c-form-item label="Beneficiary Ref" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</c-form-item>
</c-col>
<!-- S0000204 : 交单行 -->
<!-- S0000208 : 编号 -->
<c-col :span="24">
<c-form-item label="Present Bank Ref" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Present Bank Ref"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</c-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>
</c-col>
<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>
<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>
<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>
<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>
<!-- S0000201 : 远期单据到期日 -->
<c-col :span="12">
<span v-text="model.brtp.matp.mattxtlab" data-path=".brtp.matp.mattxtlab" > </span>
</c-col>
<!-- SG000233 : Tenor -->
<c-col :span="12">
<c-form-item label="Tenor day" prop="brdgrp.rec.tenmaxday">
<c-input v-model="model.brdgrp.rec.tenmaxday" :placeholder="$t('other.please_enter')+'Tenor day'"></c-input>
</c-form-item>
</c-col>
<!-- SF000019 : Documents presented -->
<c-col :span="12">
<c-form-item label="Documents Presented" prop="brdgrp.blk.prsdoc">
<c-input type="textarea" v-model="model.brdgrp.blk.prsdoc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Documents Presented'" ></c-input>
</c-form-item>
</c-col>
<!-- SF000026 : External Id -->
<!-- SF000024 : currency -->
<!-- SF000027 : currency -->
<c-col :span="12">
<c-checkbox v-model="model.gleflg">{{$t('brtlat.CG000032')}}</c-checkbox>
</c-col>
<!-- SF000022 : Amount to Settle -->
<c-col :span="12">
<c-form-item label="document currency" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" maxlength="3" :placeholder="$t('other.please_enter')+'document currency'"></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/Brtlat/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
...@@ -22,6 +22,11 @@ ...@@ -22,6 +22,11 @@
<el-tab-pane label="查询" name="mt750p"> <el-tab-pane label="查询" name="mt750p">
<m-mt750p :model="model" :codes="codes"/> <m-mt750p :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="utlp" name="utlp">
<c-content :height="300">
<m-utlp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -38,6 +43,7 @@ import Brtapll1 from "./Brtapll1" ...@@ -38,6 +43,7 @@ import Brtapll1 from "./Brtapll1"
import Docpre from "./Docpre" import Docpre from "./Docpre"
import Shpdet from "./Shpdet" import Shpdet from "./Shpdet"
import Mt750p from "./Mt750p" import Mt750p from "./Mt750p"
import Utlp from "./Utlp"
export default { export default {
...@@ -46,6 +52,7 @@ export default { ...@@ -46,6 +52,7 @@ export default {
"m-docpre" : Docpre, "m-docpre" : Docpre,
"m-shpdet" : Shpdet, "m-shpdet" : Shpdet,
"m-mt750p" : Mt750p, "m-mt750p" : Mt750p,
"m-utlp" :Utlp,
}, },
provide() { provide() {
return { return {
......
...@@ -11,19 +11,24 @@ ...@@ -11,19 +11,24 @@
size="small" size="small"
> >
<el-row> <el-row>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="业务编号" prop="infcon.seaownref" > <el-form-item label="业务编号" prop="infcon.seaownref" >
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference" ></c-input> <c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" > <c-col :span="8" >
<el-form-item label="开立日期" > <el-form-item label="开立日期" >
<c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择Opening between" style="width:43%"></c-date-picker> <c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择Opening between" style="width:43%"></c-date-picker>
- -
<c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择Open Date to" style="width:43%"></c-date-picker> <c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择Open Date to" style="width:43%"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8">
<el-form-item label="业务主题" prop="infcon.nam" style="">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name" ></c-input>
</el-form-item>
</c-col>
</el-row> </el-row>
<!--<c-col :span="12"> <!--<c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom"> <el-form-item label="Opening between" prop="infcon.opndatfrom">
...@@ -38,11 +43,7 @@ ...@@ -38,11 +43,7 @@
</c-col>--> </c-col>-->
<el-row v-show="searchSlot.searchToggle"> <el-row v-show="searchSlot.searchToggle">
<c-col :span="12">
<el-form-item label="业务主题" prop="infcon.nam" style="">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name" ></c-input>
</el-form-item>
</c-col>
<!--<c-col :span="12"> <!--<c-col :span="12">
<el-form-item label="Party Reference" prop="infcon.searef" > <el-form-item label="Party Reference" prop="infcon.searef" >
...@@ -50,7 +51,7 @@ ...@@ -50,7 +51,7 @@
</el-form-item> </el-form-item>
</c-col>--> </c-col>-->
<c-col :span="12"> <c-col :span="8">
<el-form-item label="复核状态" prop="infcon.relflg" style=""> <el-form-item label="复核状态" prop="infcon.relflg" style="">
<c-select v-model="model.infcon.relflg" style="width:100%" placeholder="请选择Release Status"> <c-select v-model="model.infcon.relflg" style="width:100%" placeholder="请选择Release Status">
<el-option <el-option
...@@ -128,7 +129,7 @@ ...@@ -128,7 +129,7 @@
</el-form-item> </el-form-item>
</c-col>--> </c-col>-->
<c-col :span="12"> <c-col :span="8">
<el-form-item label="业务状态" prop="infcon.seasta" > <el-form-item label="业务状态" prop="infcon.seasta" >
<c-select v-model="model.infcon.seasta" style="width:100%" placeholder="请选择Status"> <c-select v-model="model.infcon.seasta" style="width:100%" placeholder="请选择Status">
<el-option <el-option
...@@ -142,7 +143,7 @@ ...@@ -142,7 +143,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="币种" prop="infcon.seacur" > <el-form-item label="币种" prop="infcon.seacur" >
<c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency"> <c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency">
<el-option <el-option
...@@ -156,7 +157,7 @@ ...@@ -156,7 +157,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="金额" > <el-form-item label="金额" >
<c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between" style="width:45%"></c-input> <c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between" style="width:45%"></c-input>
- -
...@@ -164,7 +165,7 @@ ...@@ -164,7 +165,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg" > <el-form-item label="是否显示查询码" prop="infcon.cxmflg" >
<c-select v-model="model.infcon.cxmflg" style="width:100%" placeholder="请选择是否显示查询码"> <c-select v-model="model.infcon.cxmflg" style="width:100%" placeholder="请选择是否显示查询码">
<el-option <el-option
...@@ -178,7 +179,7 @@ ...@@ -178,7 +179,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="确认状态" prop="seacnfdet" > <el-form-item label="确认状态" prop="seacnfdet" >
<c-select v-model="model.seacnfdet" style="width:100%" placeholder="请选择Confirmation Status"> <c-select v-model="model.seacnfdet" style="width:100%" placeholder="请选择Confirmation Status">
<el-option <el-option
...@@ -192,14 +193,14 @@ ...@@ -192,14 +193,14 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="信用证类型" prop="sealcrtyp" > <el-form-item label="信用证类型" prop="sealcrtyp" >
<c-select v-model="model.sealcrtyp" :code="codes.lcrtyp" style="width:100%" placeholder="请选择form of L/C"> <c-select v-model="model.sealcrtyp" :code="codes.lcrtyp" style="width:100%" placeholder="请选择form of L/C">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="货物种类" prop="seagodcod"> <el-form-item label="货物种类" prop="seagodcod">
<c-select v-model="model.seagodcod" style="width:100%" placeholder="请选择Goods Code"> <c-select v-model="model.seagodcod" style="width:100%" placeholder="请选择Goods Code">
<el-option <el-option
......
...@@ -21,9 +21,11 @@ import Default from "~/model/Inflid/Default" ...@@ -21,9 +21,11 @@ import Default from "~/model/Inflid/Default"
import Pattern from "~/model/Inflid/Pattern" import Pattern from "~/model/Inflid/Pattern"
import Infsea from "./Infsea" import Infsea from "./Infsea"
export default { export default {
components:{ components:{
"m-infsea" : Infsea, "m-infsea" : Infsea,
}, },
provide() { provide() {
return { return {
......
...@@ -100,9 +100,9 @@ ...@@ -100,9 +100,9 @@
style="width:80%,text-align:center" :header-cell-style="{background:'rgb(235, 235, 235)',color:'#000'}" > style="width:80%,text-align:center" :header-cell-style="{background:'rgb(235, 235, 235)',color:'#000'}" >
<el-table-column label="编号" prop="tid" width="200px" > <!-- <el-table-column label="编号" prop="tid" width="200px" >
</el-table-column> </el-table-column> -->
<el-table-column label="标题" prop="theme" width="400px" > <el-table-column label="标题" prop="theme" width="400px" >
</el-table-column> </el-table-column>
...@@ -110,6 +110,9 @@ ...@@ -110,6 +110,9 @@
<el-table-column label="发布机构" prop="unit" width="200px" > <el-table-column label="发布机构" prop="unit" width="200px" >
</el-table-column> </el-table-column>
<el-table-column label="发布人" prop="pubname" width="200px" >
</el-table-column>
<el-table-column label="时间" prop="dat" width="200px " > <el-table-column label="时间" prop="dat" width="200px " >
...@@ -120,7 +123,6 @@ ...@@ -120,7 +123,6 @@
<c-button <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
type="primary"
@click="ruleDetail(scope)" @click="ruleDetail(scope)"
> >
详情 详情
...@@ -169,8 +171,8 @@ ...@@ -169,8 +171,8 @@
label-position="right" label-position="right"
label-width="110px" label-width="110px"
size="small" size="small"
:rules="rules"
> >
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="24"> <c-col :span="24">
...@@ -183,6 +185,7 @@ ...@@ -183,6 +185,7 @@
maxlength="200" maxlength="200"
placeholder="请输入标题内容" placeholder="请输入标题内容"
:disabled="isDetail" :disabled="isDetail"
@keyup.enter.native="defaultFunction('edit.theme',model.edit.theme)"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -195,6 +198,7 @@ ...@@ -195,6 +198,7 @@
maxlength="20" maxlength="20"
placeholder="请输入机构名称" placeholder="请输入机构名称"
:disabled="isDetail" :disabled="isDetail"
@keyup.enter.native="defaultFunction('edit.unit',model.edit.unit)"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -226,7 +230,7 @@ ...@@ -226,7 +230,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="可见范围:" prop="edit.visunit" style="width: 100%" > <el-form-item label="可见范围:" prop="edit.visunit" style="width: 100%" >
<c-select <!-- <c-select
v-model="model.edit.visunit" v-model="model.edit.visunit"
style="width: 100%" style="width: 100%"
placeholder="请选择可见范围" placeholder="请选择可见范围"
...@@ -240,7 +244,23 @@ ...@@ -240,7 +244,23 @@
> >
</el-option> </el-option>
</c-select> </c-select> -->
<c-checkbox-group v-model="model.edit.visunit"
style="width: 100%"
placeholder="请选择可见范围"
:disabled="isDetail">
<el-checkbox label="总行"></el-checkbox>
<el-checkbox label="分行"></el-checkbox>
<br/>
<el-checkbox label="上海总行"></el-checkbox>
<el-checkbox label="北京总行"></el-checkbox>
<el-checkbox label="广州总行"></el-checkbox>
<el-checkbox label="深圳总行"></el-checkbox>
<el-checkbox label="上海分行"></el-checkbox>
<el-checkbox label="北京分行"></el-checkbox>
<el-checkbox label="广州分行"></el-checkbox>
<el-checkbox label="深圳分行"></el-checkbox>
</c-checkbox-group>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -261,16 +281,8 @@ ...@@ -261,16 +281,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-row>
<c-col <c-col
:span="24" :span="24"
style="text-align: center; height: 36.8px" style="text-align: center; height: 36.8px"
...@@ -286,6 +298,7 @@ ...@@ -286,6 +298,7 @@
返回 返回
</el-button> </el-button>
</c-col> </c-col>
</c-row>
</el-form> </el-form>
</el-dialog> </el-dialog>
</div> </div>
...@@ -295,10 +308,11 @@ import Api from "~/service/Api"; ...@@ -295,10 +308,11 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Notice/Event"; import Event from "~/model/Notice/Event";
import { my } from "~/service/notice"; import { my,noticeQuery} from "~/service/notice";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model"], props: ["model","rules"],
mixins: [commonProcess], mixins: [commonProcess],
components: {}, components: {},
data() { data() {
...@@ -348,6 +362,7 @@ export default { ...@@ -348,6 +362,7 @@ export default {
} }
], ],
}; };
}, },
methods: { methods: {
...@@ -420,12 +435,13 @@ export default { ...@@ -420,12 +435,13 @@ export default {
} }
} }
max++; max++;
newObj={"edit.theme":this.model.edit.theme,"edit.unit":this.model.edit.unit, var newObj={"edit.theme":this.model.edit.theme,"edit.unit":this.model.edit.unit,
"edit.theme":this.model.edit.theme,"edit.theme":this.model.edit.theme,"edit.":this.model.edit.theme,} "edit.pubname":this.model.edit.pubname,"edit. dat":this.model.edit. dat,"edit. content":this.model.edit. content,}
// str = max +'\t' + this.model.edit.theme + '\t' + this.model.edit.unit + '\t' + this.model.edit.dat + '\t'+ + 'mbf'; // str = max +'\t' + this.model.edit.theme + '\t' + this.model.edit.unit + '\t' + this.model.edit.dat + '\t'+ + 'mbf';
this.stmData.data.splice(length,0,newObj); //this.stmData.data.splice(length,0,newObj);
this.stmData.data.push(newObj);
console.log(this.stmData.data); console.log(this.stmData.data);
} }
// else{ //修改 // else{ //修改
...@@ -463,7 +479,22 @@ export default { ...@@ -463,7 +479,22 @@ export default {
this.model.edit.index=''; this.model.edit.index='';
this.showPanel = false; this.showPanel = false;
}, },
handleReset() {}, handleReset() {
this.model.theme='';
this.model.opndatto = '';
this.model.opndatfrom='';
this.model.unit='';
},
handleSearch(){
noticeQuery({
"theme":this.model.theme,
"opndatfrom":this.model.opndatfrom,
"opndatto":this.model.opndatto,
"unit":this.model.unit
}).then(res=>{
this.stmData.data=res
})
},
handleSizeChange: function (size) { handleSizeChange: function (size) {
this.pagesize = size; this.pagesize = size;
console.log(this.pagesize); //每页下拉显示数据 console.log(this.pagesize); //每页下拉显示数据
...@@ -482,8 +513,8 @@ export default { ...@@ -482,8 +513,8 @@ export default {
let month = date.getMonth() + 1; let month = date.getMonth() + 1;
let day = date.getDate(); let day = date.getDate();
this.nowDate = year + '-' + month + '-' + day; this.nowDate = year + '-' + month + '-' + day;
this.model.opndatfrom = this.nowDate; // this.model.opndatfrom = this.nowDate;
this.model.opndatto = this.nowDate; // this.model.opndatto = this.nowDate;
my().then(res => { my().then(res => {
this.stmData.data=res this.stmData.data=res
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-content> <c-content>
<m-infsea :model="model" :codes="codes" ref="infsea"/> <m-infsea :model="model" :rules="rules" :codes="codes" ref="infsea"/>
</c-content> </c-content>
<!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> --> <!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> -->
......
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