Commit 5f149087 by xionglin

brtsnd

parent 44906d0b
...@@ -19,42 +19,23 @@ export default { ...@@ -19,42 +19,23 @@ 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.prb.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.adv)); ptsptaList.push(this.buildPtspta(model.brdgrp.prb));
// } }
// if (model.lidgrp.ben.pts.extkey) { if (model.brdgrp.ben.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.ben)); ptsptaList.push(this.buildPtspta(model.brdgrp.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,
expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchInr,
hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua,
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,
...@@ -118,7 +99,6 @@ export default { ...@@ -118,7 +99,6 @@ export default {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'LID', objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref, ownref: model.lidgrp.rec.ownref,
}, },
}; };
...@@ -129,7 +109,6 @@ export default { ...@@ -129,7 +109,6 @@ export default {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'LID', objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref, ownref: model.lidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg, swiftflg: model.gitp.swiftflg,
}, },
......
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.rec.expdat":[ "lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"lidgrp.cbs.opn1.cur":[ "lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -54,10 +54,10 @@ export default { ...@@ -54,10 +54,10 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"brdgrp.rec.rcvdat":[ "brdgrp.rec.rcvdat":[
{type: "date", required: true, message: "输入正确的日期"} { required: true, message: "输入正确的日期"}
], ],
"brdgrp.rec.advdat":[ "brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"brdgrp.ben.pts.ref":[ "brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -65,10 +65,10 @@ export default { ...@@ -65,10 +65,10 @@ export default {
], ],
"brdgrp.rec.matdat":[ "brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"brdgrp.rec.stadat":[ "brdgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"brdgrp.ben.pts.nam":[ "brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
], ],
"brdgrp.rec.predat":[ "brdgrp.rec.predat":[
{type: "date", required: true, message: "输入正确的日期"} { required: true, message: "输入正确的日期"}
], ],
"brtp.prbp.ptsget.sdamod.dadsnd":[ "brtp.prbp.ptsget.sdamod.dadsnd":[
...@@ -153,7 +153,7 @@ export default { ...@@ -153,7 +153,7 @@ export default {
], ],
"brtp.prechkdat":[ "brtp.prechkdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
...@@ -164,10 +164,10 @@ export default { ...@@ -164,10 +164,10 @@ export default {
"brdgrp.rec.totdat":[ "brdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"brdgrp.rec.disdat":[ "brdgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"brdgrp.blk.comcon":[ "brdgrp.blk.comcon":[
{type: "string", required: false}, {type: "string", required: false},
...@@ -190,10 +190,10 @@ export default { ...@@ -190,10 +190,10 @@ export default {
], ],
"brdgrp.rec.relgoddat":[ "brdgrp.rec.relgoddat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"brdgrp.rec.expdat":[ "brdgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"brdgrp.blk.carnam":[ "brdgrp.blk.carnam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -210,7 +210,7 @@ export default { ...@@ -210,7 +210,7 @@ export default {
], ],
"brdgrp.rec.tradat":[ "brdgrp.rec.tradat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"brdgrp.blk.relstoadr":[ "brdgrp.blk.relstoadr":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames" >
<el-collapse-item title="寄单" name="payp"> <el-collapse-item title="寄单" name="payp">
<m-payp :model="model" :codes="codes" /> <m-payp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<c-date-picker type="date" v-model="model.brtp.prechkdat" style="width:100%" placeholder="请选择预计核验日期"></c-date-picker> <c-date-picker type="date" v-model="model.brtp.prechkdat" style="width:100%" placeholder="请选择预计核验日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import event from "../event" import event from "../event"
......
...@@ -374,7 +374,6 @@ ...@@ -374,7 +374,6 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onPrbpDet"
icon="el-icon-info" icon="el-icon-info"
> >
</c-button> </c-button>
...@@ -426,7 +425,6 @@ ...@@ -426,7 +425,6 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onOthpDet"
icon="el-icon-info" icon="el-icon-info"
> >
</c-button> </c-button>
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<script> <script>
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Brtsnd from "../model" import Brtsnd from "../model"
import commonFuncs from "~/mixin/commonFuncs" import operationFunc from "~/mixin/operationFunc"
import Check from "../model/check" import Check from "../model/check"
import event from '../event' import event from '../event'
import Payp from "./Payp" import Payp from "./Payp"
...@@ -121,7 +121,7 @@ export default { ...@@ -121,7 +121,7 @@ export default {
root: this root: this
} }
}, },
mixins: [ event,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [ event,operationFunc],
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