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) {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
......@@ -17,7 +17,7 @@ export default {
};
return ptspta;
},
buildCommonData (model, trnName) {
buildCommonData(model, trnName) {
let ptsptaList = [];
if (model.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
......@@ -66,7 +66,7 @@ export default {
};
return dataObj
},
buildSetfeg (model, trnName) {
buildSetfeg(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
......@@ -75,7 +75,7 @@ export default {
};
return params
},
buildSetglg (model, trnName) {
buildSetglg(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
......@@ -84,7 +84,7 @@ export default {
};
return params
},
buildGlentry (model, trnName) {
buildGlentry(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
......@@ -94,20 +94,20 @@ export default {
};
return params
},
buildEngp (model, trnName) {
buildEngp(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
};
return params
},
buildDocpan (model, trnName) {
buildDocpan(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
return params
},
buildCcvpan (model, trnName) {
buildCcvpan(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg,
......@@ -117,7 +117,7 @@ export default {
};
return params
},
buildLimitbody (model, trnName) {
buildLimitbody(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
......@@ -128,7 +128,7 @@ export default {
};
return params
},
buildDoctre (model, trnName) {
buildDoctre(model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
......@@ -141,7 +141,7 @@ export default {
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) {
buildSetgllAccts(model, trnName, setglg) {
let params = {
...this.buildCommonData(model, trnName),
setglg
......
......@@ -20,21 +20,21 @@ export default {
...ccvpan,
...limitbody,
...doctre,
async init () {
async init() {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trninr: this.$route.query.trninr,
}
if ( typeof(this.$route.query.inr) == 'string' ){
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
lidgrp: {
rec: {
inr: this.$route.query.inr
}
}
});
......@@ -48,7 +48,7 @@ export default {
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) {
copyValueFromVoData(model, data) {
let keysList = Object.keys(model)
keysList.map((key) => {
if (data[key]) {
......@@ -120,7 +120,7 @@ export default {
}
},
// 获取单据编号
async Butgetref(){
async Butgetref() {
let params = {
lid: this.model.lidgrp.rec,
brd: this.model.brdgrp.rec,
......@@ -160,7 +160,7 @@ export default {
purposChange(key, value) {
this.handleChangeForm(key, value);
},
buildLiaccv () {
buildLiaccv() {
let params = {
...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg,
......@@ -172,7 +172,7 @@ export default {
return params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel (emitParams) {
changeSetmodModel(emitParams) {
let reqParams = {}
switch (emitParams.code) {
case 'processMethods':
......
export default {
"brtp.lidget.sdamod.dadsnd":[
"brtp.lidget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"lidgrp.rec.ownref":[
"lidgrp.rec.ownref": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"brtp.lidget.sdamod.seainf":[
"brtp.lidget.sdamod.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 3, message: "长度不能超过3"}
],
"lidgrp.rec.nam":[
"lidgrp.rec.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{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":[
"brdgrp.apl.pts.ref": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"lidgrp.cbs.opn1.cur":[
"lidgrp.cbs.opn1.cur": [
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{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":[
"brdgrp.apl.pts.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"lidgrp.avbnam":[
"lidgrp.avbnam": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"brdgrp.ben.pts.ref":[
"brdgrp.ben.pts.ref": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"brdgrp.ben.pts.nam":[
"brdgrp.ben.pts.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"lidgrp.rec.opndat":[
"lidgrp.rec.opndat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.shpdat":[
"lidgrp.rec.shpdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.ref":[
"brdgrp.prb.pts.ref": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"lidgrp.rec.expdat":[
"lidgrp.rec.expdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc":[
"lidgrp.rec.expplc": [
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
{max: 29, message: "长度不能超过29"}
],
"brdgrp.prb.pts.nam":[
"brdgrp.prb.pts.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"brtp.recget.sdamod.dadsnd":[
"brtp.recget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"brdgrp.rec.shgref":[
"brdgrp.rec.shgref": [
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"brdgrp.rec.nam":[
"brdgrp.rec.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"brdgrp.rec.ownref":[
"brdgrp.rec.ownref": [
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"brdgrp.rec.invtyp":[
"brdgrp.rec.invtyp": [
{required: true, message: "必输项"},
],
"brdgrp.cbs.max.cur":[
"brdgrp.cbs.max.cur": [
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 3, message: "长度不能超过3"}
],
"brdgrp.cbs.max.amt":[
"brdgrp.cbs.max.amt": [
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"brtp.prbp.ptsget.sdamod.dadsnd":[
"brtp.prbp.ptsget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"brdgrp.prb.pts.extkey":[
"brdgrp.prb.pts.extkey": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"brtp.prbp.ptsget.sdamod.seainf":[
"brtp.prbp.ptsget.sdamod.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 3, message: "长度不能超过3"}
],
"shpmar":[
"shpmar": [
{type: "string", required: false, message: "必输项"},
{max: 320,message:"长度不能超过320"}
{max: 320, message: "长度不能超过320"}
],
"brdgrp.prb.namelc":[
"brdgrp.prb.namelc": [
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35, message: "长度不能超过35"}
],
"brdgrp.prb.pts.adrblk":[
"brdgrp.prb.pts.adrblk": [
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 140, message: "长度不能超过140"}
],
"brdgrp.prb.dbfadrblkcn":[
"brdgrp.prb.dbfadrblkcn": [
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35, message: "长度不能超过35"}
],
"brdgrp.prb.adrelc":[
"brdgrp.prb.adrelc": [
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35, message: "长度不能超过35"}
],
"pietat":[
"pietat": [
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
{max: 80, message: "长度不能超过80"}
],
"guabnkval":[
"guabnkval": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"brtp.connum":[
"brtp.connum": [
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35, message: "长度不能超过35"}
],
"brdgrp.rec.relgoddat":[
"brdgrp.rec.relgoddat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.expdat":[
"brdgrp.rec.expdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.carnam":[
"brdgrp.blk.carnam": [
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35, message: "长度不能超过35"}
],
"brdgrp.rec.blnum":[
"brdgrp.rec.blnum": [
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
{max: 20, message: "长度不能超过20"}
],
"brdgrp.rec.trpdocnum":[
"brdgrp.rec.trpdocnum": [
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"brdgrp.rec.tradat":[
"brdgrp.rec.tradat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.relstoadr":[
"brdgrp.blk.relstoadr": [
{type: "string", required: false, message: "必输项"},
{max: 180,message:"180"}
{max: 180, message: "180"}
],
"brdgrp.blk.vesnam":[
"brdgrp.blk.vesnam": [
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"brdgrp.blk.pordis":[
"brdgrp.blk.pordis": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"brtp.shpp.ptsget.sdamod.dadsnd":[
"brtp.shpp.ptsget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"brdgrp.blk.delplc":[
"brdgrp.blk.delplc": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"brdgrp.shp.pts.extkey":[
"brdgrp.shp.pts.extkey": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"brtp.shpp.ptsget.sdamod.seainf":[
"brtp.shpp.ptsget.sdamod.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 3, message: "长度不能超过3"}
],
"brdgrp.shp.namelc":[
"brdgrp.shp.namelc": [
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35, message: "长度不能超过35"}
],
"brdgrp.blk.roggod":[
"brdgrp.blk.roggod": [
{type: "string", required: false, message: "必输项"},
{max: 1600,message:"长度不能超过1600"}
{max: 1600, message: "长度不能超过1600"}
],
"brdgrp.shp.pts.adrblk":[
"brdgrp.shp.pts.adrblk": [
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 140, message: "长度不能超过140"}
],
"brdgrp.shp.dbfadrblkcn":[
"brdgrp.shp.dbfadrblkcn": [
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35, message: "长度不能超过35"}
],
"brdgrp.shp.adrelc":[
"brdgrp.shp.adrelc": [
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35, message: "长度不能超过35"}
],
"brdgrp.blk.notpty":[
"brdgrp.blk.notpty": [
{type: "string", required: false, message: "必输项"},
{max: 350,message:"长度不能超过350"}
{max: 350, message: "长度不能超过350"}
],
"brdgrp.blk.porlod":[
"brdgrp.blk.porlod": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"brdgrp.blk.voynum":[
"brdgrp.blk.voynum": [
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
{max: 30, message: "长度不能超过30"}
],
"liaall.outamt":[
"liaall.outamt": [
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.outpct":[
"liaall.outpct": [
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
{max: 6, message: "长度不能超过6"}
],
"liaall.concur":[
"liaall.concur": [
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 3, message: "长度不能超过3"}
],
"liaall.misamt":[
"liaall.misamt": [
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.exttotoldamt":[
"liaall.exttotoldamt": [
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.exttotamt":[
"liaall.exttotamt": [
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.liaccv.concur":[
"liaall.liaccv.concur": [
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 3, message: "长度不能超过3"}
],
"liaall.liaccv.newamt":[
"liaall.liaccv.newamt": [
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.liaccv.cshpct":[
"liaall.liaccv.cshpct": [
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
{max: 5, message: "长度不能超过5"}
],
"liaall.liaccv.newresamt":[
"liaall.liaccv.newresamt": [
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.liaccv.relcshpct":[
"liaall.liaccv.relcshpct": [
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
{max: 5, message: "长度不能超过5"}
],
"liaall.liaccv.pctresamt":[
"liaall.liaccv.pctresamt": [
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.liaccv.totcovamt":[
"liaall.liaccv.totcovamt": [
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.liaccv.addinf":[
"liaall.liaccv.addinf": [
{type: "string", required: false, message: "必输项"},
{max: 70,message:"长度不能超过70"}
{max: 70, message: "长度不能超过70"}
],
"setmod.ref":[
"setmod.ref": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"setmod.docamt":[
"setmod.docamt": [
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"setmod.zmqacc":[
"setmod.zmqacc": [
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
{max: 20, message: "长度不能超过20"}
],
"setmod.glemod.gleshwstm":[
"setmod.glemod.gleshwstm": [
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
{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":[
"trnmod.trndoc.advnam": [
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 50, message: "长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
"trnmod.trndoc.amdapl": [
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 50, message: "长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
"trnmod.trndoc.advdoc": [
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
{max: 1, message: "长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
"trnmod.trndoc.filrecv": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
"trnmod.trndoc.doctrestm": [
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
{max: 1, message: "长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
"trnmod.trndoc.condocstm": [
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
{max: 1, message: "长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
"trnmod.trndoc.rcvatt.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 3, message: "长度不能超过3"}
],
"addbcb.name":[
"addbcb.name": [
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
{max: 15, message: "长度不能超过15"}
],
"addbcb.godnam":[
"addbcb.godnam": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"addbcb.pwtyp9":[
"addbcb.pwtyp9": [
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
{max: 30, message: "长度不能超过30"}
],
"addbcb.bcbtyp7":[
"addbcb.bcbtyp7": [
{type: "string", required: false, message: "必输项"},
{max: 25,message:"长度不能超过25"}
{max: 25, message: "长度不能超过25"}
],
"addbcb.pwdat":[
"addbcb.pwdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.bcbdat":[
"addbcb.bcbdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.ameadvrmk":[
"addbcb.ameadvrmk": [
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
{max: 34, message: "长度不能超过34"}
],
"addbcb.expdat":[
"addbcb.expdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.preexpdat":[
"addbcb.preexpdat": [
{type: "string", required: false, message: "输入正确的日期"}
],
"addbcb.gitamermk":[
"addbcb.gitamermk": [
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
{max: 34, message: "长度不能超过34"}
],
"liaall.limmod.ecifno":[
"liaall.limmod.ecifno": [
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
{max: 22, message: "长度不能超过22"}
],
"liaall.limmod.ownref":[
"liaall.limmod.ownref": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
"liaall.limmod.othp.ptsget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
"liaall.limmod.limpts.wrk.pts.extkey": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
"liaall.limmod.wrkp.ptsget.sdamod.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 3, message: "长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
"liaall.limmod.limpts.oth.pts.extkey": [
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 16, message: "长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
"liaall.limmod.othp.ptsget.sdamod.seainf": [
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 3, message: "长度不能超过3"}
],
"liaall.limmod.comamt":[
"liaall.limmod.comamt": [
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18, message: "整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位"}
],
"liaall.limmod.limpts.wrk.pts.nam":[
"liaall.limmod.limpts.wrk.pts.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
"liaall.limmod.limpts.oth.pts.nam": [
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 40, message: "长度不能超过40"}
],
"liaall.limmod.ccvamt":[
"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,
{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 = {
......@@ -40,7 +41,7 @@ export default class Litrog {
inr: '',
pntinr: '',
pnttyp: '',
ver:'',
ver: '',
etyextkey: '',
},
cbs: {
......@@ -78,7 +79,7 @@ export default class Litrog {
lidgrp: {
rec: {
branchinr: '',
inr:'',
inr: '',
revflg: '',
expdat: '',
expplc: '',
......@@ -101,13 +102,13 @@ export default class Litrog {
}
},
avbnam: '',
apl:{
apl: {
pts: new Pts().data,
},
adv:{
adv: {
pts: new Pts().data,
},
ben:{
ben: {
pts: new Pts().data,
},
},
......
......@@ -4,40 +4,40 @@
<!-- 备查表 -->
<el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
<m-addbcb1 :model="model" :codes="codes"/>
</el-collapse-item>
<!-- 附言 -->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
<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';
</template>
<script>
import event from '../event'
import Addbcb1 from './Addbcb1';
import Coninfp from '~/components/business/coninfp/views';
export default {
export default {
components: {
'm-coninfp': Coninfp,
'm-addbcb1': Addbcb1,
},
inject: ['root'],
props:['model','codes'],
props: ['model', 'codes'],
mixins: [event],
data(){
data() {
return {
activeNames: ['addbcb1'],
}
},
methods:{},
created:function(){
methods: {},
created: function () {
}
}
</script>
<style>
}
</script>
<style>
</style>
\ No newline at end of file
</style>
\ No newline at end of file
......@@ -2,10 +2,10 @@
<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>
<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%"
......@@ -16,25 +16,22 @@
</c-col>
<c-col :span="12">
<span v-text="model.addbcb.label6" data-path=".addbcb.label6" > </span>
<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'],
props: ['model', 'codes'],
mixins: [event],
data(){
return {
}
data() {
return {}
},
methods:{},
created:function(){
methods: {},
created: function () {
}
}
</script>
......
......@@ -2,43 +2,43 @@
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="提货担保" name="rog">
<m-rog :model="model" :codes="codes" />
<m-rog :model="model" :codes="codes"/>
</el-collapse-item>
<el-collapse-item title="装运详情" name="shpdet">
<!-- 详情 -->
<m-shpdet :model="model" :codes="codes" />
<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';
</template>
<script>
import event from '../event'
import Rog from './Rog'
import Shpdet from './Shpdet';
export default {
export default {
components: {
'm-shpdet': Shpdet,
'm-rog' : Rog,
'm-rog': Rog,
},
inject: ['root'],
props:['model','codes'],
props: ['model', 'codes'],
mixins: [event],
data(){
data() {
return {
activeNames: ['rog'],
}
},
methods:{},
created:function(){
methods: {},
created: function () {
}
}
</script>
<style>
}
</script>
<style>
</style>
</style>
\ No newline at end of file
......@@ -37,7 +37,8 @@
<c-col :span="4">
<c-checkbox disabled v-model="model.brtp.aammod.addamtflg"
>附加金额</c-checkbox
>附加金额
</c-checkbox
>
</c-col>
......@@ -64,7 +65,8 @@
<c-col :span="4">
<c-checkbox disabled v-model="model.lidgrp.rec.revflg"
>循环信用证</c-checkbox
>循环信用证
</c-checkbox
>
</c-col>
......@@ -97,7 +99,8 @@
disabled
v-model="model.lidgrp.rec.redclsflg"
style="margin-left: 25px; padding: 0 10px"
>红/绿条款</c-checkbox
>红/绿条款
</c-checkbox
>
</c-col>
......@@ -371,44 +374,6 @@
</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,7 +392,6 @@
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="发票类型" prop="brdgrp.rec.invtyp">
<c-select
......@@ -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":{
watch: {
"model.brdgrp": {
immediate: true,
deep: true,
handler(val,oldval){
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);
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>
......
......@@ -38,7 +38,7 @@
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......@@ -55,7 +55,7 @@
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
<m-glentry :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......@@ -69,14 +69,14 @@
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
<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" />
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......@@ -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,35 +115,35 @@ 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:{
components: {
'm-engp' : Engp,
'm-ccvpan' : Ccvpan,
'm-engp': Engp,
'm-ccvpan': Ccvpan,
'm-coninfp': Coninfp,
// 'm-coninfp' : Coninfp,
'm-docpan' : Docpan,
'm-doctre' : Doctre,
'm-addbcb' : Addbcb,
'm-docpan': Docpan,
'm-doctre': Doctre,
'm-addbcb': Addbcb,
'm-setmod': Setmod,
'm-glentry': Glentry,
'm-limitbody' : Limitbody,
'm-ovwp' : Ovwp,
'm-limitbody': Limitbody,
'm-ovwp': Ovwp,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc,event], // 里面包含了Default、Check等的公共处理
data(){
mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: 'ovwp',
trnName: 'litrog',
model: new Litrog().data,
rules: formRules,
codes: {...CodeTable },
codes: {...CodeTable},
activeNames: ['engp'],
promptData: {
title: 'Select a Party',
......@@ -194,9 +189,8 @@ export default {
},
}
},
methods:{
},
mounted () {
methods: {},
mounted() {
this.init()
},
......
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