Commit 92fccfb9 by xionglin

brtcan

parent e99e62c4
...@@ -19,42 +19,26 @@ export default { ...@@ -19,42 +19,26 @@ export default {
}, },
buildCommonData (model, trnName) { buildCommonData (model, trnName) {
let ptsptaList = []; let ptsptaList = [];
// if (model.lidgrp.apl.pts.extkey) { if (model.brdgrp.apl.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.apl)); ptsptaList.push(this.buildPtspta(model.brdgrp.apl));
// } }
// if (model.lidgrp.adv.pts.extkey) { if (model.brdgrp.ben.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.adv)); ptsptaList.push(this.buildPtspta(model.brdgrp.ben));
// } }
// if (model.lidgrp.ben.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
// }
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'LID', objtyp: 'LID',
ownref: model.lidgrp.rec.ownref, ownref: model.brdgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat, nam:model.brdgrp.rec.nam,
expdat: model.lidgrp.rec.expdat, rcvdat:model.brdgrp.rec.rcvdat,
branchInr: model.lidgrp.rec.branchInr, advdat:model.brdgrp.rec.advdat,
hndtyp: model.lidgrp.rec.hndtyp, docflg:model.brdgrp.rec.docflg,
gartyp: model.lidgrp.rec.gartyp, docsta:model.brdgrp.rec.docsta,
fingua: model.lidgrp.rec.fingua, matdat:model.brdgrp.rec.matdat
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: { cbsMap: {
MAX: model.lidgrp.cbs.max, MAX: model.brdgrp.cbs.max,
OPN1: model.lidgrp.cbs.opn1, OPN1: model.brdgrp.cbs.opn1,
MAC: model.lidgrp.cbs.mac,
MAC2: model.lidgrp.cbs.mac2,
OPC2: model.lidgrp.cbs.opc2,
CNF: model.lidgrp.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, () => {
......
...@@ -18,11 +18,11 @@ export default { ...@@ -18,11 +18,11 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ // "lidgrp.cbs.opn1.amt":[
//{type: "string", required: false, message: "必输项"}, // //{type: "string", 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位" }
], // ],
"brtp0.recget.sdamod.dadsnd":[ "brtp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
......
...@@ -6,6 +6,7 @@ export default class Brtcan{ ...@@ -6,6 +6,7 @@ export default class Brtcan{
strinf:"", // Narrative .strinf strinf:"", // Narrative .strinf
brdgrp:{ brdgrp:{
rec:{ rec:{
inr:"",
ownref:"", // 单据参考号 .brdgrp.rec.ownref ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam nam:"", // Name of Bill Contract .brdgrp.rec.nam
rcvdat:"", // 到单日期 .brdgrp.rec.rcvdat rcvdat:"", // 到单日期 .brdgrp.rec.rcvdat
...@@ -38,6 +39,7 @@ export default class Brtcan{ ...@@ -38,6 +39,7 @@ export default class Brtcan{
rec:{ rec:{
ownref:"", // 参考号 .lidgrp.rec.ownref ownref:"", // 参考号 .lidgrp.rec.ownref
expdat:"", // Date of Expiry .lidgrp.rec.expdat expdat:"", // Date of Expiry .lidgrp.rec.expdat
branchinr:"",
}, },
cbs:{ cbs:{
opn1:{ opn1:{
......
<template> <template>
<div class="eibs"> <div class="eibs">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames" >
<!--el-collapse-item title="备查表" name="addbcb"> <!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes" />
......
...@@ -177,6 +177,9 @@ export default { ...@@ -177,6 +177,9 @@ export default {
}, },
data() { data() {
return{
}
}, },
}; };
</script> </script>
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Brtcan from "../model" import Brtcan from "../model"
import event from '../event' import event from '../event'
import commonFuncs from "~/mixin/commonFuncs" import operationFunc from "~/mixin/operationFunc";
import Check from "../model/check" import Check from "../model/check"
import Canp from "./Canp" import Canp from "./Canp"
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp"
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
root: this root: this
} }
}, },
mixins: [event, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
......
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