Commit 4512b504 by wuziqiang

wzq detopn

parent adb4b154
This source diff could not be displayed because it is too large. You can view the blob instead.
import Utils from "~/utils"
/**
* Detame Check规则
*/
let checkObj = {
"dedgrp.iss.pts.dizhii" :null,
"dedgrp.apl.namelc" :null,
"dedgrp.rec.lcrtyp" :null,
"dedgrp.blk.lcrgod" :null,
"dedgrp.avb.pts.bankno" :null,
"dedgrp.apb.pts.bankno" :null,
"dedgrp.rmb.pts.bankno" :null,
"dedgrp.beb.pts.bankno" :null,
"dedgrp.apc.pts.jigomc" :null,
"dedgrp.ben.adrelc" :null,
"dedgrp.apl.pts.adrblk" :null,
"dedgrp.adv.pts.jigomc" :null,
"dedgrp.blk.preper" :null,
"dedgrp.ben.namelc" :null,
"dedgrp.ben.pts.extkey" :null,
"dedgrp.rec.mytype" :null,
"dedgrp.apc.pts.dizhii" :null,
"dedgrp.iss.pts.extkey" :null,
"dedgrp.adv.pts.dizhii" :null,
"dedgrp.cmb.pts.bankno" :null,
"dedgrp.apl.adrelc" :null,
"dedgrp.rmb.pts.jigomc" :null,
"dedgrp.avb.pts.dizhii" :null,
"dedgrp.adv.pts.extkey" :null,
"dedgrp.rec.sdsrfs" :null,
"dedgrp.beb.pts.jigomc" :null,
"dedgrp.cmb.pts.jigomc" :null,
"dedgrp.apb.pts.jigomc" :null,
"dedgrp.blk.dftat" :null,
"dedgrp.rec.avbwth" :null,
"dedgrp.iss.pts.bankno" :null,
"dedgrp.cbs.max2.amt" :null,
"dedgrp.rec.shpdat" :null,
"dedgrp.blk.adlcnd" :null,
"dedgrp.ben.pts.adrblk" :null,
"dedgrp.rec.tenmaxday" :null,
"dedgrp.blk.insbnk" :null,
"dedgrp.blk.defdet" :null,
"dedgrp.apl.pts.extkey" :null,
"dedgrp.iss.pts.jigomc" :null,
"dedgrp.cmb.pts.dizhii" :null,
"dedgrp.adv.pts.bankno" :null,
"dedgrp.rec.expplc" :null,
"dedgrp.apc.pts.bankno" :null,
"dedgrp.rec.avbby" :null,
"dedgrp.rmb.pts.dizhii" :null,
"dedgrp.blk.lcrdoc" :null,
"detp.usr.extkey" :null,
"dedgrp.blk.addamtcov" :null,
"dedgrp.rec.opndat" :null,
"dedgrp.avb.pts.jigomc" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Detame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"dedgrp.ben.adrelc" :Utils.defaultFunction,
"dedgrp.ben.namelc" :Utils.defaultFunction,
"dedgrp.adv.pts.extkey" :Utils.defaultFunction,
"dedgrp.cbs.max.cur" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"dedgrp.cbs.max.amt" :Utils.defaultFunction,
"dedgrp.rec.avbwth" :Utils.defaultFunction,
"dedgrp.iss.pts.extkey" :Utils.defaultFunction,
"dedgrp.cbs.nom1.amt" :Utils.defaultFunction,
"dedgrp.cbs.nom1.cur" :Utils.defaultFunction,
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.mytype" :Utils.defaultFunction,
"dedgrp.apl.pts.extkey" :Utils.defaultFunction,
"dedgrp.apl.adrelc" :Utils.defaultFunction,
"dedgrp.apl.namelc" :Utils.defaultFunction,
"dedgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.rec.shpdat" :Utils.defaultFunction,
"dedgrp.cbs.max2.cur" :Utils.defaultFunction,
"dedgrp.rec.avbby" :Utils.defaultFunction,
"detp.usr.extkey" :Utils.defaultFunction,
"dedgrp.ben.pts.extkey" :Utils.defaultFunction,
"dedgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.cbs.max2.amt" :Utils.defaultFunction,
"dedgrp.blk.addamtcov" :Utils.defaultFunction,
"dedgrp.rec.opndat" :Utils.defaultFunction,
"dedgrp.ben.pts.adrblk" :Utils.defaultFunction,
"dedgrp.apl.pts.adrblk" :Utils.defaultFunction,
"dedgrp.rec.nomtop" :Utils.defaultFunction,
"dedgrp.rec.rejflg" :Utils.defaultFunction,
"detp.dzlhhh" :Utils.defaultFunction,
"dedgrp.rec.shppar" :Utils.defaultFunction,
"dedgrp.rec.fqzytgfw" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onDetpButgetref(){
let rtnmsg = await this.executeRule("detp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdftatButtxmsel(){
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrgodButtxmsel(){
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"detp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dedgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.benp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"detp.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.ben.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.benp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.ben.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"detp.upamt":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"dedgrp.ben.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"dedgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"dedgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.ben.pts.extact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"dedgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dedgrp.beb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dedgrp.beb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.expplc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dedgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.aplp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"dedgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.preper":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"detp.dzlhhh":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.blk.rejadvrsn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.rmb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.rmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.avb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.avb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.avb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.cmb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.cmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.adv.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.cmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.adv.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.adv.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apc.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.adv.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apc.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.adv.pts.youzbm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"dedgrp.adv.pts.dihdig":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.apc.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.kzref":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.iss.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.apc.pts.youzbm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"dedgrp.apc.pts.dihdig":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.iss.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.apl.pts.extact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"dedgrp.iss.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.iss.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.iss.pts.youzbm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"dedgrp.iss.pts.dihdig":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.rec.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.conno":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.conamt":[
{type: "number", required: false, message: "必输项"},
{max: 16,message:"整数位不能超过13位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"dedgrp.blk.stamet":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.blk.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Detame{
constructor () {
this.data = {
detp:{
zchday:"", // 最迟装运/服务提供日 .detp.zchday
usr:{
extkey:"", // 所属客户经理 .detp.usr.extkey
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .detp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.benp.ptsget.sdamod.dadsnd
},
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .detp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.aplp.ptsget.sdamod.dadsnd
},
},
},
recget:{
sdamod:{
seainf:"", // .detp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.recget.sdamod.dadsnd
},
},
usrget:{
sdamod:{
seainf:"", // .detp.usrget.sdamod.seainf
},
},
upamt:"", // 大写金额 .detp.upamt
dzlhhh:"", // 发起参与机构 .detp.dzlhhh
hwfwms:"", // 槧物/服务描述 .detp.hwfwms
hwtype:"", // 槧物\\服务类型 .detp.hwtype
fenzhu:"", // 分期装运 .detp.fenzhu
sdysfs:"", // 手输运输方式/服务提供方式 .detp.sdysfs
hwzydi:"", // '运装运地/服务提供低 .detp.hwzydi
},
dedgrp:{
rec:{
ownref:"", // 编号 .dedgrp.rec.ownref
opndat:"", // 开立日期 .dedgrp.rec.opndat
shpdat:"", // Shipment Date .dedgrp.rec.shpdat
expdat:"", // 有效日期 .dedgrp.rec.expdat
expplc:"", // 有效地点 .dedgrp.rec.expplc
shptrs:"", // 转运 .dedgrp.rec.shptrs
tenmaxday:"", // Maximum Tenor .dedgrp.rec.tenmaxday
nam:"", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam
nomtop:"", // 溢短装 .dedgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .dedgrp.rec.nomton
mytype:"", // 贸易类型 .dedgrp.rec.mytype
elcflg:"", // 是否通过电证系统 .dedgrp.rec.elcflg
avbby:"", // 信用证兑付方式 .dedgrp.rec.avbby
lcrtyp:"", // 是否可转让 .dedgrp.rec.lcrtyp
dkflg:"", // 是否代开信用证 .dedgrp.rec.dkflg
rejflg:"", // 是否通知客户 .dedgrp.rec.rejflg
stagod:"", // Goods Code for Statistics .dedgrp.rec.stagod
avbwth:"", // Available with .dedgrp.rec.avbwth
isyifu:"", // 是否可议付 .dedgrp.rec.isyifu
idcode:"", // 申请人统一社会信用代码 .dedgrp.rec.idcode
bdflg:"", // 是否可保兑 .dedgrp.rec.bdflg
kzref:"", // 信用证编号 .dedgrp.rec.kzref
shppar:"", // Partial Shipment .dedgrp.rec.shppar
fqzytgfw:"", // 分期装运/提供服务 .dedgrp.rec.fqzytgfw
fqtime:"", // 分期时镧表 .dedgrp.rec.fqtime
shppro:"", // 服务提供地点 .dedgrp.rec.shppro
tratyp:"", // 运输方式 .dedgrp.rec.tratyp
sdsrfs:"", // 输入运输方式 .dedgrp.rec.sdsrfs
conno:"", // 合同编号 .dedgrp.rec.conno
concur:"", // 合同币种 .dedgrp.rec.concur
shpfro:"", // 分期装运/提供服务 .dedgrp.rec.shpfro
shpto:"", // 货物运输或交货方式/服务方式 .dedgrp.rec.shpto
conamt:"", // 合同金额 .dedgrp.rec.conamt
},
cbs:{
nom1:{
cur:"", // 金额 .dedgrp.cbs.nom1.cur
amt:"", // 金额 .dedgrp.cbs.nom1.amt
},
max:{
cur:"", // 最大金额 .dedgrp.cbs.max.cur
amt:"", // Balance .dedgrp.cbs.max.amt
},
max2:{
cur:"", // Additional Amount .dedgrp.cbs.max2.cur
amt:"", // Additional Amount .dedgrp.cbs.max2.amt
},
opn2:{
cur:"", // Open Add. Amount .dedgrp.cbs.opn2.cur
amt:"", // Open Add. Amount .dedgrp.cbs.opn2.amt
},
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.ben.namelc
adrelc:"", // 地址 .dedgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.ben.dbfadrblkcn
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.apl.namelc
adrelc:"", // 地址 .dedgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.apl.dbfadrblkcn
},
blk:{
dftat:"", // 远期付款指示 .dedgrp.blk.dftat
preper:"", // 交单期限 .dedgrp.blk.preper
defdet:"", // 远期付款指示 .dedgrp.blk.defdet
rejadvrsn:"", // 拒绝通知理由 .dedgrp.blk.rejadvrsn
lcrgod:"", // Description of Goods .dedgrp.blk.lcrgod
lcrdoc:"", // 单据条款 .dedgrp.blk.lcrdoc
adlcnd:"", // 附加条款 .dedgrp.blk.adlcnd
insbnk:"", // 给付款、 .dedgrp.blk.insbnk
stamet:"", // 声明 .dedgrp.blk.stamet
addamtcov:"", // Covered .dedgrp.blk.addamtcov
},
beb:{
pts:new Pts().data,
},
apc:{
pts:new Pts().data,
},
apb:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
adv:{
pts:new Pts().data,
},
avb:{
pts:new Pts().data,
},
rmb:{
pts:new Pts().data,
},
cmb:{
pts:new Pts().data,
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Detopn Check规则
*/
let checkObj = {
"dedgrp.iss.pts.dizhii" :null,
"dedgrp.apl.namelc" :null,
"dedgrp.rec.lcrtyp" :null,
"dedgrp.rec.nomton" :null,
"dedgrp.rec.nomtop" :null,
"dedgrp.blk.lcrgod" :null,
"dedgrp.avb.pts.bankno" :null,
"dedgrp.apb.pts.bankno" :null,
"dedgrp.cbs.nom1.amt" :null,
"dedgrp.rmb.pts.bankno" :null,
"dedgrp.rec.rejflg" :null,
"dedgrp.beb.pts.bankno" :null,
"dedgrp.apc.pts.jigomc" :null,
"dedgrp.ben.adrelc" :null,
"dedgrp.apl.pts.adrblk" :null,
"dedgrp.adv.pts.jigomc" :null,
"dedgrp.cbs.nom1.cur" :null,
"dedgrp.blk.preper" :null,
"dedgrp.ben.namelc" :null,
"dedgrp.ben.pts.extkey" :null,
"dedgrp.rec.mytype" :null,
"dedgrp.apc.pts.dizhii" :null,
"dedgrp.iss.pts.extkey" :null,
"dedgrp.adv.pts.dizhii" :null,
"dedgrp.cmb.pts.bankno" :null,
"dedgrp.rec.expdat" :null,
"dedgrp.apl.adrelc" :null,
"dedgrp.rmb.pts.jigomc" :null,
"dedgrp.blk.rejadvrsn" :null,
"dedgrp.avb.pts.dizhii" :null,
"dedgrp.adv.pts.extkey" :null,
"dedgrp.rec.sdsrfs" :null,
"dedgrp.beb.pts.jigomc" :null,
"dedgrp.cmb.pts.jigomc" :null,
"dedgrp.apb.pts.jigomc" :null,
"dedgrp.blk.dftat" :null,
"dedgrp.rec.avbwth" :null,
"dedgrp.iss.pts.bankno" :null,
"dedgrp.cbs.max2.amt" :null,
"dedgrp.rec.shpdat" :null,
"dedgrp.blk.adlcnd" :null,
"dedgrp.ben.pts.adrblk" :null,
"dedgrp.rec.tenmaxday" :null,
"dedgrp.blk.insbnk" :null,
"dedgrp.blk.defdet" :null,
"dedgrp.apl.pts.extkey" :null,
"dedgrp.iss.pts.jigomc" :null,
"dedgrp.ben.pts.ref" :null,
"dedgrp.rec.kzref" :null,
"dedgrp.cmb.pts.dizhii" :null,
"dedgrp.adv.pts.bankno" :null,
"detp.dzlhhh" :null,
"dedgrp.rec.elcflg" :null,
"dedgrp.rec.expplc" :null,
"dedgrp.apc.pts.bankno" :null,
"dedgrp.rec.avbby" :null,
"dedgrp.rmb.pts.dizhii" :null,
"dedgrp.blk.lcrdoc" :null,
"detp.usr.extkey" :null,
"dedgrp.blk.addamtcov" :null,
"dedgrp.rec.opndat" :null,
"dedgrp.avb.pts.jigomc" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Detopn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"dedgrp.ben.adrelc" :Utils.defaultFunction,
"dedgrp.ben.namelc" :Utils.defaultFunction,
"dedgrp.adv.pts.extkey" :Utils.defaultFunction,
"dedgrp.rec.mytype" :Utils.defaultFunction,
"dedgrp.cbs.max.amt" :Utils.defaultFunction,
"dedgrp.blk.adlcnd" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"dedgrp.rec.avbwth" :Utils.defaultFunction,
"dedgrp.iss.pts.extkey" :Utils.defaultFunction,
"dedgrp.cbs.nom1.amt" :Utils.defaultFunction,
"dedgrp.cbs.nom1.cur" :Utils.defaultFunction,
"dedgrp.apl.pts.extkey" :Utils.defaultFunction,
"dedgrp.apl.adrelc" :Utils.defaultFunction,
"dedgrp.apl.namelc" :Utils.defaultFunction,
"dedgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.rec.shpdat" :Utils.defaultFunction,
"dedgrp.rec.avbby" :Utils.defaultFunction,
"detp.usr.extkey" :Utils.defaultFunction,
"dedgrp.cbs.max.cur" :Utils.defaultFunction,
"dedgrp.rec.opndat" :Utils.defaultFunction,
"dedgrp.ben.pts.extkey" :Utils.defaultFunction,
"dedgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.blk.preper" :Utils.defaultFunction,
"dedgrp.cbs.max2.amt" :Utils.defaultFunction,
"dedgrp.cbs.max2.cur" :Utils.defaultFunction,
"dedgrp.blk.addamtcov" :Utils.defaultFunction,
"dedgrp.ben.pts.adrblk" :Utils.defaultFunction,
"dedgrp.apl.pts.adrblk" :Utils.defaultFunction,
"dedgrp.blk.insbnk" :Utils.defaultFunction,
"dedgrp.rec.bdflg" :Utils.defaultFunction,
"dedgrp.rec.rejflg" :Utils.defaultFunction,
"detp.dzlhhh" :Utils.defaultFunction,
"dedgrp.rec.nomtop" :Utils.defaultFunction,
"dedgrp.rec.shppar" :Utils.defaultFunction,
"dedgrp.rec.fqzytgfw" :Utils.defaultFunction,
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
async onDetpButgetref(){
let rtnmsg = await this.executeRule("detp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdftatButtxmsel(){
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrgodButtxmsel(){
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
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: '服务请求失败!' });
}
},
}
\ No newline at end of file
export default {
"detp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dedgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.benp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"detp.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.ben.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.benp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.ben.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"detp.upamt":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"dedgrp.ben.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"dedgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"dedgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.ben.pts.extact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"dedgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dedgrp.beb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dedgrp.beb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.expplc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dedgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.aplp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"dedgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.preper":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"detp.dzlhhh":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.blk.rejadvrsn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.rmb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.rmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.avb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.avb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.avb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.cmb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.cmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.adv.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.cmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.adv.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.adv.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apc.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.adv.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apc.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.adv.pts.youzbm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"dedgrp.adv.pts.dihdig":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.apc.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.kzref":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.iss.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.apc.pts.youzbm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"dedgrp.apc.pts.dihdig":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.iss.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.apl.pts.extact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"dedgrp.iss.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.iss.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.iss.pts.youzbm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"dedgrp.iss.pts.dihdig":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.rec.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.conno":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.conamt":[
{type: "number", required: false, message: "必输项"},
{max: 16,message:"整数位不能超过13位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"dedgrp.blk.stamet":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.blk.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Detopn{
constructor () {
this.data = {
detp:{
zchday:"", // 最迟装运/服务提供日 .detp.zchday
usr:{
extkey:"", // 所属客户经理 .detp.usr.extkey
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .detp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.benp.ptsget.sdamod.dadsnd
},
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .detp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.aplp.ptsget.sdamod.dadsnd
},
},
},
recget:{
sdamod:{
seainf:"", // .detp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.recget.sdamod.dadsnd
},
},
usrget:{
sdamod:{
seainf:"", // .detp.usrget.sdamod.seainf
},
},
upamt:"", // 大写金额 .detp.upamt
dzlhhh:"", // 发起参与机构 .detp.dzlhhh
hwfwms:"", // 槧物/服务描述 .detp.hwfwms
hwtype:"", // 槧物\\服务类型 .detp.hwtype
fenzhu:"", // 分期装运 .detp.fenzhu
sdysfs:"", // 手输运输方式/服务提供方式 .detp.sdysfs
hwzydi:"", // '运装运地/服务提供低 .detp.hwzydi
},
dedgrp:{
rec:{
ownref:"", // 编号 .dedgrp.rec.ownref
opndat:"", // 开立日期 .dedgrp.rec.opndat
shpdat:"", // Shipment Date .dedgrp.rec.shpdat
expdat:"", // 有效日期 .dedgrp.rec.expdat
expplc:"", // 有效地点 .dedgrp.rec.expplc
shptrs:"", // 转运 .dedgrp.rec.shptrs
tenmaxday:"", // Maximum Tenor .dedgrp.rec.tenmaxday
nam:"", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam
nomtop:"", // 溢短装 .dedgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .dedgrp.rec.nomton
mytype:"", // 贸易类型 .dedgrp.rec.mytype
elcflg:"", // 是否通过电证系统 .dedgrp.rec.elcflg
avbby:"", // 信用证兑付方式 .dedgrp.rec.avbby
lcrtyp:"", // 是否可转让 .dedgrp.rec.lcrtyp
dkflg:"", // 是否代开信用证 .dedgrp.rec.dkflg
rejflg:"", // 是否通知客户 .dedgrp.rec.rejflg
stagod:"", // Goods Code for Statistics .dedgrp.rec.stagod
avbwth:"", // Available with .dedgrp.rec.avbwth
isyifu:"", // 是否可议付 .dedgrp.rec.isyifu
idcode:"", // 申请人统一社会信用代码 .dedgrp.rec.idcode
bdflg:"", // 是否可保兑 .dedgrp.rec.bdflg
kzref:"", // 信用证编号 .dedgrp.rec.kzref
shppar:"", // Partial Shipment .dedgrp.rec.shppar
fqzytgfw:"", // 分期装运/提供服务 .dedgrp.rec.fqzytgfw
fqtime:"", // 分期时镧表 .dedgrp.rec.fqtime
shppro:"", // 服务提供地点 .dedgrp.rec.shppro
tratyp:"", // 运输方式 .dedgrp.rec.tratyp
sdsrfs:"", // 输入运输方式 .dedgrp.rec.sdsrfs
conno:"", // 合同编号 .dedgrp.rec.conno
concur:"", // 合同币种 .dedgrp.rec.concur
shpfro:"", // 分期装运/提供服务 .dedgrp.rec.shpfro
shpto:"", // 货物运输或交货方式/服务方式 .dedgrp.rec.shpto
conamt:"", // 合同金额 .dedgrp.rec.conamt
},
cbs:{
nom1:{
cur:"", // 金额 .dedgrp.cbs.nom1.cur
amt:"", // 金额 .dedgrp.cbs.nom1.amt
},
max:{
cur:"", // 最大金额 .dedgrp.cbs.max.cur
amt:"", // Balance .dedgrp.cbs.max.amt
},
max2:{
cur:"", // Additional Amount .dedgrp.cbs.max2.cur
amt:"", // Additional Amount .dedgrp.cbs.max2.amt
},
opn2:{
cur:"", // Open Add. Amount .dedgrp.cbs.opn2.cur
amt:"", // Open Add. Amount .dedgrp.cbs.opn2.amt
},
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.ben.namelc
adrelc:"", // 地址 .dedgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.ben.dbfadrblkcn
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.apl.namelc
adrelc:"", // 地址 .dedgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.apl.dbfadrblkcn
},
blk:{
dftat:"", // 远期付款指示 .dedgrp.blk.dftat
preper:"", // 交单期限 .dedgrp.blk.preper
defdet:"", // 远期付款指示 .dedgrp.blk.defdet
rejadvrsn:"", // 拒绝通知理由 .dedgrp.blk.rejadvrsn
lcrgod:"", // Description of Goods .dedgrp.blk.lcrgod
lcrdoc:"", // 单据条款 .dedgrp.blk.lcrdoc
adlcnd:"", // 附加条款 .dedgrp.blk.adlcnd
insbnk:"", // 给付款、 .dedgrp.blk.insbnk
stamet:"", // 声明 .dedgrp.blk.stamet
addamtcov:"", // Covered .dedgrp.blk.addamtcov
},
beb:{
pts:new Pts().data,
},
apc:{
pts:new Pts().data,
},
apb:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
adv:{
pts:new Pts().data,
},
avb:{
pts:new Pts().data,
},
rmb:{
pts:new Pts().data,
},
cmb:{
pts:new Pts().data,
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Detsel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Detsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"dedgrp.rec.opndat" :Utils.defaultFunction,
"trpnttyp" :Utils.defaultFunction,
"sptpenltbt" :Utils.defaultFunction,
"sptpenltbt_descr" :Utils.defaultFunction,
"bppnttyp" :Utils.defaultFunction,
"dtdgrp.adt.pts.nam" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"mtdgrp.cbs.max.cur" :Utils.defaultFunction,
"trnpenltbt" :Utils.defaultFunction,
"trnpenltbt_descr" :Utils.defaultFunction,
"dtdgrp.be2.pts.nam" :Utils.defaultFunction,
"bfdgrp.iss.pts.nam" :Utils.defaultFunction,
"mtdgrp.be1.pts.nam" :Utils.defaultFunction,
"fpdgrp.inv.pts.nam" :Utils.defaultFunction,
"mtdgrp.rec.ownref" :Utils.defaultFunction,
"bpdgrp.fia.pts.nam" :Utils.defaultFunction,
"dfdgrp.apl.pts.nam" :Utils.defaultFunction,
"dtdgrp.avt.pts.nam" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"dtdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtrn1" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"bfdgrp.rec.ownref" :Utils.defaultFunction,
"bfdgrp.cbs.max.cur" :Utils.defaultFunction,
"dtdgrp.be1.pts.nam" :Utils.defaultFunction,
"mtdgrp.cbs.max.amt" :Utils.defaultFunction,
"sptpentrbp" :Utils.defaultFunction,
"sptpentrbp_descr" :Utils.defaultFunction,
"dedgrp.iss.pts.nam" :Utils.defaultFunction,
"fpdgrp.rec.opndat" :Utils.defaultFunction,
"dfdgrp.dff.pts.nam" :Utils.defaultFunction,
"bfdgrp.prb.pts.nam" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"bpdgrp.rec.fintyp" :Utils.defaultFunction,
"mtdgrp.be2.pts.nam" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction,
"dfdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction,
"cfgfil.subtrn9" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction,
"cfgfil.subtrn8" :Utils.defaultFunction,
"cfgfil.subtxt8" :Utils.defaultFunction,
"cfgfil.subtrn7" :Utils.defaultFunction,
"cfgfil.subtxt7" :Utils.defaultFunction,
"cfgfil.subtrn6" :Utils.defaultFunction,
"cfgfil.subtxt6" :Utils.defaultFunction,
"cfgfil.subtrn5" :Utils.defaultFunction,
"cfgfil.subtxt5" :Utils.defaultFunction,
"cfgfil.subtrn4" :Utils.defaultFunction,
"cfgfil.subtxt4" :Utils.defaultFunction,
"cfgfil.subtrn3" :Utils.defaultFunction,
"cfgfil.subtxt3" :Utils.defaultFunction,
"cfgfil.subtrn2" :Utils.defaultFunction,
"cfgfil.subtxt2" :Utils.defaultFunction,
"fpdgrp.rec.ownref" :Utils.defaultFunction,
"dedgrp.ben.pts.nam" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"dedgrp.apl.pts.nam" :Utils.defaultFunction,
"bfdgrp.apl.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"fpdgrp.sel.pts.nam" :Utils.defaultFunction,
"trnpentrbp_descr" :Utils.defaultFunction,
"trnpentrbp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
export default {
"recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bfdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mtdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dtdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fpdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bfdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mtdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dtdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bfdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mtdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dtdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fpdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bfdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mtdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dtdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dedgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fpdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dedgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dedgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fpdgrp.rec.perint":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"fpdgrp.sel.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bfdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dtdgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bfdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dtdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dtdgrp.be1.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dfdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dfdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dfdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dedgrp.avbnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.rec.kzref":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.iss.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bpdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fpdgrp.sel.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fpdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bfdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dtdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dtdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dtdgrp.be1.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mtdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"mtdgrp.be1.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dfdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dfdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.iss.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fpdgrp.inv.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fpdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bpdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trdgrp.rec.pctfin":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"bfdgrp.rec.doctypcod":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"dtdgrp.avt.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fpdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bpdgrp.fia.pts.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"trdgrp.fip.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bfdgrp.iss.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dtdgrp.be2.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mtdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mtdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"mtdgrp.be1.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dfdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dfdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dedgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bpdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bpdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fpdgrp.inv.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bpdgrp.fia.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bfdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.rec.orddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dtdgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trdgrp.fip.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bfdgrp.iss.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dtdgrp.be2.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mtdgrp.rec.doctypcod":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtdgrp.be2.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dfdgrp.dff.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fpdgrp.cbs.sld.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fpdgrp.cbs.sld.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dfdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dfdgrp.rec.fintyp":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dedgrp.rec.expplc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bpdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bpdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fpdgrp.rec.opndatlc":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fpdgrp.rec.expdatlc":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bfdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dtdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtdgrp.rec.rcvdatbe2":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtdgrp.be2.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trdgrp.rec.fintyp":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bfdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dtdgrp.adt.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dfdgrp.dff.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dedgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dfdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dfdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fpdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fpdgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bpdgrp.rec.finact":[
{type: "string", required: false, message: "必输项"},
{max: 21,message:"长度不能超过21"}
],
"fpdgrp.rec.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bfdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dtdgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dtdgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"cnftxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bfdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dtdgrp.adt.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"cfgfil.bitmap":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside5":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg5":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside9":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg9":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside6":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg6":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside10":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg10":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub4":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub5":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub6":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside7":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg7":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside11":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg11":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub7":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub8":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub9":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg4":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside4":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside8":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg8":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside12":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg12":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub10":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub11":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Detsel{
constructor () {
this.data = {
selbut:{
dspamenbr:"", // Display No of amendments .selbut.dspamenbr
dsputlnbr:"", // Display No. of received docs. .selbut.dsputlnbr
dspclsdat:"", // Label Closed .selbut.dspclsdat
dsppndram:"", // Display Number of Req. of Amendment .selbut.dsppndram
sptpenlab:"", // Label showing pending items stored for contract .selbut.sptpenlab
trnpenlab:"", // Label showing stored uncommited transactions for contract .selbut.trnpenlab
trnpenlab_descr:"", // Description for TRNPENLAB .selbut.trnpenlab_descr
dspadvnbr:"", // Display No of advised sets .selbut.dspadvnbr
sptpenlab_descr:"", // Description for SPTPENLAB .selbut.sptpenlab_descr
},
dsprevnbr:"", // Revolving Done .dsprevnbr
dsppcrsta:"", // Display LC against Packing Credit .dsppcrsta
dsptrdclsdat:"", // Display Closing Date of Packing Credit .dsptrdclsdat
dspbfdclsdat:"", // Display Closing Date of Document Set .dspbfdclsdat
dspbpdclsdat:"", // Display Closing Date of Advance .dspbpdclsdat
dspdtdclsdat:"", // Diplay Closing Date of Transfer .dspdtdclsdat
dspmtdclsdat:"", // Display Closing Date of Docs of Transfer .dspmtdclsdat
dspprenbr:"", // Display Number of Transfer Documents .dspprenbr
dspltamenbr:"", // Display LT Amendments .dspltamenbr
sptpenltbt_descr:"", // Description for SPTPENLTBT .sptpenltbt_descr
sptpentrbp_descr:"", // Description for SPTPENTRBP .sptpentrbp_descr
trnpenltbt_descr:"", // Description for TRNPENLTBT .trnpenltbt_descr
trnpentrbp_descr:"", // Description for TRNPENTRBP .trnpentrbp_descr
sptpenltbt:"", // Label showing pending items stored for LT/BT .sptpenltbt
sptpentrbp:"", // Label showing pending items stored for TR/BP .sptpentrbp
trnpenltbt:"", // Label showing stored uncommited transactions for LT/BT .trnpenltbt
trnpentrbp:"", // Label showing stored uncommited transactions for TR/BP .trnpentrbp
dedgrp:{
rec:{
ownref:"", // 信用证编号 .dedgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam
opndat:"", // 开证日期 .dedgrp.rec.opndat
shpdat:"", // Shipment Date .dedgrp.rec.shpdat
expdat:"", // 最迟交单日期/交单地 .dedgrp.rec.expdat
expplc:"", // 最迟交单日期/交单地 .dedgrp.rec.expplc
avbby:"", // 兑付方式 .dedgrp.rec.avbby
lcrtyp:"", // 信用证类型 .dedgrp.rec.lcrtyp
kzref:"", // 信用证编号 .dedgrp.rec.kzref
},
cbs:{
nom1:{
cur:"", // 信用证金额 .dedgrp.cbs.nom1.cur
amt:"", // Balance .dedgrp.cbs.nom1.amt
},
opn1:{
cur:"", // 信用证余额 .dedgrp.cbs.opn1.cur
amt:"", // Balance .dedgrp.cbs.opn1.amt
},
},
ben:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
avbnam:"", // 指定银行 .dedgrp.avbnam
iss:{
pts:new Pts().data,
},
},
clsflg:"", // Show closed Contracts .clsflg
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recget.sdamod.dadsnd
seainf:"", // .recget.sdamod.seainf
},
},
bfdgrp:{
rec:{
ownref:"", // 单据业务编号 .bfdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bfdgrp.rec.nam
doctypcod:"", // 单据类型 .bfdgrp.rec.doctypcod
matdat:"", // Maturity Date .bfdgrp.rec.matdat
orddat:"", // 远期单据到期日 .bfdgrp.rec.orddat
rcvdat:"", // 到单日期 .bfdgrp.rec.rcvdat
predat:"", // Presentation Date .bfdgrp.rec.predat
docsta:"", // 单据状态 .bfdgrp.rec.docsta
},
cbs:{
max:{
cur:"", // 单据金额 .bfdgrp.cbs.max.cur
amt:"", // Balance .bfdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .bfdgrp.cbs.opn1.cur
amt:"", // Balance .bfdgrp.cbs.opn1.amt
},
},
prb:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
},
bfdget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bfdget.sdamod.dadsnd
seainf:"", // .bfdget.sdamod.seainf
},
clsflg:"", // which contracts to show .bfdget.clsflg
},
mtdgrp:{
rec:{
ownref:"", // 单据业务编号 .mtdgrp.rec.ownref
nam:"", // Name of Bill Contract .mtdgrp.rec.nam
doctypcod:"", // 单据类型 .mtdgrp.rec.doctypcod
rcvdatbe2:"", // 远期单据到期日 .mtdgrp.rec.rcvdatbe2
docsta:"", // 单据状态 .mtdgrp.rec.docsta
matdat:"", // Maturity Date .mtdgrp.rec.matdat
},
cbs:{
max:{
cur:"", // 单据金额 .mtdgrp.cbs.max.cur
amt:"", // 单据金额 .mtdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .mtdgrp.cbs.opn1.cur
amt:"", // Balance .mtdgrp.cbs.opn1.amt
},
},
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
},
mtdget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mtdget.sdamod.dadsnd
seainf:"", // .mtdget.sdamod.seainf
},
clsflg:"", // which contracts to show .mtdget.clsflg
},
bppnttyp:"", // 业务合同 .bppnttyp
bpdgrp:{
rec:{
ownref:"", // 融资业务编号 .bpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bpdgrp.rec.nam
opndat:"", // 起息日期 .bpdgrp.rec.opndat
matdat:"", // Maturity Date .bpdgrp.rec.matdat
fintyp:"", // 融资类型 .bpdgrp.rec.fintyp
finact:"", // 融资帐号 .bpdgrp.rec.finact
},
cbs:{
max:{
cur:"", // 融资金额 .bpdgrp.cbs.max.cur
amt:"", // Balance .bpdgrp.cbs.max.amt
},
opn1:{
cur:"", // 押汇余额 .bpdgrp.cbs.opn1.cur
amt:"", // Balance .bpdgrp.cbs.opn1.amt
},
},
fia:{
pts:new Pts().data,
},
},
bpdget:{
clsflg:"", // which contracts to show .bpdget.clsflg
sdamod:{
dadsnd:"", // Drag Drop Sender .bpdget.sdamod.dadsnd
seainf:"", // .bpdget.sdamod.seainf
},
},
dtdgrp:{
rec:{
ownref:"", // Transfer Reference .dtdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .dtdgrp.rec.nam
avbby:"", // Available by .dtdgrp.rec.avbby
shpdat:"", // Shipment Date .dtdgrp.rec.shpdat
opndat:"", // Date Issued/Form .dtdgrp.rec.opndat
lcrtyp:"", // Date Issued/Form .dtdgrp.rec.lcrtyp
expdat:"", // Date / Place of Expiry .dtdgrp.rec.expdat
expplc:"", // Date / Place of Expiry .dtdgrp.rec.expplc
},
cbs:{
nom1:{
cur:"", // Transfer L/C Amount .dtdgrp.cbs.nom1.cur
amt:"", // Balance .dtdgrp.cbs.nom1.amt
},
opn1:{
cur:"", // 信用证余额 .dtdgrp.cbs.opn1.cur
amt:"", // Balance .dtdgrp.cbs.opn1.amt
},
},
avt:{
pts:new Pts().data,
},
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
adt:{
pts:new Pts().data,
},
},
dtdget:{
clsflg:"", // which contracts to show .dtdget.clsflg
sdamod:{
dadsnd:"", // Drag Drop Sender .dtdget.sdamod.dadsnd
seainf:"", // .dtdget.sdamod.seainf
},
},
trpnttyp:"", // 业务合同 .trpnttyp
trdgrp:{
rec:{
ownref:"", // 融资业务编号 .trdgrp.rec.ownref
nam:"", // Name of Loan Contract .trdgrp.rec.nam
pctfin:"", // 融资百分比 .trdgrp.rec.pctfin
fintyp:"", // 融资类型 .trdgrp.rec.fintyp
matdat:"", // Maturity Date .trdgrp.rec.matdat
stttendat:"", // Start Date Tenor .trdgrp.rec.stttendat
},
cbs:{
max:{
cur:"", // 押汇金额 .trdgrp.cbs.max.cur
amt:"", // 押汇金额 .trdgrp.cbs.max.amt
},
opn1:{
cur:"", // 信用证余额 .trdgrp.cbs.opn1.cur
amt:"", // Balance .trdgrp.cbs.opn1.amt
},
},
fip:{
pts:new Pts().data,
},
},
trdget:{
clsflg:"", // which contracts to show .trdget.clsflg
sdamod:{
dadsnd:"", // Drag Drop Sender .trdget.sdamod.dadsnd
seainf:"", // .trdget.sdamod.seainf
},
},
zcdat:"", // 最迟装运日期\\最迟服务提供日 .zcdat
cnftxt:"", // Confirmation text .cnftxt
matbep:{
mattxtlab:"", // Label for MATTXT .matbep.mattxtlab
},
aamdtd:{
addamtflg:"", // Add. Amount .aamdtd.addamtflg
},
matbtp:{
mattxtlab:"", // Label for MATTXT .matbtp.mattxtlab
},
fpdgrp:{
rec:{
perint:"", // Percentage .fpdgrp.rec.perint
rdsflg:"", // Re-Discounting? .fpdgrp.rec.rdsflg
silflg:"", // Un-Disclosed? .fpdgrp.rec.silflg
funflg:"", // Funded? .fpdgrp.rec.funflg
opndatlc:"", // Date L/C Opened/Issued .fpdgrp.rec.opndatlc
expdatlc:"", // LC Date of Expire .fpdgrp.rec.expdatlc
opndat:"", // Opened on .fpdgrp.rec.opndat
expdat:"", // Forfaiting Agreement Date of Expiry .fpdgrp.rec.expdat
valdat:"", // This Purchase Offer is Valid until .fpdgrp.rec.valdat
ownref:"", // Reference .fpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .fpdgrp.rec.nam
},
sel:{
pts:new Pts().data,
},
cbs:{
max:{
cur:"", // Agree to Purchase .fpdgrp.cbs.max.cur
amt:"", // Balance .fpdgrp.cbs.max.amt
},
opn1:{
cur:"", // 信用证余额 .fpdgrp.cbs.opn1.cur
amt:"", // Balance .fpdgrp.cbs.opn1.amt
},
sld:{
cur:"", // Sold or Reserved .fpdgrp.cbs.sld.cur
amt:"", // Balance .fpdgrp.cbs.sld.amt
},
},
inv:{
pts:new Pts().data,
},
},
fpdget:{
clsflg:"", // which contracts to show .fpdget.clsflg
sdamod:{
dadsnd:"", // Drag Drop Sender .fpdget.sdamod.dadsnd
seainf:"", // .fpdget.sdamod.seainf
},
},
cfgfil:{
bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
regside3:"", // Regside .cfgfil.regside3
regside4:"", // Regside .cfgfil.regside4
regside5:"", // Regside .cfgfil.regside5
regside6:"", // Regside .cfgfil.regside6
regside7:"", // Regside .cfgfil.regside7
regside8:"", // Regside .cfgfil.regside8
regside9:"", // Regside .cfgfil.regside9
regside10:"", // Regside .cfgfil.regside10
regside11:"", // Regside .cfgfil.regside11
regside12:"", // Regside .cfgfil.regside12
subtxt1:"", // submenu text 1 .cfgfil.subtxt1
subtxt2:"", // submenu text 2 .cfgfil.subtxt2
subtxt3:"", // submenu text 3 .cfgfil.subtxt3
subtxt4:"", // submenu text 4 .cfgfil.subtxt4
subtxt5:"", // submenu text 5 .cfgfil.subtxt5
subtxt6:"", // submenu text 6 .cfgfil.subtxt6
subtxt7:"", // submenu text 7 .cfgfil.subtxt7
subtxt8:"", // submenu text 8 .cfgfil.subtxt8
subtxt9:"", // submenu text 9 .cfgfil.subtxt9
subtxt10:"", // submenu text 10 .cfgfil.subtxt10
subtxt11:"", // submenu text 11 .cfgfil.subtxt11
regtxt1:"", // Register text 1 .cfgfil.regtxt1
regtxt2:"", // Register text 2 .cfgfil.regtxt2
regtxt3:"", // Register text 3 .cfgfil.regtxt3
regtxt4:"", // Register text 4 .cfgfil.regtxt4
regtxt5:"", // Register text 5 .cfgfil.regtxt5
regtxt6:"", // Register text 6 .cfgfil.regtxt6
regtxt7:"", // Register text 7 .cfgfil.regtxt7
regtxt8:"", // Register text 8 .cfgfil.regtxt8
regtxt9:"", // Register text 9 .cfgfil.regtxt9
regtxt10:"", // Register text 10 .cfgfil.regtxt10
regtxt11:"", // Register text 11 .cfgfil.regtxt11
regtxt12:"", // Register text 12 .cfgfil.regtxt12
hotsub1:"", // hotspot submenu 1 .cfgfil.hotsub1
hotsub2:"", // hotspot submenu 1 .cfgfil.hotsub2
hotsub3:"", // hotspot submenu 1 .cfgfil.hotsub3
hotsub4:"", // hotspot submenu 1 .cfgfil.hotsub4
hotsub5:"", // hotspot submenu 1 .cfgfil.hotsub5
hotsub6:"", // hotspot submenu 1 .cfgfil.hotsub6
hotsub7:"", // hotspot submenu 1 .cfgfil.hotsub7
hotsub8:"", // hotspot submenu 1 .cfgfil.hotsub8
hotsub9:"", // hotspot submenu 1 .cfgfil.hotsub9
hotsub10:"", // hotspot submenu 1 .cfgfil.hotsub10
hotsub11:"", // hotspot submenu 1 .cfgfil.hotsub11
hotreg1:"", // hotspot reg1 .cfgfil.hotreg1
hotreg2:"", // hotspot reg2 .cfgfil.hotreg2
hotreg3:"", // hotspot reg3 .cfgfil.hotreg3
hotreg4:"", // hotspot reg4 .cfgfil.hotreg4
hotreg5:"", // hotspot reg5 .cfgfil.hotreg5
hotreg6:"", // hotspot reg6 .cfgfil.hotreg6
hotreg7:"", // hotspot reg7 .cfgfil.hotreg7
hotreg8:"", // hotspot reg8 .cfgfil.hotreg8
hotreg9:"", // hotspot reg9 .cfgfil.hotreg9
hotreg10:"", // hotspot reg10 .cfgfil.hotreg10
hotreg11:"", // hotspot reg11 .cfgfil.hotreg11
hotreg12:"", // hotspot reg12 .cfgfil.hotreg12
subtrn1:"", // Submenu trn 1 .cfgfil.subtrn1
subtrn2:"", // Submenu trn 2 .cfgfil.subtrn2
subtrn3:"", // Submenu trn 3 .cfgfil.subtrn3
subtrn4:"", // Submenu trn 4 .cfgfil.subtrn4
subtrn5:"", // Submenu trn 5 .cfgfil.subtrn5
subtrn6:"", // Submenu trn 6 .cfgfil.subtrn6
subtrn7:"", // Submenu trn 7 .cfgfil.subtrn7
subtrn8:"", // Submenu trn 8 .cfgfil.subtrn8
subtrn9:"", // Submenu trn 9 .cfgfil.subtrn9
subtrn10:"", // Submenu trn 10 .cfgfil.subtrn10
subtrn11:"", // Submenu trn 11 .cfgfil.subtrn11
},
dfdgrp:{
rec:{
ownref:"", // 代付业务编号 .dfdgrp.rec.ownref
nam:"", // Name of Loan Contract .dfdgrp.rec.nam
opndat:"", // 代付日期 .dfdgrp.rec.opndat
stttendat:"", // 代付起始日 .dfdgrp.rec.stttendat
matdat:"", // Maturity Date .dfdgrp.rec.matdat
fintyp:"", // Type .dfdgrp.rec.fintyp
},
cbs:{
max:{
amt:"", // 代付本金 .dfdgrp.cbs.max.amt
cur:"", // 代付本金 .dfdgrp.cbs.max.cur
},
opn1:{
cur:"", // 代付金额 .dfdgrp.cbs.opn1.cur
amt:"", // 代付金额 .dfdgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
dff:{
pts:new Pts().data,
},
},
dfdget:{
clsflg:"", // which contracts to show .dfdget.clsflg
sdamod:{
seainf:"", // .dfdget.sdamod.seainf
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -100,6 +100,9 @@ import TrnfndsDetail from "./Trnrel/Trnfnd/TrnfndsDetail" ...@@ -100,6 +100,9 @@ import TrnfndsDetail from "./Trnrel/Trnfnd/TrnfndsDetail"
import Sptpopup from "./Sptsel/Sptpopup" import Sptpopup from "./Sptsel/Sptpopup"
import Infdet from "./Infdet" import Infdet from "./Infdet"
import Infbfd from "./Infbfd" import Infbfd from "./Infbfd"
import Detopn from "./Detopn"
import Detame from "./Detame"
import Detsel from "./Detsel"
/** /**
* 带有name的才会被添加进顶部的标签页里 * 带有name的才会被添加进顶部的标签页里
*/ */
...@@ -209,6 +212,9 @@ const BusRouter = [ ...@@ -209,6 +212,9 @@ const BusRouter = [
{ path: 'bdtset', component: Bdtset, name: 'Bdtset', meta: { title: '信用证付款' } }, { path: 'bdtset', component: Bdtset, name: 'Bdtset', meta: { title: '信用证付款' } },
{ path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: '卖方信用证查询' } }, { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: '卖方信用证查询' } },
{ path: 'infbfd', component: Infbfd, name: 'Infbfd', meta: { title: '卖方信用证单据查询' } }, { path: 'infbfd', component: Infbfd, name: 'Infbfd', meta: { title: '卖方信用证单据查询' } },
{ path: 'detopn', component: Detopn, name: 'Detopn', meta: { title: '信用证开立' } },
{ path: 'detame', component: Detame, name: 'Detame', meta: { title: '信用证修改' } },
{ path: 'detsel', component: Detsel, name: 'Detsel', meta: { title: '信用证查询' } },
] ]
export default BusRouter export default BusRouter
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Additional Amount" prop="dedgrp.cbs.max2.cur">
<c-select v-model="model.dedgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Amount" prop="dedgrp.cbs.max2.amt">
<c-input v-model="model.dedgrp.cbs.max2.amt" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="dedgrp.cbs.opn2.cur">
<c-select v-model="model.dedgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="dedgrp.cbs.opn2.amt">
<c-input v-model="model.dedgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Covered" prop="dedgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.dedgrp.blk.addamtcov" maxlength="35" show-word-limit placeholder="请输入Covered" ></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/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="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">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.detp.hwfwms" data-path=".detp.hwfwms" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.detp.hwtype" data-path=".detp.hwtype" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Goods Code for Statistics" prop="dedgrp.rec.stagod">
<c-select v-model="model.dedgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code for Statistics">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据条款" prop="dedgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.dedgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入单据条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="附加条款" prop="dedgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.dedgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入附加条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="给付款、" prop="dedgrp.blk.insbnk">
<c-input type="textarea" v-model="model.dedgrp.blk.insbnk" maxlength="65" show-word-limit placeholder="请输入给付款、" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
...
</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/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="是否可保兑" prop="dedgrp.rec.bdflg">
<c-select v-model="model.dedgrp.rec.bdflg" style="width:100%" placeholder="请选择是否可保兑">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否可议付" prop="dedgrp.rec.isyifu">
<c-select v-model="model.dedgrp.rec.isyifu" style="width:100%" placeholder="请选择是否可议付">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Number of bank" prop="dedgrp.rmb.pts.bankno">
<c-input v-model="model.dedgrp.rmb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Available with" prop="dedgrp.rec.avbwth">
<c-select v-model="model.dedgrp.rec.avbwth" style="width:100%" placeholder="请选择Available with">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="联行名称 电证用" prop="dedgrp.rmb.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.rmb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Number of bank" prop="dedgrp.avb.pts.bankno">
<c-input v-model="model.dedgrp.avb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="联行名称 电证用" prop="dedgrp.avb.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.avb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址 电证用" prop="dedgrp.rmb.pts.dizhii">
<c-input type="textarea" v-model="model.dedgrp.rmb.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址 电证用" prop="dedgrp.avb.pts.dizhii">
<c-input type="textarea" v-model="model.dedgrp.avb.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Number of bank" prop="dedgrp.cmb.pts.bankno">
<c-input v-model="model.dedgrp.cmb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="联行名称 电证用" prop="dedgrp.cmb.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.cmb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="dedgrp.adv.pts.extkey">
<c-input v-model="model.dedgrp.adv.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址 电证用" prop="dedgrp.cmb.pts.dizhii">
<c-input type="textarea" v-model="model.dedgrp.cmb.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Number of bank" prop="dedgrp.adv.pts.bankno">
<c-input v-model="model.dedgrp.adv.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="联行名称 电证用" prop="dedgrp.adv.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.adv.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Number of bank" prop="dedgrp.apc.pts.bankno">
<c-input v-model="model.dedgrp.apc.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址 电证用" prop="dedgrp.adv.pts.dizhii">
<c-input type="textarea" v-model="model.dedgrp.adv.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="联行名称 电证用" prop="dedgrp.apc.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.apc.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="邮编 电证用" prop="dedgrp.adv.pts.youzbm">
<c-input v-model="model.dedgrp.adv.pts.youzbm" maxlength="6" placeholder="请输入邮编 电证用"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="邮编" prop="dedgrp.adv.pts.dihdig">
<c-input v-model="model.dedgrp.adv.pts.dihdig" maxlength="16" placeholder="请输入邮编"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址 电证用" prop="dedgrp.apc.pts.dizhii">
<c-input type="textarea" v-model="model.dedgrp.apc.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证编号" prop="dedgrp.rec.kzref">
<c-input v-model="model.dedgrp.rec.kzref" maxlength="35" placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="dedgrp.iss.pts.extkey">
<c-input v-model="model.dedgrp.iss.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="邮编 电证用" prop="dedgrp.apc.pts.youzbm">
<c-input v-model="model.dedgrp.apc.pts.youzbm" maxlength="6" placeholder="请输入邮编 电证用"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="邮编" prop="dedgrp.apc.pts.dihdig">
<c-input v-model="model.dedgrp.apc.pts.dihdig" maxlength="16" placeholder="请输入邮编"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Number of bank" prop="dedgrp.iss.pts.bankno">
<c-input v-model="model.dedgrp.iss.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Account" prop="dedgrp.apl.pts.extact">
<c-input v-model="model.dedgrp.apl.pts.extact" maxlength="34" placeholder="请输入External Account"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="联行名称 电证用" prop="dedgrp.iss.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.iss.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Number of bank" prop="dedgrp.apb.pts.bankno">
<c-input v-model="model.dedgrp.apb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址 电证用" prop="dedgrp.iss.pts.dizhii">
<c-input type="textarea" v-model="model.dedgrp.iss.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="联行名称 电证用" prop="dedgrp.apb.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.apb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="邮编 电证用" prop="dedgrp.iss.pts.youzbm">
<c-input v-model="model.dedgrp.iss.pts.youzbm" maxlength="6" placeholder="请输入邮编 电证用"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="邮编" prop="dedgrp.iss.pts.dihdig">
<c-input v-model="model.dedgrp.iss.pts.dihdig" maxlength="16" placeholder="请输入邮编"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="申请人统一社会信用代码" prop="dedgrp.rec.idcode">
<c-input v-model="model.dedgrp.rec.idcode" maxlength="18" placeholder="请输入申请人统一社会信用代码"></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/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.detp.fenzhu" data-path=".detp.fenzhu" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Partial Shipment" prop="dedgrp.rec.shppar">
<c-select v-model="model.dedgrp.rec.shppar" style="width:100%" placeholder="请选择Partial Shipment">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.detp.hwzydi" data-path=".detp.hwzydi" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
<c-select v-model="model.dedgrp.rec.fqzytgfw" style="width:100%" placeholder="请选择分期装运/提供服务">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec.shpfro">
<c-input type="textarea" v-model="model.dedgrp.rec.shpfro" maxlength="35" show-word-limit placeholder="请输入分期装运/提供服务" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="分期时镧表" prop="dedgrp.rec.fqtime">
<c-input type="textarea" v-model="model.dedgrp.rec.fqtime" maxlength="35" show-word-limit placeholder="请输入分期时镧表" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="货物运输或交货方式/服务方式" prop="dedgrp.rec.shpto">
<c-input type="textarea" v-model="model.dedgrp.rec.shpto" maxlength="35" show-word-limit placeholder="请输入货物运输或交货方式/服务方式" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="运输方式" prop="dedgrp.rec.tratyp">
<c-select v-model="model.dedgrp.rec.tratyp" style="width:100%" placeholder="请选择运输方式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.detp.sdysfs" data-path=".detp.sdysfs" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="输入运输方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" maxlength="35" show-word-limit placeholder="请输入输入运输方式" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="服务提供地点" prop="dedgrp.rec.shppro">
<c-input type="textarea" v-model="model.dedgrp.rec.shppro" maxlength="35" show-word-limit placeholder="请输入服务提供地点" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同编号" prop="dedgrp.rec.conno">
<c-input v-model="model.dedgrp.rec.conno" maxlength="35" placeholder="请输入合同编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同币种" prop="dedgrp.rec.concur">
<c-select v-model="model.dedgrp.rec.concur" style="width:100%" placeholder="请选择合同币种">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同金额" prop="dedgrp.rec.conamt">
<c-input v-model="model.dedgrp.rec.conamt" placeholder="请输入合同金额"></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/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="Drag Drop Sender" prop="detp.recget.sdamod.dadsnd">
<c-input v-model="model.detp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="编号" prop="dedgrp.rec.ownref">
<c-input v-model="model.dedgrp.rec.ownref" maxlength="16" placeholder="请输入编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="detp.recget.sdamod.seainf">
<c-input v-model="model.detp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Externally Displayed Name to Identify the Contract" prop="dedgrp.rec.nam">
<c-input v-model="model.dedgrp.rec.nam" maxlength="40" placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDetpButgetref">
获取
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="受益人 编号." prop="dedgrp.ben.pts.ref">
<c-input v-model="model.dedgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人 编号."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否可转让" prop="dedgrp.rec.lcrtyp">
<c-select v-model="model.dedgrp.rec.lcrtyp" style="width:100%" placeholder="请选择是否可转让">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="detp.benp.ptsget.sdamod.dadsnd">
<c-input v-model="model.detp.benp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="所属客户经理" prop="detp.usr.extkey">
<c-input v-model="model.detp.usr.extkey" maxlength="8" placeholder="请输入所属客户经理"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="detp.usrget.sdamod.seainf">
<c-input v-model="model.detp.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="dedgrp.ben.pts.extkey">
<c-input v-model="model.dedgrp.ben.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="detp.benp.ptsget.sdamod.seainf">
<c-input v-model="model.detp.benp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBenpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="dedgrp.ben.namelc">
<c-input type="textarea" v-model="model.dedgrp.ben.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="金额" prop="dedgrp.cbs.nom1.cur">
<c-select v-model="model.dedgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="金额" prop="dedgrp.cbs.nom1.amt">
<c-input v-model="model.dedgrp.cbs.nom1.amt" placeholder="请输入金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="dedgrp.ben.pts.adrblk">
<c-input type="textarea" v-model="model.dedgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="dedgrp.ben.dbfadrblkcn">
<c-input type="textarea" v-model="model.dedgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="大写金额" prop="detp.upamt">
<c-input v-model="model.detp.upamt" maxlength="60" placeholder="请输入大写金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="dedgrp.ben.adrelc">
<c-input type="textarea" v-model="model.dedgrp.ben.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="溢短装" prop="dedgrp.rec.nomtop">
<c-input v-model="model.dedgrp.rec.nomtop" placeholder="请输入溢短装"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount Tolerance - Negative" prop="dedgrp.rec.nomton">
<c-input v-model="model.dedgrp.rec.nomton" placeholder="请输入Amount Tolerance - Negative"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="贸易类型" prop="dedgrp.rec.mytype">
<c-select v-model="model.dedgrp.rec.mytype" style="width:100%" placeholder="请选择贸易类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="最大金额" prop="dedgrp.cbs.max.cur">
<c-input v-model="model.dedgrp.cbs.max.cur" maxlength="3" placeholder="请输入最大金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="dedgrp.cbs.max.amt">
<c-input v-model="model.dedgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Account" prop="dedgrp.ben.pts.extact">
<c-input v-model="model.dedgrp.ben.pts.extact" maxlength="34" placeholder="请输入External Account"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="开立日期" prop="dedgrp.rec.opndat">
<c-date-picker type="date" v-model="model.dedgrp.rec.opndat" style="width:100%" placeholder="请选择开立日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否代开信用证" prop="dedgrp.rec.dkflg">
<c-select v-model="model.dedgrp.rec.dkflg" style="width:100%" placeholder="请选择是否代开信用证">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Number of bank" prop="dedgrp.beb.pts.bankno">
<c-input v-model="model.dedgrp.beb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="有效日期" prop="dedgrp.rec.expdat">
<c-date-picker type="date" v-model="model.dedgrp.rec.expdat" style="width:100%" placeholder="请选择有效日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="联行名称 电证用" prop="dedgrp.beb.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.beb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="有效地点" prop="dedgrp.rec.expplc">
<c-input type="textarea" v-model="model.dedgrp.rec.expplc" maxlength="35" show-word-limit placeholder="请输入有效地点" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.detp.zchday" data-path=".detp.zchday" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Shipment Date" prop="dedgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.dedgrp.rec.shpdat" style="width:100%" placeholder="请选择Shipment Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="申请人 编号." prop="dedgrp.apl.pts.ref">
<c-input v-model="model.dedgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人 编号."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="转运" prop="dedgrp.rec.shptrs">
<c-select v-model="model.dedgrp.rec.shptrs" style="width:100%" placeholder="请选择转运">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="detp.aplp.ptsget.sdamod.dadsnd">
<c-input v-model="model.detp.aplp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="dedgrp.apl.pts.extkey">
<c-input v-model="model.dedgrp.apl.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="detp.aplp.ptsget.sdamod.seainf">
<c-input v-model="model.detp.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="是否通过电证系统" prop="dedgrp.rec.elcflg">
<c-select v-model="model.dedgrp.rec.elcflg" style="width:100%" placeholder="请选择是否通过电证系统">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="dedgrp.apl.namelc">
<c-input type="textarea" v-model="model.dedgrp.apl.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="dedgrp.apl.pts.adrblk">
<c-input type="textarea" v-model="model.dedgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="dedgrp.apl.dbfadrblkcn">
<c-input type="textarea" v-model="model.dedgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证兑付方式" prop="dedgrp.rec.avbby">
<c-select v-model="model.dedgrp.rec.avbby" style="width:100%" placeholder="请选择信用证兑付方式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maximum Tenor" prop="dedgrp.rec.tenmaxday">
<c-input v-model="model.dedgrp.rec.tenmaxday" placeholder="请输入Maximum Tenor"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期付款指示" prop="dedgrp.blk.defdet">
<c-input type="textarea" v-model="model.dedgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入远期付款指示" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="dedgrp.apl.adrelc">
<c-input type="textarea" v-model="model.dedgrp.apl.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期付款指示" prop="dedgrp.blk.dftat">
<c-input type="textarea" v-model="model.dedgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入远期付款指示" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdftatButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="是否通知客户" prop="dedgrp.rec.rejflg">
<c-select v-model="model.dedgrp.rec.rejflg" style="width:100%" placeholder="请选择是否通知客户">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单期限" prop="dedgrp.blk.preper">
<c-input type="textarea" v-model="model.dedgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入交单期限" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onPreperButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="发起参与机构" prop="detp.dzlhhh">
<c-input v-model="model.detp.dzlhhh" maxlength="20" placeholder="请输入发起参与机构"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="拒绝通知理由" prop="dedgrp.blk.rejadvrsn">
<c-input type="textarea" v-model="model.dedgrp.blk.rejadvrsn" maxlength="35" show-word-limit placeholder="请输入拒绝通知理由" ></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/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="声明" prop="dedgrp.blk.stamet">
<c-input type="textarea" v-model="model.dedgrp.blk.stamet" maxlength="65" show-word-limit placeholder="请输入声明" ></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/Detame/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">
<!--PD000017 -->
<el-tab-pane label="PD000017" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000405 -->
<el-tab-pane label="PD000405" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000494 -->
<el-tab-pane label="PD000494" name="detp1">
<m-detp1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000525 -->
<el-tab-pane label="PD000525" name="detp2">
<m-detp2 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000548 -->
<el-tab-pane label="PD000548" name="stament">
<m-stament :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="aamp">
<m-aamp :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 Detame from "~/model/Detame"
import CommonProcess from "~/mixin/CommonProcess"
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"
import Detp2 from "./Detp2"
import Stament from "./Stament"
import Aamp from "./Aamp"
export default {
name: "Detame",
components:{
"m-ovwp" : Ovwp,
"m-detp" : Detp,
"m-detp1" : Detp1,
"m-detp2" : Detp2,
"m-stament" : Stament,
"m-aamp" : Aamp,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "detame",
model: new Detame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入detame交易");
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="Additional Amount" prop="dedgrp.cbs.max2.cur">
<c-select v-model="model.dedgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Amount" prop="dedgrp.cbs.max2.amt">
<c-input v-model="model.dedgrp.cbs.max2.amt" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="dedgrp.cbs.opn2.cur">
<c-select v-model="model.dedgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="dedgrp.cbs.opn2.amt">
<c-input v-model="model.dedgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Covered" prop="dedgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.dedgrp.blk.addamtcov" maxlength="35" show-word-limit placeholder="请输入Covered" ></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/Detopn/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="24">
<el-form-item label="货物描述" prop="dedgrp.blk.lcrgod">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.dedgrp.blk.lcrgod" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入Description of Goods" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物类型" prop="dedgrp.rec.stagod">
<c-select v-model="model.dedgrp.rec.stagod" style="width:70%" placeholder="请选择货物类型">
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据要求" prop="dedgrp.blk.lcrdoc">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.dedgrp.blk.lcrdoc" maxlength="1950" style="width:70%;margin-right:20px;" show-word-limit placeholder="请输入单据要求" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加条款" prop="dedgrp.blk.adlcnd">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.dedgrp.blk.adlcnd" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入附加条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="给付款、承兑、议付行的指示" prop="dedgrp.blk.insbnk">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.dedgrp.blk.insbnk" style="width:70%;margin-right:20px;" maxlength="325" show-word-limit placeholder="请输入付行的指示" ></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<span v-text="model.detp.hwfwms" data-path=".detp.hwfwms" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.detp.hwtype" data-path=".detp.hwtype" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="单据条款" prop="dedgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.dedgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入单据条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="附加条款" prop="dedgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.dedgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入附加条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="给付款、" prop="dedgrp.blk.insbnk">
<c-input type="textarea" v-model="model.dedgrp.blk.insbnk" maxlength="65" show-word-limit placeholder="请输入给付款、" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
...
</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/Detopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!--=== ==========左边=============== -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="是否可议付" prop="dedgrp.rec.isyifu">
<c-select
v-model="model.dedgrp.rec.isyifu"
style="width: 100%"
placeholder="请选择是否可议付"
>
<el-option
v-for="item in codes.isyifu"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="指定的有关银行 " prop="dedgrp.rec.avbwth">
<c-select
:disabled="model.dedgrp.rec.isyifu != 'Y'"
v-model="model.dedgrp.rec.avbwth"
style="width: 100%"
placeholder="请选择指定的有关银行"
>
<el-option
v-for="item in codes.avbwth"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!--
<c-col :span="24">
<el-form-item label="议付行联行行号" prop="dedgrp.avb.pts.bankno">
<c-input v-model="model.dedgrp.avb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="议付行名称" prop="dedgrp.avb.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.avb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="议付行地址" prop="dedgrp.avb.pts.dizhii">
<c-input type="textarea" v-model="model.dedgrp.avb.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
-->
<c-ptapdome
:disabledBankno="model.dedgrp.rec.isyifu != 'Y'"
:disabledJigomc="true"
:disabledDizhii="model.dedgrp.rec.isyifu != 'Y'"
:model="model"
:argadr="{
title: '议付行',
rol: 'avb',
grp: 'dedgrp'
}"
></c-ptapdome>
<!--
<c-col :span="24">
<el-form-item label="通知行BIC" prop="dedgrp.adv.pts.extkey">
<c-input v-model="model.dedgrp.adv.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="24">
<el-form-item label="通知行BIC" prop="dedgrp.adv.pts.extkey">
<c-input
v-model="model.dedgrp.adv.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('dedgrp.adv.pts.extkey')"
></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="24">
<el-form-item label="通知行联行行号" prop="dedgrp.adv.pts.bankno">
<c-input v-model="model.dedgrp.adv.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="通知行联行名称" prop="dedgrp.adv.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.adv.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="通知行地址" prop="dedgrp.adv.pts.dizhii">
<c-input type="textarea" v-model="model.dedgrp.adv.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
-->
<c-ptapdome
:disabledBankno="true"
:disabledJigomc="true"
:disabledDizhii="true"
:model="model"
:argadr="{
title: '通知行',
rol: 'adv',
grp: 'dedgrp'
}"
></c-ptapdome>
<c-col :span="13">
<el-form-item label="通知行邮编" prop="dedgrp.adv.pts.youzbm">
<c-input v-model="model.dedgrp.adv.pts.youzbm" maxlength="6" placeholder="请输入邮编"></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="通知行电话" prop="dedgrp.adv.pts.dihdig" label-width="100px">
<c-input v-model="model.dedgrp.adv.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证编号" prop="dedgrp.rec.kzref">
<c-input v-model="model.dedgrp.rec.kzref" maxlength="35" placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="24">
<el-form-item label="开证行BIC" prop="dedgrp.iss.pts.extkey">
<c-input v-model="model.dedgrp.iss.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
-->
<!-- =========================开证行========================= -->
<c-col :span="24">
<el-form-item label="开证行BIC" prop="dedgrp.iss.pts.extkey">
<c-input
v-model="model.dedgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('dedgrp.iss.pts.extkey')"
></c-input>
</el-form-item>
</c-col>
<!--<c-col :span="24">
<el-form-item label="开证行联行行号" prop="dedgrp.iss.pts.bankno">
<c-input v-model="model.dedgrp.iss.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行联行名称" prop="dedgrp.iss.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.iss.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行地址" prop="dedgrp.iss.pts.dizhii">
<c-input type="textarea" v-model="model.dedgrp.iss.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
-->
<c-ptapdome
:disabledJigomc="true"
:model="model"
:argadr="{
title: '开证行',
rol: 'iss',
grp: 'dedgrp'
}"
:isIss="true"
></c-ptapdome>
<c-col :span="12">
<el-form-item label="开证行邮编" prop="dedgrp.iss.pts.youzbm">
<c-input v-model="model.dedgrp.iss.pts.youzbm" maxlength="6" placeholder="请输入邮编 电证用"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="开证行电话" prop="dedgrp.iss.pts.dihdig" label-width="100px">
<c-input v-model="model.dedgrp.iss.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input>
</el-form-item>
</c-col>
</c-col>
<!--=== ==========右边=============== -->
<c-col :span="11" :offset="1">
<c-col :span="11">
<el-form-item label="是否可保兑" prop="dedgrp.rec.bdflg">
<c-select
v-model="model.dedgrp.rec.bdflg"
style="width: 100%"
placeholder="请选择是否可保兑"
>
<el-option
v-for="item in codes.bdflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <el-form-item label="保兑行联行行号" prop="dedgrp.rmb.pts.bankno">
<c-input
:disabled="model.dedgrp.rec.bdflg != 'Y'"
v-model="model.dedgrp.rmb.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('dedgrp.rmb.pts.bankno')"
></c-input>
</el-form-item>
<el-form-item label="保兑行名称" prop="dedgrp.rmb.pts.jigomc">
<c-input
disabled
type="textarea"
v-model="model.dedgrp.rmb.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
<el-form-item label="保兑行地址" prop="dedgrp.rmb.pts.dizhii">
<c-input
:disabled="model.dedgrp.rec.bdflg != 'Y'"
type="textarea"
v-model="model.dedgrp.rmb.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input>
</el-form-item> -->
<c-ptapdome
:disabledBankno="model.dedgrp.rec.bdflg != 'Y'"
:disabledJigomc="true"
:disabledDizhii="model.dedgrp.rec.bdflg != 'Y'"
:model="model"
:argadr="{
title: '保兑行',
rol: 'rmb',
grp: 'dedgrp'
}"
></c-ptapdome>
<!--
<c-col :span="24">
<el-form-item label="转让行联行行号" prop="dedgrp.cmb.pts.bankno">
<c-input v-model="model.dedgrp.cmb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转让行名称" prop="dedgrp.cmb.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.cmb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转让行地址" prop="dedgrp.cmb.pts.dizhii">
<c-input type="textarea" v-model="model.dedgrp.cmb.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
-->
<c-ptapdome
:disabledBankno="true"
:disabledJigomc="true"
:disabledDizhii="true"
:model="model"
:argadr="{
title: '转让行',
rol: 'cmb',
grp: 'dedgrp'
}"
></c-ptapdome>
<!--
<c-col :span="24">
<el-form-item label="申请行联行行号" prop="dedgrp.apc.pts.bankno">
<c-input v-model="model.dedgrp.apc.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请行名称" prop="dedgrp.apc.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.apc.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请行地址" prop="dedgrp.apc.pts.dizhii">
<c-input type="textarea" v-model="model.dedgrp.apc.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
-->
<c-ptapdome
:disabledBankno="true"
:disabledJigomc="true"
:disabledDizhii="true"
:model="model"
:argadr="{
title: '申请行',
rol: 'apc',
grp: 'dedgrp'
}"
></c-ptapdome>
<c-col :span="13">
<el-form-item label="申请人邮编" prop="dedgrp.apc.pts.youzbm">
<c-input v-model="model.dedgrp.apc.pts.youzbm" maxlength="6" placeholder="请输入邮编 电证用"></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="申请人电话" prop="dedgrp.apc.pts.dihdig" label-width="100px">
<c-input v-model="model.dedgrp.apc.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人账号" prop="dedgrp.apl.pts.extact">
<c-input v-model="model.dedgrp.apl.pts.extact" maxlength="34" placeholder="请输入External Account"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人开户行 联行行号" prop="dedgrp.apb.pts.bankno">
<c-input v-model="model.dedgrp.apb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行名称" prop="dedgrp.apb.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.apb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人统一社会信用代码" prop="dedgrp.rec.idcode">
<c-input v-model="model.dedgrp.rec.idcode" maxlength="18" placeholder="请输入申请人统一社会信用代码"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Detopn/Event"
import Utils from "~/utils";
import PtapDome from "~/views/Public/PtapDome";
export default {
components: { "c-ptapdome": PtapDome },
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ========================= Left ========================= -->
<c-col :span="11">
<el-form-item label="分批装运货物" prop="dedgrp.rec.shppar">
<c-select v-model="model.dedgrp.rec.shppar" style="width:50%" placeholder="请选择">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
<c-select v-model="model.dedgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.dedgrp.rec.shppar != 'Y'" style="width:50%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务约定" prop="dedgrp.rec.fqtime">
<c-input type="textarea" :rows="3" v-model="model.dedgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"></c-input>
</el-form-item>
<el-form-item label="货物运输/交货/服务方式" prop="dedgrp.rec.tratyp">
<c-col :span="10">
<c-select v-model="model.dedgrp.rec.tratyp" style="width:90%" placeholder="请选择" @change="recTratypChange" :disabled="model.dedgrp.rec.mytype == 'F'">
<el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</c-col>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == 'H'" label="手输运输方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == 'F'" label="服务提供方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == '3'" label="手输运输方式/服务提供方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同编号" prop="dedgrp.rec.conno">
<c-input v-model="model.dedgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同金额" prop="dedgrp.rec.conamt">
<c-col :span="10">
<c-select v-model="model.dedgrp.rec.concur" style="width:90%" placeholder="请选择">
<el-option label="CNY 人民币" value="CNY"></el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input v-model="model.dedgrp.rec.conamt" placeholder="请输入"></c-input>
</c-col>
</el-form-item>
</c-col>
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="货物转运地(港)" prop="dedgrp.rec.shpfro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shpfro" :disabled="model.dedgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="货物目的地/交货地(港)" prop="dedgrp.rec.shpto">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shpto" :disabled="model.dedgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="服务提供地点" prop="dedgrp.rec.shppro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shppro" :disabled="model.dedgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<span v-text="model.detp.fenzhu" data-path=".detp.fenzhu" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.detp.hwzydi" data-path=".detp.hwzydi" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.detp.sdysfs" data-path=".detp.sdysfs" > </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/Detopn/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="24">
<c-col :span="11">
<c-col :span="20">
<el-form-item
label="信用证号码"
prop="dedgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.dedgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
style="width: 95%"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="1" style="text-align: right"> -->
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="3" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
<!-- </c-col> -->
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="dedgrp.rec.nam">
<c-input
align="middle"
v-model="model.dedgrp.rec.nam"
maxlength="40"
disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="是否可以转让" prop="dedgrp.rec.lcrtyp">
<c-select
v-model="model.dedgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.lcrtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item label="所属客户经理" prop="detp.usr.extkey" style="width: 100%">
<c-input style="width: 95%" v-model="model.detp.usr.extkey" maxlength="8" placeholder="请输入所属客户经理" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<!-- <el-form-item label="" label-width="17px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
></c-button>
<!-- </el-form-item> -->
</c-col>
<!-- <c-col>
&nbsp;
</c-col> -->
<c-col :span="13">
<el-form-item label="信用证金额" prop="dedgrp.cbs.nom1.cur">
<c-select
disabled
v-model="model.dedgrp.cbs.nom1.cur"
style="width: 95%"
placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
style="text-align: left"
label-width="0"
prop="dedgrp.cbs.nom1.amt"
>
<c-input-currency
v-model="model.dedgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
@keyup.enter.native="defaultFunction('dedgrp.cbs.nom1.amt', model.dedgrp.cbs.nom1.amt)"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="大写金额" prop="detp.amt">
<c-input
v-model="model.detp.amt"
maxlength="76"
placeholder="请输入大写金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop">
<c-input
v-model="model.dedgrp.rec.nomtop"
maxlength="9"
style="width: 40%"
placeholder="请输入Amount Tolerance - Positive"
></c-input>
<label style="display:inline-block;width:10%;text-align:center;">-</label>
<c-input
v-model="model.dedgrp.rec.nomton"
maxlength="9"
style="width: 40%"
placeholder="请输入Amount Tolerance - Negative"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12" style="text-align: left">
<el-form-item
label=""
style="text-align: left; margin-left: 12px"
label-width="150px"
prop="dedgrp.rec.nomton"
>
<c-input
v-model="model.dedgrp.rec.nomton"
maxlength="9"
placeholder="请输入Amount Tolerance - Negative"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col> &nbsp; </c-col> -->
<c-col :span="13">
<el-form-item label="信用证最大金额" prop="dedgrp.cbs.max.cur">
<c-select
v-model="model.dedgrp.cbs.max.cur"
style="width: 95%"
placeholder="请选择Currency"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="0" prop="dedgrp.cbs.max.amt">
<c-input
v-model="model.dedgrp.cbs.max.amt"
placeholder="请输入信用证最大金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="贸易类型" prop="dedgrp.rec.mytype">
<c-select
v-if="model.dedgrp.rec.elcflg == 'N'"
v-model="model.dedgrp.rec.mytype"
style="width: 100%"
placeholder="请选择贸易类型"
@change="mytypeChange"
>
<el-option
v-for="item in codes.mylx"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<c-select
v-else
v-model="model.dedgrp.rec.mytype"
style="width: 100%"
placeholder="请选择贸易类型"
@change="mytypeChange"
>
<el-option
v-for="item in codes.mytype"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="开证日期" prop="dedgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.opndat"
value-format="yyyy-MM-dd"
style="width: 95%"
placeholder="请选择Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="有效日期" prop="dedgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.expdat"
value-format="yyyy-MM-dd"
style="width: 95%"
placeholder="请选择Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="有效地点" prop="dedgrp.rec.expplc">
<c-input
v-model="model.dedgrp.rec.expplc"
maxlength="35"
placeholder="请输入Place of Expiry"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="货运时间" prop="dedgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.dedgrp.rec.shpdat" style="width:100%" placeholder="请选择Shipment Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转运" prop="dedgrp.rec.shptrs">
<c-select v-model="model.dedgrp.rec.shptrs" style="width:50%" placeholder="请选择" :disabled="model.dedgrp.rec.mytype == 'F'">
<el-option label="不允许" value="禁止"></el-option>
<el-option label="允许" value="允许"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否通过电证系统" prop="dedgrp.rec.elcflg">
<c-select
v-model="model.dedgrp.rec.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
>
<el-option
v-for="item in codes.elcflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!--
<c-col :span="24">
<el-form-item label="是否代开信用证" prop="dedgrp.rec.dkflg">
<c-select v-model="model.dedgrp.rec.dkflg" style="width:100%" placeholder="请选择是否代开信用证">
</c-select>
</el-form-item>
</c-col>
-->
<c-col :span="24">
<el-form-item label="信用证兑付方式" prop="dedgrp.rec.avbby">
<c-select v-model="model.dedgrp.rec.avbby" style="width:100%" @change="avbbykeyEvent" placeholder="请选择">
<el-option v-for="item in codes.avbby0" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="远期付款指示" prop="dedgrp.blk.dftat">
<c-input type="textarea" v-model="model.dedgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入远期付款指示" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单期限" prop="dedgrp.blk.preper">
<c-input type="textarea" v-model="model.dedgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入交单期限" ></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'dedgrp',
rol: 'ben',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<!--
<c-col :span="24">
<c-col :span="24">
<el-form-item label="受益人参考号" prop="dedgrp.ben.pts.ref">
<c-input v-model="model.dedgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人参考号"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="受益人ID" prop="dedgrp.ben.pts.extkey">
<c-input v-model="model.dedgrp.ben.pts.extkey" maxlength="16" placeholder="请输入受益人Extkey"
@keyup.enter.native="
showGridPromptDialog('dedgrp.apl.pts.extkey')
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align: right">
<c-col :span="12">
<el-form-item label="" label-width="5px">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf('dedgrp.ben.pts.extkey')"
></c-button>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px">
<c-button size="small" type="primary" @click="onBenpDet">
详情
</c-button>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="dedgrp.ben.namelc">
<c-input type="textarea" v-model="model.dedgrp.ben.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人地址" prop="dedgrp.ben.adrelc">
<c-input type="textarea" v-model="model.dedgrp.ben.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人账号" prop="dedgrp.ben.pts.extact">
<c-input v-model="model.dedgrp.ben.pts.extact" maxlength="34" placeholder="请输入External Account"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="24">
<el-form-item label="联行行号" prop="dedgrp.beb.pts.bankno">
<c-input v-model="model.dedgrp.beb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行名称 电证用" prop="dedgrp.beb.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.beb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'dedgrp',
rol: 'apl',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<!--
<c-col :span="24">
<el-form-item label="申请人参考号" prop="dedgrp.apl.pts.ref">
<c-input v-model="model.dedgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人ID" prop="dedgrp.apl.pts.extkey">
<c-input v-model="model.dedgrp.apl.pts.extkey" maxlength="16" placeholder="请输入申请人Extkey"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="申请人ID" prop="dedgrp.apl.pts.extkey">
<c-input v-model="model.dedgrp.apl.pts.extkey" maxlength="16" placeholder="请输入申请人Extkey"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align: right">
<c-col :span="12">
<el-form-item label="" label-width="5px">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf('dedgrp.apl.pts.extkey')"
></c-button>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px">
<c-button size="small" type="primary" @click="onAplpDet">
详情
</c-button>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="申请人名称" prop="dedgrp.apl.namelc">
<c-input type="textarea" v-model="model.dedgrp.apl.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人地址" prop="dedgrp.apl.pts.adrblk">
<c-input type="textarea" v-model="model.dedgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="24">
<el-form-item label="是否通知客户" prop="dedgrp.rec.rejflg">
<c-select v-model="model.dedgrp.rec.rejflg" style="width:100%" placeholder="请选择是否通知客户">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="拒绝通知理由" prop="dedgrp.blk.rejadvrsn">
<c-input type="textarea" v-model="model.dedgrp.blk.rejadvrsn" maxlength="35" show-word-limit placeholder="请输入拒绝通知理由" ></c-input>
</el-form-item>
</c-col>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="" prop="detp.usrget.sdamod.seainf">
<c-input v-model="model.detp.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="detp.benp.ptsget.sdamod.seainf">
<c-input v-model="model.detp.benp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col> -->
<!--
<c-col :span="12">
<el-form-item label="Address Block" prop="dedgrp.ben.pts.adrblk">
<c-input type="textarea" v-model="model.dedgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col> -->
<!--
<c-col :span="12">
<el-form-item label="Chinese address" prop="dedgrp.ben.dbfadrblkcn">
<c-input type="textarea" v-model="model.dedgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<span v-text="model.detp.zchday" data-path=".detp.zchday" > </span>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="detp.aplp.ptsget.sdamod.dadsnd">
<c-input v-model="model.detp.aplp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<!--
<c-col :span="12">
<el-form-item label="" prop="detp.aplp.ptsget.sdamod.seainf">
<c-input v-model="model.detp.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
-->
<!--
<c-col :span="12">
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</c-col>
-->
<!--
<c-col :span="12">
<el-form-item label="Chinese address" prop="dedgrp.apl.dbfadrblkcn">
<c-input type="textarea" v-model="model.dedgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maximum Tenor" prop="dedgrp.rec.tenmaxday">
<c-input v-model="model.dedgrp.rec.tenmaxday" placeholder="请输入Maximum Tenor"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期付款指示" prop="dedgrp.blk.defdet">
<c-input type="textarea" v-model="model.dedgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入远期付款指示" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="dedgrp.apl.adrelc">
<c-input type="textarea" v-model="model.dedgrp.apl.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期付款指示" prop="dedgrp.blk.dftat">
<c-input type="textarea" v-model="model.dedgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入远期付款指示" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdftatButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onPreperButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="发起参与机构" prop="detp.dzlhhh">
<c-input v-model="model.detp.dzlhhh" maxlength="20" placeholder="请输入发起参与机构"></c-input>
</el-form-item>
</c-col>
-->
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Detopn/Event";
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
jigomcFlag: false,
trade: "",
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="声明" prop="dedgrp.blk.stamet">
<c-input type="textarea" v-model="model.dedgrp.blk.stamet" maxlength="65" show-word-limit placeholder="请输入声明" ></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/Detopn/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> -->
<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">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000017 -->
<el-tab-pane label="基本信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000494 -->
<el-tab-pane label="其他当事人" name="detp1">
<c-content>
<m-detp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000525 -->
<el-tab-pane label="详细信息" name="detp2">
<m-detp2 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000405 -->
<el-tab-pane label="单据要求" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="表外" name="engp">
<!--PD000027 -->
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="授信额度" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000548 -->
<!--
<el-tab-pane label="PD000548" name="stament">
<m-stament :model="model" :codes="codes"/>
</el-tab-pane>
-->
<!--PD000001 -->
<!--
<el-tab-pane label="PD000001" name="aamp">
<m-aamp :model="model" :codes="codes"/>
</el-tab-pane>
-->
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Detopn from "~/model/Detopn";
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 Ovwp from "./Ovwp";
import Detp from "./Detp";
import Detp1 from "./Detp1";
import Detp2 from "./Detp2";
import Stament from "./Stament";
import Aamp from "./Aamp";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Detopn",
components:{
"m-ovwp" : Ovwp,
"m-detp" : Detp,
"m-detp1" : Detp1,
"m-detp2" : Detp2,
"m-stament" : Stament,
"m-aamp" : Aamp,
"m-setpan" : Setpan,
"m-glepan": Glepan,
"m-engp": Engp,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
// mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
mixins: [CommonProcess,CommonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data(){
return {
tabVal: "",
trnName: "detopn",
model: new Detopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入detopn交易");
//let rtnmsg = await this.init({})
let rtnmsg = await this.init(this.$route.query);
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
Utils.copyValueFromVO(this.model,rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<c-row>
<c-col :span="24">
<c-col :span="7">
<el-form-item label="信用证编号" prop="dedgrp.rec.ownref">
<c-input
v-model="model.dedgrp.rec.ownref"
maxlength="16"
style="width: 96%"
placeholder="请输入信用证编号"
@keyup.enter.native="showGridPromptDialog('dedgrp.rec.ownref')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-search"
></c-button>
</c-col>
<c-col :span="2" class="centerLable">
<c-checkbox v-model="model.clsflg">Show closed</c-checkbox>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="dedgrp.rec.nam">
<c-input
v-model="model.dedgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="信用证金额" prop="dedgrp.cbs.nom1.cur">
<c-input
v-model="model.dedgrp.cbs.nom1.cur"
maxlength="3"
placeholder="请输入信用证金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
<c-input
v-model="model.dedgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入Open Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="指定银行" prop="dedgrp.avbnam">
<c-input
v-model="model.dedgrp.avbnam"
maxlength="40"
placeholder="请输入Available with"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="兑付方式" prop="dedgrp.rec.avbby">
<c-select
v-model="model.dedgrp.rec.avbby"
style="width: 100%"
placeholder="请选择Available by "
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="开证日期" prop="dedgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.opndat"
style="width: 95%"
placeholder="请选择Date Issued"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label="最迟装运日期"
label-width="110px"
prop="dedgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择Shipment Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="最迟交单日期/交单地" prop="dedgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.expdat"
style="width: 95%"
placeholder="请选择Date/Place of Expiry"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="0px" prop="dedgrp.rec.expplc">
<c-input
v-model="model.dedgrp.rec.expplc"
maxlength="29"
placeholder="请输入Date/Place of Expiry"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证类型" prop="dedgrp.rec.lcrtyp">
<c-select
v-model="model.dedgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择转让标志"
disabled
:code="codes.lcrtyp"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="受益人参考号" prop="dedgrp.ben.pts.ref">
<c-input
v-model="model.dedgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入Beneficiary"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="dedgrp.ben.pts.nam">
<c-input
v-model="model.dedgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行参考号" prop="dedgrp.iss.pts.ref">
<c-input
v-model="model.dedgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Issuing Bank"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="dedgrp.iss.pts.nam">
<c-input
v-model="model.dedgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人参考号" prop="dedgrp.apl.pts.ref">
<c-input
v-model="model.dedgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入Applicant"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人名称" prop="dedgrp.apl.pts.nam">
<c-input
v-model="model.dedgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Confirmation text" prop="cnftxt">
<c-input
v-model="model.cnftxt"
maxlength="40"
placeholder="请输入Confirmation text"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ========================操作菜单================== -->
<c-col :span="23">
<el-form-item>
<el-divider />
</el-form-item>
</c-col>
<c-col :offset="12" :span="10">
<el-tabs tab-position="right" @tab-click="onTabClick">
<el-tab-pane v-for="it in meum" :key="it.label" :label="it.label">
<sel-mune :data="it.item" :model="model" />
</el-tab-pane>
</el-tabs>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letsel/Event";
import SelMune from "./SelMune.vue";
export default {
components: { SelMune },
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
hotreg: "1",
meum: [
{
label: "信用证",
item: [
{
title: "Pre-Advising/Notifying",
url: "/business/letrsv",
disabled: false,
},
{
title: "Advising/Confirming",
url: "/business/letopn",
hotsubx: "6",
disabled: false,
},
{ title: "Reservation", url: "#", disabled: false },
{ title: "Resevation & Receving Docs", url: "#", disabled: false },
{ title: "Confirmation an Export L/C", url: "#", disabled: true },
{
title: "Amending Issuing Bank",
url: "/business/letame",
hotsubx: "6",
disabled: false,
},
{
title: "Changing Issuing Bank",
url: "#",
disabled: true,
},
{ title: "Receiving Docs", url: "#", disabled: true },
],
},
{
label: "Others",
item: [
{ title: "Charge Settlement", url: "#", disabled: true },
{ title: "Attachment", url: "#", disabled: true },
{ title: "Editing References", url: "#", disabled: true },
{ title: "Common Message", url: "#", disabled: true },
{ title: "Cancelling", url: "#", disabled: true },
{ title: "Re_Opening", url: "#", disabled: true },
],
},
{
label: "Docs",
item: [
{ title: "Correct Drawing", url: "#", disabled: true },
{ title: "Processing Discrepant Docs", url: "#", disabled: true },
{ title: "Sending Documents", url: "#", disabled: true },
{ title: "Changing Maturity", url: "#", disabled: true },
{ title: "Funds Settlement", url: "#", disabled: true },
{ title: "Reimbursement", url: "#", disabled: true },
],
},
{
label: "Oth.Docs",
item: [
{ title: "Charge Settlement", url: "#", disabled: true },
{ title: "Attachment", url: "#", disabled: true },
{ title: "Confirmation Limit Canclling", url: "#", disabled: true },
{ title: "Editing Reference", url: "#", disabled: true },
{ title: "Common Message", url: "#", disabled: true },
{ title: "Cancelling", url: "#", disabled: true },
{ title: "Re_Opening", url: "#", disabled: true },
],
},
{
label: "Advance",
item: [
{ title: "Creating an Advance", url: "#", disabled: true },
{ title: "Amending an Advance", url: "#", disabled: true },
{ title: "Setting an Advance", url: "#", disabled: true },
{ title: "递延收益冲销", url: "#", disabled: true },
{ title: "资产转卖收入或损失确认", url: "#", disabled: true },
{ title: "Cancelling", url: "#", disabled: true },
],
},
{
label: "Oth.Advance",
item: [
{ title: "Charge Settlement", url: "#", disabled: true },
{ title: "Attachment", url: "#", disabled: true },
{ title: "Editing References", url: "#", disabled: true },
{ title: "Engagement Adjustment", url: "#", disabled: true },
{ title: "Common Messages", url: "#", disabled: true },
],
},
{
label: "Transfer",
item: [
{
title: "Opening a Transfer L/C",
url: "/business/lttopn",
hotsubx: "1",
disabled: false,
},
{ title: "Amenting a Transfer L/C", url: "#", disabled: true },
{
title: "Receiving Docs from 2nd Benfic",
url: "#",
disabled: true,
},
],
},
{
label: "Oth.Transfer",
item: [
{ title: "Charge Settlement", url: "#", disabled: true },
{ title: "Attachment", url: "#", disabled: true },
{ title: "Editing References", url: "#", disabled: true },
{ title: "Common Messages", url: "#", disabled: true },
{ title: "Cancelling", url: "#", disabled: true },
{ title: "Re_Opening", url: "#", disabled: true },
],
},
{
label: "L/T Docs",
item: [
{
title: "Receiving Docs from 1st Benfic",
url: "#",
disabled: true,
},
{ title: "Correct Drawing", url: "#", disabled: true },
{ title: "Processing discrepant Docs", url: "#", disabled: true },
{ title: "Sending Documents", url: "#", disabled: true },
{ title: "Changing Maturity", url: "#", disabled: true },
{ title: "funds Settlement", url: "#", disabled: true },
{ title: "Reimbursement Clain", url: "#", disabled: true },
],
},
{
label: "Oth.L/T Docs",
item: [
{ title: "Charge Settlement", url: "#", disabled: true },
{ title: "Attachment", url: "#", disabled: true },
{ title: "Editing References", url: "#", disabled: true },
{ title: "Common Messages", url: "#", disabled: true },
{ title: "Cancelling", url: "#", disabled: true },
{ title: "Re_Opening", url: "#", disabled: true },
],
},
],
};
},
methods: {
...Event,
//各入口按钮请求
async onTabClick(tab, event) {
switch (tab.label) {
case "Transfer":
this.hotreg = "9";
break;
default:
this.hotreg = "1";
}
let rtnmsg = await this.executeRule(`cfgfil.hotreg${this.hotreg}`);
if ((rtnmsg.respCode == SUCCESS)) {
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
created: function () {},
};
</script>
<style>
.centerLable {
height: 28px;
line-height: 28px;
}
</style>
<template>
<el-table
:data="data"
border
stripe
:show-header="false"
:cell-style="cellSttyle"
>
<el-table-column prop="title" align="center">
<template slot-scope="scope">
<c-button
@click.native="onNarBtnClick(scope.row.url, scope.row.hotsubx)"
:title="scope.row.title"
:disabled="scope.row.disabled"
>{{ scope.row.title }}</c-button
>
<!-- <el-link
:disabled="scope.row.disabled"
:href="scope.row.url"
v-if="scope.row.title"
>{{ scope.row.title }}</el-link
> -->
</template>
</el-table-column>
</el-table>
</template>
<script>
import CommonProcess from "~/mixin/CommonProcess";
export default {
inject: ["root"],
props: ["data", "model"],
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
cellSttyle: { height: "25px" },
};
},
methods: {
//各入口按钮请求
async onNarBtnClick(href, hotsubx) {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${hotsubx}`);
console.log("cfgfil.code:" + this.model.cfgfil[`subtrn${hotsubx}`]);
if ((rtnmsg.respCode == SUCCESS)) {
this.$router.history.push(href);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
};
</script>
<style>
a {
text-decoration-line: none;
color: #606266;
}
a:hover {
color: blue;
}
</style>
\ No newline at end of file
<template>
<c-page title="出口信用证查询">
<!-- <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">
<!--PD000035 -->
<el-tab-pane label="查询" name="sel">
<m-sel :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<!-- </div> -->
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Detsel from "~/model/Detsel"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Detsel/Check"
import Default from "~/model/Detsel/Default"
import Pattern from "~/model/Detsel/Pattern"
import Sel from "./Sel"
export default {
name: "Detsel",
components:{
"m-sel" : Sel,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "detsel",
model: new Detsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入detsel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
...@@ -180,7 +180,7 @@ export default { ...@@ -180,7 +180,7 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [CommonProcess, CommonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess,CommonFuncs], // 里面包含了Default、Check等的公共处理
computed: {}, computed: {},
data() { data() {
return { return {
......
...@@ -109,6 +109,10 @@ export default { ...@@ -109,6 +109,10 @@ export default {
//{ inifrm: "clttra", ininam: "光票托收", pntmiu: "10" }, //{ inifrm: "clttra", ininam: "光票托收", pntmiu: "10" },
{ inifrm: "10", ininam: "参数管理", pntmiu: "" }, { inifrm: "10", ininam: "参数管理", pntmiu: "" },
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "10" }, { inifrm: "infusr", ininam: "用户信息", pntmiu: "10" },
{ inifrm: "11",ininam: "卖方信用证", pntmiu: "" },
{ inifrm: "detopn", ininam: "信用证开立", pntmiu: "11" },
{ inifrm: "detame", ininam: "信用证修改", pntmiu: "11" },
{ inifrm: "detsel", ininam: "信用证查询", pntmiu: "11" },
], ],
menus: [], menus: [],
menusHeight: 0 menusHeight: 0
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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