Commit 690ddcea by lianyang

letopn初始化,letopn/letamc/letame加复核

parent 28f605f7
......@@ -4,104 +4,94 @@ import Utils from "~/utils"
* Letopn Check规则
*/
let checkObj = {
"ledgrp.apb.pts.extkey": null,
"liaall.misamt": null,
"letp.rmbp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.opndat": null,
"ledgrp.adv.namelc": null,
"ledgrp.blk.shpper": null,
"ledgrp.rmb.pts.extkey": null,
"letp.avbp.ptsget.sdamod.dadsnd": null,
"ledgrp.a2b.pts.adrblk": null,
"letp.conp.ptsget.sdamod.dadsnd": null,
"ledgrp.iss.pts.adrblk": null,
"letp.issp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.revdat": null,
"ledgrp.blk.spcrcb": null,
"ledgrp.blk.preper": null,
"ledgrp.adv.adrelc": null,
"ledgrp.ben.adrelc": null,
"ledgrp.avb.adrelc": null,
"ledgrp.rec.tenmaxday": null,
"ledgrp.blk.mixdet": null,
"ledgrp.avb.pts.extkey": null,
"ledgrp.adv.pts.extkey": null,
"ledgrp.drw.adrelc": null,
"ledgrp.ben.pts.extkey": null,
"ledgrp.rmb.pts.adrblk": null,
"ledgrp.blk.lcrgod": null,
"setmod.dspflg": null,
"ledgrp.a2b.adrelc": null,
"ledgrp.avb.namelc": null,
"ledgrp.avb.pts.adrblk": null,
"ledgrp.apb.pts.adrblk": null,
"letp.usr.extkey": null,
"ledgrp.rec.nomspc": null,
"ledgrp.a2b.namelc": null,
"ledgrp.cbs.nom1.cur": null,
"ledgrp.rec.revtyp": null,
"ledgrp.rec.avbby": null,
"ledgrp.rec.shpdat": null,
"letp.a2bp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.prepers18": null,
"ledgrp.rec.nomtop": null,
"ledgrp.iss.adrelc": null,
"ledgrp.rec.nomton": null,
"ledgrp.rec.avbwth": null,
"ledgrp.apb.namelc": null,
"letp.drwp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.ownref": null,
"ledgrp.rmb.namelc": null,
"ledgrp.blk.feetxt": null,
"ledgrp.apl.namelc": null,
"ledgrp.blk.revcls": null,
"ledgrp.cbs.max2.amt": null,
"ledgrp.rec.stacty": null,
"ledgrp.adv.pts.adrblk": null,
"ledgrp.cbs.nom1.amt": null,
"ledgrp.blk.lcrdoc": null,
"ledgrp.blk.defdet": null,
"letp.apbp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.expdat": null,
"ledgrp.blk.dftat": null,
"letp.benp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.lcrtyp": null,
"ledgrp.blk.insbnk": null,
"mtabut.coninf.conexedat": null,
"ledgrp.rec.apprul": null,
"ledgrp.apl.adrelc": null,
"ledgrp.iss.pts.extkey": null,
"ledgrp.blk.adlcnd": null,
"ledgrp.iss.namelc": null,
"ledgrp.rec.expplc": null,
"letp.advp.ptsget.sdamod.dadsnd": null,
"ledgrp.drw.pts.extkey": null,
"ledgrp.a2b.pts.extkey": null,
"ledgrp.iss.pts.ref": null,
"ledgrp.ben.namelc": null,
"ledgrp.apl.pts.adrblk": null,
"letp.recget.sdamod.dadsnd": null,
"ledgrp.rec.preadvdt": null,
"ledgrp.ben.pts.adrblk": null,
"ledgrp.blk.addamtcov": null,
"setmod.docamt": null,
"ledgrp.rec.cnfins": null,
"ledgrp.apb.adrelc": null,
"ledgrp.rmb.adrelc": null,
"ledgrp.drw.namelc": null,
"ledgrp.apl.pts.extkey": null,
"letp.aplp.ptsget.sdamod.dadsnd": null,
"ledgrp.con.pts.extkey": null,
"ledgrp.rec.cnfdet": null,
"ledgrp.drw.pts.adrblk": null,
"ledgrp.rec.apprultxt": null,
"ledgrp.blk.spcben": null,
"ledgrp.apb.pts.extkey" :null,
"liaall.misamt" :null,
"ledgrp.rec.opndat" :null,
"ledgrp.adv.namelc" :null,
"ledgrp.blk.shpper" :null,
"ledgrp.rmb.pts.extkey" :null,
"ledgrp.iss.pts.adrblk" :null,
"ledgrp.avb.adrelc" :null,
"ledgrp.rec.tenmaxday" :null,
"ledgrp.blk.mixdet" :null,
"ledgrp.avb.pts.extkey" :null,
"ledgrp.drw.adrelc" :null,
"ledgrp.ben.pts.extkey" :null,
"setmod.dspflg" :null,
"letp.usr.extkey" :null,
"ledgrp.rec.nomspc" :null,
"ledgrp.a2b.namelc" :null,
"ledgrp.rec.revtyp" :null,
"ledgrp.rec.avbby" :null,
"ledgrp.rec.shpdat" :null,
"ledgrp.rec.prepers18" :null,
"ledgrp.iss.adrelc" :null,
"ledgrp.apb.namelc" :null,
"ledgrp.apl.namelc" :null,
"ledgrp.cbs.max2.amt" :null,
"ledgrp.rec.stacty" :null,
"ledgrp.blk.lcrdoc" :null,
"ledgrp.blk.dftat" :null,
"ledgrp.blk.insbnk" :null,
"ledgrp.iss.pts.extkey" :null,
"ledgrp.blk.adlcnd" :null,
"ledgrp.rec.expplc" :null,
"ledgrp.a2b.pts.extkey" :null,
"ledgrp.iss.pts.ref" :null,
"ledgrp.apl.pts.adrblk" :null,
"ledgrp.rmb.adrelc" :null,
"ledgrp.drw.pts.adrblk" :null,
"ledgrp.blk.spcben" :null,
"ledgrp.a2b.pts.adrblk" :null,
"ledgrp.rec.revdat" :null,
"ledgrp.blk.spcrcb" :null,
"ledgrp.blk.preper" :null,
"ledgrp.adv.adrelc" :null,
"ledgrp.ben.adrelc" :null,
"ledgrp.adv.pts.extkey" :null,
"ledgrp.rmb.pts.adrblk" :null,
"ledgrp.blk.lcrgod" :null,
"ledgrp.a2b.adrelc" :null,
"ledgrp.avb.namelc" :null,
"ledgrp.avb.pts.adrblk" :null,
"ledgrp.apb.pts.adrblk" :null,
"ledgrp.cbs.nom1.cur" :null,
"ledgrp.con.pts.nam" :null,
"ledgrp.rec.nomtop" :null,
"ledgrp.rec.nomton" :null,
"ledgrp.rec.avbwth" :null,
"ledgrp.rec.ownref" :null,
"ledgrp.rmb.namelc" :null,
"ledgrp.blk.feetxt" :null,
"ledgrp.blk.revcls" :null,
"ledgrp.adv.pts.adrblk" :null,
"ledgrp.cbs.nom1.amt" :null,
"ledgrp.blk.defdet" :null,
"ledgrp.rec.expdat" :null,
"ledgrp.rec.lcrtyp" :null,
"mtabut.coninf.conexedat" :null,
"ledgrp.rec.apprul" :null,
"ledgrp.apl.adrelc" :null,
"ledgrp.iss.namelc" :null,
"ledgrp.drw.pts.extkey" :null,
"ledgrp.ben.namelc" :null,
"ledgrp.rec.preadvdt" :null,
"ledgrp.ben.pts.adrblk" :null,
"ledgrp.blk.addamtcov" :null,
"setmod.docamt" :null,
"ledgrp.rec.cnfins" :null,
"ledgrp.apb.adrelc" :null,
"ledgrp.drw.namelc" :null,
"ledgrp.apl.pts.extkey" :null,
"ledgrp.con.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null,
"ledgrp.rec.apprultxt" :null,
}
// for (const key in checkObj) {
// if (Object.hasOwnProperty.call(checkObj, key)) {
// checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
// }
// }
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
......@@ -159,6 +159,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else {
......
......@@ -24,7 +24,7 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000017 -->
<el-tab-pane label="基本信息" name="ovwp">
<c-content>
......@@ -70,6 +70,16 @@
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'led'" />
</el-tab-pane>
<!--PD000317 -->
<el-tab-pane label="PD000317" name="revp">
<m-revp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<c-content>
......@@ -92,16 +102,6 @@
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000317 -->
<!-- <el-tab-pane label="PD000317" name="revp">
<m-revp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000394 -->
<el-tab-pane
v-if="model.ledgrp.rec.spcbenflg"
......@@ -116,6 +116,11 @@
/>
</el-tab-pane>
<!--PD000394 -->
<!-- <el-tab-pane label="PD000394" name="spcbenp">
<m-spcbenp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000395 -->
<el-tab-pane
v-if="model.ledgrp.rec.spcrcbflg"
......@@ -129,6 +134,10 @@
:rec="'led'"
/>
</el-tab-pane>
<!--PD000422 -->
<!-- <el-tab-pane label="PD000422" name="spcrcvp">
<m-spcrcvp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="分录信息" name="glepan">
......@@ -166,18 +175,25 @@ import Pattern from "~/model/Letopn/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
// import Dogp from './Dogp';
// import Dorp from './Dorp';
// import Adcp from './Adcp';
// import Setpan from "./Setpan";
// import Coninfp from "./Coninfp";
// import Docpan from "./Docpan";
// import Glepan from "./Glepan";
// import Engp from "./Engp";
import Doctre from "./Doctre";
// import Doctre from "./Doctre";
import Revp from "./Revp";
import Aamp from "./Aamp";
// import Spcbenp from './Spcbenp'
// import Spcrcvp from './Spcrcvp'
// import Glepan from './Glepan'
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
import Doxp from "~/views/Public/Doxp";
......@@ -217,7 +233,12 @@ export default {
};
},
methods: {
tabClick() {},
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入letopn交易");
......@@ -226,6 +247,7 @@ export default {
//更新数据
this.updateModel(rtnmsg.data)
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
......
<template>
<ReviewWrapper>
<Letamc></Letamc>
</ReviewWrapper>
</template>
<script>
import Letamc from "~/views/Business/Letamc";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetamc",
components: { ReviewWrapper, Letamc },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Letame></Letame>
</ReviewWrapper>
</template>
<script>
import Letame from "~/views/Business/Letame";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetame",
components: { ReviewWrapper, Letame },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Letopn></Letopn>
</ReviewWrapper>
</template>
<script>
import Letopn from "~/views/Business/Letopn";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetopn",
components: { ReviewWrapper, Letopn },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -14,6 +14,9 @@ import ReviewBrtdck from "./Business/ReviewBrtdck.vue";
import ReviewBrtudp from "./Business/ReviewBrtudp.vue";
import ReviewBrteus from "./Business/ReviewBrteus.vue";
import ReviewLetnot from "./Business/ReviewLetnot.vue";
import ReviewLetopn from "./Business/ReviewLetopn.vue";
import ReviewLetamc from "./Business/ReviewLetamc.vue";
import ReviewLetame from "./Business/ReviewLetame.vue";
import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue";
import ReviewBdteus from "./Business/ReviewBdteus.vue";
......@@ -36,6 +39,10 @@ const ReviewRouter = [
{ path: "brtudp", component: ReviewBrtudp, name: "ReviewBrtudp", meta: { title: "复核-Brtudp" } },
{ path: "brteus", component: ReviewBrteus, name: "ReviewBrteus", meta: { title: "复核-Brteus" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
{ path: "letopn", component: ReviewLetopn, name: "ReviewLetopn", meta: { title: "复核-Letopn" } },
{ path: "letamc", component: ReviewLetamc, name: "ReviewLetamc", meta: { title: "复核-Letamc" } },
{ path: "letame", component: ReviewLetame, name: "ReviewLetame", meta: { title: "复核-Letame" } },
];
export default ReviewRouter;
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