Commit a7dca832 by taojinrui

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents ab5b121e c3f01e15
...@@ -5395,11 +5395,12 @@ const CodeTable = { ...@@ -5395,11 +5395,12 @@ const CodeTable = {
{ label: "Seller", value: "SEL" }, { label: "Seller", value: "SEL" },
{ label: "Ordering Institution", value: "ORI" }, { label: "Ordering Institution", value: "ORI" },
], ],
gitopm_rolall:[ gitopn_rolall:[
{label:"Appliant",value:"APL"}, {label:"Appliant",value:"APL"},
{label:"1st Adv.thr.Bank",value:"ATB"}, {label:"1st Adv.thr.Bank",value:"ATB"},
{label:"Beneficiary",value:"BEN"}, {label:"Beneficiary",value:"BEN"},
{label:"Accountee",value:"CTR"}, {label:"Accountee",value:"CTR"},
{label:"Issuing Bank",value:"ISS"}
], ],
rolchgflg: [ rolchgflg: [
{ label: "Changes and deletion allowed if new", value: "" }, { label: "Changes and deletion allowed if new", value: "" },
......
...@@ -197,7 +197,7 @@ export default { ...@@ -197,7 +197,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.blk.matper":[ "brdgrp.blk.matper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"brtp.oth.adrelc":[ "brtp.oth.adrelc":[
......
...@@ -228,5 +228,6 @@ export default { ...@@ -228,5 +228,6 @@ export default {
"cfagit.recp.dclp.actiontype" :Utils.defaultFunction, "cfagit.recp.dclp.actiontype" :Utils.defaultFunction,
"cfagit.recp.dclp.actiondesc" :Utils.defaultFunction, "cfagit.recp.dclp.actiondesc" :Utils.defaultFunction,
"cnybop.voup" :Utils.defaultFunction, "cnybop.voup" :Utils.defaultFunction,
"gitp.preperp" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -153,6 +153,7 @@ ...@@ -153,6 +153,7 @@
style="width: 100%" style="width: 100%"
placeholder="请输入Maturity Date" placeholder="请输入Maturity Date"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
:disabled="model.brdgrp.blk.matper!=''||model.brdgrp.rec.docflg=='P'"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -341,6 +342,7 @@ ...@@ -341,6 +342,7 @@
style="width: 100%" style="width: 100%"
placeholder="Maturity Date" placeholder="Maturity Date"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
:disabled="model.brdgrp.blk.matper!=''||model.brdgrp.rec.docflg=='P'"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -385,6 +387,7 @@ ...@@ -385,6 +387,7 @@
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入Maturity Period" placeholder="请输入Maturity Period"
:disabled="model.brdgrp.rec.matdat!=null&&model.brdgrp.rec.matdat!=''||model.brdgrp.rec.docflg=='P'"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
......
...@@ -88,54 +88,56 @@ import Coninfp from "~/views/Public/Coninfp"; ...@@ -88,54 +88,56 @@ import Coninfp from "~/views/Public/Coninfp";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
export default { export default {
name: "Cltdav", name: "Cltdav",
components: { components: {
"m-sel": Sel, "m-sel": Sel,
"m-account": Account, "m-account": Account,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-engp": Engp, "m-engp": Engp,
"m-glepan": Glepan, "m-glepan": Glepan,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-ccvpan": Ccvpan, "m-ccvpan": Ccvpan,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "sel", tabVal: "sel",
trnName: "cltdav", trnName: "cltdav",
model: new Cltdav().data, model: new Cltdav().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
} }
}, },
methods: { methods: {
tabClick() { tabClick() {
} }
}, },
created: async function () { created: async function () {
console.log("进入cltdav交易"); console.log("进入cltdav交易");
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);
//TODO 处理数据逻辑 if (this.isInDisplay) {
this.restoreDisplay();
} }
else { }
this.$notify.error({ title: '错误', message: '服务请求失败!' }); else {
} this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}
} }
</script> </script>
<style> <style>
</style> </style>
\ No newline at end of file
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`) showGridPromptDialog(`gidgrp.apl.pts.extkey`)
" "
@change="benChange" @blur="benBlur"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.ctr.pts.extkey`) showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
" "
@change="benChange" @blur="benBlur"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -333,7 +333,7 @@ ...@@ -333,7 +333,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`) showGridPromptDialog(`gidgrp.apl.pts.extkey`)
" "
@change="benChange" @blur="benBlur"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -414,7 +414,7 @@ ...@@ -414,7 +414,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.ctr.pts.extkey`) showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
" "
@change="benChange" @blur="benBlur"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -638,7 +638,7 @@ ...@@ -638,7 +638,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`) showGridPromptDialog(`gidgrp.ben.pts.extkey`)
" "
@change="benChange" @blur="benBlur"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -702,7 +702,7 @@ ...@@ -702,7 +702,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.atb.pts.extkey`) showGridPromptDialog(`gidgrp.atb.pts.extkey`)
" "
@change="benChange" @blur="benBlur"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -810,7 +810,7 @@ export default { ...@@ -810,7 +810,7 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
async benChange() { async benBlur() {
let rtnmsg = await this.executeDefault("gidgrp.rec.sndto"); let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
......
...@@ -179,6 +179,7 @@ ...@@ -179,6 +179,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`) showGridPromptDialog(`gidgrp.iss.pts.extkey`)
" "
@blur="issBlur"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -342,6 +343,7 @@ import Event from "~/model/Gitopn/Event"; ...@@ -342,6 +343,7 @@ import Event from "~/model/Gitopn/Event";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils"; import Utils from "~/utils";
export default { export default {
components: { "c-ptap": Ptap }, components: { "c-ptap": Ptap },
inject: ["root"], inject: ["root"],
...@@ -352,6 +354,12 @@ export default { ...@@ -352,6 +354,12 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
async issBlur() {
let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -364,12 +364,12 @@ export default { ...@@ -364,12 +364,12 @@ export default {
} }
if (name === "dclpp") { if (name === "dclpp") {
rulePath = "dclpp"; rulePath = "dclpp";
}if (name === "gidtxtp"){ }
if (name === "gidtxtp"){
rulePath = "gitp.gidtxtp" rulePath = "gitp.gidtxtp"
}if (name === "ptypc"){ }
if (name === "ptypc"){
rulePath = "gitp.ptypc" rulePath = "gitp.ptypc"
}if(name==="ptyp"){
rulePath = "gitp.ptyp"
} }
if (!!rulePath) { if (!!rulePath) {
this.executeRule(rulePath).then((res) => { this.executeRule(rulePath).then((res) => {
......
...@@ -649,10 +649,92 @@ ...@@ -649,10 +649,92 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item <el-form-item
v-show="model.gitp.swiftflg != 'Y'" v-show="model.gitp.swiftflg == ''"
label="Validity until"
prop="gidgrp.rec.expdat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 90%"
placeholder="请选择Validity until"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span="7"
v-if="model.gitp.swiftflg == ''"
class="centerLable"
>
<c-checkbox v-model="model.gidgrp.rec.expflg"
>Unlimited Guarantee</c-checkbox
>
</c-col>
<c-col
:span="3"
v-show="model.gitp.swiftflg == ''"
class="centerLable"
>
<c-button
size="small"
type="primary"
@click="onGitpWbxs"
disabled
style="color: white"
>
显示文本
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item
v-show="model.gitp.swiftflg == ''"
label="Our Liability until"
prop="gidgrp.rec.liadat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
placeholder="请选择Our Liability until"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span="7"
v-show="model.gitp.swiftflg == ''"
class="centerLable"
>
<c-checkbox
v-model="model.gidgrp.rec.liaflg"
>Unlimited Liability</c-checkbox
>
</c-col>
<c-col
:span="3"
v-show="model.gitp.swiftflg == ''"
class="centerLable"
>
<c-button
size="small"
type="primary"
@click="onGitpYptxy"
disabled
>
协议签署
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item
v-show="model.gitp.swiftflg == 'N'"
label="Validity until" label="Validity until"
prop="gidgrp.rec.expdat" prop="gidgrp.rec.expdat"
> >
...@@ -667,16 +749,17 @@ ...@@ -667,16 +749,17 @@
</c-col> </c-col>
<c-col <c-col
:span="7" :span="7"
v-if="model.gitp.swiftflg != 'Y'" v-if="model.gitp.swiftflg == 'N'"
class="centerLable" class="centerLable"
> >
<c-checkbox v-model="model.gidgrp.rec.expflg" <c-checkbox v-model="model.gidgrp.rec.expflg"
:disabled="model.gidgrp.rec.expdat!=''||model.gidgrp.ghd.segtyp=='02'"
>Unlimited Guarantee</c-checkbox >Unlimited Guarantee</c-checkbox
> >
</c-col> </c-col>
<c-col <c-col
:span="3" :span="3"
v-show="model.gitp.swiftflg != 'Y'" v-show="model.gitp.swiftflg == 'N'"
class="centerLable" class="centerLable"
> >
<c-button <c-button
...@@ -693,7 +776,7 @@ ...@@ -693,7 +776,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item <el-form-item
v-show="model.gitp.swiftflg != 'Y'" v-show="model.gitp.swiftflg == 'N'"
label="Our Liability until" label="Our Liability until"
prop="gidgrp.rec.liadat" prop="gidgrp.rec.liadat"
> >
...@@ -711,21 +794,22 @@ ...@@ -711,21 +794,22 @@
</c-col> </c-col>
<c-col <c-col
:span="7" :span="7"
v-show="model.gitp.swiftflg != 'Y'" v-show="model.gitp.swiftflg == 'N'"
class="centerLable" class="centerLable"
> >
<c-checkbox <c-checkbox
v-model="model.gidgrp.rec.liaflg" v-model="model.gidgrp.rec.liaflg"
:disabled=" :disabled="
model.gidgrp.rec.hndtyp != 'OC' || model.gidgrp.rec.hndtyp != 'OC' ||
model.gidgrp.rec.expflg == 'X' model.gidgrp.rec.expflg == 'X' ||
model.gidgrp.rec.liadat != ''
" "
>Unlimited Liability</c-checkbox >Unlimited Liability</c-checkbox
> >
</c-col> </c-col>
<c-col <c-col
:span="3" :span="3"
v-show="model.gitp.swiftflg != 'Y'" v-show="model.gitp.swiftflg == 'N'"
class="centerLable" class="centerLable"
> >
<c-button <c-button
...@@ -786,6 +870,27 @@ ...@@ -786,6 +870,27 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item
v-show="model.gitp.swiftflg != 'Y'"
label="是否显示查询码"
prop="gidgrp.gidcxm.cxmflg"
>
<c-select
v-model="model.gidgrp.gidcxm.cxmflg"
style="width: 100%"
placeholder="请选择是否显示查询码"
>
<el-option
v-for="item in codes.cxmflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- ============右边================= --> <!-- ============右边================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -1034,27 +1139,7 @@ ...@@ -1034,27 +1139,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24">
<el-form-item
v-show="model.gitp.swiftflg != 'Y'"
label="是否显示查询码"
prop="gidgrp.gidcxm.cxmflg"
>
<c-select
v-model="model.gidgrp.gidcxm.cxmflg"
style="width: 100%"
placeholder="请选择是否显示查询码"
>
<el-option
v-for="item in codes.cxmflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="24"> <c-col :span="24">
......
...@@ -76,6 +76,8 @@ ...@@ -76,6 +76,8 @@
rol: 'con', rol: 'con',
}" }"
:disabled="true" :disabled="true"
:disabledRef="true"
:disabledExtkey="true"
@onAplpDet="onConpDet" @onAplpDet="onConpDet"
> >
</c-ptap> </c-ptap>
......
...@@ -511,7 +511,6 @@ export default { ...@@ -511,7 +511,6 @@ export default {
}).then(() => {//yes的执行在这里写 }).then(() => {//yes的执行在这里写
this.executeRule('ledgrp.rec.revflg').then(res => { this.executeRule('ledgrp.rec.revflg').then(res => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.revdat ='';//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
this.updateModel(res.data) this.updateModel(res.data)
} }
}) })
......
<template>
<ReviewWrapper>
<Cltdav></Cltdav>
</ReviewWrapper>
</template>
<script>
import Cltdav from "~/views/Business/Cltdav";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewCltdav",
components: { ReviewWrapper, Cltdav },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
...@@ -72,7 +72,6 @@ import ReviewGetame from "./Business/ReviewGetame.vue"; ...@@ -72,7 +72,6 @@ import ReviewGetame from "./Business/ReviewGetame.vue";
import ReviewCctdav from "./Business/ReviewCctdav.vue"; import ReviewCctdav from "./Business/ReviewCctdav.vue";
import ReviewCctdcr from "./Business/ReviewCctdcr.vue"; import ReviewCctdcr from "./Business/ReviewCctdcr.vue";
import ReviewCcttra from "./Business/ReviewCcttra.vue"; import ReviewCcttra from "./Business/ReviewCcttra.vue";
import ReviewCctset from "./Business/ReviewCctset.vue";
import ReviewLttopn from "./Business/ReviewLttopn.vue"; import ReviewLttopn from "./Business/ReviewLttopn.vue";
import ReviewLitdck from "./Business/ReviewLitdck.vue"; import ReviewLitdck from "./Business/ReviewLitdck.vue";
import ReviewBrtlat from "./Business/ReviewBrtlat.vue"; import ReviewBrtlat from "./Business/ReviewBrtlat.vue";
...@@ -90,6 +89,7 @@ import ReviewLitcan from "./Business/ReviewLitcan.vue"; ...@@ -90,6 +89,7 @@ import ReviewLitcan from "./Business/ReviewLitcan.vue";
import ReviewBetamc from "./Business/ReviewBetamc.vue"; import ReviewBetamc from "./Business/ReviewBetamc.vue";
import ReviewCptcan from "./Business/ReviewCptcan.vue"; import ReviewCptcan from "./Business/ReviewCptcan.vue";
import ReviewCptrep from "./Business/ReviewCptrep.vue"; import ReviewCptrep from "./Business/ReviewCptrep.vue";
import ReviewCltdav from "./Business/ReviewCltdav.vue";
const ReviewRouter = [ const ReviewRouter = [
...@@ -191,8 +191,9 @@ const ReviewRouter = [ ...@@ -191,8 +191,9 @@ const ReviewRouter = [
{ path: "cctdav", component: ReviewCctdav, name: "ReviewCctdav", meta: { title: "复核-Cctdav" } }, { path: "cctdav", component: ReviewCctdav, name: "ReviewCctdav", meta: { title: "复核-Cctdav" } },
{ path: "cctdcr", component: ReviewCctdcr, name: "ReviewCctdcr", meta: { title: "复核-Cctdcr" } }, { path: "cctdcr", component: ReviewCctdcr, name: "ReviewCctdcr", meta: { title: "复核-Cctdcr" } },
{ path: "ccttra", component: ReviewCcttra, name: "ReviewCcttra", meta: { title: "复核-Ccttra" } }, { path: "ccttra", component: ReviewCcttra, name: "ReviewCcttra", meta: { title: "复核-Ccttra" } },
{ path: "cctset", component: ReviewCctset, name: "ReviewCctset", meta: { title: "复核-Cctset" } },
{ path: "lttopn", component: ReviewLttopn, name: "ReviewLttopn", meta: { title: "复核-Lttopn" } }, { path: "lttopn", component: ReviewLttopn, name: "ReviewLttopn", meta: { title: "复核-Lttopn" } },
{ path: "cltdav", component: ReviewCltdav, name: "ReviewCltdav", meta: { title: "复核-Cltdav" } },
{ path: "Cptati", component: ReviewCptati, name: "ReviewCptati", meta: { title: "复核-Cptati" } }, { path: "Cptati", component: ReviewCptati, name: "ReviewCptati", meta: { title: "复核-Cptati" } },
{ path: "Cptato", component: ReviewCptato, name: "ReviewCptato", meta: { title: "复核-Cptato" } }, { path: "Cptato", component: ReviewCptato, name: "ReviewCptato", meta: { title: "复核-Cptato" } },
{ path: "Cptcan", component: ReviewCptcan, name: "ReviewCptcan", meta: { title: "复核-Cptcan" } }, { path: "Cptcan", component: ReviewCptcan, name: "ReviewCptcan", meta: { title: "复核-Cptcan" } },
......
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