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 @@
}
}
/* checkbox右对齐 */
.el-checkbox{
float: right;
text-align: center;
}
/* checkbox左对齐 */
.checkbox-left{
float: left;
text-align: center;
}
/* .el-checkbox:last-of-type{
margin-right:30px;
} */
......
......@@ -19,7 +19,7 @@ export default {
"cpdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -151,7 +151,7 @@ export default {
],
"cpdgrp.orc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 235,message:"长度不能超过235"}
],
"cpdgrp.orc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<el-form-item
label="信用证编号"
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<el-form-item
label="信用证编号"
prop="lidgrp.rec.ownref"
style="width : 100%">
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder="请输入信用证编号"
disabled
v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder="请输入信用证编号"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin:0 0 0 10px;padding: 0 12px;"
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-info"
>
<span style="font-family:'宋体';font-weight:bold"></span>
<span style="font-family: '宋体'; font-weight: bold"></span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<el-form-item label="有效期限" prop="lidgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width:100%"
placeholder="请选择日期"
disabled
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<el-form-item label="有效期限" prop="lidgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择日期"
disabled
>
</c-date-picker>
</el-form-item>
</c-col>
</c-col>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<!-- ====================左边======================= -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item
label="单据编号"
prop="brdgrp.rec.ownref"
style="width: 100%"
>
<el-form-item
label="单据编号"
prop="brdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
<c-input
v-model="model.brdgrp.rec.ownref"
maxlength="8"
placeholder="请输入单据编号"
disabled
></c-input>
<template slot="footer">
></c-input>
<template slot="footer">
<c-button
style="margin:0 0 0 10px;padding: 0 12px;"
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-info"
>
<span style="font-family:'宋体';font-weight:bold"></span>
>
<span style="font-family: '宋体'; font-weight: bold"></span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<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>
</el-form-item>
</c-col>
<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>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<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>
</el-form-item>
</c-col>
<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>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur" >
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<c-col :span="13">
<el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur">
<c-input
v-model="model.brdgrp.cbs.opn1.cur"
maxlength="3"
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">
<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>
</c-col>
</c-col>
<c-col :span="12">
<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>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="付款通知日期" prop="brdgrp.rec.advdat" label-width="120px">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%" placeholder="请选择Date of Advice of Payment" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期单据到期日" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择到单日期" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<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>
</el-form-item>
</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">
<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>
</c-col>
<c-col :span="12">
<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>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="付款通知日期"
prop="brdgrp.rec.advdat"
label-width="120px"
>
<c-date-picker
type="date"
v-model="model.brdgrp.rec.advdat"
style="width: 100%"
placeholder="请选择Date of Advice of Payment"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期单据到期日" prop="brdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.brdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择到单日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<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>
</el-form-item>
</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">
<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
ref="table"
:list="model.liaall.tenstm.rows || []"
......@@ -166,391 +231,562 @@
prop="liaall.tenstm"
>
</c-istream-table>-->
</el-form-item>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<c-col :span="24">
<c-col :span="13">
<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>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入金额"
@keyup.enter.native="$event.target.blur()" @blur="eventFunction('setmod.docamt')"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="setmod.docamt">
<c-input
v-model="model.setmod.docamt"
placeholder="请输入金额"
@keyup.enter.native="$event.target.blur()"
@blur="eventFunction('setmod.docamt')"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<c-col :span="13">
<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>
</c-col>
<c-col :span="11">
</c-col>
<c-col :span="11">
<c-fullbox>
<el-form-item label="" label-width="5px" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" placeholder="请输入金额" disabled></c-input>
</el-form-item>
<el-form-item label="" label-width="5px" prop="setmod.setamt">
<c-input
v-model="model.setmod.setamt"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-fullbox>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<c-col :span="24">
<c-col :span="13">
<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>
</c-col>
<c-col :span="11">
</c-col>
<c-col :span="11">
<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"
@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>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<c-col :span="24">
<c-col :span="13">
<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>
</c-col>
<c-col :span="11">
</c-col>
<c-col :span="11">
<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"
@change="eventFunction('aamset.utlamt2')"></c-input>
@change="eventFunction('aamset.utlamt2')"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" >
<c-col :span="12">
<el-form-item label="跨境人民币清算模式" prop="trnmod.cmtflg" v-show="model.setmod.doccur == 'CNY'">
<c-select
v-model="model.trnmod.cmtflg"
style="width:100%"
placeholder="请选择跨境人民币清算模式"
:code="this.cmtflg"
:disabled="model.brdgrp.rec.frepayflg == ''?false:true"
>
</c-select>
</el-form-item>
</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-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="跨境人民币清算模式"
prop="trnmod.cmtflg"
v-show="model.setmod.doccur == 'CNY'"
>
<c-select
v-model="model.trnmod.cmtflg"
style="width: 100%"
placeholder="请选择跨境人民币清算模式"
:code="this.cmtflg"
:disabled="model.brdgrp.rec.frepayflg == '' ? false : true"
>
</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>
</el-form-item>
</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>
</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">
<el-form-item label="待偿还账单" >
<c-col :span="24">
<el-form-item label="待偿还账单">
<div class="e-table-wrapper">
<c-table
style="text-align: center"
:list="table1"
:paginationShow="false"
:border="true"
>
<el-table-column label="编号" prop="ownref" width="auto"></el-table-column>
<el-table-column label="币种" prop="opncur" width="auto"></el-table-column>
<el-table-column label="余额" prop="opnamt" width="auto"></el-table-column>
<el-table-column label="付款" prop="bckamt" width="auto"></el-table-column>
<el-table-column label="计算" prop="butcal" width="auto"></el-table-column>
</c-table>
</div>
</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 :span="12">
<el-form-item label="预计核验日期" prop="brtp.prechkdat">
<c-date-picker type="date" v-model="model.brtp.prechkdat" style="width:100%" placeholder="请选择预计核验日期" :disabled="model.brtp.ischktyp!='Y'"></c-date-picker>
</el-form-item>
</c-col>
<c-table
style="text-align: center"
:list="table1"
:paginationShow="false"
:border="true"
>
<el-table-column
label="编号"
prop="ownref"
width="auto"
></el-table-column>
<el-table-column
label="币种"
prop="opncur"
width="auto"
></el-table-column>
<el-table-column
label="余额"
prop="opnamt"
width="auto"
></el-table-column>
<el-table-column
label="付款"
prop="bckamt"
width="auto"
></el-table-column>
<el-table-column
label="计算"
prop="butcal"
width="auto"
></el-table-column>
</c-table>
</div>
</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" 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 :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 :span="12">
<el-form-item label="预计核验日期" prop="brtp.prechkdat">
<c-date-picker
type="date"
v-model="model.brtp.prechkdat"
style="width: 100%"
placeholder="请选择预计核验日期"
:disabled="model.brtp.ischktyp != 'Y'"
></c-date-picker>
</el-form-item>
</c-col>
</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 :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">
<el-form-item label="单据简略信息" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入简略信息" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人参考号" disabled></c-input>
</el-form-item>
</c-col>
<el-form-item label="单据简略信息" prop="brdgrp.rec.nam">
<c-input
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人名称" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入名称" disabled></c-input>
</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>
<el-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref">
<c-input
v-model="model.brdgrp.apl.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.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="">
<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>
<el-form-item label="申请人名称" prop="brdgrp.apl.pts.nam">
<c-input
v-model="model.brdgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入名称"
disabled
></c-input>
</el-form-item>
</c-col>
</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="">
<el-form-item label=" " prop="paypsb" label-width="120px" style=" float:left;">
<c-checkbox v-model="model.paypsb"
:disabled="model.brdgrp.rec.frepayflg == ''?false:true"
>垫款</c-checkbox>
<c-col :span="24" class="">
<c-col :span="12">
<el-form-item label=" " prop="paypsb" class="checkbox-left">
<c-checkbox
v-model="model.paypsb"
:disabled="model.brdgrp.rec.frepayflg == '' ? false : true"
>垫款</c-checkbox
>
</el-form-item>
</c-col>
<el-form-item label=" " prop="brdgrp.rec.frepayflg" label-width="120px" style=" float:left;">
<c-checkbox v-model="model.brdgrp.rec.frepayflg">自由付款标志</c-checkbox>
<c-col :span="12">
<el-form-item
label=" "
prop="brdgrp.rec.frepayflg"
class="checkbox-left"
>
<c-checkbox v-model="model.brdgrp.rec.frepayflg"
>自由付款标志</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="减少付汇金额" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" maxlength="3" placeholder="请输入币种" disabled></c-input>
</el-form-item>
</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="13">
<el-form-item label="减少付汇金额" prop="setmod.doccur">
<c-input
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请输入币种"
disabled
></c-input>
</el-form-item>
</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">
<el-form-item label="合同号" prop="brdgrp.rec.rptref">
<c-input v-model="model.brdgrp.rec.rptref" maxlength="25" placeholder="请输入合同号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="合同号" prop="brdgrp.rec.rptref">
<c-input
v-model="model.brdgrp.rec.rptref"
maxlength="25"
placeholder="请输入合同号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="77A字段" prop="nar754">
<c-input type="textarea" v-model="model.nar754" maxlength="700" show-word-limit placeholder="请输入77A字段内容" ></c-input>
</el-form-item>
<c-col :span="24">
<el-form-item label="77A字段" prop="nar754">
<c-input
type="textarea"
v-model="model.nar754"
maxlength="700"
show-word-limit
placeholder="请输入77A字段内容"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<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>
</el-form-item>
</c-col>
<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>
</el-form-item>
</c-col>
<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-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="showGridPromptDialog('brdgrp.prb.pts.extkey')"
></c-input>
<template slot="footer">
<c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="
showGridPromptDialog('brdgrp.prb.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-info">
<span style="font-family:'宋体';font-weight:bold"></span>
icon="el-icon-info"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
</c-button>
<c-button
style="margin:0 0 0 10px;padding: 0 12px;"
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-info"
>
<span style="font-family:'宋体';font-weight:bold"></span>
>
<span style="font-family: '宋体'; font-weight: bold"></span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<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>
</el-form-item>
<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>
</el-form-item>
</c-col>
</c-col>
</c-row>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtset/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
flag3:true,
cmtflg:[
{ label: "代理行模式", value: "C" },
{ label: "其他", value: "O" },
{ label: "CIPS系统", value: "P" },
],
table1:[],
columns:[
"1 1 \"类型\" 80",
"2 2 \"债务方\" 100",
"3 3 \"债券方\" 100",
"4 4 \"币种\" 80",
"5 5 \"金额\" 85 2 8 1 4",
"6 6 \"到期日\" 105 4 7 1"
]
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
flag3: true,
cmtflg: [
{ label: "代理行模式", value: "C" },
{ label: "其他", value: "O" },
{ label: "CIPS系统", value: "P" },
],
table1: [],
columns: [
'1 1 "类型" 80',
'2 2 "债务方" 100',
'3 3 "债券方" 100',
'4 4 "币种" 80',
'5 5 "金额" 85 2 8 1 4',
'6 6 "到期日" 105 4 7 1',
],
};
},
methods: {
...Event,
commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => {
if (res.respCode == SUCCESS) {
}
});
},
methods:{...Event,
commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
}
});
},
async multipleSelect(selection) {
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();
},
async multipleSelect(selection) {
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.0;
}
this.onChangeDocamt();
},
created:function(){
},
watch: {
declareParams() {},
"model.trnmod.cmtflg":{
immediate:true,
handler(val ,oldVal){
if(this.model.trnmod.cmtflg=='P'){
this.model.trnmod.swftyp='CIV';
}else{
this.model.trnmod.swftyp='';
}
}
},
},
created: function () {},
watch: {
declareParams() {},
"model.trnmod.cmtflg": {
immediate: true,
handler(val, oldVal) {
if (this.model.trnmod.cmtflg == "P") {
this.model.trnmod.swftyp = "CIV";
} else {
this.model.trnmod.swftyp = "";
}
},
},
}
},
};
</script>
<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>
<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
:model="model"
:rules="rules"
......@@ -16,12 +27,17 @@
type="card"
@tab-click="myTabClick"
>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000032 -->
<el-tab-pane label="承兑信息" name="payp">
<!-- <el-tab-pane label="承兑信息" name="payp">
<c-content>
<m-payp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000062 -->
<el-tab-pane
......@@ -172,21 +188,11 @@
</c-tabs>
</el-form>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> 按钮 -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
: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-grid-ety-prompt-dialog
......@@ -201,8 +207,8 @@
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
......
......@@ -20,6 +20,7 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
......@@ -28,6 +29,7 @@
size="small"
type="primary"
:disabled="this.flag"
@click="onAttpGetref"
>
获取
</c-button>
......
<template>
<div class="eibs">
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="附加条款" prop="lidgrp.blk.adlcnd">
<c-input
:autosize="{ minRows: 12, maxRows: 800}"
<c-input
:autosize="{ minRows: 12, maxRows: 800 }"
: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>
</c-col>
<c-col :span="22">
<el-form-item label="添加/删除当前修订中的文本" prop="litamep.adlcndamep.usrblk">
<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>
</c-col>
<c-col :span="24">
<el-form-item
label="添加/删除当前修订中的文本"
prop="litamep.adlcndamep.usrblk"
>
<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>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
</c-col>
<!-- <c-col :span="22">
<el-form-item
label="添加/删除当前修订中的文本"
prop="litamep.adlcndamep.usrblk"
>
<c-input
: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-col>
</c-col> -->
</el-col>
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.adlcndame">
<c-input
:autosize="{ minRows: 12, maxRows: 999}"
<c-input
:autosize="{ minRows: 12, maxRows: 999 }"
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>
</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-checkbox
style=" margin: 0px 0 10px 150px;"
v-model="model.lidgrp.rec.redclsflg">红/绿条款</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin: 0px 0 10px 100px"
v-model="model.lidgrp.rec.spcbenflg"
>适用于受益人的特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox
style=" margin: 0px 0 10px 100px;"
v-model="model.lidgrp.rec.spcbenflg">适用于受益人的特殊付款条款</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open"
class="checkbox-left"
style="margin: 0px 0 10px 120px"
v-model="model.litamep.adlcndamep.modflg"
>修改要替换的文本</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open"
style=" margin: 0px 0 10px 150px;"
v-model="model.litamep.adlcndamep.modflg">修改要替换的文本</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin: 0px 0 10px 100px"
v-model="model.lidgrp.rec.spcrcbflg"
>仅适用于银行的特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox
style=" margin: 0px 0 10px 100px;"
v-model="model.lidgrp.rec.spcrcbflg">仅适用于银行的特殊付款条款</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style=" margin: 0px 0 10px 150px;"
v-model="model.litamep.adlcndamep.modmanflg">内部修改文本</c-checkbox>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
size="small" type="primary" @click="onAdlcndamepButdif">
显示差异
<c-col :span="12">
<el-form-item label=" " prop="litamep.adlcndamep.modmanflg">
<c-checkbox
@change="open1"
class="checkbox-left"
v-model="model.litamep.adlcndamep.modmanflg"
>内部修改文本</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
@click="onAdlcndamepButdif"
>
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
size="small" type="primary" disabled @click="onAdlcndamepButadd">
添加文本
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
disabled
@click="onAdlcndamepButadd"
>
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
size="small" type="primary" disabled icon="el-icon-delete" @click="onAdlcndamepButdel">
删除文本
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
disabled
icon="el-icon-delete"
@click="onAdlcndamepButdel"
>
删除文本
</c-button>
</c-col>
</el-col>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
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.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='';
}
}
},
"model.litamep.adlcndamep.modmanflg":{
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='';
}
}
"model.litamep.adlcndamep.modmanflg": {
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 = "";
}
},
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.adlcnd == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
},
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd='';
this.model.lidgrp.blk.adlcnd = "";
this.$message({
type: 'success',
message: '删除成功!'
type: "success",
message: "删除成功!",
});
}).catch(() => {
})
.catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
this.model.litamep.adlcndamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
}else if(val == 'X' && this.model.litamep.adlcndamep.modmanflg =='X'){
this.$confirm('Please reset internal modification first','提示',{
confirmButtonText: 'Ok',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
} else if (val == "X" && this.model.litamep.adlcndamep.modmanflg == "X") {
this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: "Ok",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.adlcnd == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd='';
this.model.lidgrp.blk.adlcnd = "";
this.$message({
type: 'success',
message: '删除成功!'
type: "success",
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>
<style>
</style>
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<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.bcbtyp2">异地付汇</c-checkbox>
......@@ -13,7 +13,7 @@
<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>
<c-col :span="12" v-if="model.bcbtyp6">
......@@ -62,7 +62,9 @@
</c-col>
<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 :span="24">
......@@ -99,7 +101,9 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
activeNames: ['addbcb']
};
},
methods: { ...Event },
created: function () {},
......
<template>
<div class="eibs">
<!-- ==========左=============== -->
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder="请输入编号"
disabled
<el-col :span="12" style="padding-right: 20px">
<!-- <c-col :span="24">
<el-form-item
label="客户经理"
prop="litp.usr.extkey"
style="width: 100%"
>
<c-fullbox>
<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>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</c-button>
</template>
</c-fullbox>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<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>
</el-form-item>
</c-col>
<c-col :span="12">
<c-date-picker
type="date"
v-model="model.trnmod.swiadd.amedat"
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">
<c-input
v-model="model.lidgrp.cbs.nom1.cur"
maxlength="3"
<c-input
v-model="model.lidgrp.cbs.nom1.cur"
maxlength="3"
placeholder="请输入金额"
disabled
></c-input>
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt">
<c-input-currency
v-model="model.oldlidgrp.cbs.nom1.amt"
<c-input-currency
v-model="model.oldlidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额"
disabled
></c-input-currency>
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="溢短装上浮" prop="oldlidgrp.rec.nomtop">
<c-input
v-model.number="model.oldlidgrp.rec.nomtop"
<c-input
v-model.number="model.oldlidgrp.rec.nomtop"
placeholder="请输入上浮比例"
disabled
></c-input>
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="溢短装下浮" prop="oldlidgrp.rec.nomton">
<c-input
v-model.number="model.oldlidgrp.rec.nomton"
<c-input
v-model.number="model.oldlidgrp.rec.nomton"
placeholder="请输入下浮比例"
disabled
></c-input>
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="修改金额" prop="trnmod.swiadd.amecur">
<c-input
v-model="model.trnmod.swiadd.amecur"
style="width:100%"
<c-input
v-model="model.trnmod.swiadd.amecur"
style="width: 100%"
placeholder="请选择增减金额"
disabled
>
</c-input>
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<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>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="修改后金额" prop="trnmod.swiadd.newcur">
<c-input
v-model="model.trnmod.swiadd.newcur"
style="width:100%"
<c-input
v-model="model.trnmod.swiadd.newcur"
style="width: 100%"
placeholder="请选择修改后金额"
disabled
>
</c-input>
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<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>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<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>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<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>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<el-form-item label="限额表述" prop="trnmod.swiadd.nomspc">
<c-select
<c-select
disabled
:code="codes.nomspc"
v-model="model.trnmod.swiadd.nomspc" style="width:100%" placeholder="请选择金额说明">
</c-select>
v-model="model.trnmod.swiadd.nomspc"
style="width: 100%"
placeholder="请选择金额说明"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="生效日期" prop="oldlidgrp.rec.expdat">
<c-date-picker
<c-date-picker
disabled
type="date" v-model="model.oldlidgrp.rec.expdat" style="width:100%" placeholder="请选择到期日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
type="date"
v-model="model.oldlidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<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>
</el-form-item>
</c-col>
<c-col :span="24">
<c-date-picker
type="date"
v-model="model.trnmod.swiadd.newexpdat"
style="width: 100%"
placeholder="请选择新到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<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"
>
</c-select>
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<el-form-item label="寄单期限" prop="oldlidgrp.rec.prepers18">
<c-input
v-model.number="model.oldlidgrp.rec.prepers18"
<c-input
v-model.number="model.oldlidgrp.rec.prepers18"
placeholder="请输入寄单期限"
disabled
></c-input>
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<el-form-item label="寄单期限(原)" prop="oldlidgrp.rec.prepertxts18">
<c-input
type="textarea"
v-model="model.oldlidgrp.rec.prepertxts18"
maxlength="35"
show-word-limit
placeholder="请输入寄单期限"
<c-input
type="textarea"
v-model="model.oldlidgrp.rec.prepertxts18"
maxlength="35"
show-word-limit
placeholder="请输入寄单期限"
disabled
></c-input>
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<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"
>
</c-select>
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<el-form-item label="收费详情" prop="trnmod.swiadd.trnfeetxt">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.trnfeetxt"
maxlength="210"
show-word-limit
placeholder="请输入收费详情"
:disabled="model.trnmod.swiadd.trnchato != 'OTHR' "
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.trnfeetxt"
maxlength="210"
show-word-limit
placeholder="请输入收费详情"
:disabled="model.trnmod.swiadd.trnchato != 'OTHR'"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<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>
......@@ -196,190 +259,211 @@
</el-col>
<!-- ==========右=============== -->
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="简略信息" prop="lidgrp.rec.nam">
<c-input
v-model="model.lidgrp.rec.nam"
maxlength="40"
<c-input
v-model="model.lidgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
disabled
></c-input>
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<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>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="实际修改次数" prop="litamep.amenbr">
<c-input
v-model.number="model.litamep.amenbr"
<c-input
v-model.number="model.litamep.amenbr"
placeholder="请输入实际修改次数"
disabled
></c-input>
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="最大金额(原)" prop="oldlidgrp.cbs.max.cur">
<c-input
v-model="model.oldlidgrp.cbs.max.cur"
maxlength="3"
<c-input
v-model="model.oldlidgrp.cbs.max.cur"
maxlength="3"
placeholder="请选择币种"
disabled
></c-input>
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="" prop="oldlidgrp.cbs.max.amt">
<c-input-currency
v-model="model.oldlidgrp.cbs.max.amt"
<c-input-currency
v-model="model.oldlidgrp.cbs.max.amt"
placeholder="请输入金额"
disabled
></c-input-currency>
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="修改总金额" prop="litamep.engcur">
<c-input
v-model="model.litamep.engcur"
style="width:100%"
<c-input
v-model="model.litamep.engcur"
style="width: 100%"
placeholder="请选择修改总金额"
disabled
>
</c-input>
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.engamt">
<c-input-currency
v-model="model.litamep.engamt"
<c-input-currency
v-model="model.litamep.engamt"
placeholder="请输入修改总金额"
disabled
></c-input-currency>
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="最大金额" prop="litamep.maxcur">
<c-input
v-model="model.litamep.maxcur"
maxlength="3"
<c-input
v-model="model.litamep.maxcur"
maxlength="3"
placeholder="请选择币种 of Maximum Amount"
disabled
></c-input>
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.maxamt">
<c-input-currency
v-model="model.litamep.maxamt"
<c-input-currency
v-model="model.litamep.maxamt"
placeholder="请输入New Maximum Amount"
disabled
></c-input-currency>
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<el-form-item label="装运日期(原)" prop="oldlidgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.oldlidgrp.rec.shpdat"
style="width:100%"
<c-date-picker
type="date"
v-model="model.oldlidgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择装运日"
disabled
></c-date-picker>
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<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>
</el-form-item>
</c-col>
<c-col :span="12">
<c-date-picker
type="date"
v-model="model.trnmod.swiadd.newshpdat"
style="width: 100%"
placeholder="请选择新装运日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<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>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<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>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin-left:150px"
v-model="model.litp.aamp.aammod.addamtflg">附加金额</c-checkbox>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="12">
<el-form-item label=" " prop="litp.aamp.aammod.addamtflg">
<c-checkbox
class="checkbox-left"
v-model="model.litp.aamp.aammod.addamtflg"
>附加金额</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="币种" prop="lidgrp.cbs.max2.cur">
<c-input
<c-input
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>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<el-form-item label="附加金额" prop="trnmod.swiadd.addamt">
<c-input-currency
:disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') "
v-model="model.trnmod.swiadd.addamt" placeholder="请输入附加金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<c-input-currency
:disabled="!(this.model.litp.aamp.aammod.addamtflg == 'X')"
v-model="model.trnmod.swiadd.addamt"
placeholder="请输入附加金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加金额覆盖" prop="trnmod.swiadd.addamtcov">
<c-input type="textarea"
v-model="model.trnmod.swiadd.addamtcov"
maxlength="140"
show-word-limit
placeholder="请输入附加金额"
:disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') "
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin-left:150px"
v-model="model.trnmod.swiadd.reqcan">取消请求</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin-left:130px"
v-model="model.litamep.cre707flg">创建修改报文</c-checkbox>
</c-col>
</el-col>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.addamtcov"
maxlength="140"
show-word-limit
placeholder="请输入附加金额"
:disabled="!(this.model.litp.aamp.aammod.addamtflg == 'X')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label=" " prop="trnmod.swiadd.reqcan">
<c-checkbox
class="checkbox-left"
v-model="model.trnmod.swiadd.reqcan"
>取消请求</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox style="margin-left: 130px" v-model="model.litamep.cre707flg"
>创建修改报文</c-checkbox
>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event,
},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="litamep.recget.sdamod.dadsnd">
......
<template>
<div class="eibs">
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod">
<c-input
:autosize="{ minRows: 12, maxRows: 800}"
<c-input
:autosize="{ minRows: 12, maxRows: 800 }"
: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>
</c-col>
</c-col>
<c-col :span="22">
<el-form-item label="在当前修订中添加/删除文本" prop="litamep.lcrgodamep.usrblk">
<c-input
<c-col :span="24">
<el-form-item
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"
:autosize="{ minRows: 22, maxRows: 800}"
type="textarea" v-model="model.litamep.lcrgodamep.usrblk" maxlength="52000" show-word-limit placeholder="请输入添加/删除补充信息" ></c-input>
:autosize="{ minRows: 22, maxRows: 800 }"
type="textarea"
v-model="model.litamep.lcrgodamep.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.lcrgodame.buttxmsel',null,null,{TXT: 'litamep.lcrgodamep.usrblk'}, {TXT: false},'doxpDialog')">
</c-col>
<c-col :span="2">
<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>
</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">
<el-form-item label="历史概述" prop="lidgrp.blk.lcrgodame">
<c-input
:autosize="{ minRows: 12, maxRows: 999}"
<c-input
:autosize="{ minRows: 12, maxRows: 999 }"
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>
</c-col>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open"
style=" margin: 0px 0 10px 150px;"
v-model="model.litamep.lcrgodamep.modflg">修改要替换的文本</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style=" margin: 0px 0 10px 125px;"
v-model="model.litamep.lcrgodamep.modmanflg">内部修改文本</c-checkbox>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
size="small" type="primary" @click="onLcrgodamepButdif">
显示差异
<c-col :span="12">
<c-checkbox
@change="open1"
style="margin: 0px 0 10px 125px"
v-model="model.litamep.lcrgodamep.modmanflg"
>内部修改文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
@click="onLcrgodamepButdif"
>
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" @click="onLcrgodamepButadd">
添加文本
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
@click="onLcrgodamepButadd"
>
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrgodamepButdel">
删除文本
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
icon="el-icon-delete"
@click="onLcrgodamepButdel"
>
删除文本
</c-button>
</c-col>
</el-col>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
flag1:true,
flag2:false,
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
flag1: true,
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.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='';
}
}
},
"model.litamep.lcrgodamep.modmanflg":{
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='';
}
}
"model.litamep.lcrgodamep.modmanflg": {
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 = "";
}
},
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.lcrgod == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
},
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrgod == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrgod='';
this.model.lidgrp.blk.lcrgod = "";
this.$message({
type: 'success',
message: '删除成功!'
type: "success",
message: "删除成功!",
});
}).catch(() => {
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrgodamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
this.model.litamep.lcrgodamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
}else if(val == 'X' && this.model.litamep.lcrgodamep.modmanflg =='X'){
this.$confirm('Please reset internal modification first','提示',{
confirmButtonText: 'Ok',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
} else if (val == "X" && this.model.litamep.lcrgodamep.modmanflg == "X") {
this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: "Ok",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.lcrgod == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrgod == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrgod='';
this.model.lidgrp.blk.lcrgod = "";
this.$message({
type: 'success',
message: '删除成功!'
type: "success",
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>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc">
<c-input
:autosize="{ minRows: 12, maxRows: 800}"
<c-input
:autosize="{ minRows: 12, maxRows: 800 }"
: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>
</c-col>
</c-col>
<c-col :span="22">
<el-form-item label="添加/删除当前修订中的文本" prop="litamep.lcrdocamep.usrblk">
<c-input type="textarea"
<c-col :span="24">
<el-form-item
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"
v-model="model.litamep.lcrdocamep.usrblk"
maxlength="52000"
show-word-limit placeholder="请输入添加/删除补充信息"
:autosize="{ minRows: 22, maxRows: 800}"
></c-input>
v-model="model.litamep.lcrdocamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
:autosize="{ minRows: 22, maxRows: 800 }"
></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.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">
<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 :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.lcrdocame">
<c-input
:autosize="{ minRows: 12, maxRows: 999}"
<c-input
:autosize="{ minRows: 12, maxRows: 999 }"
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>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open"
style=" margin: 0px 0 10px 150px;"
v-model="model.litamep.lcrdocamep.modflg">修改要替换的文本</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
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-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style="margin: 0px 0 10px 125px"
v-model="model.litamep.lcrdocamep.modmanflg"
>内部修改文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
@click="onLcrdocamepButdif"
>
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" @click="onLcrdocamepButadd">
添加文本
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
@click="onLcrdocamepButadd"
>
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel">
删除文本
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
icon="el-icon-delete"
@click="onLcrdocamepButdel"
>
删除文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
flag1:true,
flag2:false,
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
flag1: true,
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.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='';
}
}
},
"model.litamep.lcrdocamep.modmanflg":{
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='';
}
}
"model.litamep.lcrdocamep.modmanflg": {
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 = "";
}
},
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.lcrdoc == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
},
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrdoc == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrdoc='';
this.model.lidgrp.blk.lcrdoc = "";
this.$message({
type: 'success',
message: '删除成功!'
type: "success",
message: "删除成功!",
});
}).catch(() => {
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrdocamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
this.model.litamep.lcrdocamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
}else if(val == 'X' && this.model.litamep.lcrdocamep.modmanflg =='X'){
this.$confirm('Please reset internal modification first','提示',{
confirmButtonText: 'Ok',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
} else if (val == "X" && this.model.litamep.lcrdocamep.modmanflg == "X") {
this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: "Ok",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.lcrdoc == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrdoc == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrdoc='';
this.model.lidgrp.blk.lcrdoc = "";
this.$message({
type: 'success',
message: '删除成功!'
type: "success",
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>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="20">
<c-col :span="24">
<el-form-item label="指示信息" prop="lidgrp.blk.insbnk">
<c-input
type="textarea"
......
......@@ -120,7 +120,7 @@
</c-col>
<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 :span="24">
......@@ -322,7 +322,9 @@
<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 :span="12">
<c-checkbox disabled v-model="model.lidgrp.rec.revflg">循环信用证</c-checkbox>
......
......@@ -285,7 +285,7 @@
sortable
width="300">
</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">
<el-button
circle
......
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="Special Payment Conditions for Beneficiary" prop="lidgrp.blk.spcben">
<c-input
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item
label="Special Payment Conditions for Beneficiary"
prop="lidgrp.blk.spcben"
>
<c-input
:rows="12"
: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>
</c-col>
<c-col :span="22">
<el-form-item label="添加/删除当前修订中的文本" prop="litamep.spcbenamep.usrblk">
<c-input type="textarea"
</c-col>
<c-col :span="24">
<el-form-item
label="添加/删除当前修订中的文本"
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"
v-model="model.litamep.spcbenamep.usrblk"
maxlength="1650"
show-word-limit placeholder="请输入添加/删除补充信息"
v-model="model.litamep.spcbenamep.usrblk"
maxlength="1650"
show-word-limit
placeholder="请输入添加/删除补充信息"
:rows="22"
></c-input>
></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.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">
<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 :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.spcbename">
<c-input
<c-input
:rows="12"
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>
</c-col>
<c-col :span="12">
<c-checkbox
style=" margin: 0px 0 10px 150px;"
@change="open"
v-model="model.litamep.spcbenamep.modflg">修改要替换的文本</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style=" margin: 0px 0 10px 125px;"
v-model="model.litamep.spcbenamep.modmanflg">内部修改文本</c-checkbox>
</c-col>
<c-col :span="12">
<c-button
style=" margin: 0px 0 10px 150px;"
size="small" type="primary" @click="onLcrdocamepButdif">
显示差异
</c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.spcbenamep.modflg">
<c-checkbox
class="checkbox-left"
@change="open"
v-model="model.litamep.spcbenamep.modflg"
>修改要替换的文本</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style="margin: 0px 0 10px 125px"
v-model="model.litamep.spcbenamep.modmanflg"
>内部修改文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
@click="onLcrdocamepButdif"
>
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" @click="onLcrdocamepButadd">
添加文本
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
@click="onLcrdocamepButadd"
>
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel">
删除文本
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
icon="el-icon-delete"
@click="onLcrdocamepButdel"
>
删除文本
</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-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>
......@@ -133,151 +210,180 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
flag1:true,
flag2:false,
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
flag1: true,
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.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='';
}
}
},
"model.litamep.spcbenamep.modmanflg":{
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='';
}
}
"model.litamep.spcbenamep.modmanflg": {
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 = "";
}
},
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.spcben == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
},
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.spcben == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcben='';
this.model.lidgrp.blk.spcben = "";
this.$message({
type: 'success',
message: '删除成功!'
type: "success",
message: "删除成功!",
});
}).catch(() => {
})
.catch(() => {
//No的功能在这里写
this.model.litamep.spcbenamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
this.model.litamep.spcbenamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
}else if(val == 'X' && this.model.litamep.spcbenamep.modmanflg =='X'){
this.$confirm('Please reset internal modification first','提示',{
confirmButtonText: 'Ok',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
} else if (val == "X" && this.model.litamep.spcbenamep.modmanflg == "X") {
this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: "Ok",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.spcben == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.spcben == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcben='';
this.model.lidgrp.blk.spcben = "";
this.$message({
type: 'success',
message: '删除成功!'
type: "success",
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>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="仅适用于银行的特殊付款条款" prop="lidgrp.blk.spcrcb">
<c-input
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item
label="仅适用于银行的特殊付款条款"
prop="lidgrp.blk.spcrcb"
>
<c-input
:rows="12"
: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>
</c-col>
<c-col :span="22">
</c-col>
<c-col :span="24">
<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">
<c-input type="textarea"
:disabled="this.flag2"
......@@ -28,66 +71,82 @@
@click="showGridPromptDialog('litamep.spcrcbamep.buttxmsel',null,null,{TXT: 'litamep.spcrcbamep.usrblk'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
</c-col> -->
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.spcrcbame">
<c-input
<c-input
:rows="12"
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>
</c-col>
<c-col :span="12">
<c-checkbox
style=" margin: 0px 0 10px 150px;"
@change="open"
v-model="model.litamep.spcrcbamep.modflg">修改要替换的文本</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style=" margin: 0px 0 10px 125px;"
v-model="model.litamep.spcrcbamep.modmanflg">内部修改文本</c-checkbox>
</c-col>
<c-col :span="12">
<c-button
style=" margin: 0px 0 10px 150px;"
size="small" type="primary" @click="onLcrdocamepButdif">
显示差异
</c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.spcrcbamep.modflg">
<c-checkbox
class="checkbox-left"
@change="open"
v-model="model.litamep.spcrcbamep.modflg"
>修改要替换的文本</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style="margin: 0px 0 10px 125px"
v-model="model.litamep.spcrcbamep.modmanflg"
>内部修改文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
@click="onLcrdocamepButdif"
>
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" @click="onLcrdocamepButadd">
添加文本
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
@click="onLcrdocamepButadd"
>
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel">
删除文本
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
icon="el-icon-delete"
@click="onLcrdocamepButdel"
>
删除文本
</c-button>
</c-col>
</c-col>
<!-- <c-col :span="12">
</c-col>
</c-col>
<!-- <c-col :span="12">
<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-form-item>
......@@ -133,151 +192,180 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
flag1:true,
flag2:false,
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
flag1: true,
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.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='';
}
}
},
"model.litamep.spcrcbamep.modmanflg":{
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='';
}
}
"model.litamep.spcrcbamep.modmanflg": {
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 = "";
}
},
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.spcrcb == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
},
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.spcrcb == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcrcb='';
this.model.lidgrp.blk.spcrcb = "";
this.$message({
type: 'success',
message: '删除成功!'
type: "success",
message: "删除成功!",
});
}).catch(() => {
})
.catch(() => {
//No的功能在这里写
this.model.litamep.spcrcbamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
this.model.litamep.spcrcbamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
}else if(val == 'X' && this.model.litamep.spcrcbamep.modmanflg =='X'){
this.$confirm('Please reset internal modification first','提示',{
confirmButtonText: 'Ok',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
} else if (val == "X" && this.model.litamep.spcrcbamep.modmanflg == "X") {
this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: "Ok",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.spcrcb == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.spcrcb == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcrcb='';
this.model.lidgrp.blk.spcrcb = "";
this.$message({
type: 'success',
message: '删除成功!'
type: "success",
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>
<style>
</style>
<template>
<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
:model="model"
:rules="rules"
......
......@@ -147,7 +147,7 @@
prop="liaall.liaccv.gleflg"
>
<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>
</el-form-item>
</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