Commit 38f196ed by liyixun

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

parent aa153815
......@@ -6804,6 +6804,11 @@ const CodeTable = {
{ label: "Beneficiary Side", value: "BENE" },
{ label: "Other", value: "OTHR" }
],
gitopn_chato:[
{ value: "U", label: "Applicant Side" },
{ value: "B", label: "Beneficiay Side" },
{ value: "O", label: "Other" },
],
getame_chato:[
{ label: "Applicant Side", value: "APPL" },
{ label: "Beneficiary Side", value: "BENE" },
......
......@@ -523,10 +523,10 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 780,message:"长度不能超过780"}
],
// "gidgrp.blk.atxliatxtc":[
// {type: "string", required: true, message: "必输项"},
// {max: 65,message:"长度不能超过65"}
// ],
"gidgrp.blk.atxliatxtc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"gidgrp.ben.adrelc":[
......
......@@ -97,16 +97,13 @@
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-col :span="20" v-if="model.gitp.covgodsrvmodflg == ''">
<el-form-item
label="Object of Contract"
prop="gidgrp.blk.covgodsrv"
>
<c-input
:disabled="
model.gitp.covgodsrvmodflg == '' ||
model.gitp.swiftflg == 'N'
"
disabled
rows="6"
type="textarea"
v-model="model.gidgrp.blk.covgodsrv"
......@@ -116,6 +113,21 @@
></c-input>
</el-form-item>
</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-checkbox
v-if="model.gitp.swiftflg == 'Y'"
......
......@@ -5,50 +5,128 @@
<c-col :span="11">
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-col :span="20">
<el-form-item v-if="model.gitp.covgodsrvcmodflg==''" label="Object of Contract" prop="gidgrp.blk.covgodsrvc">
<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>
</el-form-item>
<el-form-item v-if="model.gitp.covgodsrvcmodflg=='X'" label="Underly. Transact. Det." prop="gidgrp.blk.atxcovgodsrvc">
<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>
<el-form-item
v-if="model.gitp.covgodsrvcmodflg == ''"
label="Object of Contract"
prop="gidgrp.blk.covgodsrvc"
>
<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>
</c-col>
</c-col>
<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 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">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
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
</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
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item 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
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>
</c-col>
<c-col :span="24">
<c-col :span="12">
<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
v-for="item in codes.curtxt"
:key="item.value"
......@@ -60,24 +138,50 @@
</el-form-item>
</c-col>
<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 :span="24">
<el-form-item 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
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>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item 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
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>
</c-col>
<c-col :span="24">
<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
v-for="item in codes.ctytxt1"
:key="item.value"
......@@ -91,188 +195,112 @@
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<el-form-item 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
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>
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<el-form-item 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
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>
</c-col>
<c-col :span="24">
<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>
</c-col>
</c-col>
</c-col>
</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>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitopn/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
import Utils from "~/utils";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
data() {
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>
<style>
</style>
......@@ -38,14 +38,12 @@
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label-width="0px" prop="gitp.gidtxtmodflg">
<c-checkbox
v-model="model.gitp.gidtxtmodflg"
style="margin: 0 0 0 10px"
@change="modflgChange"
>Modify Guarantee Text</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox
......
......@@ -1822,7 +1822,7 @@
<c-input
type="textarea"
rows="4"
:disabled="model.gitp.exptxtmodflg == ''"
disabled
v-model="model.gidgrp.blk.exptxt"
maxlength="780"
show-word-limit
......@@ -1839,7 +1839,6 @@
<c-input
type="textarea"
rows="4"
:disabled="model.gitp.exptxtmodflg == ''"
v-model="model.gidgrp.blk.atxexptxt"
maxlength="780"
@blur="atxexpBlur"
......@@ -1891,11 +1890,9 @@
>
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ISSU' ||
!(
model.gidgrp.rec.purposin == 'ICCO' &&
model.gidgrp.rec.purpos == 'ISCO'
)
!(model.gidgrp.rec.hndtyp=='OC'||
model.gidgrp.rec.purpos=='ISCO'||
model.gidgrp.rec.purpos=='ICCO')
"
v-model="model.gidgrp.rec.liatypc"
style="width: 100%"
......@@ -1945,13 +1942,13 @@
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
v-if="model.gitp.swiftflg == 'Y'&&model.gitp.liatxtcmodflg==''"
label="Liability Condition"
prop="gidgrp.blk.liatxtc"
>
<c-input
type="textarea"
:disabled="model.gitp.liatxtcmodflg == ''"
disabled
rows="4"
v-model="model.gidgrp.blk.liatxtc"
maxlength="780"
......@@ -1959,6 +1956,21 @@
placeholder="请输入Liability Condition"
></c-input>
</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 :span="4">
<c-checkbox
......@@ -1970,6 +1982,7 @@
"
v-model="model.gitp.liatxtcmodflg"
style="margin: 0 0 0 10px"
@change="liamodflgChange"
>Modify Text</c-checkbox
>
<c-button
......@@ -2042,7 +2055,21 @@ export default {
async atxexpBlur() {
let rtnmsg = await this.executeRule("gidgrp.blk.atxexptxt");
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>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="11">
<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-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
v-for="item in codes.delori1"
:key="item.value"
......@@ -17,7 +27,17 @@
</el-option>
</c-select>
<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>
</c-fullbox>
</el-form-item>
......@@ -25,7 +45,15 @@
<c-col :span="24">
<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
v-for="item in codes.rolall"
:key="item.value"
......@@ -38,8 +66,19 @@
</c-col>
<c-col :span="24">
<el-form-item 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-form-item
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
v-for="item in codes.delto"
:key="item.value"
......@@ -52,14 +91,35 @@
</c-col>
<c-col :span="24">
<el-form-item 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
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>
</c-col>
<c-col :span="24">
<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>
</c-col>
</c-col>
......@@ -67,14 +127,12 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<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">
<el-option
v-for="item in chato"
:key="item.value"
:label="item.label"
:value="item.value"
<c-select
v-model="model.gidgrp.rec.chato"
style="width: 100%"
placeholder="请选择Own Charges Borne by"
:code="codes.gitopn_chato"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -82,17 +140,34 @@
<el-form-item label="Charges">
<c-fullbox>
<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>
</c-fullbox>
</el-form-item>
</c-col>
<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-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">
<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>
</template>
......@@ -101,17 +176,65 @@
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Presentation Instr." prop="gidgrp.blk.preper">
<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>
<el-form-item
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>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.gitp.prepermodflg" style="margin:0 0 0 10px">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">
<c-checkbox
v-model="model.gitp.prepermodflg"
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
</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
</c-button>
</c-col>
......@@ -119,131 +242,40 @@
</c-col>
</c-col>
</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>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitopn/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
import Utils from "~/utils";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
chato:[
{value: "U", label:"Applicant Side"},
{value: "B", label: "Beneficiay Side"},
{value: "O", label: "Other"},
]
data() {
return {};
},
methods: {
...Event,
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>
<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