Commit db3ce439 by wangyanjiao

ditame #186 #187

parent bbff449d
......@@ -64,7 +64,7 @@
</c-col>
<c-col :span="8" :offset="2">
<el-form-item label="">
<c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox>
<c-checkbox v-model="isShow2" @change="CONDOCSTM">Show Outgoing Messages</c-checkbox>
</el-form-item>
<!-- <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox> -->
</c-col>
......@@ -230,6 +230,13 @@ export default {
};
},
methods: { ...Event,
CONDOCSTM(){
this.executeDefault("trnmod.trndoc.condocstm").then(res => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
})
},
handleNodeClick(){} ,
defaultProps(){}
},
......
......@@ -4,86 +4,47 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="20">
<el-form-item
label="信用证号码"
prop="didgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.didgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
style="width: 95%"
disabled
></c-input>
<el-form-item label="信用证号码" prop="didgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.didgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" style="width: 95%"
disabled></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="1" style="text-align: right"> -->
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
></c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="3" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 0"
size="small"
type="primary"
disabled
@click="onDitpButgetref"
>
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"
@click="onSeainf"></c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="3" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin:0 0" size="small" type="primary" disabled @click="onDitpButgetref">
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
<!-- </c-col> -->
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="didgrp.rec.nam">
<c-input
align="middle"
v-model="model.didgrp.rec.nam"
maxlength="40"
disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"
></c-input>
<c-input align="middle" v-model="model.didgrp.rec.nam" maxlength="40" disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="20">
<el-form-item
label="所属客户经理"
prop="ditp.usr.extkey"
style="width: 100%"
>
<c-input
style="width: 95%"
v-model="model.ditp.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
disabled
></c-input>
<el-form-item label="所属客户经理" prop="ditp.usr.extkey" style="width: 100%">
<c-input style="width: 95%" v-model="model.ditp.usr.extkey" maxlength="8" placeholder="请输入User ID" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<!-- <el-form-item label="" label-width="17px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
></c-button>
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" icon="el-icon-search" type="primary"
@click="onExtkey"></c-button>
<!-- </el-form-item> -->
</c-col>
......@@ -93,68 +54,35 @@
<c-col :span="13">
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
<c-select
disabled
v-model="model.didgrp.cbs.nom1.cur"
style="width: 95%"
placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
<c-select disabled v-model="model.didgrp.cbs.nom1.cur" style="width: 95%" placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
style="text-align: left"
label-width="0"
prop="didgrp.cbs.nom1.amt"
>
<c-input-currency
v-model="model.didgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
disabled
@keyup.enter.native="defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)"
></c-input-currency>
<el-form-item style="text-align: left" label-width="0" prop="didgrp.cbs.nom1.amt">
<c-input-currency v-model="model.didgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入信用证金额" disabled
@keyup.enter.native="defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="大写金额" prop="ditp.amt">
<c-input
v-model="model.ditp.amt"
maxlength="76"
placeholder="请输入大写金额"
disabled
></c-input>
<c-input v-model="model.ditp.amt" maxlength="76" placeholder="请输入大写金额" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
<c-input
v-model="model.didgrp.rec.nomtop"
maxlength="9"
style="width: 48%"
disabled
placeholder="请输入Amount Tolerance - Positive"
></c-input>
<label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label>
<c-input
v-model="model.didgrp.rec.nomton"
maxlength="9"
style="width: 48%"
disabled
placeholder="请输入Amount Tolerance - Negative"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
<c-input v-model="model.didgrp.rec.nomtop" maxlength="9" style="width: 48%" disabled
placeholder="请输入Amount Tolerance - Positive"></c-input>
<label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label>
<c-input v-model="model.didgrp.rec.nomton" maxlength="9" style="width: 48%" disabled
placeholder="请输入Amount Tolerance - Negative"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12" style="text-align: left">
<el-form-item
......@@ -175,18 +103,8 @@
<c-col :span="13">
<el-form-item label="信用证最大金额" prop="didgrp.cbs.max.cur">
<c-select
v-model="model.didgrp.cbs.max.cur"
style="width: 95%"
placeholder="请选择Currency"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
<c-select v-model="model.didgrp.cbs.max.cur" style="width: 95%" placeholder="请选择Currency" disabled>
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
......@@ -194,236 +112,109 @@
<c-col :span="11">
<el-form-item label="" label-width="0" prop="didgrp.cbs.max.amt">
<c-input
v-model="model.didgrp.cbs.max.amt"
placeholder="请输入信用证最大金额"
disabled
></c-input>
<c-input v-model="model.didgrp.cbs.max.amt" placeholder="请输入信用证最大金额" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="贸易类型" prop="didgrp.rec.mytype">
<c-select
v-if="model.didgrp.rec.elcflg == 'N'"
v-model="model.didgrp.rec.mytype"
style="width: 100%"
placeholder="请选择贸易类型"
@change="mytypeChange"
>
<el-option
v-for="item in codes.mylx"
:key="item.value"
:label="item.label"
:value="item.value"
>
<c-select v-if="model.didgrp.rec.elcflg == 'N'" v-model="model.didgrp.rec.mytype" style="width: 100%"
placeholder="请选择贸易类型" @change="mytypeChange">
<el-option v-for="item in codes.mylx" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
<c-select
v-else
v-model="model.didgrp.rec.mytype"
style="width: 100%"
placeholder="请选择贸易类型"
@change="mytypeChange"
>
<el-option
v-for="item in codes.mytype"
:key="item.value"
:label="item.label"
:value="item.value"
>
<c-select v-else v-model="model.didgrp.rec.mytype" style="width: 100%" placeholder="请选择贸易类型"
@change="mytypeChange">
<el-option v-for="item in codes.mytype" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="开证日期" prop="didgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.opndat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证日期" prop="didgrp.rec.opndat">
<c-date-picker type="date" v-model="model.didgrp.rec.opndat" value-format="yyyy-MM-dd" style="width: 100%"
placeholder="请选择Date" disabled></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item
v-if="model.didgrp.rec.mytype == 'H'"
label="最迟货物装运日"
prop="didgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Date"
disabled
></c-date-picker>
</el-form-item>
<el-form-item
v-if="model.didgrp.rec.mytype == 'F'"
label="最迟服务提供日"
prop="didgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Date"
disabled
></c-date-picker>
</el-form-item>
<el-form-item
label="最迟货物装运日/服务提供日"
v-if="model.didgrp.rec.mytype == '3'"
prop="didgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.didgrp.rec.mytype == 'H'" label="最迟货物装运日" prop="didgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.didgrp.rec.shpdat" value-format="yyyy-MM-dd" style="width: 100%"
placeholder="请选择Date" disabled></c-date-picker>
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == 'F'" label="最迟服务提供日" prop="didgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.didgrp.rec.shpdat" value-format="yyyy-MM-dd" style="width: 100%"
placeholder="请选择Date" disabled></c-date-picker>
</el-form-item>
<el-form-item label="最迟货物装运日/服务提供日" v-if="model.didgrp.rec.mytype == '3'" prop="didgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.didgrp.rec.shpdat" value-format="yyyy-MM-dd" style="width: 100%"
placeholder="请选择" disabled></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="有效日期" prop="didgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.expdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="有效日期" prop="didgrp.rec.expdat">
<c-date-picker type="date" v-model="model.didgrp.rec.expdat" value-format="yyyy-MM-dd" style="width: 100%"
placeholder="请选择Date" disabled></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="有效地点" prop="didgrp.rec.expplc">
<c-input
v-model="model.didgrp.rec.expplc"
maxlength="35"
placeholder="请输入Place of Expiry"
></c-input>
<c-input v-model="model.didgrp.rec.expplc" maxlength="35" placeholder="请输入Place of Expiry"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="是否通过电证系统" prop="didgrp.rec.elcflg">
<c-select
v-model="model.didgrp.rec.elcflg"
style="width: 95%"
placeholder="请选择是否通过电证系统"
disabled
>
<el-option
v-for="item in codes.elcflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="报文类型" label-width="80px">
<c-select
v-if="model.didgrp.rec.elcflg == 'N'"
style="width: 100%"
v-model="model.ditp.msgtyp" placeholder="请选择报文类型" disabled>
<el-option
v-for="item in codes.msgtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<c-select
v-else
v-model="model.ditp.msgtyp" placeholder="请选择报文类型" disabled>
<el-option
v-for="item in codes.msgtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="是否通过电证系统" prop="didgrp.rec.elcflg">
<c-select v-model="model.didgrp.rec.elcflg" style="width: 95%" placeholder="请选择是否通过电证系统" disabled>
<el-option v-for="item in codes.elcflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="报文类型" label-width="80px">
<c-select v-if="model.didgrp.rec.elcflg == 'N'" style="width: 100%" v-model="model.ditp.msgtyp"
placeholder="请选择报文类型" disabled>
<el-option v-for="item in codes.msgtyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
<c-select v-else v-model="model.ditp.msgtyp" placeholder="请选择报文类型" disabled>
<el-option v-for="item in codes.msgtyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="开证类型" prop="didgrp.rec.dkflg">
<c-select
v-model="model.didgrp.rec.dkflg"
style="width: 100%"
disabled
placeholder="请选择开证类型"
>
<el-option
v-for="item in codes.dkflg"
:key="item.value"
:label="item.label"
:value="item.value"
disabled
>
<c-select v-model="model.didgrp.rec.dkflg" style="width: 100%" disabled placeholder="请选择开证类型">
<el-option v-for="item in codes.dkflg" :key="item.value" :label="item.label" :value="item.value" disabled>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人统一社会信用代码" prop="didgrp.rec.idcode">
<c-input
v-model="model.didgrp.rec.idcode"
maxlength="18"
placeholder="请输入申请人统一社会信用代码"
></c-input>
<c-input v-model="model.didgrp.rec.idcode" maxlength="18" placeholder="请输入申请人统一社会信用代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货押标识" prop="didgrp.rec.guaflg">
<c-select
v-model="model.didgrp.rec.guaflg"
style="width: 100%"
placeholder="请选择货押标识"
>
<el-option
v-for="item in codes.guaflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
<c-select v-model="model.didgrp.rec.guaflg" style="width: 100%" placeholder="请选择货押标识">
<el-option v-for="item in codes.guaflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="假远期信用证" prop="didgrp.rec.jyqflg">
<c-select
v-model="model.didgrp.rec.jyqflg"
style="width: 100%"
placeholder="请选择假远期信用证"
>
<el-option
v-for="item in codes.jyqflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
<c-select v-model="model.didgrp.rec.jyqflg" style="width: 100%" placeholder="请选择假远期信用证">
<el-option v-for="item in jyqflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
......@@ -432,18 +223,11 @@
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '申请人',
grp: 'didgrp',
rol: 'apl',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
<c-ptap1 :model="model" :argadr="{
title: '申请人',
grp: 'didgrp',
rol: 'apl',
}" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
</c-ptap1>
</c-col>
<!-- <c-col :span="24">
......@@ -544,61 +328,32 @@
<c-col :span="14">
<c-form-item label="邮编" prop="didgrp.apl.pts.youzbm">
<c-input
v-model="model.didgrp.apl.pts.youzbm"
maxlength="6"
placeholder="请输入邮编"
></c-input>
<c-input v-model="model.didgrp.apl.pts.youzbm" maxlength="6" placeholder="请输入邮编"></c-input>
</c-form-item>
</c-col>
<c-col :span="10">
<c-form-item
label="电话"
label-width="40px"
style="margin-left: 12px"
prop="didgrp.apl.pts.dihdig"
>
<c-input
v-model="model.didgrp.apl.pts.dihdig"
maxlength="16"
placeholder="请输入电话"
></c-input>
<c-form-item label="电话" label-width="40px" style="margin-left: 12px" prop="didgrp.apl.pts.dihdig">
<c-input v-model="model.didgrp.apl.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人账号" prop="didgrp.apl.pts.extact">
<c-select
v-model="model.didgrp.apl.pts.extact"
style="width: 100%"
placeholder="请选择External Account"
>
<c-select v-model="model.didgrp.apl.pts.extact" style="width: 100%" placeholder="请选择External Account">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="申请人开户行 联行行号"
prop="didgrp.apb.pts.bankno"
>
<c-input
v-model="model.didgrp.apb.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.apb.pts.bankno')"
></c-input>
<el-form-item label="申请人开户行 联行行号" prop="didgrp.apb.pts.bankno">
<c-input v-model="model.didgrp.apb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.apb.pts.bankno')"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行名称 " prop="didgrp.apb.pts.jigomc">
<c-input
type="textarea"
v-model="model.didgrp.apb.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
<c-input type="textarea" v-model="model.didgrp.apb.pts.jigomc" maxlength="35" show-word-limit
placeholder="请输入联行名称 电证用"></c-input>
</el-form-item>
</c-col>
......@@ -618,18 +373,11 @@
</c-col> -->
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'didgrp',
rol: 'ben',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
<c-ptap :model="model" :argadr="{
title: '受益人',
grp: 'didgrp',
rol: 'ben',
}" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
</c-ptap>
</c-col>
......@@ -730,62 +478,32 @@
<c-col :span="14">
<el-form-item label="邮编" prop="didgrp.ben.pts.youzbm">
<c-input
v-model="model.didgrp.ben.pts.youzbm"
maxlength="6"
placeholder="请输入邮编 电证用"
></c-input>
<c-input v-model="model.didgrp.ben.pts.youzbm" maxlength="6" placeholder="请输入邮编 电证用"></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label="电话"
label-width="40px"
style="margin-left: 12px"
prop="didgrp.ben.pts.dihdig"
>
<c-input
v-model="model.didgrp.ben.pts.dihdig"
maxlength="16"
placeholder="请输入电话"
></c-input>
<el-form-item label="电话" label-width="40px" style="margin-left: 12px" prop="didgrp.ben.pts.dihdig">
<c-input v-model="model.didgrp.ben.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人账号" prop="didgrp.ben.pts.extact">
<c-input
v-model="model.didgrp.ben.pts.extact"
maxlength="34"
placeholder="请输入受益人账号"
></c-input>
<c-input v-model="model.didgrp.ben.pts.extact" maxlength="34" placeholder="请输入受益人账号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="受益人开户行 联行行号"
prop="didgrp.beb.pts.bankno"
>
<c-input
v-model="model.didgrp.beb.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.beb.pts.bankno')"
></c-input>
<el-form-item label="受益人开户行 联行行号" prop="didgrp.beb.pts.bankno">
<c-input v-model="model.didgrp.beb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.beb.pts.bankno')"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行名称 " prop="didgrp.beb.pts.jigomc">
<c-input
type="textarea"
v-model="model.didgrp.beb.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
:disabled="this.jigomcFlag"
></c-input>
<c-input type="textarea" v-model="model.didgrp.beb.pts.jigomc" maxlength="35" show-word-limit
placeholder="请输入联行名称 电证用" :disabled="this.jigomcFlag"></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -800,14 +518,19 @@ import Ptap from "~/views/Public/Ptap";
import Ptap1 from "./Ptap";
export default {
components: { "c-ptap": Ptap ,
"c-ptap1": Ptap1,
},
components: {
"c-ptap": Ptap,
"c-ptap1": Ptap1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
jyqflg: [
{ label: "否", value: "" },
{ label: "是", value: "X" },
],
jigomcFlag: true,
trade: "",
};
......@@ -841,7 +564,7 @@ export default {
},
},
watch: {
declareParams() {},
declareParams() { },
},
};
</script>
......@@ -151,9 +151,9 @@ import Dogpame from "./Dogpame";
import Dorpame from "./Dorpame";
import Adcpame from "./Adcpame";
import Inspame from "./Inspame";
import Doctre from "./Doctre";
import Stament from "./Stament";
import Doctre from "~/views/Public/Doctre";
import Setpan from "~/views/Public/Setpan";
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
......
......@@ -3,59 +3,36 @@
<!-- ====================顶部==================== -->
<c-col :span="6" style="margin-left:9px">
<el-form-item label="参考号" label-width="50px">
<c-input
v-model="model.setmod.ref"
maxlength="16"
:readonly="true"
placeholder="请输入our reference"
></c-input>
<c-input v-model="model.setmod.ref" maxlength="16" :readonly="true" placeholder="请输入our reference">
</c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="结算金额" label-width="100px">
<c-input
v-model="model.setmod.doccur"
style="width: 100%"
placeholder="CNY"
:readonly="true"
></c-input>
<c-input v-model="model.setmod.doccur" style="width: 100%" placeholder="CNY" :readonly="true"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" label-width="7px">
<c-input
v-model="model.setmod.docamt"
:readonly="true"
placeholder="请输入document amount"
></c-input>
<c-input v-model="model.setmod.docamt" :readonly="true" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="类型" label-width="100px">
<c-select
v-model="model.setmod.dspflg"
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.dspflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
<c-select v-model="model.setmod.dspflg" disabled style="width: 100%"
placeholder="请选择Type of settlement">
<el-option v-for="item in codes.dspflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align:right">
<!-- <el-form-item label="" label-width="20px"> -->
<c-button style="margin-right:10px" size="small" type="primary" @click="onSetmodDet">
详情
</c-button>
<c-button style="margin-right:10px" size="small" type="primary" @click="onSetmodDet">
详情
</c-button>
<!-- </el-form-item> -->
</c-col>
......@@ -69,51 +46,35 @@
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
-->
<c-col :span="23" style="margin-left:9px;height:25px">
<el-divider></el-divider>
</c-col>
<c-col :span="23" style="margin-left:9px;height:25px">
<el-divider></el-divider>
</c-col>
<!-- ==============中部表格===================== -->
<c-col :span="23" style="height:24px;margin-left:9px">
<el-form-item
class="formItemLabel"
label="Foreign Commission/Charges:"
label-width="300px"
>
<el-form-item class="formItemLabel" label="Foreign Commission/Charges:" label-width="300px">
</el-form-item>
</c-col>
<c-col :span="23" style="margin-left:9px">
<c-table
style="text-align: center"
:list="model.setmod.setfog.setfol"
:paginationShow="false"
:border="true"
>
<c-table style="text-align: center" :list="model.setmod.setfog.setfol" :paginationShow="false"
:border="true">
<el-table-column label="Payer" prop="ptydbt" width="101px">
<template slot-scope="scope">
<c-select v-model="scope.row.ptydbt">
<el-option
v-for="item in codes.ptydbt"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
</el-option>
<el-option v-for="item in codes.ptydbt" :key="item.value" :label="item.value"
:value="item.value">
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Payee" width="101px">
<template slot-scope="scope">
<c-select v-model="scope.row.ptypay">
<el-option
v-for="item in codes.payee"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
<el-option v-for="item in codes.payee" :key="item.value" :label="item.value"
:value="item.value">
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</template>
......@@ -122,27 +83,15 @@
</el-table-column>
<el-table-column label="Disp" prop="dsp" width="76px">
</el-table-column>
<el-table-column
label="Text for Payer"
prop="txtdbt"
width="auto"
>
<el-table-column label="Text for Payer" prop="txtdbt" width="auto">
</el-table-column>
<el-table-column
label="Text for Payee"
prop="txtpay"
width="auto"
>
<el-table-column label="Text for Payee" prop="txtpay" width="auto">
</el-table-column>
<el-table-column label="Currency" prop="cur" width="93px">
<template slot-scope="scope">
<c-select v-model="scope.row.cur">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</template>
......@@ -151,31 +100,15 @@
</el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right">
<template slot-scope="scope" slot="header">
<c-button
circle
style="padding:4px"
class="el-icon-plus"
size="mini"
@click="addRow(scope)"
>
<c-button circle style="padding:4px" class="el-icon-plus" size="mini" @click="addRow(scope)">
</c-button>
<c-button
style="padding:4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRow(scope)"
>
<c-button style="padding:4px" circle class="el-icon-minus" size="mini"
@click="removeRow(scope)">
</c-button>
</template>
<template slot-scope="scoped">
<c-button
style="margin-left:0"
size="small"
type="primary"
@click="detail1(scoped.$index, scoped.row)"
>详情</c-button
>
<c-button style="margin-left:0" size="small" type="primary"
@click="detail1(scoped.$index, scoped.row)">详情</c-button>
</template>
</el-table-column>
</c-table>
......@@ -184,57 +117,45 @@
<el-dialog :visible.sync="dialogVisible" center>
<c-col>
<el-form :model="dialog" label-width="200px">
<c-col :span="16" >
<c-col :span="16">
<el-form-item label="收款人">
<c-select v-model="dialog.ptypay" style="width: 100%">
<el-option
v-for="item in codes.payee"
:key="item.value"
:label="item.label"
:value="item.value"
/>
<el-option v-for="item in codes.payee" :key="item.value" :label="item.label"
:value="item.value" />
</c-select>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="收款人摘要">
<c-input v-model="dialog.txtpay" style="width: 100%"/>
<c-input v-model="dialog.txtpay" style="width: 100%" />
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="付款人">
<c-select v-model="dialog.ptydbt" style="width: 100%">
<el-option
v-for="item in codes.ptydbt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option v-for="item in codes.ptydbt1" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="付款人摘要">
<c-input v-model="dialog.txtdbt" style="width: 100%"/>
<c-input v-model="dialog.txtdbt" style="width: 100%" />
</el-form-item>
</c-col>
<c-col :span="16">
<c-col :span="18">
<el-form-item label="费用">
<c-select v-model="dialog.cur" style="width: 100%">
<el-option
v-for="item in codes.cur"
:key="item.value"
:labelF="item.label"
:value="item.value"
/>
<el-option v-for="item in codes.cur" :key="item.value" :labelF="item.label"
:value="item.value" />
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" label-width="20px">
<c-input v-model="dialog.amt" style="width: 100%"/>
<c-input v-model="dialog.amt" style="width: 100%" />
</el-form-item>
</c-col>
</c-col>
......@@ -256,22 +177,14 @@
<el-form-item class="formItemLabel" label="Own Commission/Charges:" label-width="200px"> </el-form-item>
</c-col>
<c-col :span="23" style="margin-left:9px">
<c-table
style="text-align: center"
:list="model.setmod.setfeg.setfel"
:paginationShow="false"
:border="true"
>
<c-table style="text-align: center" :list="model.setmod.setfeg.setfel" :paginationShow="false"
:border="true">
<el-table-column label="Role" width="101px">
<template #default="scope">
<c-select v-model="scope.row.rol">
<el-option
v-for="item in codes.setfelRol"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
<el-option v-for="item in codes.setfelRol" :key="item.value" :label="item.value"
:value="item.value">
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</template>
......@@ -282,79 +195,47 @@
</el-table-column>
<el-table-column label="Disp" prop="dsp" width="76px">
<template #default="scope">
<c-select v-model="scope.row.dsp" @change="dispDefault(scope.$index+1)">
<el-option
v-for="item in codes.setfeldsp"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
<c-select v-model="scope.row.dsp" @change="dispDefault(scope.$index + 1)">
<el-option v-for="item in codes.setfeldsp" :key="item.value" :label="item.value"
:value="item.value">
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Units" prop="unt" width="70px">
</el-table-column>
<el-table-column
label="Long Fee Text"
prop="feetxtinf"
width="auto"
>
<el-table-column label="Long Fee Text" prop="feetxtinf" width="auto">
</el-table-column>
<el-table-column label="Currency" prop="cur" width="100px">
</el-table-column>
<el-table-column
label="Original Amount"
prop="ogiamt"
width="150px"
>
<el-table-column label="Original Amount" prop="ogiamt" v-model="ogiamt" width="150px">
</el-table-column>
<el-table-column label="Fee Amount" prop="amt" width="150px">
</el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right">
<template slot-scope="scope" slot="header">
<c-button
circle
style="padding:4px"
class="el-icon-plus"
size="mini"
@click="addRow(scope)"
>
<template slot-scope="scope" slot="header">
<c-button circle style="padding:4px" class="el-icon-plus" size="mini" @click="addRow(scope)">
</c-button>
<c-button
style="padding:4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRow(scope)"
>
<c-button style="padding:4px" circle class="el-icon-minus" size="mini"
@click="removeRow(scope)">
</c-button>
</template>
<template slot-scope="scoped">
<c-button
style="margin-left:0"
size="small"
type="primary"
@click="detail2(scoped.$index, scoped.row)"
>详情</c-button
>
<c-button style="margin-left:0" size="small" type="primary"
@click="detail2(scoped.$index, scoped.row)">详情</c-button>
</template>
</el-table-column>
</c-table>
</c-col>
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes"/>
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes" />
<c-col :span="23" style="margin-left:9px;height:24px;margin-top:25px">
<el-form-item class="formItemLabel" label="Settlement:" label-width="200px">
</el-form-item>
</c-col>
<c-col :span="23" style="margin-left: 9px">
<c-table
style="text-align: center"
:list="model.setmod.setglg.setgll"
:paginationShow="false"
:border="true"
>
<c-table style="text-align: center" :list="model.setmod.setglg.setgll" :paginationShow="false"
:border="true">
<el-table-column label="Mod" prop="modflg" width="46px">
</el-table-column>
<el-table-column label="Role" prop="rol" width="55px">
......@@ -362,34 +243,22 @@
<el-table-column label="in" prop="acccur" width="101px">
<template slot-scope="scope">
<c-select v-model="scope.row.acccur">
<el-option
v-for="item in codes.acccur"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
<el-option v-for="item in codes.acccur" :key="item.value" :label="item.value"
:value="item.value">
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column
label="Amount Paid"
prop="fmtaccamt"
width="120px"
>
<el-table-column label="Amount Paid" prop="fmtaccamt" width="120px">
</el-table-column>
<el-table-column label="Disp." width="101px">
<template #default="scope">
<c-select v-model="scope.row.dsp">
<el-option
v-for="item in codes.setglldsp"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.value }}</span>
<span style="float: left;margin-left:20px">{{ item.label }}</span>
<el-option v-for="item in codes.setglldsp" :key="item.value" :label="item.value"
:value="item.value">
<span style="float: left">{{ item.value }}</span>
<span style="float: left;margin-left:20px">{{ item.label }}</span>
</el-option>
</c-select>
</template>
......@@ -397,12 +266,8 @@
<el-table-column label="Account" prop="act" width="auto">
<template slot-scope="scope">
<c-select v-model="scope.row.act">
<el-option
v-for="item in scope.act"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option v-for="item in scope.act" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</template>
......@@ -411,29 +276,15 @@
</el-table-column>
<el-table-column label="Curr." prop="cur" width="55px">
</el-table-column>
<el-table-column
label="Original Amount"
prop="fmtamt"
width="150px"
>
<el-table-column label="Original Amount" prop="fmtamt" width="150px">
</el-table-column>
<el-table-column label="Rate" prop="rat" width="120px">
</el-table-column>
<el-table-column label="操作" width="135px" fixed="right">
<el-table-column label="操作" width="135px" fixed="right">
<template slot-scope="scoped">
<c-button
style="margin-left:0"
size="small"
type="primary"
>Get</c-button
>
<c-button
style="margin-left:0"
size="small"
type="primary"
@click="handleDetail(scoped.$index, scoped.row)"
>详情</c-button
>
<c-button style="margin-left:0" size="small" type="primary">Get</c-button>
<c-button style="margin-left:0" size="small" type="primary"
@click="handleDetail(scoped.$index, scoped.row)">详情</c-button>
</template>
</el-table-column>
<!-- <el-table-column label="" width="80px">
......@@ -466,37 +317,32 @@
</span>
</c-col> -->
<template>
<el-dialog
ref="detpDialog"
:visible.sync="detpDialogVisible"
width="70%"
center
>
<el-form label-width="100px" :model="dialog3">
<c-row>
<el-dialog ref="detpDialog" :visible.sync="detpDialogVisible" width="70%" center>
<el-form label-width="100px" :model="dialog3">
<c-row>
<c-col :span="24" style="height:24px">
<el-form-item label="基础信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
&nbsp;
</c-col>
<c-col :span="12">
<el-form-item label="rollab" >
<c-input v-model="dialog3.rollab" maxlength="3" placeholder="请输入rollab"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="role" >
<c-input v-model="dialog3.rol" maxlength="3" placeholder="请输入role"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-col :span="24" style="height:24px">
<el-form-item label="基础信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
&nbsp;
</c-col>
<c-col :span="12">
<el-form-item label="rollab">
<c-input v-model="dialog3.rollab" maxlength="3" placeholder="请输入rollab"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="role">
<c-input v-model="dialog3.rol" maxlength="3" placeholder="请输入role"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="dialog3.act3flg">第三方还款</c-checkbox>
</c-col>
......@@ -511,34 +357,35 @@
<c-input v-model="dialog3.actp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="Disposition" prop="setgll.dsp" >
<c-select v-model="dialog3.dsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External" prop="setgll.setgrp.act.pts.extkey" >
<c-input v-model="dialog3.setgrp.act.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="seainf" >
<c-col :span="18">
<c-input v-model="dialog3.actp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
<c-col :span="12">
<el-form-item label="Disposition" prop="setgll.dsp">
<c-select v-model="dialog3.dsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align: right">
<c-button size="small" type="primary" @click="onActpDet">
Details
</c-button>
<c-col :span="12">
<el-form-item label="External" prop="setgll.setgrp.act.pts.extkey">
<c-input v-model="dialog3.setgrp.act.pts.extkey" maxlength="16"
placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-col :span="12">
<el-form-item label="seainf">
<c-col :span="18">
<c-input v-model="dialog3.actp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" style="text-align: right">
<c-button size="small" type="primary" @click="onActpDet">
Details
</c-button>
</c-col>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="核心业务代号" >
<c-input v-model="dialog3.acccode" maxlength="4" placeholder="请输入核心业务代号"></c-input>
</el-form-item>
......@@ -549,188 +396,192 @@
Get
</c-button>
</c-col> -->
<c-col :span="12">
<el-form-item label="账号" >
<c-select v-model="dialog3.act" style="width:100%" placeholder="请选择账号">
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-col :span="12">
<el-form-item label="账号">
<c-select v-model="dialog3.act" style="width:100%" placeholder="请选择账号">
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Name of Party" >
<c-input v-model="dialog3.setgrp.act.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="科目代码" >
<c-select v-model="dialog3.cur" style="width:100%" placeholder="请选择科目代码">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="value date" >
<c-date-picker type="date" v-model="dialog3.valdat" style="width:100%" placeholder="请选择value date"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="科目代码">
<c-select v-model="dialog3.cur" style="width:100%" placeholder="请选择科目代码">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="value date">
<c-date-picker type="date" v-model="dialog3.valdat" style="width:100%"
placeholder="请选择value date"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Search type" >
<c-select v-model="dialog3.actpriflg" style="width:100%" placeholder="请选择Search type">
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="原始金额">
<c-col :span="8">
<c-select v-model="dialog3.acttrmtyp" style="width:100%" placeholder="请选择原始金额">
</c-select>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-input v-model="dialog3.fmtamt" placeholder="请输入原始金额"></c-input>
<c-col :span="24">
<el-form-item label="原始金额">
<c-col :span="8">
<c-select v-model="dialog3.acttrmtyp" style="width:100%" placeholder="请选择原始金额">
</c-select>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-input v-model="dialog3.fmtamt" placeholder="请输入原始金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-select v-model="dialog3.modflg" style="width:100%" placeholder="请选择Modified">
</c-select>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-select v-model="dialog3.modflg" style="width:100%" placeholder="请选择Modified">
</c-select>
<c-col :span="24">
<el-form-item label="实际金额">
<c-col :span="8">
<el-form-item label="" label-width="0">
<c-select v-model="dialog3.acccur" style="width:100%"
placeholder="请选择Amount handled">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-input v-model="dialog3.fmtaccamt" placeholder="请输入实际金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-input v-model="dialog3.debcdtflg" maxlength="1"
placeholder="请输入Debit/Credit"></c-input>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="实际金额">
<c-col :span="8">
<el-form-item label="" label-width="0">
<c-select v-model="dialog3.acccur" style="width:100%" placeholder="请选择Amount handled">
</c-select>
<!-- ---------------------- -->
<c-col :span="23" style="height:24px">
<el-form-item label="Cross信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-input v-model="dialog3.fmtaccamt" placeholder="请输入实际金额"></c-input>
</el-form-item>
<c-col :span="23" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-input v-model="dialog3.debcdtflg" maxlength="1" placeholder="请输入Debit/Credit"></c-input>
</el-form-item>
<c-col :span="24">
&nbsp;
</c-col>
</el-form-item>
</c-col>
<!-- ---------------------- -->
<c-col :span="23" style="height:24px">
<el-form-item label="Cross信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
&nbsp;
</c-col>
<c-col :span="24">
<el-form-item label="Cross Rate">
<c-col :span="6">
<c-col :span="24">
<el-form-item label="" label-width="20%">
<span>Rate Type</span>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="rattyp"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dcbrattyp"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="scbrattyp"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label="" label-width="20%">
<span>Calculate Rate</span>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.rat" placeholder="请输入rate used"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.dcbextrat" placeholder="请输入Selling Rate"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.scbextrat" placeholder="请输入Buying Rate"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label="" label-width="20%">
<span>From Date</span>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
&nbsp;
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.xrtdatcur" placeholder="请输入xrtdatcur"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.xrtdatacc" placeholder="请输入xrtdatacc"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label="牌价时间">
<c-input v-model="dialog3.xrttim" placeholder="请输入牌价时间"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="卖价" prop="setgll.midrat">
<c-input v-model="dialog3.selrat" placeholder="请输入卖价"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中间价" prop="setgll.midrat">
<c-input v-model="dialog3.midrat" placeholder="请输入中间价"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="买价" prop="setgll.midrat">
<c-input v-model="dialog3.buyrat" placeholder="请输入买价"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Cross Rate">
<c-col :span="6">
<c-col :span="24">
<el-form-item label="" label-width="20%">
<span>Rate Type</span>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="rattyp"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dcbrattyp"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="scbrattyp"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label="" label-width="20%">
<span>Calculate Rate</span>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.rat" placeholder="请输入rate used"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.dcbextrat" placeholder="请输入Selling Rate">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.scbextrat" placeholder="请输入Buying Rate"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label="" label-width="20%">
<span>From Date</span>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
&nbsp;
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.xrtdatcur" placeholder="请输入xrtdatcur"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="20%">
<c-input v-model="dialog3.xrtdatacc" placeholder="请输入xrtdatacc"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label="牌价时间">
<c-input v-model="dialog3.xrttim" placeholder="请输入牌价时间"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="卖价" prop="setgll.midrat">
<c-input v-model="dialog3.selrat" placeholder="请输入卖价"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中间价" prop="setgll.midrat">
<c-input v-model="dialog3.midrat" placeholder="请输入中间价"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="买价" prop="setgll.midrat">
<c-input v-model="dialog3.buyrat" placeholder="请输入买价"></c-input>
</el-form-item>
</c-col>
</c-col>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<!-- <div>
<!-- <div>
<c-col :span="12">
<el-form-item label="pre rate type" prop="setgll.selrattyp">
<c-select v-model="dialog3.selrattyp" style="width:100%" placeholder="请选择pre rate type">
......@@ -871,98 +722,100 @@
</c-col>
</div> -->
<!-- ---------------------- -->
<c-col :span="23" style="height:24px">
<el-form-item label="交易信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
&nbsp;
</c-col>
<!-- ---------------------- -->
<c-col :span="23" style="height:24px">
<el-form-item label="交易信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
&nbsp;
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="交易主体" prop="setgll.trnman">
<c-select v-model="dialog3.trnman" style="width:100%" placeholder="请选择交易主体">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TRADE OUT" prop="setgll.trdout">
<c-select v-model="dialog3.trdout" style="width:100%" placeholder="请选择TRADE OUT">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TRADE IN" prop="setgll.trdint">
<c-select v-model="dialog3.trdint" style="width:100%" placeholder="请选择TRADE IN">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="TXT" prop="setgll.txt">
<c-input type="textarea" v-model="dialog3.txt" maxlength="100" show-word-limit placeholder="请输入TXT" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TXT1" prop="setgll.txt1">
<c-input type="textarea" v-model="dialog3.txt1" maxlength="100" show-word-limit placeholder="请输入TXT1" ></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="交易主体" prop="setgll.trnman">
<c-select v-model="dialog3.trnman" style="width:100%" placeholder="请选择交易主体">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TRADE OUT" prop="setgll.trdout">
<c-select v-model="dialog3.trdout" style="width:100%" placeholder="请选择TRADE OUT">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TRADE IN" prop="setgll.trdint">
<c-select v-model="dialog3.trdint" style="width:100%" placeholder="请选择TRADE IN">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="TXT" prop="setgll.txt">
<c-input type="textarea" v-model="dialog3.txt" maxlength="100" show-word-limit
placeholder="请输入TXT"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TXT1" prop="setgll.txt1">
<c-input type="textarea" v-model="dialog3.txt1" maxlength="100" show-word-limit
placeholder="请输入TXT1"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="dialog3.modifyflg">Modify flg</c-checkbox>
</c-col> -->
<!-- ---------------------- -->
<c-col :span="23" style="height:24px">
<el-form-item label="交易详情" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
&nbsp;
</c-col>
<c-col :span="12">
<el-form-item label="交易性质" >
<c-col :span="20">
<c-input v-model="dialog3.trntyp" maxlength="6" placeholder="请输入交易性质"></c-input>
<!-- ---------------------- -->
<c-col :span="23" style="height:24px">
<el-form-item label="交易详情" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="4" style="text-align:right">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetgllCodsel">
</c-button>
<c-col :span="23" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国别代码" prop="setgll.ctycod">
<c-col :span="20">
<c-input v-model="dialog3.ctycod" maxlength="3" placeholder="请输入国别代码"></c-input>
<c-col :span="24">
&nbsp;
</c-col>
<c-col :span="12">
<el-form-item label="交易性质">
<c-col :span="20">
<c-input v-model="dialog3.trntyp" maxlength="6" placeholder="请输入交易性质"></c-input>
</c-col>
<c-col :span="4" style="text-align:right">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetgllCodsel">
</c-button>
</c-col>
</el-form-item>
</c-col>
<c-col :span="4" style="text-align:right">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetgllCtysel">
</c-button>
<c-col :span="12">
<el-form-item label="国别代码" prop="setgll.ctycod">
<c-col :span="20">
<c-input v-model="dialog3.ctycod" maxlength="3" placeholder="请输入国别代码"></c-input>
</c-col>
<c-col :span="4" style="text-align:right">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetgllCtysel">
</c-button>
</c-col>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Which MT to beneficiary institution" prop="setgll.sftmt">
<c-select v-model="dialog3.sftmt" style="width:100%" placeholder="请选择Which MT to beneficiary institution">
</c-select>
......@@ -975,51 +828,51 @@
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="对方名称" prop="setgll.oppnam">
<c-input v-model="dialog3.oppnam" maxlength="100" placeholder="请输入对方名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国内地区代码" prop="setgll.discod">
<c-input v-model="dialog3.discod" maxlength="6" placeholder="请输入国内地区代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="对方账号" prop="setgll.oppacc">
<c-input v-model="dialog3.oppacc" maxlength="35" placeholder="请输入对方账号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="虚拟号账号" prop="setgll.xzhacc">
<c-input v-model="dialog3.xzhacc" maxlength="40" placeholder="请输入虚拟号账号"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-col :span="12">
<el-form-item label="对方名称" prop="setgll.oppnam">
<c-input v-model="dialog3.oppnam" maxlength="100" placeholder="请输入对方名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国内地区代码" prop="setgll.discod">
<c-input v-model="dialog3.discod" maxlength="6" placeholder="请输入国内地区代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="对方账号" prop="setgll.oppacc">
<c-input v-model="dialog3.oppacc" maxlength="35" placeholder="请输入对方账号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="虚拟号账号" prop="setgll.xzhacc">
<c-input v-model="dialog3.xzhacc" maxlength="40" placeholder="请输入虚拟号账号"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
取消
</c-button>
</c-col> -->
<c-col :span="12">
<el-form-item label="对方银行代码" prop="setgll.oppbnk">
<c-input v-model="dialog3.oppbnk" maxlength="14" placeholder="请输入对方银行代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="虚拟号名称" prop="setgll.xzhnam">
<c-input v-model="dialog3.xzhnam" maxlength="50" placeholder="请输入虚拟号名称"></c-input>
</el-form-item>
</c-col>
</c-row>
</el-form>
<c-col :span="12">
<el-form-item label="对方银行代码" prop="setgll.oppbnk">
<c-input v-model="dialog3.oppbnk" maxlength="14" placeholder="请输入对方银行代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="虚拟号名称" prop="setgll.xzhnam">
<c-input v-model="dialog3.xzhnam" maxlength="50" placeholder="请输入虚拟号名称"></c-input>
</el-form-item>
</c-col>
</c-row>
</el-form>
</el-dialog>
</template>
......@@ -1037,6 +890,24 @@ export default {
components: { SetpanDialog },
props: ["model", "codes"],
mixins: [commonProcess],
watch: {
ogiamt: {
handler(num) {
console.log("=================================")
num = this.ogiamt;
num = num.toFixed(2);
num = parseFloat(num);
num = num.toLocaleString();
return num;//返回的是字符串23,245.12保留2位小数
},
immediate: true
}
},
data() {
return {
dialogVisible: false,
......@@ -1048,25 +919,25 @@ export default {
CG00005: "",
},
dialog2: {
feetxtinf:"",
feetxt:"",
feetxtinf: "",
feetxt: "",
},
index: 0,
detpDialogVisible : false,
rattyp:'',
dcbrattyp:'',
scbrattyp:'',
dialog3:{
setgrp:{
act:{
pts:{
detpDialogVisible: false,
rattyp: '',
dcbrattyp: '',
scbrattyp: '',
dialog3: {
setgrp: {
act: {
pts: {
}
}
},
actp:{
ptsget:{
sdamod:{
actp: {
ptsget: {
sdamod: {
}
}
......@@ -1089,25 +960,25 @@ export default {
},
// 第二个表格
detail1(index, row) {
this.executeDefault("setfel.det").then(res=>{
this.executeDefault("setfel.det").then(res => {
this.dialogVisible = true;
console.log(row)
this.dialog = row;
this.index = index;
})
},
dispDefault(index){
this.executeDefault(`setmod.setfeg.setfel(${index}).mac`).then(res=>{
dispDefault(index) {
this.executeDefault(`setmod.setfeg.setfel(${index}).mac`).then(res => {
Utils.copyValueFromVO(this.model, res.data)
})
},
// 第二个表格
detail2(index, row) {
const that = this;
const rule = "setmod.setfeg.setfel("+(index+1)+").det";
that.executeRule(rule).then(res=>{
const rule = "setmod.setfeg.setfel(" + (index + 1) + ").det";
that.executeRule(rule).then(res => {
that.$refs.setpanDialog.visiable = true;
that.$refs.setpanDialog.formData = Object.assign({}, that.model.setmod.setfeg.setfel[index]);
that.index = index;
......@@ -1118,7 +989,7 @@ export default {
// 第三个表格
async handleDetail(index, row) {
const that = this;
const rule = "setmod.setglg.setgll("+(index+1)+").det";
const rule = "setmod.setglg.setgll(" + (index + 1) + ").det";
let rtnmsg = await this.executeRule(rule)
if (rtnmsg.respCode == SUCCESS) {
that.$refs.detpDialog.visiable = true;
......@@ -1130,36 +1001,36 @@ export default {
that.scbrattyp = that.strCalCode(that.dialog3.scbrattyp, that.codes.ratetype);
}
},
strCalCode(str, code){
strCalCode(str, code) {
var result = '';
for(let i = 0; i < code.length; i++){
if(code[i].value === str){
for (let i = 0; i < code.length; i++) {
if (code[i].value === str) {
result = code[i].label;
continue;
}
}
if(result === ''){
if (result === '') {
return str;
}else{
} else {
return result;
}
},
onMtdbutButapy(){
onMtdbutButapy() {
},
onActpDet(){
onActpDet() {
},
onSetgllCodsel(){
onSetgllCodsel() {
},
onMtdbutButcan(){
onMtdbutButcan() {
},
onSetgllCtysel(){
onSetgllCtysel() {
},
onSetgllDetget(){
onSetgllDetget() {
},
async onSetmodDet() {
......@@ -1173,20 +1044,22 @@ export default {
}
},
},
created: function () {},
created: function () { },
};
</script>
<style scoped>
.el-col >>> .el-divider--horizontal {
.el-col>>>.el-divider--horizontal {
margin-top: 10px;
}
.formItemLabel >>> .el-form-item__label{
.formItemLabel>>>.el-form-item__label {
text-align: left;
font-weight:bold;
font-weight: bold;
}
.messageLabel >>> .el-form-item__label{
.messageLabel>>>.el-form-item__label {
text-align: left;
font-weight:bold;
font-weight: bold;
font-size: 12px;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment