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 = {
{ label: "Seller", value: "SEL" },
{ label: "Ordering Institution", value: "ORI" },
],
gitopm_rolall:[
gitopn_rolall:[
{label:"Appliant",value:"APL"},
{label:"1st Adv.thr.Bank",value:"ATB"},
{label:"Beneficiary",value:"BEN"},
{label:"Accountee",value:"CTR"},
{label:"Issuing Bank",value:"ISS"}
],
rolchgflg: [
{ label: "Changes and deletion allowed if new", value: "" },
......
......@@ -197,7 +197,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.matper":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"brtp.oth.adrelc":[
......
......@@ -228,5 +228,6 @@ export default {
"cfagit.recp.dclp.actiontype" :Utils.defaultFunction,
"cfagit.recp.dclp.actiondesc" :Utils.defaultFunction,
"cnybop.voup" :Utils.defaultFunction,
"gitp.preperp" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -153,6 +153,7 @@
style="width: 100%"
placeholder="请输入Maturity Date"
value-format="yyyy-MM-dd"
:disabled="model.brdgrp.blk.matper!=''||model.brdgrp.rec.docflg=='P'"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -341,6 +342,7 @@
style="width: 100%"
placeholder="Maturity Date"
value-format="yyyy-MM-dd"
:disabled="model.brdgrp.blk.matper!=''||model.brdgrp.rec.docflg=='P'"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -385,6 +387,7 @@
maxlength="65"
show-word-limit
placeholder="请输入Maturity Period"
:disabled="model.brdgrp.rec.matdat!=null&&model.brdgrp.rec.matdat!=''||model.brdgrp.rec.docflg=='P'"
></c-input>
</c-form-item>
</c-col>
......
......@@ -177,7 +177,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"
@change="benChange"
@blur="benBlur"
></c-input>
<template slot="footer">
<c-button
......@@ -258,7 +258,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
"
@change="benChange"
@blur="benBlur"
></c-input>
<template slot="footer">
<c-button
......@@ -333,7 +333,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"
@change="benChange"
@blur="benBlur"
></c-input>
<template slot="footer">
<c-button
......@@ -414,7 +414,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
"
@change="benChange"
@blur="benBlur"
></c-input>
<template slot="footer">
<c-button
......@@ -638,7 +638,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`)
"
@change="benChange"
@blur="benBlur"
></c-input>
<template slot="footer">
<c-button
......@@ -702,7 +702,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.atb.pts.extkey`)
"
@change="benChange"
@blur="benBlur"
></c-input>
<template slot="footer">
<c-button
......@@ -810,7 +810,7 @@ export default {
},
methods: {
...Event,
async benChange() {
async benBlur() {
let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
......
......@@ -179,6 +179,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
@blur="issBlur"
></c-input>
<template slot="footer">
<c-button
......@@ -342,6 +343,7 @@ import Event from "~/model/Gitopn/Event";
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
......@@ -352,6 +354,12 @@ export default {
},
methods: {
...Event,
async issBlur() {
let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {},
};
......
......@@ -364,12 +364,12 @@ export default {
}
if (name === "dclpp") {
rulePath = "dclpp";
}if (name === "gidtxtp"){
}
if (name === "gidtxtp"){
rulePath = "gitp.gidtxtp"
}if (name === "ptypc"){
}
if (name === "ptypc"){
rulePath = "gitp.ptypc"
}if(name==="ptyp"){
rulePath = "gitp.ptyp"
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
......
......@@ -649,10 +649,92 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="14">
<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"
prop="gidgrp.rec.expdat"
>
......@@ -667,16 +749,17 @@
</c-col>
<c-col
:span="7"
v-if="model.gitp.swiftflg != 'Y'"
v-if="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-checkbox v-model="model.gidgrp.rec.expflg"
:disabled="model.gidgrp.rec.expdat!=''||model.gidgrp.ghd.segtyp=='02'"
>Unlimited Guarantee</c-checkbox
>
</c-col>
<c-col
:span="3"
v-show="model.gitp.swiftflg != 'Y'"
v-show="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-button
......@@ -693,7 +776,7 @@
<c-col :span="24">
<c-col :span="14">
<el-form-item
v-show="model.gitp.swiftflg != 'Y'"
v-show="model.gitp.swiftflg == 'N'"
label="Our Liability until"
prop="gidgrp.rec.liadat"
>
......@@ -711,21 +794,22 @@
</c-col>
<c-col
:span="7"
v-show="model.gitp.swiftflg != 'Y'"
v-show="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-checkbox
v-model="model.gidgrp.rec.liaflg"
:disabled="
model.gidgrp.rec.hndtyp != 'OC' ||
model.gidgrp.rec.expflg == 'X'
model.gidgrp.rec.expflg == 'X' ||
model.gidgrp.rec.liadat != ''
"
>Unlimited Liability</c-checkbox
>
</c-col>
<c-col
:span="3"
v-show="model.gitp.swiftflg != 'Y'"
v-show="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-button
......@@ -786,6 +870,27 @@
</c-select>
</el-form-item>
</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 :span="11" :offset="1">
......@@ -1034,27 +1139,7 @@
</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">
......
......@@ -76,6 +76,8 @@
rol: 'con',
}"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
@onAplpDet="onConpDet"
>
</c-ptap>
......
......@@ -511,7 +511,6 @@ export default {
}).then(() => {//yes的执行在这里写
this.executeRule('ledgrp.rec.revflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.revdat ='';//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
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