Commit 1bd3c8a9 by wangren
parents 067af69b c3484cb4
......@@ -4909,6 +4909,14 @@ const CodeTable = {
{ label: "Released", value: "R" },
{ label: "Waiting", value: "W" },
],
relgod: [
{ label: "Release on Request of Customer", value: "A" },
{ label: "Release on Request of Carrier", value: "C" },
{ label: "Goods not released", value: "" },
],
relgrp: [
{ label: "Authorized", value: "A" },
{ label: "Not Authorized", value: "N" },
......@@ -4973,6 +4981,11 @@ const CodeTable = {
{ label: "Signature required", value: "2" },
{ label: "Source in Transaction", value: "1" },
],
reltyp1: [
{ label: "Release under Shipping Guarantee", value: "SG" },
{ label: "Release under AWB/ FCR/ CMR", value: "AW" },
],
rensta: [
{ label: "支行认定中", value: "3" },
{ label: "审核通过", value: "0" },
......@@ -6537,5 +6550,9 @@ const CodeTable = {
{label:"远期议付", value:"2"},
{label:"批文后补", value:"3"},
],
rejame:[
{label:"已同意", value:"ACPT"},
{label:"已拒绝", value:"RJCT"},
]
}
export default CodeTable;
\ No newline at end of file
......@@ -7,7 +7,7 @@ export default class Brtdck {
this.data = {
setmod: new Pub().data.Setmod, //加入公共面板账务字段
// mtabut: new Pub().data.Mtabut,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, //加入公共面板面函的字段
brtapll2blk: "", //加入公共面板面函的字段
brtapll1blk: "",
......@@ -243,28 +243,28 @@ export default class Brtdck {
// 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
},
},
},
// 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
......
import Utils from "~/utils"
/**
* Brteus Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Brteus Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"strinf" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"brtp.lidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.lidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.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"}
],
"strinf":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Brteus{
constructor () {
this.data = {
setmod: new Pub().data.Setmod, //加入公共面板账务字段
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, //加入公共面板面函的字段
brtapll1blk: "", //加入公共面板面函的字段
brtprbl1blk: "",
liaall: new Pub().data.Liaall, //加入公共面板表外字段
brdgrp:{
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
},
cbs:{
max:{
cur:"", // 单据金额 .brdgrp.cbs.max.cur
amt:"", // 单据金额 .brdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
},
},
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:{
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
},
},
strinf:"", // Narrative .strinf
// 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
......@@ -48,7 +48,7 @@ export default {
],
"dedgrp.cbs.nom1.amt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -91,7 +91,7 @@ export default {
{max: 34,message:"长度不能超过34"}
],
"dedgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "date", required: true, message: "输入正确的日期"}
],
"dedgrp.beb.pts.bankno":[
......@@ -99,14 +99,14 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"dedgrp.rec.expdat":[
{type: "date", required: true, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"dedgrp.beb.pts.jigomc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.expplc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
......@@ -386,7 +386,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.lcrtyp":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.cbs.nom1.cur":[
......
......@@ -157,6 +157,43 @@ export default class Detopn{
letbenl2blk: "",
letbenl1blk: "",
letissl1blk: "",
detamep:{
ramrollab:"", // Label for RAMROL .detamep.ramrollab
zchday:"", // 最迟装运/服务提供日 .detamep.zchday
newday:"", // 新最迟日期 .detamep.newday
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .detamep.recget.sdamod.dadsnd
seainf:"", // .detamep.recget.sdamod.seainf
},
},
amenbr:"", // 实际修改次数 .detamep.amenbr
engcur:"", // 修改总金额 .detamep.engcur
engamt:"", // 修改总金额 .detamep.engamt
maxcur:"", // Currency of Maximum Amount .detamep.maxcur
maxamt:"", // New Maximum Amount .detamep.maxamt
ramrol:"", // Request of Amendment send to .detamep.ramrol
benconflg:"", // Beneficiary's Confirmation Required .detamep.benconflg
benaccflg:"", // Amendment Accepted by Beneficiary .detamep.benaccflg
hwzydi:"", // 槧物运装运地/服务提供低 .detamep.hwzydi
},
olddedgrp:{
cbs:{
nom1:{
amt:"", // Balance .olddedgrp.cbs.nom1.amt
},
max:{
cur:"", // Currency .olddedgrp.cbs.max.cur
amt:"", // Balance .olddedgrp.cbs.max.amt
},
},
rec:{
nomtop:"", // Amount Tolerance - Positive .olddedgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .olddedgrp.rec.nomton
expdat:"", // 到期日 .olddedgrp.rec.expdat
shpdat:"", // Shipment Date .olddedgrp.rec.shpdat
},
},
pageId: "" // ctx的key
}
}
......
......@@ -2,6 +2,21 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async handleSearch() {
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
},
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -44,12 +44,12 @@ export default {
"infcon.seaamtfr":[
{type: "number", required: false, message: "必输项"},
{required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infcon.seaamtto":[
{type: "number", required: false, message: "必输项"},
{required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -87,7 +87,7 @@
v-model="model.brdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请输入Document Amount"
:code="codes.cur"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
......@@ -227,12 +227,13 @@
<c-col :span="24">
<c-col :span="13">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-input
<c-select
v-model="model.brdgrp.cbs.max.cur"
style="width: 100%"
placeholder=""
:code="codes.curtxt1"
>
</c-input>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
......@@ -253,7 +254,7 @@
v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请输入Drawn Add Amount"
:code="codes.cur"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
......
......@@ -44,7 +44,8 @@
</c-col>
<c-col :span="24">
<el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp" >
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received">
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received"
:code="codes.advtyp">
</c-select>
</el-form-item>
</c-col>
......
......@@ -5,14 +5,15 @@
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Release of Goods" prop="brdgrp.rec.relgodflg">
<c-select v-model="model.brdgrp.rec.relgodflg" style="width:100%" placeholder="请选择Release of Goods">
<c-select v-model="model.brdgrp.rec.relgodflg" style="width:100%" placeholder="请选择Release of Goods" :code="codes.relgod">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Release Type" prop="brdgrp.rec.reltyp">
<c-select v-model="model.brdgrp.rec.reltyp" style="width:100%" placeholder="请选择Release Type">
<c-select v-model="model.brdgrp.rec.reltyp" style="width:100%" placeholder="请选择Release Type"
:code="codes.reltyp1">
</c-select>
</el-form-item>
</c-col>
......
......@@ -16,6 +16,7 @@
<el-button size="small">imgyge</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">img</el-button>
<el-button size="small">His.img</el-button>
</c-function-btn>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
<c-input v-model="model.brtp.lidget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.lidget.sdamod.seainf">
<c-input v-model="model.brtp.lidget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of Expiry" prop="lidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择Date of Expiry">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="lidgrp.cbs.opn1.cur">
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="lidgrp.cbs.opn1.amt">
<c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.recget.sdamod.dadsnd">
<c-input v-model="model.brtp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据参考号" prop="brdgrp.rec.ownref">
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.recget.sdamod.seainf">
<c-input v-model="model.brtp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="申请人" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur">
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="brdgrp.cbs.opn1.amt">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到单日期" prop="brdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of Advice of Payment" prop="brdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%"
placeholder="请选择Date of Advice of Payment"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="受益人" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.matp.mattxtlab" data-path=".brtp.matp.mattxtlab"> </span>
</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>
<c-col :span="12">
<el-form-item label="远期单据到期日" prop="brdgrp.rec.stadat">
<c-date-picker type="date" v-model="model.brdgrp.rec.stadat" style="width:100%" placeholder="请选择远期单据到期日">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据类型" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Tenor day" prop="brdgrp.rec.tenmaxday">
<c-input v-model="model.brdgrp.rec.tenmaxday" placeholder="请输入Tenor day"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单行" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据状态" prop="brdgrp.rec.docsta">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Narrative" prop="strinf">
<c-input type="textarea" v-model="model.strinf" maxlength="50" show-word-limit placeholder="请输入Narrative">
</c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brteus/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮-->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">查询</el-button>
<el-button size="small">用户确认</el-button>
<el-button size="small">检核</el-button>
<el-button size="small">日志</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">imgyge</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">img</el-button>
<el-button size="small">His.img</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000024 -->
<el-tab-pane label="Extend Usance" name="brteus">
<m-brteus :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Brteus from "~/model/Brteus"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Brteus/Check"
import Default from "~/model/Brteus/Default"
import Pattern from "~/model/Brteus/Pattern"
import Brteuss from "./Brteus"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
// import Limitbody from "./Limitbody"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Brteus",
components: {
"m-brteus": Brteuss,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "brteus",
trnName: "brteus",
model: new Brteus().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入brteus交易");
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">
<el-form-item label="应付保证金金额" prop="liaall.liaccv.concur">
<c-input v-model="model.liaall.liaccv.concur" maxlength="3" placeholder="请输入应付保证金金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.newamt">
<c-input v-model="model.liaall.liaccv.newamt" placeholder="请输入合同金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<c-input v-model="model.liaall.liaccv.newresamt" placeholder="请输入Reserved Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金实收比例" prop="liaall.liaccv.relcshpct">
<c-input v-model="model.liaall.liaccv.relcshpct" placeholder="请输入保证金实收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.gleflg">Create gle flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="reserve amount based percent" prop="liaall.liaccv.pctresamt">
<c-input v-model="model.liaall.liaccv.pctresamt" placeholder="请输入reserve amount based percent"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.chgcurflg">Change currency flag</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaccvAdd">
Add
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
Del
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="金额总和" prop="liaall.liaccv.totcovamt">
<c-input v-model="model.liaall.liaccv.totcovamt" placeholder="请输入金额总和"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Information " prop="liaall.liaccv.addinf">
<c-input type="textarea" v-model="model.liaall.liaccv.addinf" maxlength="70" show-word-limit placeholder="请输入Additional Information " ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtudp/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -3,30 +3,34 @@
<c-col :span="12">
<el-form-item label="数据采集标志" prop="cfabrt.cfaflg">
<c-select v-model="model.cfabrt.cfaflg" style="width:100%" placeholder="请选择数据采集标志">
<c-select v-model="model.cfabrt.cfaflg" style="width:100%" placeholder="请选择数据采集标志"
:code="codes.cfaflg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="5" :offset="2">
<c-checkbox v-model="model.cfabrt.basflg">签约信息</c-checkbox>
</c-col>
<c-col :span="12">
<c-col :span="5">
<c-checkbox v-model="model.cfabrt.dclflg">变动信息</c-checkbox>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="地区机构号" prop="cfabrt.ownextkey">
<c-select v-model="model.cfabrt.ownextkey" style="width:100%" placeholder="请选择地区机构号">
<c-select v-model="model.cfabrt.ownextkey" style="width:100%" placeholder="请选择地区机构号"
:code="codes.ownextkey">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="不报送原因" prop="cfabrt.cfabrttxt">
<c-select v-model="model.cfabrt.cfabrttxt" style="width:100%" placeholder="请选择不报送原因">
</c-select>
<!-- <c-select v-model="model.cfabrt.cfabrttxt" style="width:100%" placeholder="请选择不报送原因">
</c-select> -->
<c-input v-model="model.cfabrt.cfabrttxt" style="width:100%" placeholder="不报送原因">
</c-input>
</el-form-item>
</c-col>
</div>
......@@ -39,19 +43,18 @@ import Event from "~/model/Brtudp/Event"
export default {
inject: ['root'],
props:["model","codes"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
data() {
return {
}
},
methods:{...Event},
created:function(){
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!--=== ==========左边=============== -->
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox>
<c-col :span="11">
<!-- Discrepancies -->
<c-col :span="23">
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit
placeholder="请输入Discrepancies"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="1">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
...
<!-- ... -->
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
<!-- Comments and Conclusion -->
<c-col :span="24">
<el-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="请输入Comments and Conclusions"></c-input>
</el-form-item>
</c-col>
<!-- Settlement Instructions BR -->
<c-col :span="23">
<el-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="请输入Settlement Instructions BR"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="1">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
</c-button>
</c-col>
</c-col>
<!--=== ==========右边=============== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received">
<c-select v-model="model.brdgrp.rec.advtyp" style="width: 100%" placeholder="请选择Type of Advice Received"
:code="codes.advtyp">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="付款日期" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" placeholder="请选择付款日期"></c-date-picker>
<c-col :span="24">
<el-form-item label="Date to be Paid" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width: 100%" placeholder="请选择付款日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Discrepancy Advice Dated" prop="brdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择Discrepancy Advice Dated"></c-date-picker>
<c-col :span="24">
<el-form-item label="Discrepancy Advice Dated" prop="brdgrp.rec.disdat" label-width="155px">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width: 100%"
placeholder="请选择Discrepancy Advice Dated"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-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="请输入Comments and Conclusions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.approvcod">Documents on Approval Basis</c-checkbox>
</c-col>
......@@ -56,7 +86,7 @@
<c-col :span="12">
<el-form-item label="Further Identification" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width:100%" placeholder="请选择Further Identification">
<c-select v-model="model.brtp.furide" style="width: 100%" placeholder="请选择Further Identification">
</c-select>
</el-form-item>
</c-col>
......@@ -66,43 +96,27 @@
</c-col>
<c-col :span="12">
<el-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="请输入Settlement Instructions BR" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab" > </span>
</c-col>
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab">
</span>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtudp/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtudp/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () { },
};
</script>
<style>
</style>
......@@ -102,7 +102,7 @@ import Payp from "./Payp";
import Docpre from "./Docpre";
// import Engp from "./Engp";
import Ccvpan from "./Ccvpan";
// import Ccvpan from "./Ccvpan";
// import Setpan from "./Setpan";
// import Glepan from "./Glepan";
// import Coninfp from "./Coninfp";
......@@ -113,6 +113,7 @@ import Cfap from "./Cfap";
//公共面板导入
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
......
......@@ -36,6 +36,7 @@ import Sptrel from "./Sptrel"
import Sptrou from "./Sptrou"
import Bddsel from "./Bddsel"
import Infbdd from "./Infbdd"
import Infbrd from "./Infbrd"
import Mgrtsk from "./Mgrtsk"
import Switsk from "./Switsk"
import Infusr from "./Infusr"
......@@ -145,6 +146,7 @@ import Fund from "./Fund"
import Brtdck from "./Brtdck"
import Brtcsg from "./Brtcsg"
import Brteus from "./Brteus"
import Brtudp from "./Brtudp"
import Brtcan from "./Brtcan"
......@@ -227,6 +229,7 @@ const BusRouter = [
{ path: 'sptrou', component: Sptrou, name: 'Sptrou', meta: { title: 'Sptrou' } },
{ path: 'bddsel', component: Bddsel, name: 'Bddsel', meta: { title: 'Bddsel' } },
{ path: 'infbdd', component: Infbdd, name: 'Infbdd', meta: { title: '信用证单据查询' } },
{ path: 'infbrd', component: Infbrd, name: 'Infbrd', meta: { title: '进口信用证单据入口' } },
{ path: 'mgrtsk', component: Mgrtsk, name: 'Mgrtsk', meta: { title: 'Mgrtsk' } },
{ path: 'switsk', component: Switsk, name: 'Switsk', meta: { title: 'Switsk' } },
{ path: 'infusr', component: Infusr, name: 'Infusr', meta: { title: '用户信息' } },
......@@ -253,6 +256,7 @@ const BusRouter = [
{ path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } },
{ path: 'trtsel', component: Trtsel, name: 'Trtsel', meta: { title: '进口融资入口交易' } },
{ path: 'brtdck', component: Brtdck, name: 'Brtdck', meta: { title: '进口信用证单据改单/二次到单' } },
{ path: 'brteus', component: Brteus, name: 'Brteus', meta: { title: '进口信用证单据展期' } },//brteus路由
{ path: 'brtudp', component: Brtudp, name: 'Brtudp', meta: { title: '进口信用证单据承兑' } },
{ path: 'brtcsg', component: Brtcsg, name: 'Brtcsg', meta: { title: '进口信用证单据提货担保注销' } },
{ path: 'brtcan', component: Brtcan, name: 'Brtcan', meta: { title: '进口信用证单据注销' } },
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item
label="Additional Conditions"
prop="dedgrp.blk.adlcnd"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入Additional Conditions"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Additional Conditions History"
prop="dedgrp.blk.adlcndame"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.adlcndame"
maxlength="50"
show-word-limit
placeholder="请输入Additional Conditions History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Additional Conditions amendment"
prop="trnmod.swiadd.adlcnd"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入Additional Conditions amendment"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item prop="">
<c-checkbox v-model="model.dedgrp.rec.redclsflg"
>Red/Green Clause</c-checkbox
>
</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/Detame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.detamep.hfmdes" data-path=".detamep.hfmdes">
</span>
</c-col>
<c-col :span="12">
<el-form-item label="Description of Goods" prop="dedgrp.blk.lcrgod">
<c-input
type="textarea"
v-model="model.dedgrp.blk.lcrgod"
maxlength="65"
show-word-limit
placeholder="请输入Description of Goods"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Description of Goods History"
prop="dedgrp.blk.lcrgodame"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.lcrgodame"
maxlength="50"
show-word-limit
placeholder="请输入Description of Goods History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Description of Goods amendment"
prop="trnmod.swiadd.lcrgod"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.lcrgod"
maxlength="65"
show-word-limit
placeholder="请输入Description of Goods amendment"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search">
</c-button>
</template>
</c-fullbox>
</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/Detame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Documents Required" prop="dedgrp.blk.lcrdoc">
<c-input
type="textarea"
v-model="model.dedgrp.blk.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Documents Required History"
prop="dedgrp.blk.lcrdocame"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.lcrdocame"
maxlength="50"
show-word-limit
placeholder="请输入Documents Required History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Documents Required amendment"
prop="trnmod.swiadd.lcrdoc"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required amendment"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</template>
</c-fullbox>
</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/Detame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item
label="Instructions to Paying/Accepting/Negotiating Bank"
prop="dedgrp.blk.insbnk"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.insbnk"
maxlength="65"
show-word-limit
placeholder="请输入Instructions to Paying/Accepting/Negotiating Bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Instruction to Paying/Accepting/Negotiating Bank History"
prop="dedgrp.blk.insbnkame"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.insbnkame"
maxlength="50"
show-word-limit
placeholder="请输入Instruction to Paying/Accepting/Negotiating Bank History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Instruction to P/A/N Bank amendment"
prop="trnmod.swiadd.insbnk"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.insbnk"
maxlength="50"
show-word-limit
placeholder="请输入Instruction to P/A/N Bank amendment"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</template>
</c-fullbox>
</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/Detame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -27,6 +27,13 @@
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="修改" name="amep">
<c-content>
<m-amep :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000017 -->
<el-tab-pane label="基本信息" name="ovwp">
<c-content>
......@@ -51,6 +58,22 @@
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="货物描述" name="dogpame">
<m-dogpame :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="单据修改" name="dorpame">
<m-dorpame :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="其他条款修改" name="adcpame">
<m-adcpame :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="指示" name="inspame">
<m-inspame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<c-content>
......@@ -110,13 +133,12 @@
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Detopn from "~/model/Detopn";
import Detame from "~/model/Detame"
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Detopn/Check";
import Default from "~/model/Detopn/Default";
import Pattern from "~/model/Detopn/Pattern";
import Check from "~/model/Detame/Check";
import Default from "~/model/Detame/Default";
import Pattern from "~/model/Detame/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Detp1 from "./Detp1";
......@@ -124,6 +146,12 @@ import Detp2 from "./Detp2";
import Stament from "./Stament";
import Aamp from "./Aamp";
import Amep from "./Amep";
import Dogpame from "./Dogpame";
import Dorpame from "./Dorpame";
import Adcpame from "./Adcpame";
import Inspame from "./Inspame";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp";
......@@ -146,6 +174,11 @@ export default {
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-limitbody": Limitbody,
"m-amep": Amep,
"m-dogpame": Dogpame,
"m-dorpame": Dorpame,
"m-adcpame": Adcpame,
"m-inspame": Inspame,
},
provide() {
return {
......@@ -158,7 +191,7 @@ export default {
computed: {},
data() {
return {
tabVal: "ovwp",
tabVal: "amep",
trnName: "detame",
model: new Detame().data,
checkRules: Check,
......@@ -171,7 +204,7 @@ export default {
methods: {
},
created: async function () {
console.log("进入detopn交易");
console.log("进入detame交易");
//let rtnmsg = await this.init({})
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
......
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button style="margin-left:7px;" class="medium_bcs" size="medium" type="primary" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litsel from "~/model/Ditsel"
import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'ditsel',
model:new Litsel().data,
navcode:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub3")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode = []
this.$emit("onChoose",code.toLowerCase());
}else{
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
computed:{
codeList(){
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
this.navcode = [];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return entireItem
})
}
},
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
// onTigger()
return;
}
}
},
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
this.navcode = []
//请求按钮数据
//this.model.didgrp.rec.ownref = 'KZ3500210540AA'
this.model.bddgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
// let rtnmsg = await this.executeRule("didgrp.rec.ownref");//didgrp_rec_ownref
let rtnmsg0 = await this.executeRule("brdgrp.rec.ownref");//cfgfil.hotreg3
if(rtnmsg0.respCode == SUCCESS){
this.updateModel(rtnmsg0.data)
let rtnmsg = await this.executeRule("cfgfil.hotreg3");//cfgfil.hotreg3
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
for(let i=0; i < length; i++){
//获取数组中每行的数据
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
//isDis:'Y',
title:arr[3]
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
})
})
}
}
</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">
<!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> -->
<!--PD000008 -->
<el-tab-pane label="PD000008" name="infsea">
<!-- <el-tab-pane label="PD000008" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000137 -->
<el-tab-pane label="PD000137" name="ovwp">
<c-content>
<m-infsea :model="model" :codes="codes"/>
</c-content>
<!-- PD000137 -->
<!-- <el-tab-pane label="PD000137" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000062 -->
<el-tab-pane label="PD000062" name="docpre">
<!-- <el-tab-pane label="PD000062" name="docpre">
<m-docpre :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000079 -->
<el-tab-pane label="PD000079" name="shpdet">
<!-- <el-tab-pane label="PD000079" name="shpdet">
<m-shpdet :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000000 -->
<el-tab-pane label="PD000000" name="coninfp">
<!-- <el-tab-pane label="PD000000" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000013 -->
<el-tab-pane label="PD000013" name="trnpan">
<!-- <el-tab-pane label="PD000013" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000019 -->
<el-tab-pane label="PD000019" name="cbsinfp">
<!-- <el-tab-pane label="PD000019" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000028 -->
<el-tab-pane label="PD000028" name="cbeinfp">
<!-- <el-tab-pane label="PD000028" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000111 -->
<el-tab-pane label="PD000111" name="fepinfp">
<!-- <el-tab-pane label="PD000111" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000162 -->
<el-tab-pane label="PD000162" name="sepinfp">
<!-- <el-tab-pane label="PD000162" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000177 -->
<el-tab-pane label="PD000177" name="gleinfp">
<!-- <el-tab-pane label="PD000177" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000119 -->
<el-tab-pane label="PD000119" name="smhinfp">
<!-- <el-tab-pane label="PD000119" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000130 -->
<el-tab-pane label="PD000130" name="peninfp">
<!-- <el-tab-pane label="PD000130" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000147 -->
<el-tab-pane label="PD000147" name="liainfp">
<!-- <el-tab-pane label="PD000147" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000007 -->
<el-tab-pane label="PD000007" name="prtpan">
<!-- <el-tab-pane label="PD000007" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000185 -->
<el-tab-pane label="PD000185" name="ordpan">
<!-- <el-tab-pane label="PD000185" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-tab-pane> -->
<!-- </c-tabs> -->
</el-form>
</div>
</template>
......@@ -95,42 +99,42 @@ import Check from "~/model/Infbrd/Check"
import Default from "~/model/Infbrd/Default"
import Pattern from "~/model/Infbrd/Pattern"
import Infsea from "./Infsea"
import Ovwp from "./Ovwp"
import Docpre from "./Docpre"
import Shpdet from "./Shpdet"
import Coninfp from "./Coninfp"
import Trnpan from "./Trnpan"
import Cbsinfp from "./Cbsinfp"
import Cbeinfp from "./Cbeinfp"
import Fepinfp from "./Fepinfp"
import Sepinfp from "./Sepinfp"
import Gleinfp from "./Gleinfp"
import Smhinfp from "./Smhinfp"
import Peninfp from "./Peninfp"
import Liainfp from "./Liainfp"
import Prtpan from "./Prtpan"
import Ordpan from "./Ordpan"
// import Ovwp from "./Ovwp"
// import Docpre from "./Docpre"
// import Shpdet from "./Shpdet"
// import Coninfp from "./Coninfp"
// import Trnpan from "./Trnpan"
// import Cbsinfp from "./Cbsinfp"
// import Cbeinfp from "./Cbeinfp"
// import Fepinfp from "./Fepinfp"
// import Sepinfp from "./Sepinfp"
// import Gleinfp from "./Gleinfp"
// import Smhinfp from "./Smhinfp"
// import Peninfp from "./Peninfp"
// import Liainfp from "./Liainfp"
// import Prtpan from "./Prtpan"
// import Ordpan from "./Ordpan"
export default {
name: "Infbrd",
components:{
"m-infsea" : Infsea,
"m-ovwp" : Ovwp,
"m-docpre" : Docpre,
"m-shpdet" : Shpdet,
"m-coninfp" : Coninfp,
"m-trnpan" : Trnpan,
"m-cbsinfp" : Cbsinfp,
"m-cbeinfp" : Cbeinfp,
"m-fepinfp" : Fepinfp,
"m-sepinfp" : Sepinfp,
"m-gleinfp" : Gleinfp,
"m-smhinfp" : Smhinfp,
"m-peninfp" : Peninfp,
"m-liainfp" : Liainfp,
"m-prtpan" : Prtpan,
"m-ordpan" : Ordpan,
// "m-ovwp" : Ovwp,
// "m-docpre" : Docpre,
// "m-shpdet" : Shpdet,
// "m-coninfp" : Coninfp,
// "m-trnpan" : Trnpan,
// "m-cbsinfp" : Cbsinfp,
// "m-cbeinfp" : Cbeinfp,
// "m-fepinfp" : Fepinfp,
// "m-sepinfp" : Sepinfp,
// "m-gleinfp" : Gleinfp,
// "m-smhinfp" : Smhinfp,
// "m-peninfp" : Peninfp,
// "m-liainfp" : Liainfp,
// "m-prtpan" : Prtpan,
// "m-ordpan" : Ordpan,
},
provide() {
return {
......@@ -148,6 +152,10 @@ export default {
pattern: Pattern,
rules: null,
codes: {
codeSet: {
"infcon.seacur": [],
"infcon.searol": []
}
},
}
},
......
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