Commit 882ff330 by liaoxing

litame、litdav、litdla 修改

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