Commit 882ff330 by liaoxing

litame、litdav、litdla 修改

parent 34ac6cb5
...@@ -20,17 +20,32 @@ export default { ...@@ -20,17 +20,32 @@ export default {
buildCommonData (model, trnName) { buildCommonData (model, trnName) {
let ptsptaList = []; let ptsptaList = [];
if (model.lidgrp.apl.pts.extkey) { if (model.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl)); ptsptaList.push(this.buildPtspta(model.lidgrp.avb));
} }
if (model.lidgrp.adv.pts.extkey) { if (model.lidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv)); ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
} }
if (model.lidgrp.ben.pts.extkey) { if (model.lidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ben)); ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
} }
if (model.lidgrp.ini.pts.extkey) { if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.drw));
}
if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.rmb));
}
if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ini)); ptsptaList.push(this.buildPtspta(model.lidgrp.ini));
} }
if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.con));
}
if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
}
if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.a2b));
}
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'LID', objtyp: 'LID',
......
...@@ -75,24 +75,24 @@ export default { ...@@ -75,24 +75,24 @@ export default {
{type: 'string', required: false, message: '输入正确的日期'} {type: 'string', required: false, message: '输入正确的日期'}
], ],
'oldlidgrp.rec.prepers18':[ 'oldlidgrp.rec.prepers18':[
{ required: false, message: '必输项'}, // { required: false, message: '必输项'},
{type: 'number',max: 999,message:'只能输入数字,长度不能超过3'} // {type: 'number',max: 999,message:'只能输入数字,长度不能超过3'}
], ],
'swiadd.prepers18':[ 'swiadd.prepers18':[
{required: false, message: '必输项'}, // {required: false, message: '必输项'},
{type: 'string', max: 999,message:'只能输入数字,长度不能超过3'} // {type: 'string', max: 999,message:'只能输入数字,长度不能超过3'}
], ],
'oldlidgrp.blk.preper':[ 'oldlidgrp.blk.preper':[
{type: 'string', required: true, message: '必输项'}, {type: 'string', required: true, message: '必输项'},
{max: 35,message:'长度不能超过35'} {max: 35,message:'长度不能超过35'}
], ],
'oldlidgrp.rec.prepertxts18':[ 'oldlidgrp.rec.prepertxts18':[
{type: 'string', required: false, message: '必输项'}, // {type: 'string', required: false, message: '必输项'},
{max: 35,message:'长度不能超过35'} // {max: 35,message:'长度不能超过35'}
], ],
'swiadd.prepertxts18':[ 'swiadd.prepertxts18':[
{type: 'string', required: false, message: '必输项'}, // {type: 'string', required: false, message: '必输项'},
{max: 35,message:'长度不能超过35'} // {max: 35,message:'长度不能超过35'}
], ],
'lidgrp.cbs.max2.cur':[ 'lidgrp.cbs.max2.cur':[
{type: 'string', required: false, message: '必输项'}, {type: 'string', required: false, message: '必输项'},
...@@ -294,8 +294,8 @@ export default { ...@@ -294,8 +294,8 @@ export default {
{max: 35,message:'长度不能超过35'} {max: 35,message:'长度不能超过35'}
], ],
'lidgrp.rec.prepers18':[ 'lidgrp.rec.prepers18':[
{ required: false, message: '必输项'}, // { required: false, message: '必输项'},
{type: 'number',max: 999,message:'只能输入数字,长度不能超过3'} // {type: 'number',max: 999,message:'只能输入数字,长度不能超过3'}
], ],
'litp.avbp.ptsget.sdamod.dadsnd':[ 'litp.avbp.ptsget.sdamod.dadsnd':[
{type: 'string', required: false, message: '必输项'}, {type: 'string', required: false, message: '必输项'},
...@@ -310,8 +310,8 @@ export default { ...@@ -310,8 +310,8 @@ export default {
{max: 3,message:'长度不能超过3'} {max: 3,message:'长度不能超过3'}
], ],
'lidgrp.rec.prepertxts18':[ 'lidgrp.rec.prepertxts18':[
{type: 'string', required: false, message: '必输项'}, // {type: 'string', required: false, message: '必输项'},
{max: 140,message:'长度不能超过140'} // {max: 140,message:'长度不能超过140'}
], ],
'lidgrp.avb.namelc':[ 'lidgrp.avb.namelc':[
{type: 'string', required: true, message: '必输项'}, {type: 'string', required: true, message: '必输项'},
...@@ -362,7 +362,7 @@ export default { ...@@ -362,7 +362,7 @@ export default {
{max: 35,message:'长度不能超过35'} {max: 35,message:'长度不能超过35'}
], ],
'lidgrp.drw.pts.adrblk':[ 'lidgrp.drw.pts.adrblk':[
{type: 'string', required: false, message: '必输项'}, {type: 'string', required: true, message: '必输项'},
{max: 35*4,message:'长度不能超过35'} {max: 35*4,message:'长度不能超过35'}
], ],
'lidgrp.drw.dbfadrblkcn':[ 'lidgrp.drw.dbfadrblkcn':[
......
...@@ -39,7 +39,7 @@ export default class Litdav { ...@@ -39,7 +39,7 @@ export default class Litdav {
stadat: '', stadat: '',
dscinsflg: '', dscinsflg: '',
nam: '', nam: '',
docprbrol: '', docprbrol: 'PRB',
pntinr: '', pntinr: '',
pnttyp: '', pnttyp: '',
ownusr: '', ownusr: '',
......
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
<el-form-item label="地址信息" prop="brdgrp.prb.pts.adrblk"> <el-form-item label="地址信息" prop="brdgrp.prb.pts.adrblk">
<c-input <c-input
:rows="4" :rows="4"
:disabled="model.brdgrp.rec.docprbrol != 'PRB'" :disabled="model.brdgrp.rec.docprbrol === 'PRB'"
type="textarea" type="textarea"
v-model="model.brdgrp.prb.pts.adrblk" v-model="model.brdgrp.prb.pts.adrblk"
maxlength="80" maxlength="80"
......
...@@ -20,21 +20,40 @@ export default { ...@@ -20,21 +20,40 @@ export default {
buildCommonData (model, trnName) { buildCommonData (model, trnName) {
let ptsptaList = []; let ptsptaList = [];
if (model.lidgrp.apl.pts.extkey) { if (model.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl)); ptsptaList.push(this.buildPtspta(model.lidgrp.avb));
} }
if (model.lidgrp.adv.pts.extkey) { if (model.lidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv)); ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
} }
if (model.lidgrp.ben.pts.extkey) { if (model.lidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ben)); ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
} }
if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.drw));
}
if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.rmb));
}
if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ini));
}
if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.con));
}
if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
}
if (model.lidgrp.ini.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.a2b));
}
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'LID', objtyp: 'LID',
objinr: model.lidgrp.rec.inr,
ownref: model.lidgrp.rec.ownref, ownref: model.lidgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat, opndat: model.lidgrp.rec.opndat,
expdat: model.lidgrp.rec.expdat, expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchInr, branchInr: model.lidgrp.rec.branchinr,
hndtyp: model.lidgrp.rec.hndtyp, hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp, gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua, fingua: model.lidgrp.rec.fingua,
...@@ -47,6 +66,8 @@ export default { ...@@ -47,6 +66,8 @@ export default {
purpos: model.lidgrp.rec.purpos, purpos: model.lidgrp.rec.purpos,
revflg: model.lidgrp.rec.revflg, revflg: model.lidgrp.rec.revflg,
cnfsta: model.lidgrp.rec.cnfsta, cnfsta: model.lidgrp.rec.cnfsta,
ameflg: model.ameflg,
reduceamt: model.reduceamt,
}, },
cbsMap: { cbsMap: {
MAX: model.lidgrp.cbs.max, MAX: model.lidgrp.cbs.max,
......
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