Commit 1094a99f by Wuyuqiu

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

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