Commit 38f196ed by liyixun

gitopn 解决检核后面板内容消失问题

parent aa153815
...@@ -6804,6 +6804,11 @@ const CodeTable = { ...@@ -6804,6 +6804,11 @@ const CodeTable = {
{ label: "Beneficiary Side", value: "BENE" }, { label: "Beneficiary Side", value: "BENE" },
{ label: "Other", value: "OTHR" } { label: "Other", value: "OTHR" }
], ],
gitopn_chato:[
{ value: "U", label: "Applicant Side" },
{ value: "B", label: "Beneficiay Side" },
{ value: "O", label: "Other" },
],
getame_chato:[ getame_chato:[
{ label: "Applicant Side", value: "APPL" }, { label: "Applicant Side", value: "APPL" },
{ label: "Beneficiary Side", value: "BENE" }, { label: "Beneficiary Side", value: "BENE" },
......
...@@ -523,10 +523,10 @@ export default { ...@@ -523,10 +523,10 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 780,message:"长度不能超过780"} {max: 780,message:"长度不能超过780"}
], ],
// "gidgrp.blk.atxliatxtc":[ "gidgrp.blk.atxliatxtc":[
// {type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
// {max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
// ], ],
"gidgrp.ben.adrelc":[ "gidgrp.ben.adrelc":[
......
...@@ -97,16 +97,13 @@ ...@@ -97,16 +97,13 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20" v-if="model.gitp.covgodsrvmodflg == ''">
<el-form-item <el-form-item
label="Object of Contract" label="Object of Contract"
prop="gidgrp.blk.covgodsrv" prop="gidgrp.blk.covgodsrv"
> >
<c-input <c-input
:disabled=" disabled
model.gitp.covgodsrvmodflg == '' ||
model.gitp.swiftflg == 'N'
"
rows="6" rows="6"
type="textarea" type="textarea"
v-model="model.gidgrp.blk.covgodsrv" v-model="model.gidgrp.blk.covgodsrv"
...@@ -116,6 +113,21 @@ ...@@ -116,6 +113,21 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="20" v-if="model.gitp.covgodsrvmodflg != ''">
<el-form-item
label="Object of Contract"
prop="gidgrp.blk.atxcovgodsrv"
>
<c-input
rows="6"
type="textarea"
v-model="model.gidgrp.blk.axtcovgodsrv"
maxlength="350"
show-word-limit
placeholder="请输入Object of Contract"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4"> <c-col :span="4">
<c-checkbox <c-checkbox
v-if="model.gitp.swiftflg == 'Y'" v-if="model.gitp.swiftflg == 'Y'"
......
...@@ -5,50 +5,128 @@ ...@@ -5,50 +5,128 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc"> <el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc">
<c-input disabled v-model="model.gidgrp.rec.orcrefc" maxlength="35" placeholder="请输入Contract Reference"></c-input> <c-input
disabled
v-model="model.gidgrp.rec.orcrefc"
maxlength="35"
placeholder="请输入Contract Reference"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Contract Date" prop="gidgrp.rec.orcdatc"> <el-form-item label="Contract Date" prop="gidgrp.rec.orcdatc">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.orcdatc" style="width:100%" placeholder="请选择Date from Original Contract"></c-date-picker> <c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.orcdatc"
style="width: 100%"
placeholder="请选择Date from Original Contract"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdatc"> <el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdatc">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.tenclsdatc" style="width:100%" placeholder="请选择Closing Date"></c-date-picker> <c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.tenclsdatc"
style="width: 100%"
placeholder="请选择Closing Date"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<c-col :span="20"> <c-col :span="20">
<el-form-item v-if="model.gitp.covgodsrvcmodflg==''" label="Object of Contract" prop="gidgrp.blk.covgodsrvc"> <el-form-item
<c-input :disabled="model.gitp.covgodsrvcmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.covgodsrvc" maxlength="3250" show-word-limit placeholder="请输入Object of Contract" ></c-input> v-if="model.gitp.covgodsrvcmodflg == ''"
</el-form-item> label="Object of Contract"
<el-form-item v-if="model.gitp.covgodsrvcmodflg=='X'" label="Underly. Transact. Det." prop="gidgrp.blk.atxcovgodsrvc"> prop="gidgrp.blk.covgodsrvc"
<c-input :disabled="model.gitp.covgodsrvcmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.atxcovgodsrvc" maxlength="65" show-word-limit placeholder="请输入Underly. Transact. Det." ></c-input> >
<c-input
disabled
rows="5"
type="textarea"
v-model="model.gidgrp.blk.covgodsrvc"
maxlength="3250"
show-word-limit
placeholder="请输入Object of Contract"
></c-input>
</el-form-item>
<el-form-item
v-if="model.gitp.covgodsrvcmodflg == 'X'"
label="Underly. Transact. Det."
prop="gidgrp.blk.atxcovgodsrvc"
>
<c-input
rows="5"
type="textarea"
v-model="model.gidgrp.blk.atxcovgodsrvc"
maxlength="3250"
show-word-limit
placeholder="请输入Underly. Transact. Det."
@blur="atxcovgodsrvcBlur"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodsrvcmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox> <c-checkbox
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodc.chkast" style="margin:0 0 0 10px">Allow *</c-checkbox> v-if="model.gitp.swiftflg == 'Y'"
<c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifcovgodsrvc"> v-model="model.gitp.covgodsrvcmodflg"
style="margin: 0 0 0 10px"
@change="modflgChange"
>Modify Text</c-checkbox
>
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
v-model="model.gitp.covgodc.chkast"
style="margin: 0 0 0 10px"
>Allow *</c-checkbox
>
<c-button
disabled
v-if="model.gitp.swiftflg == 'Y'"
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifcovgodsrvc"
>
vs.&System vs.&System
</c-button> </c-button>
<c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhiscovgodsrvc"> <c-button
disabled
v-if="model.gitp.swiftflg == 'Y'"
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhiscovgodsrvc"
>
vs.&History vs.&History
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcratc"> <el-form-item
<c-input disabled v-model="model.gidgrp.rec.orcratc" placeholder="请输入Original Perc./ Rate"></c-input> label="Original Perc./ Rate"
prop="gidgrp.rec.orcratc"
>
<c-input
disabled
v-model="model.gidgrp.rec.orcratc"
placeholder="请输入Original Perc./ Rate"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Contract Amount " prop="gidgrp.rec.orccurc"> <el-form-item label="Contract Amount " prop="gidgrp.rec.orccurc">
<c-select disabled v-model="model.gidgrp.rec.orccurc" style="width:100%" placeholder="请选择Contract Amount "> <c-select
disabled
v-model="model.gidgrp.rec.orccurc"
style="width: 100%"
placeholder="请选择Contract Amount "
>
<el-option <el-option
v-for="item in codes.curtxt" v-for="item in codes.curtxt"
:key="item.value" :key="item.value"
...@@ -60,24 +138,50 @@ ...@@ -60,24 +138,50 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-input disabled v-model="model.gidgrp.rec.orcamtc" placeholder="请输入Contract Amount "></c-input> <c-input
disabled
v-model="model.gidgrp.rec.orcamtc"
placeholder="请输入Contract Amount "
></c-input>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplcc"> <el-form-item
<c-input disabled type="textarea" v-model="model.gidgrp.blk.orcplcc" maxlength="140" show-word-limit placeholder="请输入Original Contract Place" ></c-input> label="Original Contract Place"
prop="gidgrp.blk.orcplcc"
>
<c-input
disabled
type="textarea"
v-model="model.gidgrp.blk.orcplcc"
maxlength="140"
show-word-limit
placeholder="请输入Original Contract Place"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.accc"> <el-form-item
<c-input disabled v-model="model.gidgrp.rec.accc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input> label="A/c for Adv. Paym. Guar."
prop="gidgrp.rec.accc"
>
<c-input
disabled
v-model="model.gidgrp.rec.accc"
maxlength="35"
placeholder="请输入A/c for Adv. Paym. Guar."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Governing Law" prop="gidgrp.rec.jurlawc"> <el-form-item label="Governing Law" prop="gidgrp.rec.jurlawc">
<c-select v-model="model.gidgrp.rec.jurlawc" style="width:100%" placeholder="请选择Governing Law"> <c-select
v-model="model.gidgrp.rec.jurlawc"
style="width: 100%"
placeholder="请选择Governing Law"
>
<el-option <el-option
v-for="item in codes.ctytxt1" v-for="item in codes.ctytxt1"
:key="item.value" :key="item.value"
...@@ -91,188 +195,112 @@ ...@@ -91,188 +195,112 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Governing Law " prop="gidgrp.rec.jurlawtxtc"> <el-form-item label="Governing Law " prop="gidgrp.rec.jurlawtxtc">
<c-input disabled v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" placeholder="请输入Governing Law "></c-input> <c-input
disabled
v-model="model.gidgrp.rec.jurlawtxtc"
maxlength="65"
placeholder="请输入Governing Law "
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplcc"> <el-form-item
<c-input :disabled="model.gidgrp.rec.jurlawc==''" v-model="model.gidgrp.rec.jurplcc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input> label="Place of Jurisdiction"
prop="gidgrp.rec.jurplcc"
>
<c-input
:disabled="model.gidgrp.rec.jurlawc == ''"
v-model="model.gidgrp.rec.jurplcc"
maxlength="35"
placeholder="请输入Place of Jurisdiction"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Tender Reference" prop="gidgrp.rec.tenrefc"> <el-form-item label="Tender Reference" prop="gidgrp.rec.tenrefc">
<c-input disabled v-model="model.gidgrp.rec.tenrefc" maxlength="35" placeholder="请输入Tender Reference"></c-input> <c-input
disabled
v-model="model.gidgrp.rec.tenrefc"
maxlength="35"
placeholder="请输入Tender Reference"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Tender Date" prop="gidgrp.rec.tendatc"> <el-form-item label="Tender Date" prop="gidgrp.rec.tendatc">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.tendatc" style="width:100%" placeholder="请选择Tender Date"></c-date-picker> <c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.tendatc"
style="width: 100%"
placeholder="请选择Tender Date"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Latest Transmiss. Date" prop="gidgrp.rec.trmdatc"> <el-form-item
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.trmdatc" style="width:100%" placeholder="请选择Latest Transmiss. Date"></c-date-picker> label="Latest Transmiss. Date"
prop="gidgrp.rec.trmdatc"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.trmdatc"
style="width: 100%"
placeholder="请选择Latest Transmiss. Date"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Additional Info" prop="gidgrp.blk.addinfc"> <el-form-item label="Additional Info" prop="gidgrp.blk.addinfc">
<c-input disabled type="textarea" v-model="model.gidgrp.blk.addinfc" maxlength="700" show-word-limit placeholder="请输入Additional Info" ></c-input> <c-input
disabled
type="textarea"
v-model="model.gidgrp.blk.addinfc"
maxlength="700"
show-word-limit
placeholder="请输入Additional Info"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
<!-- <c-col :span="12">
<el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc">
<c-input v-model="model.gidgrp.rec.orcrefc" maxlength="35" placeholder="请输入Contract Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date from Original Contract - Local Undertaking Seq. C" prop="gidgrp.rec.orcdatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.orcdatc" style="width:100%" placeholder="请选择Date from Original Contract - Local Undertaking Seq. C"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.tenclsdatc" style="width:100%" placeholder="请选择Closing Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Object of Contract - Local Undertaking Seq. C" prop="gidgrp.blk.covgodsrvc">
<c-input type="textarea" v-model="model.gidgrp.blk.covgodsrvc" maxlength="65" show-word-limit placeholder="请输入Object of Contract - Local Undertaking Seq. C" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Underly. Transact. Det." prop="gidgrp.blk.atxcovgodsrvc">
<c-input type="textarea" v-model="model.gidgrp.blk.atxcovgodsrvc" maxlength="65" show-word-limit placeholder="请输入Underly. Transact. Det." ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.covgodsrvcmodflg">Modify Object of Contract Sequence C</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifcovgodsrvc">
vs. S&ystem
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.covgodc.chkast">Allow *</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhiscovgodsrvc">
vs. &History
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcratc">
<c-input v-model="model.gidgrp.rec.orcratc" placeholder="请输入Original Perc./ Rate"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Contract Amount " prop="gidgrp.rec.orccurc">
<c-select v-model="model.gidgrp.rec.orccurc" style="width:100%" placeholder="请选择Contract Amount ">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Contract Amount " prop="gidgrp.rec.orcamtc">
<c-input v-model="model.gidgrp.rec.orcamtc" placeholder="请输入Contract Amount "></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Original Contract Place - Local Undertaking Seq. C" prop="gidgrp.blk.orcplcc">
<c-input type="textarea" v-model="model.gidgrp.blk.orcplcc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place - Local Undertaking Seq. C" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="A/c Adv. Paym. Guar." prop="gidgrp.rec.accc">
<c-input v-model="model.gidgrp.rec.accc" maxlength="35" placeholder="请输入A/c Adv. Paym. Guar."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Governing Law " prop="gidgrp.rec.jurlawc">
<c-select v-model="model.gidgrp.rec.jurlawc" style="width:100%" placeholder="请选择Governing Law ">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Governing Law " prop="gidgrp.rec.jurlawtxtc">
<c-input v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" placeholder="请输入Governing Law "></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplcc">
<c-input v-model="model.gidgrp.rec.jurplcc" maxlength="65" placeholder="请输入Place of Jurisdiction"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Tender Reference" prop="gidgrp.rec.tenrefc">
<c-input v-model="model.gidgrp.rec.tenrefc" maxlength="35" placeholder="请输入Tender Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Tender Date" prop="gidgrp.rec.tendatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.tendatc" style="width:100%" placeholder="请选择Tender Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Latest Transmission" prop="gidgrp.rec.trmdatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.trmdatc" style="width:100%" placeholder="请选择Latest Transmission"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Info - Local Undertaking Seq. C" prop="gidgrp.blk.addinfc">
<c-input type="textarea" v-model="model.gidgrp.blk.addinfc" maxlength="35" show-word-limit placeholder="请输入Additional Info - Local Undertaking Seq. C" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.gitp.labaddinfc" data-path=".gitp.labaddinfc" > </span>
</c-col> -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event" import Event from "~/model/Gitopn/Event";
import Utils from "~/utils";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
},
methods: {
...Event,
async atxcovgodsrvcBlur() {
let rtnmsg = await this.executeRule("gidgrp.blk.atxcovgodsrvc");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
}, },
methods:{...Event},
created:function(){
async modflgChange() {
let rtnmsg = await this.executeRule("gitp.covgodsrvcmodflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
} },
},
created: function () {},
};
</script> </script>
<style> <style>
</style> </style>
...@@ -38,14 +38,12 @@ ...@@ -38,14 +38,12 @@
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-col :span="24"> <c-col :span="24">
<el-form-item label-width="0px" prop="gitp.gidtxtmodflg">
<c-checkbox <c-checkbox
v-model="model.gitp.gidtxtmodflg" v-model="model.gitp.gidtxtmodflg"
style="margin: 0 0 0 10px" style="margin: 0 0 0 10px"
@change="modflgChange" @change="modflgChange"
>Modify Guarantee Text</c-checkbox >Modify Guarantee Text</c-checkbox
> >
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox <c-checkbox
......
...@@ -1822,7 +1822,7 @@ ...@@ -1822,7 +1822,7 @@
<c-input <c-input
type="textarea" type="textarea"
rows="4" rows="4"
:disabled="model.gitp.exptxtmodflg == ''" disabled
v-model="model.gidgrp.blk.exptxt" v-model="model.gidgrp.blk.exptxt"
maxlength="780" maxlength="780"
show-word-limit show-word-limit
...@@ -1839,7 +1839,6 @@ ...@@ -1839,7 +1839,6 @@
<c-input <c-input
type="textarea" type="textarea"
rows="4" rows="4"
:disabled="model.gitp.exptxtmodflg == ''"
v-model="model.gidgrp.blk.atxexptxt" v-model="model.gidgrp.blk.atxexptxt"
maxlength="780" maxlength="780"
@blur="atxexpBlur" @blur="atxexpBlur"
...@@ -1891,11 +1890,9 @@ ...@@ -1891,11 +1890,9 @@
> >
<c-select <c-select
:disabled=" :disabled="
model.gidgrp.rec.purpos == 'ISSU' || !(model.gidgrp.rec.hndtyp=='OC'||
!( model.gidgrp.rec.purpos=='ISCO'||
model.gidgrp.rec.purposin == 'ICCO' && model.gidgrp.rec.purpos=='ICCO')
model.gidgrp.rec.purpos == 'ISCO'
)
" "
v-model="model.gidgrp.rec.liatypc" v-model="model.gidgrp.rec.liatypc"
style="width: 100%" style="width: 100%"
...@@ -1945,13 +1942,13 @@ ...@@ -1945,13 +1942,13 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item <el-form-item
v-if="model.gitp.swiftflg == 'Y'" v-if="model.gitp.swiftflg == 'Y'&&model.gitp.liatxtcmodflg==''"
label="Liability Condition" label="Liability Condition"
prop="gidgrp.blk.liatxtc" prop="gidgrp.blk.liatxtc"
> >
<c-input <c-input
type="textarea" type="textarea"
:disabled="model.gitp.liatxtcmodflg == ''" disabled
rows="4" rows="4"
v-model="model.gidgrp.blk.liatxtc" v-model="model.gidgrp.blk.liatxtc"
maxlength="780" maxlength="780"
...@@ -1959,6 +1956,21 @@ ...@@ -1959,6 +1956,21 @@
placeholder="请输入Liability Condition" placeholder="请输入Liability Condition"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item
v-if="model.gitp.swiftflg == 'Y'&&model.gitp.liatxtcmodflg=='X'"
label="Liability Condition"
prop="gidgrp.blk.atxliatxtc"
>
<c-input
type="textarea"
rows="4"
v-model="model.gidgrp.blk.atxliatxtc"
maxlength="780"
show-word-limit
placeholder="请输入Liability Condition"
@blur="atxliatxtcBlur"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-checkbox <c-checkbox
...@@ -1970,6 +1982,7 @@ ...@@ -1970,6 +1982,7 @@
" "
v-model="model.gitp.liatxtcmodflg" v-model="model.gitp.liatxtcmodflg"
style="margin: 0 0 0 10px" style="margin: 0 0 0 10px"
@change="liamodflgChange"
>Modify Text</c-checkbox >Modify Text</c-checkbox
> >
<c-button <c-button
...@@ -2042,7 +2055,21 @@ export default { ...@@ -2042,7 +2055,21 @@ export default {
async atxexpBlur() { async atxexpBlur() {
let rtnmsg = await this.executeRule("gidgrp.blk.atxexptxt"); let rtnmsg = await this.executeRule("gidgrp.blk.atxexptxt");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
Utils.updateModel(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async atxliatxtcBlur() {
let rtnmsg = await this.executeRule("gidgrp.blk.atxliatxtc");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async liamodflgChange() {
let rtnmsg = await this.executeRule("gitp.liatxtcmodflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
}, },
}, },
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.delori"> <el-form-item
label="Delivery of Undertak."
prop="gidgrp.rec.delori"
>
<c-fullbox> <c-fullbox>
<c-select :disabled="model.gidgrp.rec.purpos=='ICCO'||model.gidgrp.rec.purpos=='ISCO'" v-model="model.gidgrp.rec.delori" style="width:100%" placeholder="请选择Delivery of Undertak."> <c-select
:disabled="
model.gidgrp.rec.purpos == 'ICCO' ||
model.gidgrp.rec.purpos == 'ISCO'
"
v-model="model.gidgrp.rec.delori"
style="width: 100%"
placeholder="请选择Delivery of Undertak."
>
<el-option <el-option
v-for="item in codes.delori1" v-for="item in codes.delori1"
:key="item.value" :key="item.value"
...@@ -17,7 +27,17 @@ ...@@ -17,7 +27,17 @@
</el-option> </el-option>
</c-select> </c-select>
<template slot="footer"> <template slot="footer">
<c-input :disabled="model.gidgrp.rec.delori!='COUR'&&model.gidgrp.rec.delori!='OTHR'" v-model="model.gidgrp.rec.deloritxt" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input> <el-form-item label-width="5px" prop="gidgrp.rec.deloritxt">
<c-input
:disabled="
model.gidgrp.rec.delori != 'COUR' &&
model.gidgrp.rec.delori != 'OTHR'
"
v-model="model.gidgrp.rec.deloritxt"
maxlength="35"
placeholder="请输入Delivery of Undertak."
></c-input>
</el-form-item>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
...@@ -25,7 +45,15 @@ ...@@ -25,7 +45,15 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Undertaking Send to" prop="gidgrp.rec.sndto"> <el-form-item label="Undertaking Send to" prop="gidgrp.rec.sndto">
<c-select :disabled="model.gidgrp.rec.purpos=='ICCO'||model.gidgrp.rec.purpos=='ISCO'" v-model="model.gidgrp.rec.sndto" style="width:100%" placeholder="请选择Undertaking Send to"> <c-select
:disabled="
model.gidgrp.rec.purpos == 'ICCO' ||
model.gidgrp.rec.purpos == 'ISCO'
"
v-model="model.gidgrp.rec.sndto"
style="width: 100%"
placeholder="请选择Undertaking Send to"
>
<el-option <el-option
v-for="item in codes.rolall" v-for="item in codes.rolall"
:key="item.value" :key="item.value"
...@@ -38,8 +66,19 @@ ...@@ -38,8 +66,19 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Deliv. To/Collection By" prop="gidgrp.rec.delto"> <el-form-item
<c-select :disabled="model.gidgrp.rec.purpos=='ICCO'||model.gidgrp.rec.purpos=='ISCO'" v-model="model.gidgrp.rec.delto" style="width:100%" placeholder="请选择Deliv. To/Collection By"> label="Deliv. To/Collection By"
prop="gidgrp.rec.delto"
>
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ICCO' ||
model.gidgrp.rec.purpos == 'ISCO'
"
v-model="model.gidgrp.rec.delto"
style="width: 100%"
placeholder="请选择Deliv. To/Collection By"
>
<el-option <el-option
v-for="item in codes.delto" v-for="item in codes.delto"
:key="item.value" :key="item.value"
...@@ -52,14 +91,35 @@ ...@@ -52,14 +91,35 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadr"> <el-form-item
<c-input :disabled="model.gidgrp.rec.delto==''&&model.gidgrp.rec.purpos!=''" rows="4" type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="210" show-word-limit placeholder="请输入Delivery to Address" ></c-input> label="Delivery to Address"
prop="gidgrp.blk.deltoadr"
>
<c-input
:disabled="
model.gidgrp.rec.delto == '' && model.gidgrp.rec.purpos != ''
"
rows="4"
type="textarea"
v-model="model.gidgrp.blk.deltoadr"
maxlength="210"
show-word-limit
placeholder="请输入Delivery to Address"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond"> <el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond">
<c-input disabled type="textarea" rows="4" v-model="model.gidgrp.blk.trfcond" maxlength="6630" show-word-limit placeholder="请输入Transfer Conditions" ></c-input> <c-input
disabled
type="textarea"
rows="4"
v-model="model.gidgrp.blk.trfcond"
maxlength="6630"
show-word-limit
placeholder="请输入Transfer Conditions"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -67,14 +127,12 @@ ...@@ -67,14 +127,12 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato"> <el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
<c-select v-model="model.gidgrp.rec.chato" style="width:100%" placeholder="请选择Own Charges Borne by"> <c-select
<el-option v-model="model.gidgrp.rec.chato"
v-for="item in chato" style="width: 100%"
:key="item.value" placeholder="请选择Own Charges Borne by"
:label="item.label" :code="codes.gitopn_chato"
:value="item.value"
> >
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -82,17 +140,34 @@ ...@@ -82,17 +140,34 @@
<el-form-item label="Charges"> <el-form-item label="Charges">
<c-fullbox> <c-fullbox>
<template slot="footer"> <template slot="footer">
<c-checkbox v-model="model.gitp.chargi.chkast">Allow *</c-checkbox> <c-checkbox v-model="model.gitp.chargi.chkast"
>Allow *</c-checkbox
>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt"> <el-form-item
label="Additional Details to Code for Charges"
prop="gidgrp.blk.feetxt"
>
<c-fullbox> <c-fullbox>
<c-input type="textarea" rows="4" v-model="model.gidgrp.blk.feetxt" maxlength="210" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input> <c-input
type="textarea"
rows="4"
v-model="model.gidgrp.blk.feetxt"
maxlength="210"
show-word-limit
placeholder="请输入Additional Details to Code for Charges"
></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel"> <c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onChargiButtxmsel"
>
... ...
</c-button> </c-button>
</template> </template>
...@@ -101,17 +176,65 @@ ...@@ -101,17 +176,65 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Presentation Instr." prop="gidgrp.blk.preper"> <el-form-item
<c-input :disabled="model.gitp.prepermodflg == ''" type="textarea" :rows="5" v-model="model.gidgrp.blk.preper" maxlength="6500" show-word-limit placeholder="请输入Presentation Instr." ></c-input> v-if="model.gitp.prepermodflg == ''"
label="Presentation Instr."
prop="gidgrp.blk.preper"
>
<c-input
disabled
type="textarea"
:rows="5"
v-model="model.gidgrp.blk.preper"
maxlength="6500"
show-word-limit
placeholder="请输入Presentation Instr."
></c-input>
</el-form-item>
<el-form-item
v-if="model.gitp.prepermodflg == 'X'"
label="Presentation Instr."
prop="gidgrp.blk.atxpreper"
>
<c-input
type="textarea"
:rows="5"
v-model="model.gidgrp.blk.atxpreper"
maxlength="6500"
show-word-limit
placeholder="请输入Presentation Instr."
@blur="atxpreperBlur"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-checkbox v-model="model.gitp.prepermodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox> <c-checkbox
<c-checkbox v-model="model.gitp.chkpreper" style="margin:0 0 0 10px">Allow *</c-checkbox> v-model="model.gitp.prepermodflg"
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:100px" @click="onGitpButdifpreper"> style="margin: 0 0 0 10px"
@change="modflgChange"
>Modify Text</c-checkbox
>
<c-checkbox
v-model="model.gitp.chkpreper"
style="margin: 0 0 0 10px"
>Allow *</c-checkbox
>
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 100px"
@click="onGitpButdifpreper"
>
vs. S&ystem vs. S&ystem
</c-button> </c-button>
<c-button disabled size="small" style="margin:5px 0 0 10px;width:100px" type="primary" @click="onGitpButdifhispreper"> <c-button
disabled
size="small"
style="margin: 5px 0 0 10px; width: 100px"
type="primary"
@click="onGitpButdifhispreper"
>
vs. &History vs. &History
</c-button> </c-button>
</c-col> </c-col>
...@@ -119,131 +242,40 @@ ...@@ -119,131 +242,40 @@
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
<!-- <c-col :span="12">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.delori">
<c-select v-model="model.gidgrp.rec.delori" style="width:100%" placeholder="请选择Delivery of Undertak.">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloritxt">
<c-input v-model="model.gidgrp.rec.deloritxt" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Undertaking Send to" prop="gidgrp.rec.sndto">
<c-select v-model="model.gidgrp.rec.sndto" style="width:100%" placeholder="请选择Undertaking Send to">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
<c-select v-model="model.gidgrp.rec.chato" style="width:100%" placeholder="请选择Own Charges Borne by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Deliv. To/Collection By" prop="gidgrp.rec.delto">
<c-select v-model="model.gidgrp.rec.delto" style="width:100%" placeholder="请选择Deliv. To/Collection By">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chargi.chkast">Allow *</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadr">
<c-input type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt">
<c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Presentation Instr." prop="gidgrp.blk.preper">
<c-input type="textarea" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presentation Instr." prop="gidgrp.blk.atxpreper">
<c-input type="textarea" v-model="model.gidgrp.blk.atxpreper" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.prepermodflg">Modify Document and Presentation Instructions</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkpreper">Allow *</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifpreper">
vs. S&ystem
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhispreper">
vs. &History
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.transfer">Transfer Indicator</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item>
</c-col> -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event" import Event from "~/model/Gitopn/Event";
import Utils from "~/utils";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
chato:[ },
{value: "U", label:"Applicant Side"}, methods: {
{value: "B", label: "Beneficiay Side"}, ...Event,
{value: "O", label: "Other"}, async atxpreperBlur() {
] let rtnmsg = await this.executeRule("gidgrp.blk.atxpreper");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
}, },
methods:{...Event},
created:function(){
async modflgChange(){
let rtnmsg = await this.executeRule("gitp.prepermodflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
} }
},
created: function () {},
};
</script> </script>
<style> <style>
</style> </style>
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