Commit b0946d24 by huxi

litrog

parent 72ccb82c
...@@ -28,16 +28,13 @@ export default { ...@@ -28,16 +28,13 @@ export default {
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.rog.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.rog));
}
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'LID', objtyp: 'LID',
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,
...@@ -52,15 +49,15 @@ export default { ...@@ -52,15 +49,15 @@ export default {
cnfsta: model.lidgrp.rec.cnfsta, cnfsta: model.lidgrp.rec.cnfsta,
}, },
cbsMap: { cbsMap: {
MAX: model.lidgrp.cbs.max, MAX: model.brdgrp.cbs.max,
OLDMAX: model.lidgrp.cbs.oldmax, OLDMAX: model.brdgrp.cbs.oldmax,
MAX2: model.lidgrp.cbs.max2, MAX2: model.brdgrp.cbs.max2,
NOM1: model.lidgrp.cbs.nom1, NOM1: model.brdgrp.cbs.nom1,
OPN1: model.lidgrp.cbs.opn1, OPN1: model.brdgrp.cbs.opn1,
MAC: model.lidgrp.cbs.mac, MAC: model.brdgrp.cbs.mac,
MAC2: model.lidgrp.cbs.mac2, MAC2: model.brdgrp.cbs.mac2,
OPC2: model.lidgrp.cbs.opc2, OPC2: model.brdgrp.cbs.opc2,
CNF: model.lidgrp.cbs.cnf, CNF: model.brdgrp.cbs.cnf,
}, },
ptsList: ptsptaList, ptsList: ptsptaList,
transName: trnName, transName: trnName,
......
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName); let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest); this.processLiaall(engpRequest);
break; break;
case 'setpan': case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName); let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值 // 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => { this.processSetpan(setfegRequest, () => {
......
...@@ -29,9 +29,9 @@ export default { ...@@ -29,9 +29,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
// "lidgrp.cbs.opn1.amt":[ // "lidgrp.cbs.opn1.amt":[
// {type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ], // ],
"brdgrp.apl.pts.nam":[ "brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -93,11 +93,11 @@ export default { ...@@ -93,11 +93,11 @@ export default {
{type: "string", required: false, message: "必输项"}, {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: "必输项"}, {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {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: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
......
...@@ -52,9 +52,6 @@ export default class Litrog { ...@@ -52,9 +52,6 @@ export default class Litrog {
apl: { apl: {
pts: new Pts().data, pts: new Pts().data,
}, },
rog: {
pts: new Pts().data,
}
}, },
number: '', number: '',
brtp: { brtp: {
...@@ -70,6 +67,7 @@ export default class Litrog { ...@@ -70,6 +67,7 @@ export default class Litrog {
shpmar: '', shpmar: '',
lidgrp: { lidgrp: {
rec: { rec: {
branchinr: '00000047',
revflg: '', revflg: '',
expdat: '', expdat: '',
expplc: '', expplc: '',
......
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