Commit 69dcffff by xionglin

brtlat暂存

parent 9b005c19
......@@ -28,29 +28,13 @@ export default {
let dataObj = {
rec: {
objtyp: 'LID',
// ownref: model.brdgrp.rec.ownref,
// expdat: model.lidgrp.rec.expdat,
// branchInr: model.brdgrp.rec.branchInr,
// hndtyp: model.brdgrp.rec.hndtyp,
// gartyp: model.brdgrp.rec.gartyp,
// fingua: model.brdgrp.rec.fingua,
// segtyp: model.brdgrp.ghd.segtyp,
// fromflg: model.brdgrp.rec.fromflg,
// othersno: model.brdgrp.rec.othersno,
// sndto: model.brdgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
// giduil: model.brdgrp.rec.giduil,
// purpos: model.brdgrp.rec.purpos,
// revflg: model.brdgrp.rec.revflg,
// cnfsta: model.brdgrp.rec.cnfsta,
// },
// cbsMap: {
// MAX: model.brdgrp.cbs.max,
// OPN1: model.brdgrp.cbs.opn1,
// MAC: model.brdgrp.cbs.mac,
// MAC2: model.brdgrp.cbs.mac2,
// OPC2: model.brdgrp.cbs.opc2,
// CNF: model.brdgrp.cbs.cnf,
ownref: model.brdgrp.rec.ownref,
expdat: model.lidgrp.rec.expdat,
},
cbsMap: {
MAX: model.brdgrp.cbs.max,
OPN1: model.brdgrp.cbs.opn1,
},
ptsList: ptsptaList,
transName: trnName,
......@@ -71,8 +55,6 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
......
......@@ -31,8 +31,7 @@ export default {
userId: window.sessionStorage.userId || 'ZL',
lidInr:'00000036',
brdInr:'00000028'
});
console.log("测试")
});
if (!res.data) {
return
}
......@@ -69,7 +68,7 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setpan':
case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
......
......@@ -16,17 +16,12 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -67,10 +62,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -78,19 +73,17 @@ export default {
],
"brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.tenmaxday":[
{type: "number", required: false, message: "必输项"},
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -114,10 +107,7 @@ export default {
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.blk.aplins":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trnmod.docimm.ascin":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......
......@@ -3,6 +3,14 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Brtlat{
constructor () {
this.data = {
// gidgrp:{
// rec:{
// branchinr
// }
// },
// gitp:{
// },
brtapll1blk:"", // XMLPanel brtapll1的内置block .brtapll1blk
brdgrp:{
shp:{
......
<template>
<div class="eContainer">
<c-page>
<el-form
:model="model"
:rules="rules"
......@@ -33,16 +32,18 @@
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<c-content>
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
......@@ -73,7 +74,6 @@
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -81,7 +81,7 @@ import CodeTable from "~/config/CodeTable";
import Brtlat from "../model";
import event from '../event';
import Addbcb from "./Addbcb";
import commonFuncs from "~/mixin/commonFuncs";
import operationFunc from "~/mixin/operationFunc";
import Check from "../model/check";
import Brtapll1 from "./Brtapll1";
import Prtswtr from "./Prtswtr";
......@@ -97,7 +97,8 @@ import Setmod from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import Total from "./Total"
import Total from "./Total";
import Engp from "~/components/business/engp/views";
export default {
name: "Brtlat",
......@@ -117,20 +118,22 @@ export default {
"m-cmnsetl1": Cmnsetl1,
"m-syswrndisplay": Syswrndisplay,
"m-limitbody": Limitbody,
"m-total": Total
"m-total": Total,
"m-engp": Engp,
},
provide() {
return {
root: this,
};
},
mixins: [event, commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "total",
trnName: "brtlat",
model: new Brtlat().data,
rules: Check,
activeNames: ["engp"],
codes: {
...CodeTable,
},
......
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