Commit 1094a99f by Wuyuqiu

betdcr、betset交易检核及提交成功

parent b0782f17
...@@ -18,7 +18,7 @@ export default { ...@@ -18,7 +18,7 @@ export default {
"ledgrp.cbs.opn1.amt": [ "ledgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"betp.recget.sdamod.dadsnd": [ "betp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
......
...@@ -21,6 +21,16 @@ ...@@ -21,6 +21,16 @@
style="margin-left: 10px; padding: 0 10px" style="margin-left: 10px; padding: 0 10px"
size="small" size="small"
type="primary" type="primary"
@click="
showGridPromptDialog(
'betp.intdis.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.intdis' },
{ TXT: false },
'doxpDialog'
)
"
> >
... ...
</c-button> </c-button>
...@@ -50,6 +60,16 @@ ...@@ -50,6 +60,16 @@
size="small" size="small"
type="primary" type="primary"
:disabled="!docdisflg" :disabled="!docdisflg"
@click="
showGridPromptDialog(
'betp.docdis.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.docdis' },
{ TXT: false },
'doxpDialog'
)
"
> >
... ...
</c-button> </c-button>
...@@ -84,6 +104,16 @@ ...@@ -84,6 +104,16 @@
style="margin-left: 10px; padding: 0 10px" style="margin-left: 10px; padding: 0 10px"
size="small" size="small"
type="primary" type="primary"
@click="
showGridPromptDialog(
'betp.resrej.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.docins' },
{ TXT: false },
'doxpDialog'
)
"
> >
... ...
</c-button> </c-button>
...@@ -113,6 +143,16 @@ ...@@ -113,6 +143,16 @@
size="small" size="small"
type="primary" type="primary"
disabled disabled
@click="
showGridPromptDialog(
'betp.disdoc.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.disdoc' },
{ TXT: false },
'doxpDialog'
)
"
> >
... ...
</c-button> </c-button>
......
...@@ -201,14 +201,15 @@ ...@@ -201,14 +201,15 @@
style="width: 100%" style="width: 100%"
placeholder="Please select Document Status" placeholder="Please select Document Status"
disabled disabled
:code="codes.docsta"
> >
<el-option <!-- <el-option
v-for="item in codes.docsta1" v-for="item in codes.docsta"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
> >
</el-option> </el-option> -->
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -306,7 +307,10 @@ ...@@ -306,7 +307,10 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="clsflgp" style="margin-left: 150px" <c-checkbox
v-model="clsflgp"
style="margin-left: 150px"
@change="clsflgpChange"
>Receive returned ducuments</c-checkbox >Receive returned ducuments</c-checkbox
> >
</c-col> </c-col>
...@@ -347,6 +351,9 @@ ...@@ -347,6 +351,9 @@
style="width: 100%" style="width: 100%"
placeholder="Please select Payer" placeholder="Please select Payer"
disabled disabled
@change="eventFunction(
'bedgrp.rec.payrol'
)"
> >
<el-option <el-option
v-for="item in codes.payrol" v-for="item in codes.payrol"
...@@ -370,6 +377,7 @@ ...@@ -370,6 +377,7 @@
:noRef="true" :noRef="true"
:disabled="true" :disabled="true"
:isAdrblk="true" :isAdrblk="true"
:disabledExtkey="!(model.bedgrp.rec.payrol == 'OTH')"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -381,6 +389,9 @@ ...@@ -381,6 +389,9 @@
style="width: 100%" style="width: 100%"
placeholder="Please input Presented by" placeholder="Please input Presented by"
disabled disabled
@change="eventFunction(
'bedgrp.rec.docprbrol'
)"
> >
<el-option <el-option
v-for="item in codes.docprbrol" v-for="item in codes.docprbrol"
...@@ -701,7 +712,7 @@ import Ptsmsg from "~/views/Public/Ptsmsg"; ...@@ -701,7 +712,7 @@ import Ptsmsg from "~/views/Public/Ptsmsg";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptsmsg": Ptsmsg ,"c-ptap":Ptap}, components: { "c-ptsmsg": Ptsmsg, "c-ptap": Ptap },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
...@@ -748,7 +759,16 @@ export default { ...@@ -748,7 +759,16 @@ export default {
}, },
}, },
}, },
methods: { ...Event }, methods: {
...Event,
clsflgpChange(v) {
if (v == "X") {
this.model.bedgrp.rec.docsta = "R";
}else{
this.model.bedgrp.rec.docsta = "E";
}
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -17,82 +17,94 @@ ...@@ -17,82 +17,94 @@
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000009 --> <!--PD000009 -->
<el-tab-pane label="Details" name="betdcrs"> <el-tab-pane label="Details" name="betdcrs">
<c-content> <c-content>
<m-betdcrs :model="model" :codes="codes"/> <m-betdcrs :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000026 --> <!--PD000026 -->
<el-tab-pane label="Discrepancies/Refusal Details" name="betdcrd"> <el-tab-pane label="Discrepancies/Refusal Details" name="betdcrd">
<m-betdcrd :model="model" :codes="codes"/> <m-betdcrd :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="Liability" name="engp"> <el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="Messages" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Betdcr from "~/model/Betdcr" import Betdcr from "~/model/Betdcr";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betdcr/Check" import Check from "~/model/Betdcr/Check";
import Default from "~/model/Betdcr/Default" import Default from "~/model/Betdcr/Default";
import Pattern from "~/model/Betdcr/Pattern" import Pattern from "~/model/Betdcr/Pattern";
import Betdcrs from "./Betdcrs" import Betdcrs from "./Betdcrs";
import Betdcrd from "./Betdcrd" import Betdcrd from "./Betdcrd";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Betdcr", name: "Betdcr",
components:{ components: {
"m-betdcrs" : Betdcrs, "m-betdcrs": Betdcrs,
"m-betdcrd" : Betdcrd, "m-betdcrd": Betdcrd,
"m-engp" : Engp, "m-engp": Engp,
"m-setpan":Setpan, "m-setpan": Setpan,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "betdcrs", tabVal: "betdcrs",
trnName: "betdcr", trnName: "betdcr",
...@@ -104,32 +116,30 @@ export default { ...@@ -104,32 +116,30 @@ export default {
codes: { codes: {
...CodeTable, ...CodeTable,
}, },
} };
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入betdcr交易"); console.log("进入betdcr交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data) if (this.isInDisplay) {
//TODO 处理数据逻辑 this.restoreDisplay();
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
<template>
<ReviewWrapper>
<Betdcr></Betdcr>
</ReviewWrapper>
</template>
<script>
import Betdcr from "~/views/Business/Betdcr";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBetdcr",
components: { ReviewWrapper, Betdcr },
created() {},
mounted() {},
};
</script>
<style></style>
...@@ -38,6 +38,7 @@ import ReviewLetrsv from "./Business/ReviewLetrsv.vue"; ...@@ -38,6 +38,7 @@ import ReviewLetrsv from "./Business/ReviewLetrsv.vue";
import ReviewBetrcl from "./Business/ReviewBetrcl.vue"; import ReviewBetrcl from "./Business/ReviewBetrcl.vue";
import ReviewBetset from "./Business/ReviewBetset.vue"; import ReviewBetset from "./Business/ReviewBetset.vue";
import ReviewDetame from "./Business/ReviewDetame.vue"; import ReviewDetame from "./Business/ReviewDetame.vue";
import ReviewBetdcr from "./Business/ReviewBetdcr.vue";
const ReviewRouter = [ const ReviewRouter = [
...@@ -59,8 +60,8 @@ const ReviewRouter = [ ...@@ -59,8 +60,8 @@ const ReviewRouter = [
{ path: "brtudp", component: ReviewBrtudp, name: "ReviewBrtudp", meta: { title: "复核-Brtudp" } }, { path: "brtudp", component: ReviewBrtudp, name: "ReviewBrtudp", meta: { title: "复核-Brtudp" } },
{ path: "brteus", component: ReviewBrteus, name: "ReviewBrteus", meta: { title: "复核-Brteus" } }, { path: "brteus", component: ReviewBrteus, name: "ReviewBrteus", meta: { title: "复核-Brteus" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } }, { path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
{ path: "bftsnd", component: ReviewBftsnd, name: "ReviewBftsnd", meta: { title: "复核-卖方信用证单据寄单" } }, { path: "bftsnd", component: ReviewBftsnd, name: "ReviewBftsnd", meta: { title: "复核-Bftsnd" } },
{ path: "bftdcr", component: ReviewBftdcr, name: "ReviewBftdcr", meta: { title: "复核-卖方信用证单据电提不符点/开证行拒付" } }, { path: "bftdcr", component: ReviewBftdcr, name: "ReviewBftdcr", meta: { title: "复核-Bftdcr" } },
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } }, { path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
{ path: "ditdck", component: ReviewDitdck, name: "ReviewDitdck", meta: { title: "复核-买方信用证到单" } }, { path: "ditdck", component: ReviewDitdck, name: "ReviewDitdck", meta: { title: "复核-买方信用证到单" } },
{ path: "bdtset", component: ReviewBdtset, name: "ReviewBdtset", meta: { title: "复核-买方信用证付款" } }, { path: "bdtset", component: ReviewBdtset, name: "ReviewBdtset", meta: { title: "复核-买方信用证付款" } },
...@@ -98,6 +99,7 @@ const ReviewRouter = [ ...@@ -98,6 +99,7 @@ const ReviewRouter = [
{ path: "betrcl", component: ReviewBetrcl, name: "ReviewBetrcl", meta: { title: "复核-Betrcl" } }, { path: "betrcl", component: ReviewBetrcl, name: "ReviewBetrcl", meta: { title: "复核-Betrcl" } },
{ path: "betset", component: ReviewBetset, name: "ReviewBetset", meta: { title: "复核-Betset" } }, { path: "betset", component: ReviewBetset, name: "ReviewBetset", meta: { title: "复核-Betset" } },
{ path: "detame", component: ReviewDetame, name: "ReviewDetame", meta: { title: "复核-Detame" } }, { path: "detame", component: ReviewDetame, name: "ReviewDetame", meta: { title: "复核-Detame" } },
{ path: "betdcr", component: ReviewBetdcr, name: "ReviewBetdcr", meta: { title: "复核-Betdcr" } },
]; ];
......
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