Commit b9546f77 by xiameng

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 837f84f5 99018011
...@@ -521,12 +521,17 @@ ...@@ -521,12 +521,17 @@
} }
} }
/* checkbox右对齐 */
.el-checkbox{ .el-checkbox{
float: right; float: right;
text-align: center; text-align: center;
} }
/* checkbox左对齐 */
.checkbox-left{
float: left;
text-align: center;
}
/* .el-checkbox:last-of-type{ /* .el-checkbox:last-of-type{
margin-right:30px; margin-right:30px;
} */ } */
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
"cpdgrp.cbs.nom1.amt":[ "cpdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
], ],
"cpdgrp.orc.pts.adrblk":[ "cpdgrp.orc.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 235,message:"长度不能超过235"}
], ],
"cpdgrp.orc.dbfadrblkcn":[ "cpdgrp.orc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
<template> <template>
<div class="eibs"> <div class="eibs">
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px">
<el-form-item <el-form-item
label="信用证编号" label="信用证编号"
prop="lidgrp.rec.ownref" prop="lidgrp.rec.ownref"
style="width : 100%"> style="width: 100%"
>
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.lidgrp.rec.ownref" v-model="model.lidgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入信用证编号" placeholder="请输入信用证编号"
disabled disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 0 0 10px;padding: 0 12px;" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
icon="el-icon-info" icon="el-icon-info"
> >
<span style="font-family:'宋体';font-weight:bold"></span> <span style="font-family: '宋体'; font-weight: bold"></span>
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px">
<el-form-item label="有效期限" prop="lidgrp.rec.expdat"> <el-form-item label="有效期限" prop="lidgrp.rec.expdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.lidgrp.rec.expdat" v-model="model.lidgrp.rec.expdat"
style="width:100%" style="width: 100%"
placeholder="请选择日期" placeholder="请选择日期"
disabled disabled
> >
</c-date-picker> </c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- ====================左边======================= --> <!-- ====================左边======================= -->
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="单据编号" label="单据编号"
prop="brdgrp.rec.ownref" prop="brdgrp.rec.ownref"
style="width: 100%" style="width: 100%"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.brdgrp.rec.ownref" v-model="model.brdgrp.rec.ownref"
maxlength="8" maxlength="8"
placeholder="请输入单据编号" placeholder="请输入单据编号"
disabled disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 0 0 10px;padding: 0 12px;" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
icon="el-icon-info" icon="el-icon-info"
> >
<span style="font-family: '宋体'; font-weight: bold"></span>
<span style="font-family:'宋体';font-weight:bold"></span>
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur"> <el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额" :code="codes.cur" disabled> <c-select
</c-select> v-model="model.brdgrp.cbs.max.cur"
</el-form-item> style="width: 100%"
</c-col> placeholder="请选择单据金额"
<c-col :span="11"> :code="codes.cur"
<el-form-item label="" prop="brdgrp.cbs.max.amt" label-width="5px"> disabled
<c-input >
v-model="model.brdgrp.cbs.max.amt" </c-select>
placeholder="请选择单据金额" </el-form-item>
disabled </c-col>
></c-input> <c-col :span="11">
<el-form-item label="" prop="brdgrp.cbs.max.amt" label-width="5px">
<c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请选择单据金额"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur" > <el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur">
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额" disabled></c-input> <c-input
</el-form-item> v-model="model.brdgrp.cbs.opn1.cur"
</c-col> maxlength="3"
<c-col :span="11"> placeholder="请输入单据余额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="brdgrp.cbs.opn1.amt" label-width="5px"> <el-form-item label="" prop="brdgrp.cbs.opn1.amt" label-width="5px">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入单据余额" disabled></c-input> <c-input
v-model="model.brdgrp.cbs.opn1.amt"
placeholder="请输入单据余额"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="到单日期" prop="brdgrp.rec.rcvdat"> <el-form-item label="到单日期" prop="brdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期" disabled></c-date-picker> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="model.brdgrp.rec.rcvdat"
<c-col :span="12"> style="width: 100%"
<el-form-item label="付款通知日期" prop="brdgrp.rec.advdat" label-width="120px"> placeholder="请选择到单日期"
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%" placeholder="请选择Date of Advice of Payment" disabled></c-date-picker> disabled
</el-form-item> ></c-date-picker>
</c-col> </el-form-item>
<c-col :span="12"> </c-col>
<el-form-item label="远期单据到期日" prop="brdgrp.rec.matdat"> <c-col :span="12">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择到单日期" disabled></c-date-picker> <el-form-item
</el-form-item> label="付款通知日期"
</c-col> prop="brdgrp.rec.advdat"
<c-col :span="12"> label-width="120px"
<el-form-item label="开始日期" prop="brdgrp.rec.stadat" label-width="120px"> >
<c-date-picker type="date" v-model="model.brdgrp.rec.stadat" style="width:100%" placeholder="请选择远期单据到期日" disabled></c-date-picker> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="model.brdgrp.rec.advdat"
<c-col :span="12"> style="width: 100%"
<el-form-item label="单据类型" prop="brdgrp.rec.docflg"> placeholder="请选择Date of Advice of Payment"
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型" :code="codes.docflg" disabled> disabled
</c-select> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="远期最大期限" prop="brdgrp.rec.tenmaxday" label-width="120px"> <el-form-item label="远期单据到期日" prop="brdgrp.rec.matdat">
<c-input v-model.number="model.brdgrp.rec.tenmaxday" placeholder="请输入天数" disabled></c-input> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="model.brdgrp.rec.matdat"
<c-col :span="24"> style="width: 100%"
<el-form-item label="单据状态" prop="brdgrp.rec.docsta"> placeholder="请选择到单日期"
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态" :code="codes.docsta1" disabled> disabled
</c-select> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="12">
<el-form-item label="待付款单据" style="margin-bottom: 0;"> <el-form-item
<c-istream-table label="开始日期"
prop="brdgrp.rec.stadat"
ref="table" label-width="120px"
:list="model.liaall.tenstm.rows || []" >
:columns="columns" <c-date-picker
:showSelection=true type="date"
v-on:multipleSelect="multipleSelect" v-model="model.brdgrp.rec.stadat"
prop="liaall.tenstm" style="width: 100%"
> placeholder="请选择远期单据到期日"
</c-istream-table> disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="单据类型" prop="brdgrp.rec.docflg">
<c-select
v-model="model.brdgrp.rec.docflg"
style="width: 100%"
placeholder="请选择单据类型"
:code="codes.docflg"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="远期最大期限"
prop="brdgrp.rec.tenmaxday"
label-width="120px"
>
<c-input
v-model.number="model.brdgrp.rec.tenmaxday"
placeholder="请输入天数"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据状态" prop="brdgrp.rec.docsta">
<c-select
v-model="model.brdgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据状态"
:code="codes.docsta1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" label-width="0"> <el-form-item label="待付款单据" style="margin-bottom: 0">
<!-- <c-istream-table
ref="table"
:list="model.liaall.tenstm.rows || []"
:columns="columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm"
>
</c-istream-table>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="0">
<!--
<c-istream-table <c-istream-table
ref="table" ref="table"
:list="model.liaall.tenstm.rows || []" :list="model.liaall.tenstm.rows || []"
...@@ -166,391 +231,562 @@ ...@@ -166,391 +231,562 @@
prop="liaall.tenstm" prop="liaall.tenstm"
> >
</c-istream-table>--> </c-istream-table>-->
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="应付金额" prop="setmod.doccur"> <el-form-item label="应付金额" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" maxlength="3" placeholder="请选择币种" disabled></c-input> <c-input
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请选择币种"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="5px" prop="setmod.docamt"> <el-form-item label="" label-width="5px" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入金额" <c-input
@keyup.enter.native="$event.target.blur()" @blur="eventFunction('setmod.docamt')"></c-input> v-model="model.setmod.docamt"
</el-form-item> placeholder="请输入金额"
</c-col> @keyup.enter.native="$event.target.blur()"
@blur="eventFunction('setmod.docamt')"
></c-input>
</el-form-item>
</c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="实付金额" prop="setmod.doccur"> <el-form-item label="实付金额" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" maxlength="3" placeholder="请选择币种" disabled></c-input> <c-input
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请选择币种"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-fullbox> <c-fullbox>
<el-form-item label="" label-width="5px" prop="setmod.setamt"> <el-form-item label="" label-width="5px" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" placeholder="请输入金额" disabled></c-input> <c-input
</el-form-item> v-model="model.setmod.setamt"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-fullbox> </c-fullbox>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="单据金额部分" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="单据金额部分" prop="brdgrp.cbs.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择币种" :code="codes.cur" disabled> <c-select
</c-select> v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.cur"
disabled
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="aamset.utlamt" label-width="5px"> <el-form-item label="" prop="aamset.utlamt" label-width="5px">
<c-input v-model="model.aamset.utlamt" placeholder="请输入金额" <c-input
v-model="model.aamset.utlamt"
placeholder="请输入金额"
:disabled="true" :disabled="true"
@keyup.enter.native="$event.target.blur()" @blur="eventFunction('aamset.utlamt')"></c-input> @keyup.enter.native="$event.target.blur()"
@blur="eventFunction('aamset.utlamt')"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="附加金额部分" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="附加金额部分" prop="brdgrp.cbs.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择币种" :code="codes.cur" disabled> <c-select
</c-select> v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.cur"
disabled
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="aamset.utlamt2" label-width="5px"> <el-form-item label="" prop="aamset.utlamt2" label-width="5px">
<c-input v-model="model.aamset.utlamt2" placeholder="请输入金额" <c-input
v-model="model.aamset.utlamt2"
placeholder="请输入金额"
:disabled="true" :disabled="true"
@change="eventFunction('aamset.utlamt2')"></c-input> @change="eventFunction('aamset.utlamt2')"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24" > <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="跨境人民币清算模式" prop="trnmod.cmtflg" v-show="model.setmod.doccur == 'CNY'"> <el-form-item
<c-select label="跨境人民币清算模式"
v-model="model.trnmod.cmtflg" prop="trnmod.cmtflg"
style="width:100%" v-show="model.setmod.doccur == 'CNY'"
placeholder="请选择跨境人民币清算模式" >
:code="this.cmtflg" <c-select
:disabled="model.brdgrp.rec.frepayflg == ''?false:true" v-model="model.trnmod.cmtflg"
style="width: 100%"
> placeholder="请选择跨境人民币清算模式"
</c-select> :code="this.cmtflg"
</el-form-item> :disabled="model.brdgrp.rec.frepayflg == '' ? false : true"
</c-col> >
<c-col :span="12" class="">
<el-form-item label=" " prop="mtabut.clsflg" label-width="120px" style=" float:left;">
<c-checkbox v-model="model.mtabut.clsflg" true-label="X">闭卷标识</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="报文类型" prop="trnmod.swftyp" v-show="model.trnmod.cmtflg=='P'?true:false">
<c-select v-model="model.trnmod.swftyp" style="width:100%" placeholder="请选择报文类型" :code="codes.swftyp1" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="12" class="">
<el-form-item label="发票号" prop="brdgrp.rec.invref"> <el-form-item
<c-input v-model="model.brdgrp.rec.invref" maxlength="35" placeholder="请输入发票号"></c-input> label=" "
</el-form-item> prop="mtabut.clsflg"
</c-col> label-width="120px"
<c-col :span="24"> style="float: left"
<el-form-item label="最迟送达日期" prop="zcsdrq"> >
<c-date-picker type="date" v-model="model.zcsdrq" style="width:100%" placeholder="请选择最迟送达日期"></c-date-picker> <c-checkbox v-model="model.mtabut.clsflg" true-label="X"
</el-form-item> >闭卷标识</c-checkbox
</c-col> >
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
label="报文类型"
prop="trnmod.swftyp"
v-show="model.trnmod.cmtflg == 'P' ? true : false"
>
<c-select
v-model="model.trnmod.swftyp"
style="width: 100%"
placeholder="请选择报文类型"
:code="codes.swftyp1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="发票号" prop="brdgrp.rec.invref">
<c-input
v-model="model.brdgrp.rec.invref"
maxlength="35"
placeholder="请输入发票号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="最迟送达日期" prop="zcsdrq">
<c-date-picker
type="date"
v-model="model.zcsdrq"
style="width: 100%"
placeholder="请选择最迟送达日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="待偿还账单" > <el-form-item label="待偿还账单">
<div class="e-table-wrapper"> <div class="e-table-wrapper">
<c-table <c-table
style="text-align: center" style="text-align: center"
:list="table1" :list="table1"
:paginationShow="false" :paginationShow="false"
:border="true" :border="true"
> >
<el-table-column
<el-table-column label="编号" prop="ownref" width="auto"></el-table-column> label="编号"
<el-table-column label="币种" prop="opncur" width="auto"></el-table-column> prop="ownref"
<el-table-column label="余额" prop="opnamt" width="auto"></el-table-column> width="auto"
<el-table-column label="付款" prop="bckamt" width="auto"></el-table-column> ></el-table-column>
<el-table-column label="计算" prop="butcal" width="auto"></el-table-column> <el-table-column
label="币种"
</c-table> prop="opncur"
width="auto"
</div> ></el-table-column>
</el-form-item> <el-table-column
</c-col> label="余额"
prop="opnamt"
<c-col :span="12"> width="auto"
<el-form-item label="是否需要检验" prop="brtp.ischktyp"> ></el-table-column>
<c-select v-model="model.brtp.ischktyp" style="width:100%" placeholder="" :code="codes.ischktyp" > <el-table-column
<el-option label="付款"
v-for="item in codes.ischktyp" prop="bckamt"
:key="item.label" width="auto"
:label="item.label" ></el-table-column>
:value="item.label"> <el-table-column
</el-option> label="计算"
</c-select> prop="butcal"
</el-form-item> width="auto"
</c-col> ></el-table-column>
</c-table>
<c-col :span="12"> </div>
<el-form-item label="预计核验日期" prop="brtp.prechkdat"> </el-form-item>
<c-date-picker type="date" v-model="model.brtp.prechkdat" style="width:100%" placeholder="请选择预计核验日期" :disabled="model.brtp.ischktyp!='Y'"></c-date-picker> </c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否需要检验" prop="brtp.ischktyp">
<c-select
v-model="model.brtp.ischktyp"
style="width: 100%"
placeholder=""
:code="codes.ischktyp"
>
<el-option
v-for="item in codes.ischktyp"
:key="item.label"
:label="item.label"
:value="item.label"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> <c-col :span="12">
<!-- ====================右边======================= --> <el-form-item label="预计核验日期" prop="brtp.prechkdat">
<c-col :span="12" style="padding-left: 20px;"> <c-date-picker
<c-col :span="24"> type="date"
<c-col :span="13"> v-model="model.brtp.prechkdat"
<el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur"> style="width: 100%"
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入币种" disabled></c-input> placeholder="请选择预计核验日期"
</el-form-item> :disabled="model.brtp.ischktyp != 'Y'"
</c-col> ></c-date-picker>
<c-col :span="11"> </el-form-item>
<el-form-item label="" prop="lidgrp.cbs.opn1.amt" label-width="5px"> </c-col>
<c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入金额" disabled></c-input> </c-col>
</el-form-item> <!-- ====================右边======================= -->
</c-col> <c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-col :span="13">
<el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur">
<c-input
v-model="model.lidgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入币种"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="11">
<el-form-item label="" prop="lidgrp.cbs.opn1.amt" label-width="5px">
<c-input
v-model="model.lidgrp.cbs.opn1.amt"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据简略信息" prop="brdgrp.rec.nam"> <el-form-item label="单据简略信息" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入简略信息" disabled></c-input> <c-input
</el-form-item> v-model="model.brdgrp.rec.nam"
</c-col> maxlength="40"
placeholder="请输入简略信息"
disabled
<c-col :span="24"> ></c-input>
<el-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref"> </el-form-item>
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人参考号" disabled></c-input> </c-col>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="申请人名称" prop="brdgrp.apl.pts.nam"> <el-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入名称" disabled></c-input> <c-input
</el-form-item> v-model="model.brdgrp.apl.pts.ref"
</c-col> maxlength="16"
placeholder="请输入申请人参考号"
disabled
<c-col :span="24"> ></c-input>
<el-form-item label="受益人参考号" prop="brdgrp.ben.pts.ref"> </el-form-item>
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人" disabled></c-input> </c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入名称" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单行参考号" prop="brdgrp.prb.pts.ref"> <el-form-item label="申请人名称" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行" disabled></c-input> <c-input
</el-form-item> v-model="model.brdgrp.apl.pts.nam"
</c-col> maxlength="40"
<c-col :span="24"> placeholder="请输入名称"
<el-form-item label="交单行名称" prop="brdgrp.prb.pts.nam"> disabled
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入名称" disabled></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" class="">
<el-form-item label=" " prop="trtcre.crefinflg" label-width="120px" style=" float:left;">
<c-checkbox v-model="model.trtcre.crefinflg" :disabled="model.paypsb != '' || model.brdgrp.rec.frepayflg !=''?true:false">创建融资</c-checkbox>
</el-form-item>
<el-form-item label=" " prop="dftcre.dfflag" label-width="120px" style=" float:left;">
<c-checkbox v-model="model.dftcre.dfflag">同业代付</c-checkbox>
</el-form-item>
</c-col> <c-col :span="24">
<el-form-item label="受益人参考号" prop="brdgrp.ben.pts.ref">
<c-input
v-model="model.brdgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="brdgrp.ben.pts.nam">
<c-input
v-model="model.brdgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行参考号" prop="brdgrp.prb.pts.ref">
<c-input
v-model="model.brdgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入交单行"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行名称" prop="brdgrp.prb.pts.nam">
<c-input
v-model="model.brdgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" class="">
<c-col :span="12">
<el-form-item
label=" "
prop="trtcre.crefinflg"
class="checkbox-left"
>
<c-checkbox
v-model="model.trtcre.crefinflg"
:disabled="
model.paypsb != '' || model.brdgrp.rec.frepayflg != ''
? true
: false
"
>创建融资</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label=" " prop="dftcre.dfflag" class="checkbox-left">
<c-checkbox v-model="model.dftcre.dfflag">同业代付</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" class=""> <c-col :span="24" class="">
<el-form-item label=" " prop="paypsb" label-width="120px" style=" float:left;"> <c-col :span="12">
<c-checkbox v-model="model.paypsb" <el-form-item label=" " prop="paypsb" class="checkbox-left">
:disabled="model.brdgrp.rec.frepayflg == ''?false:true" <c-checkbox
>垫款</c-checkbox> v-model="model.paypsb"
:disabled="model.brdgrp.rec.frepayflg == '' ? false : true"
>垫款</c-checkbox
>
</el-form-item> </el-form-item>
</c-col>
<el-form-item label=" " prop="brdgrp.rec.frepayflg" label-width="120px" style=" float:left;"> <c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.frepayflg">自由付款标志</c-checkbox> <el-form-item
label=" "
prop="brdgrp.rec.frepayflg"
class="checkbox-left"
>
<c-checkbox v-model="model.brdgrp.rec.frepayflg"
>自由付款标志</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="减少付汇金额" prop="setmod.doccur"> <el-form-item label="减少付汇金额" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" maxlength="3" placeholder="请输入币种" disabled></c-input> <c-input
</el-form-item> v-model="model.setmod.doccur"
</c-col> maxlength="3"
<c-col :span="11"> placeholder="请输入币种"
<el-form-item label="" prop="setmod.redamt" label-width="5px"> disabled
<c-input v-model="model.setmod.redamt" placeholder="请输入金额" :disabled="model.brdgrp.rec.frepayflg !=''?true:false"></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> <c-col :span="11">
<el-form-item label="" prop="setmod.redamt" label-width="5px">
<c-input
v-model="model.setmod.redamt"
placeholder="请输入金额"
:disabled="model.brdgrp.rec.frepayflg != '' ? true : false"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="合同号" prop="brdgrp.rec.rptref"> <el-form-item label="合同号" prop="brdgrp.rec.rptref">
<c-input v-model="model.brdgrp.rec.rptref" maxlength="25" placeholder="请输入合同号"></c-input> <c-input
</el-form-item> v-model="model.brdgrp.rec.rptref"
</c-col> maxlength="25"
placeholder="请输入合同号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="77A字段" prop="nar754"> <el-form-item label="77A字段" prop="nar754">
<c-input type="textarea" v-model="model.nar754" maxlength="700" show-word-limit placeholder="请输入77A字段内容" ></c-input> <c-input
</el-form-item> type="textarea"
v-model="model.nar754"
maxlength="700"
show-word-limit
placeholder="请输入77A字段内容"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单人" prop="brdgrp.rec.docprbrol"> <el-form-item label="交单人" prop="brdgrp.rec.docprbrol">
<c-select v-model="model.brdgrp.rec.docprbrol" style="width:100%" placeholder="请选择交单人" :code="codes.docprbrol"> <c-select
</c-select> v-model="model.brdgrp.rec.docprbrol"
</el-form-item> style="width: 100%"
</c-col> placeholder="请选择交单人"
:code="codes.docprbrol"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单人地址编码" prop="brdgrp.prb.pts.extkey"> <el-form-item label="交单人地址编码" prop="brdgrp.prb.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.brdgrp.prb.pts.extkey" v-model="model.brdgrp.prb.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入地址编码" placeholder="请输入地址编码"
@keyup.enter.native="showGridPromptDialog('brdgrp.prb.pts.extkey')" @keyup.enter.native="
></c-input> showGridPromptDialog('brdgrp.prb.pts.extkey')
<template slot="footer"> "
></c-input>
<template slot="footer">
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
icon="el-icon-info"> icon="el-icon-info"
<span style="font-family:'宋体';font-weight:bold"></span> >
<span style="font-family: '宋体'; font-weight: bold"></span>
</c-button> </c-button>
<c-button <c-button
style="margin:0 0 0 10px;padding: 0 12px;" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
icon="el-icon-info" icon="el-icon-info"
> >
<span style="font-family:'宋体';font-weight:bold"></span> <span style="font-family: '宋体'; font-weight: bold"></span>
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="名称地址" prop="brdgrp.prb.pts.adrblk"> <el-form-item label="名称地址" prop="brdgrp.prb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.prb.pts.adrblk" row="4" maxlength="140" show-word-limit placeholder="请输入名称地址" disabled></c-input> <c-input
</el-form-item> type="textarea"
v-model="model.brdgrp.prb.pts.adrblk"
row="4"
maxlength="140"
show-word-limit
placeholder="请输入名称地址"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
</c-col>
</c-col> </c-row>
</c-row>
</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/Brtset/Event" import Event from "~/model/Brtset/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
flag3:true, flag3: true,
cmtflg:[ cmtflg: [
{ label: "代理行模式", value: "C" }, { label: "代理行模式", value: "C" },
{ label: "其他", value: "O" }, { label: "其他", value: "O" },
{ label: "CIPS系统", value: "P" }, { label: "CIPS系统", value: "P" },
], ],
table1:[], table1: [],
columns:[ columns: [
"1 1 \"类型\" 80", '1 1 "类型" 80',
"2 2 \"债务方\" 100", '2 2 "债务方" 100',
"3 3 \"债券方\" 100", '3 3 "债券方" 100',
"4 4 \"币种\" 80", '4 4 "币种" 80',
"5 5 \"金额\" 85 2 8 1 4", '5 5 "金额" 85 2 8 1 4',
"6 6 \"到期日\" 105 4 7 1" '6 6 "到期日" 105 4 7 1',
] ],
};
},
methods: {
...Event,
commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => {
if (res.respCode == SUCCESS) {
} }
});
}, },
methods:{...Event, async multipleSelect(selection) {
if (selection.length > 0) {
commonExecuteRule(ruleName) { console.log(selection);
this.executeRule(ruleName).then((res) => { let line = this.model.liaall.tenstm.rows[selection];
if ((res.respCode == SUCCESS)) { let lines = line.split("\t");
this.model.setmod.docamt = lines[5];
} } else {
}); this.model.setmod.docamt = 0.0;
}, }
async multipleSelect(selection) { this.onChangeDocamt();
if(selection.length>0){
console.log(selection);
let line = this.model.liaall.tenstm.rows[selection];
let lines = line.split('\t');
this.model.setmod.docamt = lines[5];
}else{
this.model.setmod.docamt = 0.000;
}
this.onChangeDocamt();
},
}, },
created:function(){ },
created: function () {},
}, watch: {
watch: { declareParams() {},
declareParams() {}, "model.trnmod.cmtflg": {
"model.trnmod.cmtflg":{ immediate: true,
immediate:true, handler(val, oldVal) {
handler(val ,oldVal){ if (this.model.trnmod.cmtflg == "P") {
if(this.model.trnmod.cmtflg=='P'){ this.model.trnmod.swftyp = "CIV";
this.model.trnmod.swftyp='CIV'; } else {
}else{ this.model.trnmod.swftyp = "";
this.model.trnmod.swftyp=''; }
} },
}
},
}, },
} },
};
</script> </script>
<style> <style>
</style> </style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="承兑信息" name="payp">
<m-payp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="反馈 Feedback" name="2">
<div>
控制反馈:通过界面样式和交互动效让用户可以清晰的感知自己的操作;
</div>
</el-collapse-item>
<el-collapse-item title="效率 Efficiency" name="3">
<div>简化流程:设计简洁直观的操作流程;</div>
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtudp/Event";
import Payp from "./Payp";
import Ptap1 from "~/views/Public/Ptap1";
import Ptsmsg from "~/views/Public/Ptsmsg";
import Fullbox from "../../../components/Fullbox.vue";
export default {
components: {
"m-payp": Payp,
"c-ptap1": Ptap1,
// "c-ptap": Ptap,
"c-ptsmsg": Ptsmsg,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ['payp']
};
},
methods: {
...Event,
},
created: function () {},
};
</script>
<style>
</style>
<template> <template>
<c-page title="进口信用证单据承兑"> <div class="eContainer">
<div class="eContainer"> <c-page title="进口信用证单据承兑">
<div class="fast-button">
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')"
>影像信息</el-button
>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</div>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -16,12 +27,17 @@ ...@@ -16,12 +27,17 @@
type="card" type="card"
@tab-click="myTabClick" @tab-click="myTabClick"
> >
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000032 --> <!--PD000032 -->
<el-tab-pane label="承兑信息" name="payp"> <!-- <el-tab-pane label="承兑信息" name="payp">
<c-content> <c-content>
<m-payp :model="model" :codes="codes" /> <m-payp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--PD000062 --> <!--PD000062 -->
<el-tab-pane <el-tab-pane
...@@ -172,21 +188,11 @@ ...@@ -172,21 +188,11 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> 按钮 -->
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :handleStash="handleStash"
> >
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')"
>影像信息</el-button
>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn> </c-function-btn>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
...@@ -201,8 +207,8 @@ ...@@ -201,8 +207,8 @@
@select-ety="selectMsg" @select-ety="selectMsg"
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </c-page>
</c-page> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
> >
<span style="font-family: '宋体'; font-weight: bold">i</span> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button> </c-button>
...@@ -28,6 +29,7 @@ ...@@ -28,6 +29,7 @@
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="this.flag"
@click="onAttpGetref"
> >
获取 获取
</c-button> </c-button>
......
<template> <template>
<div class="eibs"> <div class="eibs">
<el-col :span="12" style="padding-right: 20px;"> <el-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="附加条款" prop="lidgrp.blk.adlcnd"> <el-form-item label="附加条款" prop="lidgrp.blk.adlcnd">
<c-input <c-input
:autosize="{ minRows: 12, maxRows: 800}" :autosize="{ minRows: 12, maxRows: 800 }"
:disabled="this.flag1" :disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="52000" show-word-limit placeholder="请输入附加条款" ></c-input> type="textarea"
v-model="model.lidgrp.blk.adlcnd"
maxlength="52000"
show-word-limit
placeholder="请输入附加条款"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="22"> <c-col :span="24">
<el-form-item label="添加/删除当前修订中的文本" prop="litamep.adlcndamep.usrblk"> <el-form-item
<c-input label="添加/删除当前修订中的文本"
:disabled="this.flag2" prop="litamep.adlcndamep.usrblk"
:autosize="{ minRows: 22, maxRows: 800}" >
type="textarea" v-model="model.litamep.adlcndamep.usrblk" maxlength="52000" show-word-limit placeholder="请输入添加/删除补充信息" ></c-input> <c-fullbox>
<c-input
:disabled="this.flag2"
:autosize="{ minRows: 22, maxRows: 800 }"
type="textarea"
v-model="model.litamep.adlcndamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.adlcndame.buttxmsel',
null,
null,
{ TXT: 'litamep.adlcndamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2"> <!-- <c-col :span="22">
<c-button size="small" type="primary" icon="el-icon-search" <el-form-item
label="添加/删除当前修订中的文本"
prop="litamep.adlcndamep.usrblk"
>
<c-input
:disabled="this.flag2" :disabled="this.flag2"
@click="showGridPromptDialog('litamep.adlcndame.buttxmsel',null,null,{TXT: 'litamep.adlcndamep.usrblk'}, {TXT: false},'doxpDialog')"> :autosize="{ minRows: 22, maxRows: 800 }"
type="textarea"
v-model="model.litamep.adlcndamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.adlcndame.buttxmsel',
null,
null,
{ TXT: 'litamep.adlcndamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button> </c-button>
</c-col> </c-col> -->
</el-col> </el-col>
<el-col :span="12" style="padding-left: 20px;"> <el-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.adlcndame"> <el-form-item label="历史概述" prop="lidgrp.blk.adlcndame">
<c-input <c-input
:autosize="{ minRows: 12, maxRows: 999}" :autosize="{ minRows: 12, maxRows: 999 }"
disabled disabled
type="textarea" v-model="model.lidgrp.blk.adlcndame" maxlength="4950" show-word-limit placeholder="请输入Additional Conditions Amendment History" ></c-input> type="textarea"
v-model="model.lidgrp.blk.adlcndame"
maxlength="4950"
show-word-limit
placeholder="请输入Additional Conditions Amendment History"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-checkbox
class="checkbox-left"
style="margin: 0px 0 10px 120px"
v-model="model.lidgrp.rec.redclsflg"
>红/绿条款</c-checkbox
>
</c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 100px"
v-model="model.lidgrp.rec.redclsflg">红/绿条款</c-checkbox> v-model="model.lidgrp.rec.spcbenflg"
</c-col> >适用于受益人的特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox
style=" margin: 0px 0 10px 100px;" @change="open"
v-model="model.lidgrp.rec.spcbenflg">适用于受益人的特殊付款条款</c-checkbox> class="checkbox-left"
</c-col> style="margin: 0px 0 10px 120px"
v-model="model.litamep.adlcndamep.modflg"
>修改要替换的文本</c-checkbox
>
</c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox
@change="open" style="margin: 0px 0 10px 100px"
style=" margin: 0px 0 10px 150px;" v-model="model.lidgrp.rec.spcrcbflg"
v-model="model.litamep.adlcndamep.modflg">修改要替换的文本</c-checkbox> >仅适用于银行的特殊付款条款</c-checkbox
</c-col> >
</c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox <el-form-item label=" " prop="litamep.adlcndamep.modmanflg">
style=" margin: 0px 0 10px 100px;" <c-checkbox
v-model="model.lidgrp.rec.spcrcbflg">仅适用于银行的特殊付款条款</c-checkbox> @change="open1"
</c-col> class="checkbox-left"
v-model="model.litamep.adlcndamep.modmanflg"
>内部修改文本</c-checkbox
>
<c-col :span="12"> </el-form-item>
<c-checkbox </c-col>
@change="open1"
style=" margin: 0px 0 10px 150px;" <c-col :span="24">
v-model="model.litamep.adlcndamep.modmanflg">内部修改文本</c-checkbox> <c-button
</c-col> style="margin: 0px 0 10px 120px"
size="small"
<c-col :span="24"> type="primary"
<c-button @click="onAdlcndamepButdif"
style=" margin: 0px 0 10px 150px;" >
size="small" type="primary" @click="onAdlcndamepButdif"> 显示差异
显示差异
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 120px"
size="small" type="primary" disabled @click="onAdlcndamepButadd"> size="small"
添加文本 type="primary"
disabled
@click="onAdlcndamepButadd"
>
添加文本
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 120px"
size="small" type="primary" disabled icon="el-icon-delete" @click="onAdlcndamepButdel"> size="small"
删除文本 type="primary"
disabled
icon="el-icon-delete"
@click="onAdlcndamepButdel"
>
删除文本
</c-button> </c-button>
</c-col> </c-col>
</el-col> </el-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/Litame/Event" import Event from "~/model/Litame/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
},
watch: {
"model.litamep.adlcndamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
} }
},
}, },
watch:{ "model.litamep.adlcndamep.modmanflg": {
"model.litamep.adlcndamep.modflg":{ immediate: true,
immediate:true, handler(val, oldval) {
handler(val,oldval){ if (
if(this.model.litamep.adlcndamep.modflg == 'X' && this.model.litamep.adlcndamep.modmanflg== ''){ this.model.litamep.adlcndamep.modflg == "X" &&
this.flag1=false; this.model.litamep.adlcndamep.modmanflg == ""
this.flag2=true; ) {
this.model.litamep.adlcndamep.usrblk=''; this.flag1 = false;
}else if(this.model.litamep.adlcndamep.modflg == 'X' && this.model.litamep.adlcndamep.modmanflg== 'X'){ this.flag2 = true;
this.flag1=false; this.model.litamep.adlcndamep.usrblk = "";
this.flag2=true; } else if (
this.model.litamep.adlcndamep.modflg == "X" &&
}else if(this.model.litamep.adlcndamep.modflg == '' && this.model.litamep.adlcndamep.modmanflg== ''){ this.model.litamep.adlcndamep.modmanflg == "X"
this.flag1=true; ) {
this.flag2=false; this.flag1 = false;
}else if(this.model.litamep.adlcndamep.modflg == '' && this.model.litamep.adlcndamep.modmanflg== 'X'){ this.flag2 = true;
this.flag1=false; } else if (
this.flag2=true; this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.usrblk=''; this.model.litamep.adlcndamep.modmanflg == ""
} ) {
} this.flag1 = true;
}, this.flag2 = false;
"model.litamep.adlcndamep.modmanflg":{ } else if (
immediate:true, this.model.litamep.adlcndamep.modflg == "" &&
handler(val,oldval){ this.model.litamep.adlcndamep.modmanflg == "X"
if(this.model.litamep.adlcndamep.modflg == 'X' && this.model.litamep.adlcndamep.modmanflg== ''){ ) {
this.flag1=false; this.flag1 = false;
this.flag2=true; this.flag2 = true;
this.model.litamep.adlcndamep.usrblk=''; this.model.litamep.adlcndamep.usrblk = "";
}else if(this.model.litamep.adlcndamep.modflg == 'X' && this.model.litamep.adlcndamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.adlcndamep.modflg == '' && this.model.litamep.adlcndamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.adlcndamep.modflg == '' && this.model.litamep.adlcndamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.adlcndamep.usrblk='';
}
}
} }
},
}, },
methods:{...Event, },
open(val){ methods: {
if(val === '' && !(this.model.lidgrp.blk.adlcnd == '')){ ...Event,
this.$confirm('Do you really want to reset your manual modifications?','提示',{ open(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
cancelButtonText: 'Cannel', this.$confirm(
confirmButtonText: 'Ok', "Do you really want to reset your manual modifications?",
type: 'warning', "提示",
showClose:false {
}).then(() => { cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.lidgrp.blk.adlcnd=''; this.model.lidgrp.blk.adlcnd = "";
this.$message({ this.$message({
type: 'success', type: "success",
message: '删除成功!' message: "删除成功!",
}); });
})
}).catch(() => { .catch(() => {
//No的功能在这里写 //No的功能在这里写
this.model.litamep.adlcndamep.modflg='X' this.model.litamep.adlcndamep.modflg = "X";
this.$message({ this.$message({
type: 'info', type: "info",
message: '已取消' message: "已取消",
}); });
}); });
}else if(val == 'X' && this.model.litamep.adlcndamep.modmanflg =='X'){ } else if (val == "X" && this.model.litamep.adlcndamep.modmanflg == "X") {
this.$confirm('Please reset internal modification first','提示',{ this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: 'Ok', confirmButtonText: "Ok",
showCancelButton:false, showCancelButton: false,
type: 'warning', type: "warning",
showClose:false showClose: false,
}).then(() => { }).then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.litamep.adlcndamep.modflg=''; this.model.litamep.adlcndamep.modflg = "";
this.flag1=true; this.flag1 = true;
this.flag2=false; this.flag2 = false;
}) });
} }
}, },
open1(val){ open1(val) {
if(val === '' && !(this.model.lidgrp.blk.adlcnd == '')){ if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
this.$confirm('Do you really want to reset your manual modifications?','提示',{ this.$confirm(
"Do you really want to reset your manual modifications?",
cancelButtonText: 'Cannel', "提示",
confirmButtonText: 'Ok', {
type: 'warning', cancelButtonText: "Cannel",
showClose:false confirmButtonText: "Ok",
}).then(() => { type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.lidgrp.blk.adlcnd=''; this.model.lidgrp.blk.adlcnd = "";
this.$message({ this.$message({
type: 'success', type: "success",
message: '删除成功!' message: "删除成功!",
}); });
}).catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.adlcndamep.modflg == 'X' && this.model.litamep.adlcndamep.modmanflg =='X'){
this.$confirm('Please reset modification to replace first','提示',{
confirmButtonText: 'Ok',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modmanflg='';
this.flag1=true;
this.flag2=false;
}) })
} .catch(() => {
} //No的功能在这里写
this.model.litamep.adlcndamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.$confirm("Please reset modification to replace first", "提示", {
confirmButtonText: "Ok",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
}, },
created:function(){ },
created: function () {},
} };
}
</script> </script>
<style> <style>
</style> </style>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="备查表" name="addbcb"> <el-collapse-item title="备查表" name="addbcb">
<el-form-item label="备查表类型"> <el-form-item label="备查表类型" class="checkbox-left">
<c-checkbox v-model="model.bcbtyp1">不在名录</c-checkbox> <c-checkbox v-model="model.bcbtyp1">不在名录</c-checkbox>
<c-checkbox v-model="model.bcbtyp2">异地付汇</c-checkbox> <c-checkbox v-model="model.bcbtyp2">异地付汇</c-checkbox>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<c-checkbox v-model="model.bcbtyp5">不需要</c-checkbox> <c-checkbox v-model="model.bcbtyp5">不需要</c-checkbox>
<c-checkbox v-model="model.bcbtyp6">其它</c-checkbox> <c-checkbox v-model="model.bcbtyp6" style="margin-right:30px;">其它</c-checkbox>
</el-form-item> </el-form-item>
<c-col :span="12" v-if="model.bcbtyp6"> <c-col :span="12" v-if="model.bcbtyp6">
...@@ -62,7 +62,9 @@ ...@@ -62,7 +62,9 @@
</c-col> </c-col>
<c-col :span="11" :offset="0"> <c-col :span="11" :offset="0">
<c-checkbox v-model="model.modtyp">修改信用证类型</c-checkbox> <el-form-item label=" " prop="modtyp">
<c-checkbox v-model="model.modtyp" class="checkbox-left">修改信用证类型</c-checkbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -99,7 +101,9 @@ export default { ...@@ -99,7 +101,9 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
activeNames: ['addbcb']
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
<template> <template>
<div class="eibs"> <div class="eibs">
<!-- ==========左=============== --> <!-- ==========左=============== -->
<el-col :span="12" style="padding-right: 20px;"> <el-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref"> <el-form-item
<c-fullbox> label="客户经理"
<c-input prop="litp.usr.extkey"
v-model="model.lidgrp.rec.ownref" style="width: 100%"
maxlength="16" >
placeholder="请输入编号" <c-fullbox>
disabled <c-input
v-model="model.litp.usr.extkey"
maxlength="8"
disabled
placeholder="请输入客户经理"
></c-input>
<template slot="footer">
<c-button
size="small"
style="margin-left: 10px; padding: 0 12px"
type="primary"
icon="el-icon-search"
@click="onExtkey"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item
label="信用证编号"
prop="lidgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="8"
placeholder="请输入编号"
disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin-left: 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search"
> >
</c-button>
</c-button>
</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="修改日期" prop="trnmod.swiadd.amedat"> <el-form-item label="修改日期" prop="trnmod.swiadd.amedat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.amedat" style="width:100%" placeholder="请选择修改日期"></c-date-picker> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="model.trnmod.swiadd.amedat"
<c-col :span="12"> style="width: 100%"
placeholder="请选择修改日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证名义金额" prop="lidgrp.cbs.nom1.cur"> <el-form-item label="信用证名义金额" prop="lidgrp.cbs.nom1.cur">
<c-input <c-input
v-model="model.lidgrp.cbs.nom1.cur" v-model="model.lidgrp.cbs.nom1.cur"
maxlength="3" maxlength="3"
placeholder="请输入金额" placeholder="请输入金额"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt"> <el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt">
<c-input-currency <c-input-currency
v-model="model.oldlidgrp.cbs.nom1.amt" v-model="model.oldlidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额" placeholder="请输入信用证金额"
disabled disabled
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="溢短装上浮" prop="oldlidgrp.rec.nomtop"> <el-form-item label="溢短装上浮" prop="oldlidgrp.rec.nomtop">
<c-input <c-input
v-model.number="model.oldlidgrp.rec.nomtop" v-model.number="model.oldlidgrp.rec.nomtop"
placeholder="请输入上浮比例" placeholder="请输入上浮比例"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="溢短装下浮" prop="oldlidgrp.rec.nomton"> <el-form-item label="溢短装下浮" prop="oldlidgrp.rec.nomton">
<c-input <c-input
v-model.number="model.oldlidgrp.rec.nomton" v-model.number="model.oldlidgrp.rec.nomton"
placeholder="请输入下浮比例" placeholder="请输入下浮比例"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="修改金额" prop="trnmod.swiadd.amecur"> <el-form-item label="修改金额" prop="trnmod.swiadd.amecur">
<c-input <c-input
v-model="model.trnmod.swiadd.amecur" v-model="model.trnmod.swiadd.amecur"
style="width:100%" style="width: 100%"
placeholder="请选择增减金额" placeholder="请选择增减金额"
disabled disabled
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.ameamt"> <el-form-item label="" prop="trnmod.swiadd.ameamt">
<c-input-currency v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额." <c-input-currency
></c-input-currency> v-model="model.trnmod.swiadd.ameamt"
placeholder="请输入增减金额."
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="修改后金额" prop="trnmod.swiadd.newcur"> <el-form-item label="修改后金额" prop="trnmod.swiadd.newcur">
<c-input <c-input
v-model="model.trnmod.swiadd.newcur" v-model="model.trnmod.swiadd.newcur"
style="width:100%" style="width: 100%"
placeholder="请选择修改后金额" placeholder="请选择修改后金额"
disabled disabled
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.newamt"> <el-form-item label="" prop="trnmod.swiadd.newamt">
<c-input-currency v-model="model.trnmod.swiadd.newamt" placeholder="请输入修改后金额"></c-input-currency> <c-input-currency
v-model="model.trnmod.swiadd.newamt"
placeholder="请输入修改后金额"
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="新的上浮比例" prop="trnmod.swiadd.newnomtop"> <el-form-item label="新的上浮比例" prop="trnmod.swiadd.newnomtop">
<c-input v-model.number="model.trnmod.swiadd.newnomtop" placeholder="请输入New positive tolerance"></c-input> <c-input
v-model.number="model.trnmod.swiadd.newnomtop"
placeholder="请输入New positive tolerance"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="新的下浮比例" prop="trnmod.swiadd.newnomton"> <el-form-item label="新的下浮比例" prop="trnmod.swiadd.newnomton">
<c-input v-model.number="model.trnmod.swiadd.newnomton" placeholder="请输入New negative tolerance"></c-input> <c-input
v-model.number="model.trnmod.swiadd.newnomton"
placeholder="请输入New negative tolerance"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="限额表述" prop="trnmod.swiadd.nomspc"> <el-form-item label="限额表述" prop="trnmod.swiadd.nomspc">
<c-select <c-select
disabled disabled
:code="codes.nomspc" :code="codes.nomspc"
v-model="model.trnmod.swiadd.nomspc" style="width:100%" placeholder="请选择金额说明"> v-model="model.trnmod.swiadd.nomspc"
</c-select> style="width: 100%"
placeholder="请选择金额说明"
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="生效日期" prop="oldlidgrp.rec.expdat"> <el-form-item label="生效日期" prop="oldlidgrp.rec.expdat">
<c-date-picker <c-date-picker
disabled disabled
type="date" v-model="model.oldlidgrp.rec.expdat" style="width:100%" placeholder="请选择到期日"></c-date-picker> type="date"
</el-form-item> v-model="model.oldlidgrp.rec.expdat"
</c-col> style="width: 100%"
<c-col :span="12"> placeholder="请选择到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="(新)生效日期" prop="trnmod.swiadd.newexpdat"> <el-form-item label="(新)生效日期" prop="trnmod.swiadd.newexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width:100%" placeholder="请选择新到期日"></c-date-picker> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="model.trnmod.swiadd.newexpdat"
<c-col :span="24"> style="width: 100%"
placeholder="请选择新到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信息目的" prop="trnmod.swiadd.purpos"> <el-form-item label="信息目的" prop="trnmod.swiadd.purpos">
<c-select v-model="model.trnmod.swiadd.purpos" style="width:100%" placeholder="请选择Purpose of message" <c-select
v-model="model.trnmod.swiadd.purpos"
style="width: 100%"
placeholder="请选择Purpose of message"
:code="codes.purpos5" :code="codes.purpos5"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="寄单期限" prop="oldlidgrp.rec.prepers18"> <el-form-item label="寄单期限" prop="oldlidgrp.rec.prepers18">
<c-input <c-input
v-model.number="model.oldlidgrp.rec.prepers18" v-model.number="model.oldlidgrp.rec.prepers18"
placeholder="请输入寄单期限" placeholder="请输入寄单期限"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="寄单期限(原)" prop="oldlidgrp.rec.prepertxts18"> <el-form-item label="寄单期限(原)" prop="oldlidgrp.rec.prepertxts18">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.oldlidgrp.rec.prepertxts18" v-model="model.oldlidgrp.rec.prepertxts18"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入寄单期限" placeholder="请输入寄单期限"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="费用承担人修改" prop="trnmod.swiadd.trnchato"> <el-form-item label="费用承担人修改" prop="trnmod.swiadd.trnchato">
<c-select v-model="model.trnmod.swiadd.trnchato" style="width:100%" placeholder="请选择Amendm. charge by" <c-select
v-model="model.trnmod.swiadd.trnchato"
style="width: 100%"
placeholder="请选择Amendm. charge by"
:code="codes.trnchato1" :code="codes.trnchato1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收费详情" prop="trnmod.swiadd.trnfeetxt"> <el-form-item label="收费详情" prop="trnmod.swiadd.trnfeetxt">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.trnmod.swiadd.trnfeetxt" v-model="model.trnmod.swiadd.trnfeetxt"
maxlength="210" maxlength="210"
show-word-limit show-word-limit
placeholder="请输入收费详情" placeholder="请输入收费详情"
:disabled="model.trnmod.swiadd.trnchato != 'OTHR' " :disabled="model.trnmod.swiadd.trnchato != 'OTHR'"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="RAMROLLAB" prop="litamep.ramrol"> <el-form-item label="RAMROLLAB" prop="litamep.ramrol">
<c-select v-model="model.litamep.ramrol" style="width:100%" placeholder="请选择Request of Amendment send to"> <c-select v-model="model.litamep.ramrol" style="width:100%" placeholder="请选择Request of Amendment send to">
</c-select> </c-select>
...@@ -196,190 +259,211 @@ ...@@ -196,190 +259,211 @@
</el-col> </el-col>
<!-- ==========右=============== --> <!-- ==========右=============== -->
<el-col :span="12" style="padding-left: 20px;"> <el-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="简略信息" prop="lidgrp.rec.nam"> <el-form-item label="简略信息" prop="lidgrp.rec.nam">
<c-input <c-input
v-model="model.lidgrp.rec.nam" v-model="model.lidgrp.rec.nam"
maxlength="40" maxlength="40"
placeholder="请输入Name" placeholder="请输入Name"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="修改次数" prop="trnmod.swiadd.amenbr"> <el-form-item label="修改次数" prop="trnmod.swiadd.amenbr">
<c-input v-model.number="model.trnmod.swiadd.amenbr" placeholder="请输入修改次数"></c-input> <c-input
v-model.number="model.trnmod.swiadd.amenbr"
placeholder="请输入修改次数"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="实际修改次数" prop="litamep.amenbr"> <el-form-item label="实际修改次数" prop="litamep.amenbr">
<c-input <c-input
v-model.number="model.litamep.amenbr" v-model.number="model.litamep.amenbr"
placeholder="请输入实际修改次数" placeholder="请输入实际修改次数"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="最大金额(原)" prop="oldlidgrp.cbs.max.cur"> <el-form-item label="最大金额(原)" prop="oldlidgrp.cbs.max.cur">
<c-input <c-input
v-model="model.oldlidgrp.cbs.max.cur" v-model="model.oldlidgrp.cbs.max.cur"
maxlength="3" maxlength="3"
placeholder="请选择币种" placeholder="请选择币种"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="oldlidgrp.cbs.max.amt"> <el-form-item label="" prop="oldlidgrp.cbs.max.amt">
<c-input-currency <c-input-currency
v-model="model.oldlidgrp.cbs.max.amt" v-model="model.oldlidgrp.cbs.max.amt"
placeholder="请输入金额" placeholder="请输入金额"
disabled disabled
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="修改总金额" prop="litamep.engcur"> <el-form-item label="修改总金额" prop="litamep.engcur">
<c-input <c-input
v-model="model.litamep.engcur" v-model="model.litamep.engcur"
style="width:100%" style="width: 100%"
placeholder="请选择修改总金额" placeholder="请选择修改总金额"
disabled disabled
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="litamep.engamt"> <el-form-item label="" prop="litamep.engamt">
<c-input-currency <c-input-currency
v-model="model.litamep.engamt" v-model="model.litamep.engamt"
placeholder="请输入修改总金额" placeholder="请输入修改总金额"
disabled disabled
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="最大金额" prop="litamep.maxcur"> <el-form-item label="最大金额" prop="litamep.maxcur">
<c-input <c-input
v-model="model.litamep.maxcur" v-model="model.litamep.maxcur"
maxlength="3" maxlength="3"
placeholder="请选择币种 of Maximum Amount" placeholder="请选择币种 of Maximum Amount"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="litamep.maxamt"> <el-form-item label="" prop="litamep.maxamt">
<c-input-currency <c-input-currency
v-model="model.litamep.maxamt" v-model="model.litamep.maxamt"
placeholder="请输入New Maximum Amount" placeholder="请输入New Maximum Amount"
disabled disabled
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="装运日期(原)" prop="oldlidgrp.rec.shpdat"> <el-form-item label="装运日期(原)" prop="oldlidgrp.rec.shpdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.oldlidgrp.rec.shpdat" v-model="model.oldlidgrp.rec.shpdat"
style="width:100%" style="width: 100%"
placeholder="请选择装运日" placeholder="请选择装运日"
disabled disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="装运日期(新)" prop="trnmod.swiadd.newshpdat"> <el-form-item label="装运日期(新)" prop="trnmod.swiadd.newshpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newshpdat" style="width:100%" placeholder="请选择新装运日"></c-date-picker> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="model.trnmod.swiadd.newshpdat"
<c-col :span="12"> style="width: 100%"
placeholder="请选择新装运日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单期限(新)" prop="trnmod.swiadd.prepers18"> <el-form-item label="交单期限(新)" prop="trnmod.swiadd.prepers18">
<c-input v-model.number="model.trnmod.swiadd.prepers18" placeholder="请输入New Presentation Period"></c-input> <c-input
v-model.number="model.trnmod.swiadd.prepers18"
placeholder="请输入New Presentation Period"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="交单期限描述" prop="trnmod.swiadd.prepertxts18"> <el-form-item label="交单期限描述" prop="trnmod.swiadd.prepertxts18">
<c-input v-model="model.trnmod.swiadd.prepertxts18" maxlength="35" placeholder="请输入Presentation period text"></c-input> <c-input
v-model="model.trnmod.swiadd.prepertxts18"
maxlength="35"
placeholder="请输入Presentation period text"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox <el-form-item label=" " prop="litp.aamp.aammod.addamtflg">
style="margin-left:150px" <c-checkbox
v-model="model.litp.aamp.aammod.addamtflg">附加金额</c-checkbox> class="checkbox-left"
</c-col> v-model="model.litp.aamp.aammod.addamtflg"
<c-col :span="24"> >附加金额</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="币种" prop="lidgrp.cbs.max2.cur"> <el-form-item label="币种" prop="lidgrp.cbs.max2.cur">
<c-input <c-input
disabled disabled
v-model="model.lidgrp.cbs.max2.cur" maxlength="3" placeholder="请选择币种"></c-input> v-model="model.lidgrp.cbs.max2.cur"
maxlength="3"
placeholder="请选择币种"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="附加金额" prop="trnmod.swiadd.addamt"> <el-form-item label="附加金额" prop="trnmod.swiadd.addamt">
<c-input-currency <c-input-currency
:disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') " :disabled="!(this.model.litp.aamp.aammod.addamtflg == 'X')"
v-model="model.trnmod.swiadd.addamt" placeholder="请输入附加金额"></c-input-currency> v-model="model.trnmod.swiadd.addamt"
</el-form-item> placeholder="请输入附加金额"
</c-col> ></c-input-currency>
<c-col :span="24"> </el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加金额覆盖" prop="trnmod.swiadd.addamtcov"> <el-form-item label="附加金额覆盖" prop="trnmod.swiadd.addamtcov">
<c-input type="textarea" <c-input
v-model="model.trnmod.swiadd.addamtcov" type="textarea"
maxlength="140" v-model="model.trnmod.swiadd.addamtcov"
show-word-limit maxlength="140"
placeholder="请输入附加金额" show-word-limit
:disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') " placeholder="请输入附加金额"
></c-input> :disabled="!(this.model.litp.aamp.aammod.addamtflg == 'X')"
</el-form-item> ></c-input>
</c-col> </el-form-item>
<c-col :span="12"> </c-col>
<c-checkbox <c-col :span="12">
style="margin-left:150px" <el-form-item label=" " prop="trnmod.swiadd.reqcan">
v-model="model.trnmod.swiadd.reqcan">取消请求</c-checkbox> <c-checkbox
</c-col> class="checkbox-left"
<c-col :span="12"> v-model="model.trnmod.swiadd.reqcan"
<c-checkbox >取消请求</c-checkbox
style="margin-left:130px" >
v-model="model.litamep.cre707flg">创建修改报文</c-checkbox> </el-form-item>
</c-col> </c-col>
</el-col> <c-col :span="12">
<c-checkbox style="margin-left: 130px" v-model="model.litamep.cre707flg"
>创建修改报文</c-checkbox
>
</c-col>
</el-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/Litame/Event" import Event from "~/model/Litame/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
},
} methods: { ...Event },
}, created: function () {},
methods:{...Event, };
},
created:function(){
}
}
</script> </script>
<style> <style>
</style> </style>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="litamep.recget.sdamod.dadsnd"> <el-form-item label="Drag Drop Sender" prop="litamep.recget.sdamod.dadsnd">
......
<template> <template>
<div class="eibs"> <div class="eibs">
<el-col :span="12" style="padding-right: 20px">
<el-col :span="12" style="padding-right: 20px;"> <c-col :span="24">
<c-col :span="24">
<el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod"> <el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod">
<c-input <c-input
:autosize="{ minRows: 12, maxRows: 800}" :autosize="{ minRows: 12, maxRows: 800 }"
:disabled="this.flag1" :disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="52000" show-word-limit placeholder="请输入描述信息" ></c-input> type="textarea"
v-model="model.lidgrp.blk.lcrgod"
maxlength="52000"
show-word-limit
placeholder="请输入描述信息"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="22"> <c-col :span="24">
<el-form-item label="在当前修订中添加/删除文本" prop="litamep.lcrgodamep.usrblk"> <el-form-item
<c-input label="在当前修订中添加/删除文本"
prop="litamep.lcrgodamep.usrblk"
>
<c-fullbox>
<c-input
:disabled="this.flag2"
:autosize="{ minRows: 22, maxRows: 800 }"
type="textarea"
v-model="model.litamep.lcrgodamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.lcrgodame.buttxmsel',
null,
null,
{ TXT: 'litamep.lcrgodamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="22">
<el-form-item
label="在当前修订中添加/删除文本"
prop="litamep.lcrgodamep.usrblk"
>
<c-input
:disabled="this.flag2" :disabled="this.flag2"
:autosize="{ minRows: 22, maxRows: 800}" :autosize="{ minRows: 22, maxRows: 800 }"
type="textarea" v-model="model.litamep.lcrgodamep.usrblk" maxlength="52000" show-word-limit placeholder="请输入添加/删除补充信息" ></c-input> type="textarea"
v-model="model.litamep.lcrgodamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" <c-button
:disabled="this.flag2" size="small"
@click="showGridPromptDialog('litamep.lcrgodame.buttxmsel',null,null,{TXT: 'litamep.lcrgodamep.usrblk'}, {TXT: false},'doxpDialog')"> type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.lcrgodame.buttxmsel',
null,
null,
{ TXT: 'litamep.lcrgodamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button> </c-button>
</c-col> </c-col> -->
</el-col>
</el-col> <el-col :span="12" style="padding-left: 20px">
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.lcrgodame"> <el-form-item label="历史概述" prop="lidgrp.blk.lcrgodame">
<c-input <c-input
:autosize="{ minRows: 12, maxRows: 999}" :autosize="{ minRows: 12, maxRows: 999 }"
disabled disabled
type="textarea" v-model="model.lidgrp.blk.lcrgodame" maxlength="4950" show-word-limit placeholder="请输入Description of Goods Amendment History" ></c-input> type="textarea"
v-model="model.lidgrp.blk.lcrgodame"
maxlength="4950"
show-word-limit
placeholder="请输入Description of Goods Amendment History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.lcrgodamep.modflg">
<c-checkbox
@change="open"
class="checkbox-left"
v-model="model.litamep.lcrgodamep.modflg"
>修改要替换的文本</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox
@change="open" @change="open1"
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 125px"
v-model="model.litamep.lcrgodamep.modflg">修改要替换的文本</c-checkbox> v-model="model.litamep.lcrgodamep.modmanflg"
</c-col> >内部修改文本</c-checkbox
>
<c-col :span="12"> </c-col>
<c-checkbox
@change="open1" <c-col :span="24">
style=" margin: 0px 0 10px 125px;" <c-button
v-model="model.litamep.lcrgodamep.modmanflg">内部修改文本</c-checkbox> style="margin: 0px 0 10px 120px"
</c-col> size="small"
type="primary"
<c-col :span="24"> @click="onLcrgodamepButdif"
<c-button >
style=" margin: 0px 0 10px 150px;" 显示差异
size="small" type="primary" @click="onLcrgodamepButdif">
显示差异
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 120px"
disabled disabled
size="small" type="primary" @click="onLcrgodamepButadd"> size="small"
添加文本 type="primary"
@click="onLcrgodamepButadd"
>
添加文本
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 120px"
disabled disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrgodamepButdel"> size="small"
删除文本 type="primary"
icon="el-icon-delete"
@click="onLcrgodamepButdel"
>
删除文本
</c-button> </c-button>
</c-col> </c-col>
</el-col> </el-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/Litame/Event" import Event from "~/model/Litame/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
flag1:true, flag1: true,
flag2:false, flag2: false,
};
},
watch: {
"model.litamep.lcrgodamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
} else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
} }
},
}, },
watch:{ "model.litamep.lcrgodamep.modmanflg": {
"model.litamep.lcrgodamep.modflg":{ immediate: true,
immediate:true, handler(val, oldval) {
handler(val,oldval){ if (
if(this.model.litamep.lcrgodamep.modflg == 'X' && this.model.litamep.lcrgodamep.modmanflg== ''){ this.model.litamep.lcrgodamep.modflg == "X" &&
this.flag1=false; this.model.litamep.lcrgodamep.modmanflg == ""
this.flag2=true; ) {
this.model.litamep.lcrgodamep.usrblk=''; this.flag1 = false;
}else if(this.model.litamep.lcrgodamep.modflg == 'X' && this.model.litamep.lcrgodamep.modmanflg== 'X'){ this.flag2 = true;
this.flag1=false; this.model.litamep.lcrgodamep.usrblk = "";
this.flag2=true; } else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
}else if(this.model.litamep.lcrgodamep.modflg == '' && this.model.litamep.lcrgodamep.modmanflg== ''){ this.model.litamep.lcrgodamep.modmanflg == "X"
this.flag1=true; ) {
this.flag2=false; this.flag1 = false;
}else if(this.model.litamep.lcrgodamep.modflg == '' && this.model.litamep.lcrgodamep.modmanflg== 'X'){ this.flag2 = true;
this.flag1=false; } else if (
this.flag2=true; this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.usrblk=''; this.model.litamep.lcrgodamep.modmanflg == ""
} ) {
} this.flag1 = true;
}, this.flag2 = false;
"model.litamep.lcrgodamep.modmanflg":{ } else if (
immediate:true, this.model.litamep.lcrgodamep.modflg == "" &&
handler(val,oldval){ this.model.litamep.lcrgodamep.modmanflg == "X"
if(this.model.litamep.lcrgodamep.modflg == 'X' && this.model.litamep.lcrgodamep.modmanflg== ''){ ) {
this.flag1=false; this.flag1 = false;
this.flag2=true; this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk=''; this.model.litamep.lcrgodamep.usrblk = "";
}else if(this.model.litamep.lcrgodamep.modflg == 'X' && this.model.litamep.lcrgodamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.lcrgodamep.modflg == '' && this.model.litamep.lcrgodamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.lcrgodamep.modflg == '' && this.model.litamep.lcrgodamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.lcrgodamep.usrblk='';
}
}
} }
},
}, },
methods:{...Event, },
open(val){ methods: {
if(val === '' && !(this.model.lidgrp.blk.lcrgod == '')){ ...Event,
this.$confirm('Do you really want to reset your manual modifications?','提示',{ open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrgod == "")) {
cancelButtonText: 'Cannel', this.$confirm(
confirmButtonText: 'Ok', "Do you really want to reset your manual modifications?",
type: 'warning', "提示",
showClose:false {
}).then(() => { cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.lidgrp.blk.lcrgod=''; this.model.lidgrp.blk.lcrgod = "";
this.$message({ this.$message({
type: 'success', type: "success",
message: '删除成功!' message: "删除成功!",
}); });
})
}).catch(() => { .catch(() => {
//No的功能在这里写 //No的功能在这里写
this.model.litamep.lcrgodamep.modflg='X' this.model.litamep.lcrgodamep.modflg = "X";
this.$message({ this.$message({
type: 'info', type: "info",
message: '已取消' message: "已取消",
}); });
}); });
}else if(val == 'X' && this.model.litamep.lcrgodamep.modmanflg =='X'){ } else if (val == "X" && this.model.litamep.lcrgodamep.modmanflg == "X") {
this.$confirm('Please reset internal modification first','提示',{ this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: 'Ok', confirmButtonText: "Ok",
showCancelButton:false, showCancelButton: false,
type: 'warning', type: "warning",
showClose:false showClose: false,
}).then(() => { }).then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.litamep.lcrgodamep.modflg=''; this.model.litamep.lcrgodamep.modflg = "";
this.flag1=true; this.flag1 = true;
this.flag2=false; this.flag2 = false;
}) });
} }
}, },
open1(val){ open1(val) {
if(val === '' && !(this.model.lidgrp.blk.lcrgod == '')){ if (val === "" && !(this.model.lidgrp.blk.lcrgod == "")) {
this.$confirm('Do you really want to reset your manual modifications?','提示',{ this.$confirm(
"Do you really want to reset your manual modifications?",
cancelButtonText: 'Cannel', "提示",
confirmButtonText: 'Ok', {
type: 'warning', cancelButtonText: "Cannel",
showClose:false confirmButtonText: "Ok",
}).then(() => { type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.lidgrp.blk.lcrgod=''; this.model.lidgrp.blk.lcrgod = "";
this.$message({ this.$message({
type: 'success', type: "success",
message: '删除成功!' message: "删除成功!",
}); });
}).catch(() => {
//No的功能在这里写
this.model.litamep.lcrgodamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.lcrgodamep.modflg == 'X' && this.model.litamep.lcrgodamep.modmanflg =='X'){
this.$confirm('Please reset modification to replace first','提示',{
confirmButtonText: 'Ok',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modmanflg='';
this.flag1=true;
this.flag2=false;
}) })
} .catch(() => {
} //No的功能在这里写
this.model.litamep.lcrgodamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.$confirm("Please reset modification to replace first", "提示", {
confirmButtonText: "Ok",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
}, },
created:function(){ },
created: function () {},
} };
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs"> <div class="eibs">
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc"> <el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc">
<c-input <c-input
:autosize="{ minRows: 12, maxRows: 800}" :autosize="{ minRows: 12, maxRows: 800 }"
:disabled="this.flag1" :disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="52000" show-word-limit placeholder="请输入单据要求" ></c-input> type="textarea"
v-model="model.lidgrp.blk.lcrdoc"
maxlength="52000"
show-word-limit
placeholder="请输入单据要求"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="22"> <c-col :span="24">
<el-form-item label="添加/删除当前修订中的文本" prop="litamep.lcrdocamep.usrblk"> <el-form-item
<c-input type="textarea" label="添加/删除当前修订中的文本"
prop="litamep.lcrdocamep.usrblk"
>
<c-fullbox>
<c-input
type="textarea"
:disabled="this.flag2"
v-model="model.litamep.lcrdocamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
:autosize="{ minRows: 22, maxRows: 800 }"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.lcrdocame.buttxmsel',
null,
null,
{ TXT: 'litamep.lcrdocamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="22">
<el-form-item
label="添加/删除当前修订中的文本"
prop="litamep.lcrdocamep.usrblk"
>
<c-input
type="textarea"
:disabled="this.flag2" :disabled="this.flag2"
v-model="model.litamep.lcrdocamep.usrblk" v-model="model.litamep.lcrdocamep.usrblk"
maxlength="52000" maxlength="52000"
show-word-limit placeholder="请输入添加/删除补充信息" show-word-limit
:autosize="{ minRows: 22, maxRows: 800}" placeholder="请输入添加/删除补充信息"
></c-input> :autosize="{ minRows: 22, maxRows: 800 }"
></c-input>
</el-form-item> </el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2"
@click="showGridPromptDialog('litamep.lcrdocame.buttxmsel',null,null,{TXT: 'litamep.lcrdocamep.usrblk'}, {TXT: false},'doxpDialog')">
</c-button>
</c-col>
</c-col> </c-col>
<c-col :span="2">
<c-col :span="12" style="padding-left: 20px;"> <c-button
<c-col :span="24"> size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.lcrdocame.buttxmsel',
null,
null,
{ TXT: 'litamep.lcrdocamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</c-col> -->
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.lcrdocame"> <el-form-item label="历史概述" prop="lidgrp.blk.lcrdocame">
<c-input <c-input
:autosize="{ minRows: 12, maxRows: 999}" :autosize="{ minRows: 12, maxRows: 999 }"
disabled disabled
type="textarea" v-model="model.lidgrp.blk.lcrdocame" maxlength="4950" show-word-limit placeholder="请输入单据要求 Amendment History" ></c-input> type="textarea"
v-model="model.lidgrp.blk.lcrdocame"
maxlength="4950"
show-word-limit
placeholder="请输入单据要求 Amendment History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label=" " prop="litamep.lcrdocamep.modflg">
<c-checkbox
@change="open"
class="checkbox-left"
v-model="model.litamep.lcrdocamep.modflg"
>修改要替换的文本</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-checkbox
<c-col :span="12"> @change="open1"
style="margin: 0px 0 10px 125px"
v-model="model.litamep.lcrdocamep.modmanflg"
<c-checkbox >内部修改文本</c-checkbox
@change="open" >
style=" margin: 0px 0 10px 150px;" </c-col>
v-model="model.litamep.lcrdocamep.modflg">修改要替换的文本</c-checkbox>
<c-col :span="24">
</c-col> <c-button
style="margin: 0px 0 10px 120px"
<c-col :span="12"> size="small"
<c-checkbox type="primary"
@change="open1" @click="onLcrdocamepButdif"
style=" margin: 0px 0 10px 125px;" >
v-model="model.litamep.lcrdocamep.modmanflg">内部修改文本</c-checkbox> 显示差异
</c-col>
<c-col :span="12">
<c-button
style=" margin: 0px 0 10px 150px;"
size="small" type="primary" @click="onLcrdocamepButdif">
显示差异
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 120px"
disabled disabled
size="small" type="primary" @click="onLcrdocamepButadd"> size="small"
添加文本 type="primary"
@click="onLcrdocamepButadd"
>
添加文本
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 120px"
disabled disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel"> size="small"
删除文本 type="primary"
icon="el-icon-delete"
@click="onLcrdocamepButdel"
>
删除文本
</c-button> </c-button>
</c-col> </c-col>
</c-col> </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/Litame/Event" import Event from "~/model/Litame/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
flag1:true, flag1: true,
flag2:false, flag2: false,
};
},
watch: {
"model.litamep.lcrdocamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
} else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
} }
},
}, },
watch:{ "model.litamep.lcrdocamep.modmanflg": {
"model.litamep.lcrdocamep.modflg":{ immediate: true,
immediate:true, handler(val, oldval) {
handler(val,oldval){ if (
if(this.model.litamep.lcrdocamep.modflg == 'X' && this.model.litamep.lcrdocamep.modmanflg== ''){ this.model.litamep.lcrdocamep.modflg == "X" &&
this.flag1=false; this.model.litamep.lcrdocamep.modmanflg == ""
this.flag2=true; ) {
this.model.litamep.lcrdocamep.usrblk=''; this.flag1 = false;
}else if(this.model.litamep.lcrdocamep.modflg == 'X' && this.model.litamep.lcrdocamep.modmanflg== 'X'){ this.flag2 = true;
this.flag1=false; this.model.litamep.lcrdocamep.usrblk = "";
this.flag2=true; } else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
}else if(this.model.litamep.lcrdocamep.modflg == '' && this.model.litamep.lcrdocamep.modmanflg== ''){ this.model.litamep.lcrdocamep.modmanflg == "X"
this.flag1=true; ) {
this.flag2=false; this.flag1 = false;
}else if(this.model.litamep.lcrdocamep.modflg == '' && this.model.litamep.lcrdocamep.modmanflg== 'X'){ this.flag2 = true;
this.flag1=false; } else if (
this.flag2=true; this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.usrblk=''; this.model.litamep.lcrdocamep.modmanflg == ""
} ) {
} this.flag1 = true;
}, this.flag2 = false;
"model.litamep.lcrdocamep.modmanflg":{ } else if (
immediate:true, this.model.litamep.lcrdocamep.modflg == "" &&
handler(val,oldval){ this.model.litamep.lcrdocamep.modmanflg == "X"
if(this.model.litamep.lcrdocamep.modflg == 'X' && this.model.litamep.lcrdocamep.modmanflg== ''){ ) {
this.flag1=false; this.flag1 = false;
this.flag2=true; this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk=''; this.model.litamep.lcrdocamep.usrblk = "";
}else if(this.model.litamep.lcrdocamep.modflg == 'X' && this.model.litamep.lcrdocamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.lcrdocamep.modflg == '' && this.model.litamep.lcrdocamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.lcrdocamep.modflg == '' && this.model.litamep.lcrdocamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.lcrdocamep.usrblk='';
}
}
} }
},
}, },
methods:{...Event, },
open(val){ methods: {
if(val === '' && !(this.model.lidgrp.blk.lcrdoc == '')){ ...Event,
this.$confirm('Do you really want to reset your manual modifications?','提示',{ open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrdoc == "")) {
cancelButtonText: 'Cannel', this.$confirm(
confirmButtonText: 'Ok', "Do you really want to reset your manual modifications?",
type: 'warning', "提示",
showClose:false {
}).then(() => { cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.lidgrp.blk.lcrdoc=''; this.model.lidgrp.blk.lcrdoc = "";
this.$message({ this.$message({
type: 'success', type: "success",
message: '删除成功!' message: "删除成功!",
}); });
})
}).catch(() => { .catch(() => {
//No的功能在这里写 //No的功能在这里写
this.model.litamep.lcrdocamep.modflg='X' this.model.litamep.lcrdocamep.modflg = "X";
this.$message({ this.$message({
type: 'info', type: "info",
message: '已取消' message: "已取消",
}); });
}); });
}else if(val == 'X' && this.model.litamep.lcrdocamep.modmanflg =='X'){ } else if (val == "X" && this.model.litamep.lcrdocamep.modmanflg == "X") {
this.$confirm('Please reset internal modification first','提示',{ this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: 'Ok', confirmButtonText: "Ok",
showCancelButton:false, showCancelButton: false,
type: 'warning', type: "warning",
showClose:false showClose: false,
}).then(() => { }).then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.litamep.lcrdocamep.modflg=''; this.model.litamep.lcrdocamep.modflg = "";
this.flag1=true; this.flag1 = true;
this.flag2=false; this.flag2 = false;
}) });
} }
}, },
open1(val){ open1(val) {
if(val === '' && !(this.model.lidgrp.blk.lcrdoc == '')){ if (val === "" && !(this.model.lidgrp.blk.lcrdoc == "")) {
this.$confirm('Do you really want to reset your manual modifications?','提示',{ this.$confirm(
"Do you really want to reset your manual modifications?",
cancelButtonText: 'Cannel', "提示",
confirmButtonText: 'Ok', {
type: 'warning', cancelButtonText: "Cannel",
showClose:false confirmButtonText: "Ok",
}).then(() => { type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.lidgrp.blk.lcrdoc=''; this.model.lidgrp.blk.lcrdoc = "";
this.$message({ this.$message({
type: 'success', type: "success",
message: '删除成功!' message: "删除成功!",
}); });
}).catch(() => {
//No的功能在这里写
this.model.litamep.lcrdocamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.lcrdocamep.modflg == 'X' && this.model.litamep.lcrdocamep.modmanflg =='X'){
this.$confirm('Please reset modification to replace first','提示',{
confirmButtonText: 'Ok',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modmanflg='';
this.flag1=true;
this.flag2=false;
}) })
} .catch(() => {
} //No的功能在这里写
this.model.litamep.lcrdocamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.$confirm("Please reset modification to replace first", "提示", {
confirmButtonText: "Ok",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
}, },
created:function(){ },
created: function () {},
} };
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs"> <div class="eibs">
<c-col :span="20"> <c-col :span="24">
<el-form-item label="指示信息" prop="lidgrp.blk.insbnk"> <el-form-item label="指示信息" prop="lidgrp.blk.insbnk">
<c-input <c-input
type="textarea" type="textarea"
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox disabled v-model="model.lidgrp.rec.dkflg" style="margin-left:20px;padding: 0 10px;">是否代开信用证</c-checkbox> <c-checkbox disabled v-model="model.lidgrp.rec.dkflg">是否代开信用证</c-checkbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -322,7 +322,9 @@ ...@@ -322,7 +322,9 @@
<c-col :span="12"> <c-col :span="12">
<c-checkbox disabled v-model="model.lidgrp.rec.rmbflg">偿付行信息</c-checkbox> <el-form-item label=" " prop="lidgrp.rec.rmbflg">
<c-checkbox disabled v-model="model.lidgrp.rec.rmbflg" class="checkbox-left">偿付行信息</c-checkbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox disabled v-model="model.lidgrp.rec.revflg">循环信用证</c-checkbox> <c-checkbox disabled v-model="model.lidgrp.rec.revflg">循环信用证</c-checkbox>
......
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
sortable sortable
width="300"> width="300">
</c-table-column> </c-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right"> <el-table-column label="" prop="det" width="100px" fixed="right">
<template slot-scope="scope" slot="header"> <template slot-scope="scope" slot="header">
<el-button <el-button
circle circle
......
<template> <template>
<div class="eibs"> <div class="eibs">
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Special Payment Conditions for Beneficiary" prop="lidgrp.blk.spcben"> <el-form-item
<c-input label="Special Payment Conditions for Beneficiary"
prop="lidgrp.blk.spcben"
>
<c-input
:rows="12" :rows="12"
:disabled="this.flag1" :disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.spcben" maxlength="65" show-word-limit placeholder="请输入单据要求" ></c-input> type="textarea"
v-model="model.lidgrp.blk.spcben"
maxlength="65"
show-word-limit
placeholder="请输入单据要求"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="22"> <el-form-item
<el-form-item label="添加/删除当前修订中的文本" prop="litamep.spcbenamep.usrblk"> label="添加/删除当前修订中的文本"
<c-input type="textarea" prop="litamep.spcbenamep.usrblk"
>
<c-fullbox>
<c-input
type="textarea"
:disabled="this.flag2"
v-model="model.litamep.spcbenamep.usrblk"
maxlength="1650"
show-word-limit
placeholder="请输入添加/删除补充信息"
:rows="22"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.spcbenamep.buttxmsel',
null,
null,
{ TXT: 'litamep.spcbenamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="22">
<el-form-item
label="添加/删除当前修订中的文本"
prop="litamep.spcbenamep.usrblk"
>
<c-input
type="textarea"
:disabled="this.flag2" :disabled="this.flag2"
v-model="model.litamep.spcbenamep.usrblk" v-model="model.litamep.spcbenamep.usrblk"
maxlength="1650" maxlength="1650"
show-word-limit placeholder="请输入添加/删除补充信息" show-word-limit
placeholder="请输入添加/删除补充信息"
:rows="22" :rows="22"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2"
@click="showGridPromptDialog('litamep.spcbenamep.buttxmsel',null,null,{TXT: 'litamep.spcbenamep.usrblk'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</c-col> </c-col>
<c-col :span="2">
<c-col :span="12" style="padding-left: 20px;"> <c-button
<c-col :span="24"> size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.spcbenamep.buttxmsel',
null,
null,
{ TXT: 'litamep.spcbenamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</c-col> -->
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.spcbename"> <el-form-item label="历史概述" prop="lidgrp.blk.spcbename">
<c-input <c-input
:rows="12" :rows="12"
disabled disabled
type="textarea" v-model="model.lidgrp.blk.spcbename" maxlength="50" show-word-limit placeholder="请输入单据要求 Amendment History" ></c-input> type="textarea"
v-model="model.lidgrp.blk.spcbename"
maxlength="50"
show-word-limit
placeholder="请输入单据要求 Amendment History"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.spcbenamep.modflg">
<c-col :span="12"> <c-checkbox
class="checkbox-left"
@change="open"
<c-checkbox v-model="model.litamep.spcbenamep.modflg"
style=" margin: 0px 0 10px 150px;" >修改要替换的文本</c-checkbox
@change="open" >
v-model="model.litamep.spcbenamep.modflg">修改要替换的文本</c-checkbox> </el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="12"> <c-checkbox
<c-checkbox @change="open1"
@change="open1" style="margin: 0px 0 10px 125px"
style=" margin: 0px 0 10px 125px;" v-model="model.litamep.spcbenamep.modmanflg"
v-model="model.litamep.spcbenamep.modmanflg">内部修改文本</c-checkbox> >内部修改文本</c-checkbox
</c-col> >
</c-col>
<c-col :span="12">
<c-button <c-col :span="24">
style=" margin: 0px 0 10px 150px;" <c-button
size="small" type="primary" @click="onLcrdocamepButdif"> style="margin: 0px 0 10px 120px"
显示差异 size="small"
type="primary"
@click="onLcrdocamepButdif"
>
显示差异
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 120px"
disabled disabled
size="small" type="primary" @click="onLcrdocamepButadd"> size="small"
添加文本 type="primary"
@click="onLcrdocamepButadd"
>
添加文本
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 120px"
disabled disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel"> size="small"
删除文本 type="primary"
icon="el-icon-delete"
@click="onLcrdocamepButdel"
>
删除文本
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<!-- !!!!!!!!!!!!!!!!!!!!!!!! --> <!-- !!!!!!!!!!!!!!!!!!!!!!!! -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<c-form-item label="Special payment Conditions for beneficiary History" prop="lidgrp.blk.spcbename"> <c-form-item label="Special payment Conditions for beneficiary History" prop="lidgrp.blk.spcbename">
<c-input type="textarea" v-model="model.lidgrp.blk.spcbename" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'Special payment Conditions for beneficiary History'" ></c-input> <c-input type="textarea" v-model="model.lidgrp.blk.spcbename" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'Special payment Conditions for beneficiary History'" ></c-input>
</c-form-item> </c-form-item>
...@@ -133,151 +210,180 @@ ...@@ -133,151 +210,180 @@
</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/Litame/Event" import Event from "~/model/Litame/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
flag1:true, flag1: true,
flag2:false, flag2: false,
};
},
watch: {
"model.litamep.spcbenamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcbenamep.usrblk = "";
} else if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.spcbenamep.modflg == "" &&
this.model.litamep.spcbenamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.spcbenamep.modflg == "" &&
this.model.litamep.spcbenamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcbenamep.usrblk = "";
} }
},
}, },
watch:{ "model.litamep.spcbenamep.modmanflg": {
"model.litamep.spcbenamep.modflg":{ immediate: true,
immediate:true, handler(val, oldval) {
handler(val,oldval){ if (
if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== ''){ this.model.litamep.spcbenamep.modflg == "X" &&
this.flag1=false; this.model.litamep.spcbenamep.modmanflg == ""
this.flag2=true; ) {
this.model.litamep.spcbenamep.usrblk=''; this.flag1 = false;
}else if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== 'X'){ this.flag2 = true;
this.flag1=false; this.model.litamep.spcbenamep.usrblk = "";
this.flag2=true; } else if (
this.model.litamep.spcbenamep.modflg == "X" &&
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== ''){ this.model.litamep.spcbenamep.modmanflg == "X"
this.flag1=true; ) {
this.flag2=false; this.flag1 = false;
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== 'X'){ this.flag2 = true;
this.flag1=false; } else if (
this.flag2=true; this.model.litamep.spcbenamep.modflg == "" &&
this.model.litamep.spcbenamep.usrblk=''; this.model.litamep.spcbenamep.modmanflg == ""
} ) {
} this.flag1 = true;
}, this.flag2 = false;
"model.litamep.spcbenamep.modmanflg":{ } else if (
immediate:true, this.model.litamep.spcbenamep.modflg == "" &&
handler(val,oldval){ this.model.litamep.spcbenamep.modmanflg == "X"
if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== ''){ ) {
this.flag1=false; this.flag1 = false;
this.flag2=true; this.flag2 = true;
this.model.litamep.spcbenamep.usrblk=''; this.model.litamep.spcbenamep.usrblk = "";
}else if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcbenamep.usrblk='';
}
}
} }
},
}, },
methods:{...Event, },
open(val){ methods: {
if(val === '' && !(this.model.lidgrp.blk.spcben == '')){ ...Event,
this.$confirm('Do you really want to reset your manual modifications?','提示',{ open(val) {
if (val === "" && !(this.model.lidgrp.blk.spcben == "")) {
cancelButtonText: 'Cannel', this.$confirm(
confirmButtonText: 'Ok', "Do you really want to reset your manual modifications?",
type: 'warning', "提示",
showClose:false {
}).then(() => { cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.lidgrp.blk.spcben=''; this.model.lidgrp.blk.spcben = "";
this.$message({ this.$message({
type: 'success', type: "success",
message: '删除成功!' message: "删除成功!",
}); });
})
}).catch(() => { .catch(() => {
//No的功能在这里写 //No的功能在这里写
this.model.litamep.spcbenamep.modflg='X' this.model.litamep.spcbenamep.modflg = "X";
this.$message({ this.$message({
type: 'info', type: "info",
message: '已取消' message: "已取消",
}); });
}); });
}else if(val == 'X' && this.model.litamep.spcbenamep.modmanflg =='X'){ } else if (val == "X" && this.model.litamep.spcbenamep.modmanflg == "X") {
this.$confirm('Please reset internal modification first','提示',{ this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: 'Ok', confirmButtonText: "Ok",
showCancelButton:false, showCancelButton: false,
type: 'warning', type: "warning",
showClose:false showClose: false,
}).then(() => { }).then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.litamep.spcbenamep.modflg=''; this.model.litamep.spcbenamep.modflg = "";
this.flag1=true; this.flag1 = true;
this.flag2=false; this.flag2 = false;
}) });
} }
}, },
open1(val){ open1(val) {
if(val === '' && !(this.model.lidgrp.blk.spcben == '')){ if (val === "" && !(this.model.lidgrp.blk.spcben == "")) {
this.$confirm('Do you really want to reset your manual modifications?','提示',{ this.$confirm(
"Do you really want to reset your manual modifications?",
cancelButtonText: 'Cannel', "提示",
confirmButtonText: 'Ok', {
type: 'warning', cancelButtonText: "Cannel",
showClose:false confirmButtonText: "Ok",
}).then(() => { type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.lidgrp.blk.spcben=''; this.model.lidgrp.blk.spcben = "";
this.$message({ this.$message({
type: 'success', type: "success",
message: '删除成功!' message: "删除成功!",
}); });
}).catch(() => {
//No的功能在这里写
this.model.litamep.spcbenamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg =='X'){
this.$confirm('Please reset modification to replace first','提示',{
confirmButtonText: 'Ok',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modmanflg='';
this.flag1=true;
this.flag2=false;
}) })
} .catch(() => {
} //No的功能在这里写
this.model.litamep.spcbenamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == "X"
) {
this.$confirm("Please reset modification to replace first", "提示", {
confirmButtonText: "Ok",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
}, },
created:function(){ },
created: function () {},
} };
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs"> <div class="eibs">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="24">
<c-col :span="24"> <el-form-item
<el-form-item label="仅适用于银行的特殊付款条款" prop="lidgrp.blk.spcrcb"> label="仅适用于银行的特殊付款条款"
<c-input prop="lidgrp.blk.spcrcb"
>
<c-input
:rows="12" :rows="12"
:disabled="this.flag1" :disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.spcrcb" maxlength="65" show-word-limit placeholder="请输入单据要求" ></c-input> type="textarea"
v-model="model.lidgrp.blk.spcrcb"
maxlength="65"
show-word-limit
placeholder="请输入单据要求"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="22"> <el-form-item
label="添加/删除当前修订中的文本"
prop="litamep.spcrcbamep.usrblk"
>
<c-fullbox>
<c-input
type="textarea"
:disabled="this.flag2"
v-model="model.litamep.spcrcbamep.usrblk"
maxlength="1650"
show-word-limit
placeholder="请输入添加/删除补充信息"
:rows="22"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.spcrcbamep.buttxmsel',
null,
null,
{ TXT: 'litamep.spcrcbamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="22">
<el-form-item label="添加/删除当前修订中的文本" prop="litamep.spcrcbamep.usrblk"> <el-form-item label="添加/删除当前修订中的文本" prop="litamep.spcrcbamep.usrblk">
<c-input type="textarea" <c-input type="textarea"
:disabled="this.flag2" :disabled="this.flag2"
...@@ -28,66 +71,82 @@ ...@@ -28,66 +71,82 @@
@click="showGridPromptDialog('litamep.spcrcbamep.buttxmsel',null,null,{TXT: 'litamep.spcrcbamep.usrblk'}, {TXT: false},'doxpDialog')" @click="showGridPromptDialog('litamep.spcrcbamep.buttxmsel',null,null,{TXT: 'litamep.spcrcbamep.usrblk'}, {TXT: false},'doxpDialog')"
> >
</c-button> </c-button>
</c-col> </c-col> -->
</c-col> </c-col>
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.spcrcbame"> <el-form-item label="历史概述" prop="lidgrp.blk.spcrcbame">
<c-input <c-input
:rows="12" :rows="12"
disabled disabled
type="textarea" v-model="model.lidgrp.blk.spcrcbame" maxlength="50" show-word-limit placeholder="请输入单据要求 Amendment History" ></c-input> type="textarea"
v-model="model.lidgrp.blk.spcrcbame"
maxlength="50"
show-word-limit
placeholder="请输入单据要求 Amendment History"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.spcrcbamep.modflg">
<c-col :span="12"> <c-checkbox
class="checkbox-left"
@change="open"
<c-checkbox v-model="model.litamep.spcrcbamep.modflg"
style=" margin: 0px 0 10px 150px;" >修改要替换的文本</c-checkbox
@change="open" >
v-model="model.litamep.spcrcbamep.modflg">修改要替换的文本</c-checkbox> </el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="12"> <c-checkbox
<c-checkbox @change="open1"
@change="open1" style="margin: 0px 0 10px 125px"
style=" margin: 0px 0 10px 125px;" v-model="model.litamep.spcrcbamep.modmanflg"
v-model="model.litamep.spcrcbamep.modmanflg">内部修改文本</c-checkbox> >内部修改文本</c-checkbox
</c-col> >
</c-col>
<c-col :span="12">
<c-button <c-col :span="24">
style=" margin: 0px 0 10px 150px;" <c-button
size="small" type="primary" @click="onLcrdocamepButdif"> style="margin: 0px 0 10px 120px"
显示差异 size="small"
type="primary"
@click="onLcrdocamepButdif"
>
显示差异
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 120px"
disabled disabled
size="small" type="primary" @click="onLcrdocamepButadd"> size="small"
添加文本 type="primary"
@click="onLcrdocamepButadd"
>
添加文本
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style="margin: 0px 0 10px 120px"
disabled disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel"> size="small"
删除文本 type="primary"
icon="el-icon-delete"
@click="onLcrdocamepButdel"
>
删除文本
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<c-form-item label="仅适用于银行的特殊付款条款 History" prop="lidgrp.blk.spcrcbame"> <c-form-item label="仅适用于银行的特殊付款条款 History" prop="lidgrp.blk.spcrcbame">
<c-input type="textarea" v-model="model.lidgrp.blk.spcrcbame" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'仅适用于银行的特殊付款条款 History'" ></c-input> <c-input type="textarea" v-model="model.lidgrp.blk.spcrcbame" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'仅适用于银行的特殊付款条款 History'" ></c-input>
</c-form-item> </c-form-item>
...@@ -133,151 +192,180 @@ ...@@ -133,151 +192,180 @@
</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/Litame/Event" import Event from "~/model/Litame/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
flag1:true, flag1: true,
flag2:false, flag2: false,
};
},
watch: {
"model.litamep.spcrcbamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcrcbamep.usrblk = "";
} else if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.spcrcbamep.modflg == "" &&
this.model.litamep.spcrcbamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.spcrcbamep.modflg == "" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcrcbamep.usrblk = "";
} }
},
}, },
watch:{ "model.litamep.spcrcbamep.modmanflg": {
"model.litamep.spcrcbamep.modflg":{ immediate: true,
immediate:true, handler(val, oldval) {
handler(val,oldval){ if (
if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== ''){ this.model.litamep.spcrcbamep.modflg == "X" &&
this.flag1=false; this.model.litamep.spcrcbamep.modmanflg == ""
this.flag2=true; ) {
this.model.litamep.spcrcbamep.usrblk=''; this.flag1 = false;
}else if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== 'X'){ this.flag2 = true;
this.flag1=false; this.model.litamep.spcrcbamep.usrblk = "";
this.flag2=true; } else if (
this.model.litamep.spcrcbamep.modflg == "X" &&
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== ''){ this.model.litamep.spcrcbamep.modmanflg == "X"
this.flag1=true; ) {
this.flag2=false; this.flag1 = false;
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== 'X'){ this.flag2 = true;
this.flag1=false; } else if (
this.flag2=true; this.model.litamep.spcrcbamep.modflg == "" &&
this.model.litamep.spcrcbamep.usrblk=''; this.model.litamep.spcrcbamep.modmanflg == ""
} ) {
} this.flag1 = true;
}, this.flag2 = false;
"model.litamep.spcrcbamep.modmanflg":{ } else if (
immediate:true, this.model.litamep.spcrcbamep.modflg == "" &&
handler(val,oldval){ this.model.litamep.spcrcbamep.modmanflg == "X"
if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== ''){ ) {
this.flag1=false; this.flag1 = false;
this.flag2=true; this.flag2 = true;
this.model.litamep.spcrcbamep.usrblk=''; this.model.litamep.spcrcbamep.usrblk = "";
}else if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcrcbamep.usrblk='';
}
}
} }
},
}, },
methods:{...Event, },
open(val){ methods: {
if(val === '' && !(this.model.lidgrp.blk.spcrcb == '')){ ...Event,
this.$confirm('Do you really want to reset your manual modifications?','提示',{ open(val) {
if (val === "" && !(this.model.lidgrp.blk.spcrcb == "")) {
cancelButtonText: 'Cannel', this.$confirm(
confirmButtonText: 'Ok', "Do you really want to reset your manual modifications?",
type: 'warning', "提示",
showClose:false {
}).then(() => { cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.lidgrp.blk.spcrcb=''; this.model.lidgrp.blk.spcrcb = "";
this.$message({ this.$message({
type: 'success', type: "success",
message: '删除成功!' message: "删除成功!",
}); });
})
}).catch(() => { .catch(() => {
//No的功能在这里写 //No的功能在这里写
this.model.litamep.spcrcbamep.modflg='X' this.model.litamep.spcrcbamep.modflg = "X";
this.$message({ this.$message({
type: 'info', type: "info",
message: '已取消' message: "已取消",
}); });
}); });
}else if(val == 'X' && this.model.litamep.spcrcbamep.modmanflg =='X'){ } else if (val == "X" && this.model.litamep.spcrcbamep.modmanflg == "X") {
this.$confirm('Please reset internal modification first','提示',{ this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: 'Ok', confirmButtonText: "Ok",
showCancelButton:false, showCancelButton: false,
type: 'warning', type: "warning",
showClose:false showClose: false,
}).then(() => { }).then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.litamep.spcrcbamep.modflg=''; this.model.litamep.spcrcbamep.modflg = "";
this.flag1=true; this.flag1 = true;
this.flag2=false; this.flag2 = false;
}) });
} }
}, },
open1(val){ open1(val) {
if(val === '' && !(this.model.lidgrp.blk.spcrcb == '')){ if (val === "" && !(this.model.lidgrp.blk.spcrcb == "")) {
this.$confirm('Do you really want to reset your manual modifications?','提示',{ this.$confirm(
"Do you really want to reset your manual modifications?",
cancelButtonText: 'Cannel', "提示",
confirmButtonText: 'Ok', {
type: 'warning', cancelButtonText: "Cannel",
showClose:false confirmButtonText: "Ok",
}).then(() => { type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写 //yes的执行在这里写
this.model.lidgrp.blk.spcrcb=''; this.model.lidgrp.blk.spcrcb = "";
this.$message({ this.$message({
type: 'success', type: "success",
message: '删除成功!' message: "删除成功!",
}); });
}).catch(() => {
//No的功能在这里写
this.model.litamep.spcrcbamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg =='X'){
this.$confirm('Please reset modification to replace first','提示',{
confirmButtonText: 'Ok',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modmanflg='';
this.flag1=true;
this.flag2=false;
}) })
} .catch(() => {
} //No的功能在这里写
this.model.litamep.spcrcbamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
) {
this.$confirm("Please reset modification to replace first", "提示", {
confirmButtonText: "Ok",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
}, },
created:function(){ },
created: function () {},
} };
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="进口信用证修改"> <c-page title="进口信用证修改">
<div class="fast-button">
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')"
>影像信息</el-button
>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</div>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
......
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
prop="liaall.liaccv.gleflg" prop="liaall.liaccv.gleflg"
> >
<c-col :span="7" class=""> <c-col :span="7" class="">
<el-form-item label=" " prop="liaall.liaccv.gleflg" label-width="120px" style=" float:left;"> <el-form-item label="" prop="liaall.liaccv.gleflg" class="checkbox-left" label-width="0px">
<c-checkbox v-model="model.liaall.liaccv.gleflg">过账</c-checkbox> <c-checkbox v-model="model.liaall.liaccv.gleflg">过账</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
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