Commit 7a06554a by nanrui

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 5536014e a7dca832
...@@ -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>
......
...@@ -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)
} }
}) })
......
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