Commit 59daae5d by panziyi

Gitcrq,Getcrq添加待复核功能

parent fcd7a132
......@@ -105,6 +105,7 @@
<c-select
:code="codes.doctypcod"
disabled
v-model="model.bcdgrp.rec.doctypcod"
style="width: 100%"
placeholder="请选择Payment Condition"
......@@ -118,6 +119,7 @@
style="width: 100%"
:code="codes.docstabot"
disabled
v-model="model.bcdgrp.rec.docsta"
maxlength="1"
placeholder="请输入Document Set Status"
......@@ -471,19 +473,23 @@ export default {
},
methods: {
...Event,
// focflgDefault(){
// this.executeDefault("trnmod.cmtflg").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
// },
focflgDefault(){
this.executeDefault("trnmod.cmtflg").then((res) => {
this.executeDefault("bcdgrp.rec.docsta").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
// async crefinflgChange() {
// let rtnmsg = await this.executeRule("trtcre.crefinflg");
// if (rtnmsg.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// }
// },
crefinflgChange(){
this.executeRule("trtcre.crefinflg").then((res) => {
if ((res.respCode == SUCCESS)) {
......@@ -543,19 +549,19 @@ export default {
// }
// }
// },
"bcdgrp.rec.doctypcod":{
immediate: true,
handler(val, oldVal) {
if(this.bcdgrp.rec.predat!=''){
this.model.bcdgrp.rec.docsta="A"
}else if(this.bcdgrp.rec.opndat!=''){
this.model.bcdgrp.rec.docsta="B"
}
else if(this.model.bcdgrp.rec.doctypcod=="A"||this.model.bcdgrp.rec.doctypcod=="D"||this.model.bcdgrp.rec.doctypcod=="M"){
this.model.bcdgrp.rec.docsta="C"
}
}
},
// "bcdgrp.rec.doctypcod":{
// immediate: true,
// handler(val, oldVal) {
// if(this.bcdgrp.rec.predat!=''){
// this.model.bcdgrp.rec.docsta="A"
// }else if(this.bcdgrp.rec.opndat!=''){
// this.model.bcdgrp.rec.docsta="B"
// }
// else if(this.model.bcdgrp.rec.doctypcod=="A"||this.model.bcdgrp.rec.doctypcod=="D"||this.model.bcdgrp.rec.doctypcod=="M"){
// this.model.bcdgrp.rec.docsta="C"
// }
// }
// },
"model.trnmod.cmtflg":{
immediate: true,
handler(val, oldVal) {
......@@ -573,10 +579,12 @@ export default {
} else {
this.typ1 = true;
}
},
},
}
},
created: function () {},
},
created: function () {
},
};
</script>
<style>
......
......@@ -149,7 +149,7 @@
</c-col>
<c-col :span="5">
<c-checkbox
v-model="model.gctp.gcthdr"
v-model="model.gctp.adaflg"
disabled
style="
margin-left: 18px;
......@@ -956,6 +956,8 @@ export default {
],
};
},
methods: { ...Event },
created: function () {},
};
......
<template>
<ReviewWrapper>
<Gctcan></Gctcan>
</ReviewWrapper>
</template>
<script>
import Gctcan from "~/views/Business/Gctcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGctcan",
components: { ReviewWrapper, Gctcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Getcan></Getcan>
</ReviewWrapper>
</template>
<script>
import Getcan from "~/views/Business/Getcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGetcan",
components: { ReviewWrapper, Getcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Getcrq></Getcrq>
</ReviewWrapper>
</template>
<script>
import Getcrq from "~/views/Business/Getcrq";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGetcrq",
components: { ReviewWrapper, Getcrq },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitcan></Gitcan>
</ReviewWrapper>
</template>
<script>
import Gitcan from "~/views/Business/Gitcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitcan",
components: { ReviewWrapper, Gitcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitcrj></Gitcrj>
</ReviewWrapper>
</template>
<script>
import Gitcrj from "~/views/Business/Gitcrj";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitcrj",
components: { ReviewWrapper, Gitcrj },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitcrq></Gitcrq>
</ReviewWrapper>
</template>
<script>
import Gitcrq from "~/views/Business/Gitcrq";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitcrq",
components: { ReviewWrapper, Gitcrq },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitset></Gitset>
</ReviewWrapper>
</template>
<script>
import Gitset from "~/views/Business/Gitset";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitset",
components: { ReviewWrapper, Gitset },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
......@@ -91,6 +91,15 @@ import ReviewCptcan from "./Business/ReviewCptcan.vue";
import ReviewCptrep from "./Business/ReviewCptrep.vue";
import ReviewCltdav from "./Business/ReviewCltdav.vue";
import ReviewGetcrq from "./Business/ReviewGetcrq.vue";
import ReviewGetcan from "./Business/ReviewGetcan.vue";
import ReviewGitcrq from "./Business/ReviewGitcrq.vue";
import ReviewGitcan from "./Business/ReviewGitcan.vue";
import ReviewGitcrj from "./Business/ReviewGitcrj.vue";
import ReviewGitset from "./Business/ReviewGitset.vue";
import ReviewGctcan from "./Business/ReviewGctcan.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
......@@ -199,6 +208,14 @@ const ReviewRouter = [
{ path: "Cptcan", component: ReviewCptcan, name: "ReviewCptcan", meta: { title: "复核-Cptcan" } },
{ path: "Cptrep", component: ReviewCptrep, name: "ReviewCptrep", meta: { title: "复核-Cptrep" } },
{ path: "getcrq", component: ReviewBctacc, name: "ReviewGetcrq", meta: { title: "复核-Getcrq" } },
{ path: "getcan", component: ReviewBctame, name: "ReviewGetcan", meta: { title: "复核-Getcan" } },
{ path: "gitcrq", component: ReviewBctcan, name: "ReviewGitcrq", meta: { title: "复核-Gitcrq" } },
{ path: "gitcan", component: ReviewBctdav, name: "ReviewGitcan", meta: { title: "复核-Gitcan" } },
{ path: "gitset", component: ReviewBctdor, name: "ReviewGitset", meta: { title: "复核-Gitset" } },
{ path: "gitcrj", component: ReviewBctrad, name: "ReviewGitcrj", meta: { title: "复核-Gitcrj" } },
{ path: "gctcan", component: ReviewBctsel, name: "ReviewGctcan", meta: { title: "复核-Gctcan" } },
];
export default ReviewRouter;
\ No newline at end of file
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