Commit ead83c5c by lixinyi

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 99519367 f4baa74d
export default {
buildPtspta (ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk
};
return ptspta;
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk
};
return ptspta;
},
buildCommonData(model, trnName) {
let ptsptaList = [];
if (model.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
}
if (model.lidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
}
if (model.lidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.inr,
ownref: model.lidgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat,
expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchinr,
hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua,
// segtyp: model.lidgrp.ghd.segtyp,
fromflg: model.lidgrp.rec.fromflg,
othersno: model.lidgrp.rec.othersno,
sndto: model.lidgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.lidgrp.rec.giduil,
purpos: model.lidgrp.rec.purpos,
revflg: model.lidgrp.rec.revflg,
cnfsta: model.lidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.brdgrp.cbs.max,
OLDMAX: model.brdgrp.cbs.oldmax,
MAX2: model.brdgrp.cbs.max2,
NOM1: model.brdgrp.cbs.nom1,
OPN1: model.brdgrp.cbs.opn1,
MAC: model.brdgrp.cbs.mac,
MAC2: model.brdgrp.cbs.mac2,
OPC2: model.brdgrp.cbs.opc2,
CNF: model.brdgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
};
return dataObj
},
buildSetfeg(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
};
return params
},
buildSetglg(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
buildGlentry(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
setfog: model.setmod.setfog,
setfeg: model.setmod.setfeg,
setglg: model.setmod.setglg,
};
return params
},
buildEngp(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
};
return params
},
buildDocpan(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
return params
},
buildCcvpan(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg,
oldamt: model.liaccv.oldamt,
chgamt: model.liaccv.chgamt,
concur: model.liaccv.concur,
};
return params
},
buildLimitbody(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
},
};
return params
},
buildDoctre(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg,
},
};
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts(model, trnName, setglg) {
let params = {
...this.buildCommonData(model, trnName),
setglg
};
return params
}
if (model.lidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
}
if (model.lidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.inr,
ownref: model.lidgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat,
expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchinr,
hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua,
// segtyp: model.lidgrp.ghd.segtyp,
fromflg: model.lidgrp.rec.fromflg,
othersno: model.lidgrp.rec.othersno,
sndto: model.lidgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.lidgrp.rec.giduil,
purpos: model.lidgrp.rec.purpos,
revflg: model.lidgrp.rec.revflg,
cnfsta: model.lidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.brdgrp.cbs.max,
OLDMAX: model.brdgrp.cbs.oldmax,
MAX2: model.brdgrp.cbs.max2,
NOM1: model.brdgrp.cbs.nom1,
OPN1: model.brdgrp.cbs.opn1,
MAC: model.brdgrp.cbs.mac,
MAC2: model.brdgrp.cbs.mac2,
OPC2: model.brdgrp.cbs.opc2,
CNF: model.brdgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
};
return dataObj
},
buildSetfeg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
};
return params
},
buildSetglg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
buildGlentry (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
setfog: model.setmod.setfog,
setfeg: model.setmod.setfeg,
setglg: model.setmod.setglg,
};
return params
},
buildEngp (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
};
return params
},
buildDocpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
return params
},
buildCcvpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg,
oldamt: model.liaccv.oldamt,
chgamt: model.liaccv.chgamt,
concur: model.liaccv.concur,
};
return params
},
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg,
},
};
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) {
let params = {
...this.buildCommonData(model, trnName),
setglg
};
return params
}
}
\ No newline at end of file
......@@ -11,183 +11,183 @@ import doctre from '~/components/business/doctre/event';
import Utils from "~/utils"
export default {
mixins: [commonFunctions],
methods: {
...setmod,
...glentry,
...engp,
...docpan,
...ccvpan,
...limitbody,
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trninr: this.$route.query.trninr,
}
if ( typeof(this.$route.query.inr) == 'string' ){
params.spt = null
}
const res = await Api.post('/service/litrog/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
lidgrp:{
rec:{
inr:this.$route.query.inr
}
}
});
// loading.close();
if (!res.data) {
return
}
this.copyValueFromVoData(this.model, res.data)
this.copyValueFromVoData(this.model.setmod.setfeg, res.data.setfeg)
this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog)
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) {
let keysList = Object.keys(model)
keysList.map((key) => {
if (data[key]) {
if (Utils.typeOf(model[key]) === 'Object') {
this.copyValueFromVoData(model[key], data[key])
} else {
this.$set(model, key, data[key])
}
mixins: [commonFunctions],
methods: {
...setmod,
...glentry,
...engp,
...docpan,
...ccvpan,
...limitbody,
...doctre,
async init() {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trninr: this.$route.query.trninr,
}
if (typeof (this.$route.query.inr) == 'string') {
params.spt = null
}
const res = await Api.post('/service/litrog/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
lidgrp: {
rec: {
inr: this.$route.query.inr
}
}
});
// loading.close();
if (!res.data) {
return
}
this.copyValueFromVoData(this.model, res.data)
this.copyValueFromVoData(this.model.setmod.setfeg, res.data.setfeg)
this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog)
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData(model, data) {
let keysList = Object.keys(model)
keysList.map((key) => {
if (data[key]) {
if (Utils.typeOf(model[key]) === 'Object') {
this.copyValueFromVoData(model[key], data[key])
} else {
this.$set(model, key, data[key])
}
}
})
},
async tabClick(tab) {
if (this.isInDisplay) {
return;
}
let name = tab.name;
switch (name) {
case 'ccvpan':
let ccvpanRequest = buildFn.buildCcvpan(this.model, this.trnName);
this.processLiaccv(ccvpanRequest);
break;
case 'engp':
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
return buildFn.buildSetglg(this.model, this.trnName);
});
break;
case 'docpan':
let docpanRequest = buildFn.buildDocpan(this.model, this.trnName);
this.processTrndoc(docpanRequest);
break;
case 'glepan':
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest);
break;
case 'limitbody':
let limitbodyRequest = buildFn.buildLimitbody(this.model, this.trnName);
this.processLimitbody(limitbodyRequest);
break;
case 'doctre':
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 获取提货担保编号
async queryShgref() {
let params = {
ptainr: this.model.lidgrp.apl.pts.ptainr,
businessType: 'SG',
tbl: 'SG',
};
const loading = this.loading();
let res = await Api.post('/service/litrog/getSgRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.brdgrp.rec.shgref = res.data;
}
},
// 获取单据编号
async Butgetref() {
let params = {
lid: this.model.lidgrp.rec,
brd: this.model.brdgrp.rec,
};
const loading = this.loading();
let res = await Api.post('/service/litrog/butgetref', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.brdgrp.rec.ownref = res.data;
}
},
// 获取gitopn弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.brdgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
this.root.$refs['etyDialog'].show = true;
this.root.promptData.data = res.data.ptaInfos;
this.root.promptData.type = type;
}
},
// 选中gitopn弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.brdgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
purposChange(key, value) {
this.handleChangeForm(key, value);
},
buildLiaccv() {
let params = {
...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg,
oldamt: this.model.liaccv.oldamt,
chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur,
};
return params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel(emitParams) {
let reqParams = {}
switch (emitParams.code) {
case 'processMethods':
reqParams = buildFn.buildSetglg(this.model, this.trnName);
this.calcPayDetail(reqParams)
break
case 'changeDsp':
let index = emitParams.index;
let setglgRequest = buildFn.buildSetglg(this.model, this.trnName);
setglgRequest.setglg = {setgll: emitParams.list};
this.setgllAccts(setglgRequest, index);
break
default:
return
}
}
})
},
async tabClick(tab) {
if (this.isInDisplay) {
return;
}
let name = tab.name;
switch (name) {
case 'ccvpan':
let ccvpanRequest = buildFn.buildCcvpan(this.model, this.trnName);
this.processLiaccv(ccvpanRequest);
break;
case 'engp':
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
return buildFn.buildSetglg(this.model, this.trnName);
});
break;
case 'docpan':
let docpanRequest = buildFn.buildDocpan(this.model, this.trnName);
this.processTrndoc(docpanRequest);
break;
case 'glepan':
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest);
break;
case 'limitbody':
let limitbodyRequest = buildFn.buildLimitbody(this.model, this.trnName);
this.processLimitbody(limitbodyRequest);
break;
case 'doctre':
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 获取提货担保编号
async queryShgref() {
let params = {
ptainr: this.model.lidgrp.apl.pts.ptainr,
businessType: 'SG',
tbl: 'SG',
};
const loading = this.loading();
let res = await Api.post('/service/litrog/getSgRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.brdgrp.rec.shgref = res.data;
}
},
// 获取单据编号
async Butgetref(){
let params = {
lid: this.model.lidgrp.rec,
brd: this.model.brdgrp.rec,
};
const loading = this.loading();
let res = await Api.post('/service/litrog/butgetref', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.brdgrp.rec.ownref = res.data;
}
},
// 获取gitopn弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.brdgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
this.root.$refs['etyDialog'].show = true;
this.root.promptData.data = res.data.ptaInfos;
this.root.promptData.type = type;
}
},
// 选中gitopn弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.brdgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
purposChange(key, value) {
this.handleChangeForm(key, value);
},
buildLiaccv () {
let params = {
...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg,
oldamt: this.model.liaccv.oldamt,
chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur,
};
return params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel (emitParams) {
let reqParams = {}
switch (emitParams.code) {
case 'processMethods':
reqParams = buildFn.buildSetglg(this.model, this.trnName);
this.calcPayDetail(reqParams)
break
case 'changeDsp':
let index = emitParams.index;
let setglgRequest = buildFn.buildSetglg(this.model, this.trnName);
setglgRequest.setglg = {setgll: emitParams.list};
this.setgllAccts(setglgRequest, index);
break
default:
return
}
}
},
};
export default {
"brtp.lidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.lidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
// "lidgrp.cbs.nom1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "lidgrp.cbs.opn1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.avbnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.rec.opndat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.shpdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.expdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"brdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.shgref":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.ownref":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.invtyp":[
{required: true, message: "必输项"},
],
"brdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.prbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"shpmar":[
{type: "string", required: false, message: "必输项"},
{max: 320,message:"长度不能超过320"}
],
"brdgrp.prb.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.prb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.prb.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"pietat":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"guabnkval":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brtp.connum":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.relgoddat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.expdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.carnam":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.blnum":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"brdgrp.rec.trpdocnum":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.tradat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.relstoadr":[
{type: "string", required: false, message: "必输项"},
{max: 180,message:"180"}
],
"brdgrp.blk.vesnam":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.blk.pordis":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brtp.shpp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.blk.delplc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.shp.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.shpp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.shp.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.roggod":[
{type: "string", required: false, message: "必输项"},
{max: 1600,message:"长度不能超过1600"}
],
"brdgrp.shp.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"brdgrp.shp.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.shp.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.notpty":[
{type: "string", required: false, message: "必输项"},
{max: 350,message:"长度不能超过350"}
],
"brdgrp.blk.porlod":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.blk.voynum":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.liaccv.newamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.cshpct":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"liaall.liaccv.newresamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.relcshpct":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"liaall.liaccv.pctresamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.totcovamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.addinf":[
{type: "string", required: false, message: "必输项"},
{max: 70,message:"长度不能超过70"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
// "mtabut.coninf.oitinf.oit.inftxt":[
// {type: "string", required: false, message: "必输项"},
// {max: 60,message:"长度不能超过60"}
// ],
// "mtabut.coninf.oitset.oit.inftxt":[
// {type: "string", required: false, message: "必输项"},
// {max: 60,message:"长度不能超过60"}
// ],
// "mtabut.coninf.conexedat":[
// {type: "string", required: false, message: "输入正确的日期"}
// ],
// "mtabut.coninf.usr.extkey":[
// {type: "string", required: false, message: "必输项"},
// {max: 8,message:"长度不能超过8"}
// ],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"addbcb.name":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"addbcb.godnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"addbcb.pwtyp9":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"addbcb.bcbtyp7":[
{type: "string", required: false, message: "必输项"},
{max: 25,message:"长度不能超过25"}
],
"addbcb.pwdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.bcbdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.ameadvrmk":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"addbcb.expdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.preexpdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.gitamermk":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
/**
* Litrog Check规则
*/
"liaall.misamt": null,
"liaall.limmod.limpts.oth.pts.extkey": null,
"liaall.limmod.ownref": null,
"brdgrp.rec.invtyp": null,
"brdgrp.blk.vesnam": null,
"liaall.limmod.ecifno": null,
"brdgrp.rec.relgodflg": null,
"brdgrp.prb.adrelc": null,
"brdgrp.rec.expdat": null,
"brdgrp.cbs.max.amt": null,
"brdgrp.rec.reltyp": null,
"addbcb.litameadv": null,
"brdgrp.prb.pts.adrblk": null,
"brdgrp.prb.namelc": null,
"addbcb.gitamecho": null,
"brdgrp.rec.guaflg": null,
"liaall.limmod.limpts.oth.pts.nam": null,
"brdgrp.shp.namelc": null,
"setmod.dspflg": null,
"addbcb.label5": null,
"addbcb.expdat": null,
"liaall.liaccv.totcovamt": null,
"brdgrp.prb.pts.nam": null,
"brdgrp.ben.pts.nam": null,
"liaall.limmod.limpts.wrk.pts.nam": null,
"brdgrp.prb.pts.extkey": null,
"liaall.limmod.limpts.wrk.pts.extkey": null,
"addbcb.pwtyp9": null,
"brdgrp.shp.adrelc": null,
"addbcb.ameadvrmk": null,
// "mtabut.coninf.conexedat": null,
"liaall.limmod.limpts.nonrevflg2": null,
"liaall.limmod.limpts.nonrevflg1": null,
"addbcb.preexpdat": null,
"brdgrp.apl.pts.nam": null,
"addbcb.bccls2": null,
"addbcb.bccls1": null,
"addbcb.bccls4": null,
"addbcb.bccls3": null,
"setmod.docamt": null,
"addbcb.bcbtyp7": null,
"brdgrp.shp.pts.adrblk": null,
"liaall.liaccv.cshpct": null,
"brdgrp.blk.relstoadr": null,
"brdgrp.rec.trpdocnum": null,
"brdgrp.shp.pts.extkey": null,
"addbcb.gitamermk": null,
"liaall.liaccv.relcshpct": null,
"brtp.lidget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"lidgrp.rec.ownref": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"brtp.lidget.sdamod.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3, message: "长度不能超过3"}
],
"lidgrp.rec.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"brdgrp.apl.pts.ref": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"lidgrp.cbs.opn1.cur": [
{type: "string", required: false, message: "必输项"},
{max: 3, message: "长度不能超过3"}
],
"brdgrp.apl.pts.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"lidgrp.avbnam": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"brdgrp.ben.pts.ref": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"brdgrp.ben.pts.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"lidgrp.rec.opndat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.shpdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.ref": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"lidgrp.rec.expdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc": [
{type: "string", required: false, message: "必输项"},
{max: 29, message: "长度不能超过29"}
],
"brdgrp.prb.pts.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"brtp.recget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"brdgrp.rec.shgref": [
{type: "string", required: true, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"brdgrp.rec.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"brdgrp.rec.ownref": [
{type: "string", required: true, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"brdgrp.rec.invtyp": [
{required: true, message: "必输项"},
],
"brdgrp.cbs.max.cur": [
{type: "string", required: false, message: "必输项"},
{max: 3, message: "长度不能超过3"}
],
"brdgrp.cbs.max.amt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"brtp.prbp.ptsget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"brdgrp.prb.pts.extkey": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"brtp.prbp.ptsget.sdamod.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3, message: "长度不能超过3"}
],
"shpmar": [
{type: "string", required: false, message: "必输项"},
{max: 320, message: "长度不能超过320"}
],
"brdgrp.prb.namelc": [
{type: "string", required: false, message: "必输项"},
{max: 35, message: "长度不能超过35"}
],
"brdgrp.prb.pts.adrblk": [
{type: "string", required: false, message: "必输项"},
{max: 140, message: "长度不能超过140"}
],
"brdgrp.prb.dbfadrblkcn": [
{type: "string", required: false, message: "必输项"},
{max: 35, message: "长度不能超过35"}
],
"brdgrp.prb.adrelc": [
{type: "string", required: false, message: "必输项"},
{max: 35, message: "长度不能超过35"}
],
"pietat": [
{type: "string", required: false, message: "必输项"},
{max: 80, message: "长度不能超过80"}
],
"guabnkval": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"brtp.connum": [
{type: "string", required: false, message: "必输项"},
{max: 35, message: "长度不能超过35"}
],
"brdgrp.rec.relgoddat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.expdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.carnam": [
{type: "string", required: false, message: "必输项"},
{max: 35, message: "长度不能超过35"}
],
"brdgrp.rec.blnum": [
{type: "string", required: false, message: "必输项"},
{max: 20, message: "长度不能超过20"}
],
"brdgrp.rec.trpdocnum": [
{type: "string", required: true, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"brdgrp.rec.tradat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.relstoadr": [
{type: "string", required: false, message: "必输项"},
{max: 180, message: "180"}
],
"brdgrp.blk.vesnam": [
{type: "string", required: true, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"brdgrp.blk.pordis": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"brtp.shpp.ptsget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"brdgrp.blk.delplc": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"brdgrp.shp.pts.extkey": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"brtp.shpp.ptsget.sdamod.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3, message: "长度不能超过3"}
],
"brdgrp.shp.namelc": [
{type: "string", required: false, message: "必输项"},
{max: 35, message: "长度不能超过35"}
],
"brdgrp.blk.roggod": [
{type: "string", required: false, message: "必输项"},
{max: 1600, message: "长度不能超过1600"}
],
"brdgrp.shp.pts.adrblk": [
{type: "string", required: false, message: "必输项"},
{max: 140, message: "长度不能超过140"}
],
"brdgrp.shp.dbfadrblkcn": [
{type: "string", required: false, message: "必输项"},
{max: 35, message: "长度不能超过35"}
],
"brdgrp.shp.adrelc": [
{type: "string", required: false, message: "必输项"},
{max: 35, message: "长度不能超过35"}
],
"brdgrp.blk.notpty": [
{type: "string", required: false, message: "必输项"},
{max: 350, message: "长度不能超过350"}
],
"brdgrp.blk.porlod": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"brdgrp.blk.voynum": [
{type: "string", required: false, message: "必输项"},
{max: 30, message: "长度不能超过30"}
],
"liaall.outamt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.outpct": [
{type: "string", required: false, message: "必输项"},
{max: 6, message: "长度不能超过6"}
],
"liaall.concur": [
{type: "string", required: false, message: "必输项"},
{max: 3, message: "长度不能超过3"}
],
"liaall.misamt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.exttotoldamt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.exttotamt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.liaccv.concur": [
{type: "string", required: false, message: "必输项"},
{max: 3, message: "长度不能超过3"}
],
"liaall.liaccv.newamt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.liaccv.cshpct": [
{type: "string", required: false, message: "必输项"},
{max: 5, message: "长度不能超过5"}
],
"liaall.liaccv.newresamt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.liaccv.relcshpct": [
{type: "string", required: false, message: "必输项"},
{max: 5, message: "长度不能超过5"}
],
"liaall.liaccv.pctresamt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.liaccv.totcovamt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.liaccv.addinf": [
{type: "string", required: false, message: "必输项"},
{max: 70, message: "长度不能超过70"}
],
"setmod.ref": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"setmod.docamt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"setmod.zmqacc": [
{type: "string", required: false, message: "必输项"},
{max: 20, message: "长度不能超过20"}
],
"setmod.glemod.gleshwstm": [
{type: "string", required: false, message: "必输项"},
{max: 1, message: "长度不能超过1"}
],
"trnmod.trndoc.advnam": [
{type: "string", required: false, message: "必输项"},
{max: 50, message: "长度不能超过50"}
],
"trnmod.trndoc.amdapl": [
{type: "string", required: false, message: "必输项"},
{max: 50, message: "长度不能超过50"}
],
"trnmod.trndoc.advdoc": [
{type: "string", required: false, message: "必输项"},
{max: 1, message: "长度不能超过1"}
],
"trnmod.trndoc.filrecv": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"trnmod.trndoc.doctrestm": [
{type: "string", required: false, message: "必输项"},
{max: 1, message: "长度不能超过1"}
],
"trnmod.trndoc.condocstm": [
{type: "string", required: false, message: "必输项"},
{max: 1, message: "长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3, message: "长度不能超过3"}
],
"addbcb.name": [
{type: "string", required: false, message: "必输项"},
{max: 15, message: "长度不能超过15"}
],
"addbcb.godnam": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"addbcb.pwtyp9": [
{type: "string", required: false, message: "必输项"},
{max: 30, message: "长度不能超过30"}
],
"addbcb.bcbtyp7": [
{type: "string", required: false, message: "必输项"},
{max: 25, message: "长度不能超过25"}
],
"addbcb.pwdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.bcbdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.ameadvrmk": [
{type: "string", required: false, message: "必输项"},
{max: 34, message: "长度不能超过34"}
],
"addbcb.expdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.preexpdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.gitamermk": [
{type: "string", required: false, message: "必输项"},
{max: 34, message: "长度不能超过34"}
],
"liaall.limmod.ecifno": [
{type: "string", required: false, message: "必输项"},
{max: 22, message: "长度不能超过22"}
],
"liaall.limmod.ownref": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3, message: "长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3, message: "长度不能超过3"}
],
"liaall.limmod.comamt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.limmod.limpts.wrk.pts.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40, message: "长度不能超过40"}
],
"liaall.limmod.ccvamt": [
{type: "number", required: false, message: "必输项"},
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.limmod.limpts.pfcod1": [
{type: "string", required: false, message: "必输项"},
{max: 14, message: "长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2": [
{type: "string", required: false, message: "必输项"},
{max: 14, message: "长度不能超过14"}
]
}
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Litrog {
constructor() {
this.data = {
brdgrp: {
blk: {
notpty: '',
voynum: '',
roggod: '',
vesnam: '',
carnam: '',
delplc: '',
pordis: '',
porlod: '',
relstoadr: ''
},
prb: {
pts: new Pts().data,
},
rec: {
relgodflg: 'A',
shgref: '',
ownref: '',
invtyp: '',
rtoaplflg: '',
ngrcod: '',
relgoddat: '',
blnum: '',
guaflg: '',
trpdocnum: '',
expdat: '',
tradat: '',
trpdoctyp: '',
reltyp: 'SG',
tramod: '',
nam: '',
docprbrol: '',
branchinr: '',
inr: '',
pntinr: '',
pnttyp: '',
ver:'',
etyextkey: '',
},
cbs: {
max: {
cur: '',
amt: '0',
},
max2: {
cur: '',
amt: '0',
}
},
shp: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
number: '',
brtp: {
aammod: {
addamtflg: '',
},
connum: '',
},
addbcb: {
label5: '',
label6: '',
},
shpmar: '',
lidgrp: {
rec: {
branchinr: '',
inr:'',
revflg: '',
expdat: '',
expplc: '',
lcrtyp: '',
ownref: '',
shpdat: '',
avbby: '',
nam: '',
opndat: '',
redclsflg: '',
},
cbs: {
opn1: {
cur: '',
amt: '',
},
nom1: {
cur: '',
amt: ''
}
},
avbnam: '',
apl:{
pts: new Pts().data,
},
adv:{
pts: new Pts().data,
},
ben:{
pts: new Pts().data,
},
},
pietat: '',
guabnkval: '',
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
}
constructor() {
this.data = {
brdgrp: {
blk: {
notpty: '',
voynum: '',
roggod: '',
vesnam: '',
carnam: '',
delplc: '',
pordis: '',
porlod: '',
relstoadr: ''
},
prb: {
pts: new Pts().data,
},
rec: {
relgodflg: 'A',
shgref: '',
ownref: '',
invtyp: '',
rtoaplflg: '',
ngrcod: '',
relgoddat: '',
blnum: '',
guaflg: '',
trpdocnum: '',
expdat: '',
tradat: '',
trpdoctyp: '',
reltyp: 'SG',
tramod: '',
nam: '',
docprbrol: '',
branchinr: '',
inr: '',
pntinr: '',
pnttyp: '',
ver: '',
etyextkey: '',
},
cbs: {
max: {
cur: '',
amt: '0',
},
max2: {
cur: '',
amt: '0',
}
},
shp: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
number: '',
brtp: {
aammod: {
addamtflg: '',
},
connum: '',
},
addbcb: {
label5: '',
label6: '',
},
shpmar: '',
lidgrp: {
rec: {
branchinr: '',
inr: '',
revflg: '',
expdat: '',
expplc: '',
lcrtyp: '',
ownref: '',
shpdat: '',
avbby: '',
nam: '',
opndat: '',
redclsflg: '',
},
cbs: {
opn1: {
cur: '',
amt: '',
},
nom1: {
cur: '',
amt: ''
}
},
avbnam: '',
apl: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
},
pietat: '',
guabnkval: '',
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
}
}
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<!-- 备查表 -->
<el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item>
<!-- 附言 -->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
import Addbcb1 from './Addbcb1';
import Coninfp from '~/components/business/coninfp/views';
export default {
components: {
'm-coninfp': Coninfp,
'm-addbcb1': Addbcb1,
},
inject: ['root'],
props:['model','codes'],
mixins: [event],
data(){
return {
activeNames: ['addbcb1'],
}
},
methods:{},
created:function(){
}
<!-- 备查表 -->
<el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes"/>
</el-collapse-item>
<!-- 附言 -->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
import Addbcb1 from './Addbcb1';
import Coninfp from '~/components/business/coninfp/views';
export default {
components: {
'm-coninfp': Coninfp,
'm-addbcb1': Addbcb1,
},
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
activeNames: ['addbcb1'],
}
},
methods: {},
created: function () {
}
</script>
<style>
</style>
\ No newline at end of file
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px;">
<el-form-item label="贸易金融部意见" prop="addbcb.label5">
<div v-text="" data-path=".addbcb.label1" >1、申请人与我行已签署贸易融资协议(如需);</div>
<div v-text="" data-path=".addbcb.label2" >2、申请人已提交全套业务所需资料; </div>
<div v-text="" data-path=".addbcb.label3" >3、申请书要素齐全并已签章,签章已经核符﹔ </div>
<div v-text="" data-path=".addbcb.label4" >4、占用授信额度的开证业务; </div>
<c-select
v-model="model.addbcb.label5"
style="width: 100%"
:code="codes.label5"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.addbcb.label6" data-path=".addbcb.label6" > </span>
</c-col>
<c-col :span="12" style="padding-right: 20px;">
<el-form-item label="贸易金融部意见" prop="addbcb.label5">
<div v-text="" data-path=".addbcb.label1">1、申请人与我行已签署贸易融资协议(如需);</div>
<div v-text="" data-path=".addbcb.label2">2、申请人已提交全套业务所需资料;</div>
<div v-text="" data-path=".addbcb.label3">3、申请书要素齐全并已签章,签章已经核符﹔</div>
<div v-text="" data-path=".addbcb.label4">4、占用授信额度的开证业务;</div>
<c-select
v-model="model.addbcb.label5"
style="width: 100%"
:code="codes.label5"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.addbcb.label6" data-path=".addbcb.label6"> </span>
</c-col>
</div>
</template>
<script>
import event from '../event'
export default {
inject: ['root'],
props:['model','codes'],
mixins: [event],
data(){
return {
}
},
methods:{},
created:function(){
}
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {}
},
methods: {},
created: function () {
}
}
</script>
<style>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="提货担保" name="rog">
<m-rog :model="model" :codes="codes" />
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="提货担保" name="rog">
<m-rog :model="model" :codes="codes"/>
</el-collapse-item>
<el-collapse-item title="装运详情" name="shpdet">
<!-- 详情 -->
<m-shpdet :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
import Rog from './Rog'
import Shpdet from './Shpdet';
export default {
components: {
'm-shpdet': Shpdet,
'm-rog' : Rog,
<!-- 详情 -->
<m-shpdet :model="model" :codes="codes"/>
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
import Rog from './Rog'
import Shpdet from './Shpdet';
export default {
components: {
'm-shpdet': Shpdet,
'm-rog': Rog,
},
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
activeNames: ['rog'],
}
},
inject: ['root'],
props:['model','codes'],
mixins: [event],
data(){
return {
activeNames: ['rog'],
}
},
methods:{},
created:function(){
}
methods: {},
created: function () {
}
</script>
<style>
</style>
}
</script>
<style>
</style>
\ No newline at end of file
......@@ -5,10 +5,10 @@
<c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-input
disabled
v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
disabled
v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
></c-input>
</el-form-item>
</c-col>
......@@ -16,10 +16,10 @@
<c-col :span="10">
<el-form-item label="信用证金额" prop="lidgrp.cbs.nom1.cur">
<c-input
disabled
v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择信用证金额"
disabled
v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择信用证金额"
>
</c-input>
</el-form-item>
......@@ -28,26 +28,27 @@
<c-col :span="10">
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
<c-input
disabled
v-model.number="model.lidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额"
disabled
v-model.number="model.lidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox disabled v-model="model.brtp.aammod.addamtflg"
>附加金额</c-checkbox
>附加金额
</c-checkbox
>
</c-col>
<c-col :span="10">
<el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur">
<c-input
disabled
v-model="model.lidgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
v-model="model.lidgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
></c-input>
</el-form-item>
</c-col>
......@@ -55,26 +56,27 @@
<c-col :span="10">
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
<c-input
disabled
v-model.number="model.lidgrp.cbs.opn1.amt"
placeholder="请输入金额"
disabled
v-model.number="model.lidgrp.cbs.opn1.amt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox disabled v-model="model.lidgrp.rec.revflg"
>循环信用证</c-checkbox
>循环信用证
</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.avbnam">
<c-input
disabled
v-model="model.lidgrp.avbnam"
maxlength="40"
placeholder="请输入可用银行"
disabled
v-model="model.lidgrp.avbnam"
maxlength="40"
placeholder="请输入可用银行"
></c-input>
</el-form-item>
</c-col>
......@@ -82,11 +84,11 @@
<c-col :span="12">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-select
disabled
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby"
style="width: 100%"
placeholder="请选择兑付方式"
disabled
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby"
style="width: 100%"
placeholder="请选择兑付方式"
>
</c-select>
</el-form-item>
......@@ -94,21 +96,22 @@
<c-col :span="12">
<c-checkbox
disabled
v-model="model.lidgrp.rec.redclsflg"
style="margin-left: 25px; padding: 0 10px"
>红/绿条款</c-checkbox
disabled
v-model="model.lidgrp.rec.redclsflg"
style="margin-left: 25px; padding: 0 10px"
>红/绿条款
</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="开证日期" prop="lidgrp.rec.opndat">
<c-date-picker
disabled
type="date"
v-model="model.lidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择开证日期"
disabled
type="date"
v-model="model.lidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择开证日期"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -116,11 +119,11 @@
<c-col :span="24">
<el-form-item label="装运日期" prop="lidgrp.rec.shpdat">
<c-date-picker
disabled
type="date"
v-model="model.lidgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择最迟装运日期"
disabled
type="date"
v-model="model.lidgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择最迟装运日期"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -128,11 +131,11 @@
<c-col :span="12">
<el-form-item label="有效期限" prop="lidgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择到期日"
disabled
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择到期日"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -140,10 +143,10 @@
<c-col :span="12">
<el-form-item label="到期地点" prop="lidgrp.rec.expplc">
<c-input
disabled
v-model="model.lidgrp.rec.expplc"
maxlength="29"
placeholder="请输入到期地点"
disabled
v-model="model.lidgrp.rec.expplc"
maxlength="29"
placeholder="请输入到期地点"
></c-input>
</el-form-item>
</c-col>
......@@ -151,11 +154,11 @@
<c-col :span="24">
<el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
<c-select
:code="codes.lcrtyp"
disabled
v-model="model.lidgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择信用证类型"
:code="codes.lcrtyp"
disabled
v-model="model.lidgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择信用证类型"
>
</c-select>
</el-form-item>
......@@ -165,10 +168,10 @@
<el-form-item label="提货担保编号" prop="brdgrp.rec.shgref">
<c-fullbox>
<c-input
disabled
v-model="model.brdgrp.rec.shgref"
maxlength="16"
placeholder="请输入提货担保编号"
disabled
v-model="model.brdgrp.rec.shgref"
maxlength="16"
placeholder="请输入提货担保编号"
></c-input>
<template slot="footer">
......@@ -184,10 +187,10 @@
<el-form-item label="单据编号" prop="brdgrp.rec.ownref">
<c-fullbox>
<c-input
disabled
v-model="model.brdgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据编号"
disabled
v-model="model.brdgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据编号"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="Butgetref">
......@@ -201,10 +204,10 @@
<c-col :span="14">
<el-form-item label="提货担保金额" prop="brdgrp.cbs.max.cur">
<c-input
disabled
v-model="model.brdgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入金额"
disabled
v-model="model.brdgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
......@@ -212,8 +215,8 @@
<c-col :span="10">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max.amt">
<c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入金额"
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
......@@ -221,12 +224,12 @@
<c-col :span="24">
<el-form-item label="装运备注" prop="shpmar">
<c-input
:rows="3"
type="textarea"
v-model="model.shpmar"
maxlength="40"
show-word-limit
placeholder="请输入装运备注"
:rows="3"
type="textarea"
v-model="model.shpmar"
maxlength="40"
show-word-limit
placeholder="请输入装运备注"
></c-input>
</el-form-item>
</c-col>
......@@ -234,9 +237,9 @@
<c-col :span="24">
<el-form-item label="总份数" prop="pietat">
<c-input
v-model="model.pietat"
maxlength="80"
placeholder="请输入总份数"
v-model="model.pietat"
maxlength="80"
placeholder="请输入总份数"
></c-input>
</el-form-item>
</c-col>
......@@ -244,13 +247,13 @@
<c-col :span="24">
<el-form-item label="担保银行" prop="guabnkval">
<c-input
v-model="model.guabnkval"
maxlength="40"
style="width: 77%"
placeholder="请输入担保银行"
v-model="model.guabnkval"
maxlength="40"
style="width: 77%"
placeholder="请输入担保银行"
></c-input>
<span style="font-size: 12px; color: #606266"
>(提货担保面函落款)</span
>(提货担保面函落款)</span
>
</el-form-item>
</c-col>
......@@ -261,10 +264,10 @@
<c-col :span="24">
<el-form-item label="简略信息" prop="lidgrp.rec.nam">
<c-input
disabled
v-model="model.lidgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
disabled
v-model="model.lidgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
></c-input>
</el-form-item>
</c-col>
......@@ -272,10 +275,10 @@
<c-col :span="24">
<el-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref">
<c-input
disabled
v-model="model.brdgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人"
disabled
v-model="model.brdgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人"
></c-input>
</el-form-item>
</c-col>
......@@ -283,10 +286,10 @@
<c-col :span="24">
<el-form-item label="申请人名称" prop="brdgrp.apl.pts.nam">
<c-input
disabled
v-model="model.brdgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入名称"
disabled
v-model="model.brdgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
......@@ -294,10 +297,10 @@
<c-col :span="24">
<el-form-item label="受益人参考号" prop="brdgrp.ben.pts.ref">
<c-input
disabled
v-model="model.brdgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
disabled
v-model="model.brdgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
></c-input>
</el-form-item>
</c-col>
......@@ -305,10 +308,10 @@
<c-col :span="24">
<el-form-item label="受益人名称" prop="brdgrp.ben.pts.nam">
<c-input
disabled
v-model="model.brdgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入名称"
disabled
v-model="model.brdgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
......@@ -316,10 +319,10 @@
<c-col :span="24">
<el-form-item label="寄单行参考号" prop="brdgrp.prb.pts.ref">
<c-input
disabled
v-model="model.brdgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入寄单行参考号"
disabled
v-model="model.brdgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入寄单行参考号"
></c-input>
</el-form-item>
</c-col>
......@@ -327,10 +330,10 @@
<c-col :span="24">
<el-form-item label="寄单行名称" prop="brdgrp.prb.pts.nam">
<c-input
disabled
v-model="model.brdgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入名称"
disabled
v-model="model.brdgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
......@@ -338,10 +341,10 @@
<c-col :span="24">
<el-form-item label="简略信息" prop="brdgrp.rec.nam">
<c-input
disabled
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
disabled
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
></c-input>
</el-form-item>
</c-col>
......@@ -349,10 +352,10 @@
<c-col :span="24">
<el-form-item label="货押标识" prop="brdgrp.rec.guaflg">
<c-select
v-model="model.brdgrp.rec.guaflg"
style="width: 100%"
placeholder="请选择货押标识"
:code="codes.guaflg"
v-model="model.brdgrp.rec.guaflg"
style="width: 100%"
placeholder="请选择货押标识"
:code="codes.guaflg"
>
</c-select>
</el-form-item>
......@@ -361,54 +364,16 @@
<c-col :span="24">
<el-form-item label="交单行" prop="brdgrp.rec.docprbrol">
<c-select
disabled
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单行"
:code="codes.docprbrol"
disabled
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单行"
:code="codes.docprbrol"
>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">-->
<!-- <el-form-item label="地址编码" prop="brdgrp.prb.pts.extkey">-->
<!-- <c-fullbox>-->
<!-- <c-input-->
<!-- v-model="model.brdgrp.prb.pts.extkey"-->
<!-- maxlength="16"-->
<!-- placeholder="请输入地址编码"-->
<!-- ></c-input>-->
<!-- <template slot="footer">-->
<!-- <c-button-->
<!-- style="margin: 0 5px 0 10px; padding: 0 12px"-->
<!-- size="small"-->
<!-- type="primary"-->
<!-- icon="el-icon-info"-->
<!-- >-->
<!-- </c-button>-->
<!-- <c-button style="margin: 0 0" size="small" type="primary">-->
<!-- 详情-->
<!-- </c-button>-->
<!-- </template>-->
<!-- </c-fullbox>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="24">-->
<!-- <el-form-item label="地址信息" prop="brdgrp.prb.pts.adrblk">-->
<!-- <c-input-->
<!-- :rows="5"-->
<!-- type="textarea"-->
<!-- v-model="model.brdgrp.prb.pts.adrblk"-->
<!-- maxlength="200"-->
<!-- show-word-limit-->
<!-- placeholder="请输入地址信息"-->
<!-- ></c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<c-col :span="24">
<c-ptap
:model="model"
......@@ -427,14 +392,13 @@
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="发票类型" prop="brdgrp.rec.invtyp">
<c-select
v-model="model.brdgrp.rec.invtyp"
style="width: 100%"
placeholder="请选择发票类型"
:code="codes.invtyp"
v-model="model.brdgrp.rec.invtyp"
style="width: 100%"
placeholder="请选择发票类型"
:code="codes.invtyp"
>
</c-select>
</el-form-item>
......@@ -447,27 +411,28 @@ import event from '../event';
import Ptap from "~/views/Public/Ptap";
export default {
components: {"c-ptap": Ptap },
components: {"c-ptap": Ptap},
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {};
},
watch:{
"model.brdgrp":{
immediate: true,
deep: true,
handler(val,oldval){
const res = this.model.brdgrp
if(res.cbs.max.cur !== "" || res.cbs.max.amt !== "" || res.apl.pts.nam !=="" ){
this.model.brdgrp.rec.nam = (res.cbs.max.cur.concat(" ").concat(res.cbs.max.amt).concat(" ").concat(res.apl.pts.nam)).substring(0,40);
}
}
}
watch: {
"model.brdgrp": {
immediate: true,
deep: true,
handler(val, oldval) {
const res = this.model.brdgrp
if (res.cbs.max.cur !== "" || res.cbs.max.amt !== "" || res.apl.pts.nam !== "") {
this.model.brdgrp.rec.nam = (res.cbs.max.cur.concat(" ").concat(res.cbs.max.amt).concat(" ").concat(res.apl.pts.nam)).substring(0, 40);
}
}
}
},
methods: {},
created: function () {},
created: function () {
},
};
</script>
<style>
......
<template>
<div class="eContainer">
<c-page title="进口信用证提货担保">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000057 提货担保-->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000057 提货担保-->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ccvpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
:codes="codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-docpan :model="model" :codes="codes" />
<m-glentry :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<!--PD000001 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-doctre :model="model" :codes="codes" />
<m-addbcb :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from '~/config/CodeTable'
......@@ -105,13 +105,8 @@ import Litrog from '../model'
import formRules from '../model/check';
import operationFunc from '~/mixin/operationFunc';
import event from '../event';
import Ovwp from './Ovwp'
import Ovwp from './Ovwp'
import Addbcb from './Addbcb'
//mport Coninfp from '~/views/Public/Coninfp'
import Engp from '~/components/business/engp/views';
import Ccvpan from '~/components/business/ccvpan/views';
import Coninfp from '~/components/business/coninfp/views';
......@@ -120,86 +115,85 @@ import Doctre from '~/components/business/doctre/views';
import Setmod from '~/components/business/setmod/views';
import Glentry from '~/components/business/glentry/views';
import Limitbody from '~/components/business/limitbody/views';
export default {
name: 'Litrog',
components:{
'm-engp' : Engp,
'm-ccvpan' : Ccvpan,
'm-coninfp': Coninfp,
// 'm-coninfp' : Coninfp,
'm-docpan' : Docpan,
'm-doctre' : Doctre,
'm-addbcb' : Addbcb,
'm-setmod': Setmod,
'm-glentry': Glentry,
'm-limitbody' : Limitbody,
'm-ovwp' : Ovwp,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc,event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: 'ovwp',
trnName: 'litrog',
model: new Litrog().data,
rules: formRules,
codes: {...CodeTable },
activeNames: ['engp'],
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
},
}
},
methods:{
},
mounted () {
name: 'Litrog',
components: {
'm-engp': Engp,
'm-ccvpan': Ccvpan,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
'm-addbcb': Addbcb,
'm-setmod': Setmod,
'm-glentry': Glentry,
'm-limitbody': Limitbody,
'm-ovwp': Ovwp,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: 'ovwp',
trnName: 'litrog',
model: new Litrog().data,
rules: formRules,
codes: {...CodeTable},
activeNames: ['engp'],
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
},
}
},
methods: {},
mounted() {
this.init()
},
}
</script>
<style>
......
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