Commit de75d3ae by liyixun

getopn bug (635,634)

parent daf80859
......@@ -170,5 +170,6 @@ export default {
"gidgrp.rec.inudat" :Utils.defaultFunction,
"gidgrp.blk.apprulc" :Utils.defaultFunction,
"gidgrp.rec.autrnwflg" :Utils.defaultFunction,
"setmod.glemod.glepan" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -230,7 +230,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
......@@ -50,11 +50,11 @@
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="Settlement">
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Bookings" name="Booking">
<el-tab-pane v-if="this.flag" label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -179,7 +179,8 @@ export default {
},
provide() {
return {
root: this
root: this,
flag:false,
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
......@@ -201,6 +202,18 @@ export default {
methods:{
myTabClick(tab){
this.tabClick(tab)
const name = tab.name
let rulePath;
if(name==="setpan"){
this.flag=true;
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
}
/**
* do it yourself
**/
......@@ -213,6 +226,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
......
......@@ -188,7 +188,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
......@@ -316,7 +316,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
......@@ -348,7 +348,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
......@@ -281,7 +281,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
<template>
<ReviewWrapper>
<Getame></Getame>
</ReviewWrapper>
</template>
<script>
import Getame from "~/views/Business/Getame";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGetame",
components: { ReviewWrapper, Getame },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Getopn></Getopn>
</ReviewWrapper>
</template>
<script>
import Getopn from "~/views/Business/Getopn";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGetopn",
components: { ReviewWrapper, Getopn },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Gitame></Gitame>
</ReviewWrapper>
</template>
<script>
import Gitame from "~/views/Business/Gitame";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitame",
components: { ReviewWrapper, Gitame },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitopn></Gitopn>
</ReviewWrapper>
</template>
<script>
import Gitopn from "~/views/Business/Gitopn";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitopn",
components: { ReviewWrapper, Gitopn },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitpop></Gitpop>
</ReviewWrapper>
</template>
<script>
import Gitpop from "~/views/Business/Gitpop";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitpop",
components: { ReviewWrapper, Gitpop },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
......@@ -60,6 +60,10 @@ import ReviewBctdor from "./Business/ReviewBctdor.vue";
import ReviewBctrad from "./Business/ReviewBctrad.vue";
import ReviewBctsel from "./Business/ReviewBctsel.vue";
import ReviewBctset from "./Business/ReviewBctset.vue";
import ReviewGetopn from "./Business/ReviewGetopn.vue";
import ReviewGitpop from "./Business/ReviewGitpop.vue";
import ReviewGitopn from "./Business/ReviewGitopn.vue";
import ReviewGitame from "./Business/ReviewGitame.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
......@@ -110,6 +114,10 @@ const ReviewRouter = [
{ path: "bftset", component: ReviewBftset, name: "ReviewBftset", meta: { title: "复核-Bftset" } },
{ path: "litame", component: ReviewLitame, name: "ReviewLitame", meta: { title: "复核-Litame" } },
{ path: "gitcom", component: ReviewGitcom, name: "ReviewGitcom", meta: { title: "复核-Gitcom" } },
{ path: "getopn", component: ReviewGetopn, name: "ReviewGetopn", meta: { title: "复核-Getopn" } },
{ path: "gitpop", component: ReviewGitpop, name: "ReviewGitpop", meta: { title: "复核-Gitpop" } },
{ path: "gitopn", component: ReviewGitopn, name: "ReviewGitopn", meta: { title: "复核-Gitopn" } },
{ path: "gitame", component: ReviewGitame, name: "ReviewGitame", meta: { title: "复核-Gitame" } },
{ path: "getamc", component: ReviewGetamc, name: "ReviewGetamc", meta: { title: "复核-Getamc" } },
{ path: "bftdrv", component: ReviewBftdrv, name: "ReviewBftdrv", meta: { title: "复核-Bftdrv" } },
{ path: "letdrv", component: ReviewLetdrv, name: "ReviewLetdrv", meta: { title: "复核-Letdrv" } },
......
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