Commit c3750f0f by Wuyuqiu

litopn交易ui美化

parent 219bc87d
......@@ -93,6 +93,8 @@
background: var(--sidecolor);
}
.topbtnbar {
position: absolute;
top: 20px;
......@@ -121,6 +123,7 @@
height: 40px;
line-height: 40px;
font-size: 16px;
font-weight: bold;
border-bottom: 1px solid var(--themecolor);
/* border-top: 1px solid #ccc; */
background-image: linear-gradient(#fff, #dedede);
......@@ -142,8 +145,10 @@
border-left: 1px solid var(--themecolor);
border-right: 1px solid var(--themecolor);
border-top: 1px solid var(--themecolor);
background-image: linear-gradient(#fff, #fff);
color: var(--themecolor);
/* background-image: linear-gradient(#fff, #fff); */
background-image: linear-gradient(#1561E0, #1561E0);
color: white;
/* color: var(--themecolor); */
border-bottom: 1px solid #fff;
box-sizing: content-box;
font-weight: bold;
......@@ -338,6 +343,11 @@
user-select: initial;
}
/* 表格中去除下边距 */
.el-table__row .cell .el-form-item--mini.el-form-item,.el-table__row .cell .el-form-item--small.el-form-item{
margin-bottom: 0px;
}
.el-tooltip__popper.is-dark {
max-width: 600px;
}
......@@ -383,11 +393,14 @@
.el-collapse-item__header{
/* background-color: var(--bgcolor); */
font-size: 15px;
font-weight: bold;
}
.el-collapse-item__header.is-active{
font-size: 15px;
font-weight: bold;
color:#1561E0;
}
.col-left {
......@@ -400,4 +413,15 @@
.el-button{
height: 32px;
}
.clearfix:before,
.clearfix:after {
display: table;
content: "";
}
.clearfix:after {
clear: both
}
\ No newline at end of file
<template>
<div>
<div class="clearfix">
<c-col :span="isAdd ? 21 : 22" style="margin-bottom: 18px" :offset="1">
<c-table
style="text-align: center"
......@@ -46,7 +46,7 @@
<slot></slot>
</c-table>
</c-col>
<c-col v-if="isAdd" :span="1">
<c-col v-if="isAdd" :span="1" :offset="1">
<div class="button_contains" >
<span class="add_del_button add_button" @click="handleAdd" >+</span>
<span class="add_del_button" @click="handleDelete" >-</span>
......@@ -181,7 +181,7 @@ export default {
margin-left: 2px;
display: flex;
flex-direction: column;
/* text-align: right; */
align-items: flex-end;
}
.add_del_button {
display: block;
......
......@@ -536,12 +536,11 @@ export default {
};
</script>
<style>
.centerLable {
margin-left: -10px;
/* .centerLable {
height: 32px;
line-height: 32px;
padding-bottom: 2px;
}
} */
.marginLable {
padding-left: 150px;
}
......
......@@ -129,16 +129,6 @@ export default {
height: 100%;
display: block;
}
.clearfix:before,
.clearfix:after {
display: table;
content: "";
}
.clearfix:after {
clear: both
}
.messageLabel >>> .el-form-item__label{
/* text-align: left; */
font-weight:bold;
......
......@@ -452,7 +452,4 @@ export default {
.m-table-search {
padding: 20px 0px 10px 0px;
}
.el-row > .el-col {
padding-right: 10px!important;
}
</style>
......@@ -735,7 +735,4 @@ export default {
.m-table-search {
padding: 20px 0px 10px 0px;
}
.el-row > .el-col {
padding-right: 10px!important;
}
</style>
......@@ -4,7 +4,7 @@
<el-collapse-item title="申报信息" name="cnyp">
<c-col :span="12">
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<el-form-item label="报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select
disabled
v-model="model.cnybop.cnyflg"
......@@ -17,7 +17,7 @@
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<el-form-item label="报送跨境人民币2107表" prop="cnybop.traflg">
<c-select
disabled
v-model="model.cnybop.traflg"
......@@ -30,7 +30,7 @@
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<el-form-item label="报送跨境人民币2111表" prop="cnybop.outflg">
<c-select
disabled
v-model="model.cnybop.outflg"
......@@ -43,7 +43,7 @@
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<el-form-item label="报送跨境人民币2106表" prop="cnybop.libflg">
<c-select
v-model="model.cnybop.libflg"
style="width: 70%"
......@@ -55,7 +55,7 @@
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<el-form-item label="报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select
disabled
v-model="model.cnybop.vouflg"
......
......@@ -4,7 +4,7 @@
<el-collapse-item title="概要" name="ovwp">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="12" style="padding-right: 20px">
<el-col :spam="24">
<el-form-item
label="信用证编号"
......@@ -20,7 +20,7 @@
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px;height:32px;"
style="margin: 0 10px 0 10px; padding: 0 12px; height: 32px"
size="small"
type="primary"
@click="onSeainf"
......@@ -89,49 +89,49 @@
-->
<el-col :span="24">
<c-col :span="11">
<el-form-item label="名义金额" prop="lidgrp.cbs.nom1.cur">
<c-select
v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="币种"
:code="codes.curtxt1"
@keyup.enter.native="nom1CurEvent"
>
<!-- <el-option
<c-col :span="11">
<el-form-item label="名义金额" prop="lidgrp.cbs.nom1.cur">
<c-select
v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="币种"
:code="codes.curtxt1"
@keyup.enter.native="nom1CurEvent"
>
<!-- <el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.nom1.amt"
</c-select>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.nom1.amt"
>
<c-input-currency
v-model="model.lidgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<template>
<c-checkbox
@change="open"
v-model="model.litp.aamp.aammod.addamtflg"
style="float: right; text-align: center"
>附加金额</c-checkbox
>
<c-input-currency
v-model="model.lidgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<template>
<c-checkbox
@change="open"
v-model="model.litp.aamp.aammod.addamtflg"
style="float:right;text-align:center"
>附加金额</c-checkbox
>
</template>
</c-col>
</template>
</c-col>
</el-col>
<c-col :span="14">
<el-form-item label="溢短装" prop="lidgrp.rec.nomtop">
......@@ -200,7 +200,7 @@
</el-form-item>
</c-col>
<c-col :span="13">
<c-col :span="12">
<el-form-item label="开证日期" prop="lidgrp.rec.opndat">
<c-date-picker
type="date"
......@@ -212,7 +212,7 @@
</el-form-item>
</c-col>
<c-col :span="11">
<c-col :span="12">
<el-form-item label="预先通知日期" prop="lidgrp.rec.preadvdt">
<c-date-picker
type="date"
......@@ -242,7 +242,7 @@
<c-col :span="5" class="centerLable">
<c-checkbox
v-model="model.lidgrp.rec.dkflg"
style="float:right;text-align:center"
style="float: right; text-align: center"
disabled
>是否代开</c-checkbox
>
......@@ -372,7 +372,7 @@
</c-col>
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="简略信息" prop="lidgrp.rec.nam">
<c-input
......@@ -670,22 +670,30 @@
-->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox
v-model="model.lidgrp.rec.rmbflg"
true-label="Y"
false-label=""
disabled
style=" padding: 0 10px"
>偿付行信息</c-checkbox
<el-form-item
label=""
style="text-align: left;margin-left:-160px;"
prop="lidgrp.rec.rmbflg"
>
<c-checkbox
v-model="model.lidgrp.rec.rmbflg"
true-label="Y"
false-label=""
disabled
>偿付行信息</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24" class="centerLable marginLable">
<c-checkbox
v-model="model.lidgrp.rec.revflg"
disabled
style=" padding: 0 10px"
<el-form-item
label=""
style="text-align: left;margin-left:-160px;"
prop="lidgrp.rec.revflg"
>
<c-checkbox v-model="model.lidgrp.rec.revflg" disabled
>循环信用证</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -719,7 +727,11 @@
<!-- 附加条款 -->
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="附加金额" name="aamp" v-if="model.litp.aamp.aammod.addamtflg">
<el-collapse-item
title="附加金额"
name="aamp"
v-if="model.litp.aamp.aammod.addamtflg"
>
<!-- 附加金额 -->
<m-aamp :model="model" :codes="codes" />
</el-collapse-item>
......
......@@ -448,71 +448,21 @@
<c-col :span="24">
<el-form-item label="附加当事人" >
<c-edit-table :model="model" v-bind="ptsaddg" style="margin-left:-120px">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
icon="el-icon-info"
></el-button
>
</template>
</el-table-column>
</c-edit-table>
<!-- <c-table
:data="table1"
>
<c-table-column prop="ROL"
label="Role"
sortable
>
</c-table-column>
<el-table-column prop="PTYEXTKEY"
label="Party"
sortable></el-table-column>
<el-table-column prop="NAM"
label="Name of Party"
sortable></el-table-column>
<el-table-column prop="REF"
label="Reference for Address"
sortable></el-table-column>
<el-table-column prop="DET"
label="Details"></el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right">
<template slot-scope="scope" slot="header">
<el-button
circle
style="padding:4px"
class="el-icon-plus"
size="mini"
@click="addRow(scope)"
>
</el-button>
<el-button
style="padding:4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRow(scope)"
>
</el-button>
</template>
<template slot-scope="scoped">
<el-button
style="margin-left:0"
size="small"
type="primary"
@click="detail1(scoped.$index, scoped.row)"
>详情</el-button
>
</template>
</el-table-column>
</c-table> -->
</el-form-item>
</c-col>
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
icon="el-icon-info"
></el-button
>
</template>
</el-table-column>
</c-edit-table>
<!--
<c-col :span="12">
<span v-text="model.litp.avblab" data-path=".litp.avblab" > </span>
......
......@@ -84,20 +84,22 @@
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content>
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
......
......@@ -413,7 +413,4 @@ export default {
.m-table-search {
padding: 20px 0px 10px 0px;
}
.el-row > .el-col {
padding-right: 10px!important;
}
</style>
......@@ -10,175 +10,183 @@
</c-col>
-->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.concur">
<c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder=""
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.concur">
<c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder=""
>
</el-option>
</c-select>
</c-col>
<c-col :span="16">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.newamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="应收比例" prop="liaall.liaccv.cshpct">
<c-row>
<c-col :span="20">
<c-input v-model="model.liaall.liaccv.cshpct"></c-input>
</c-col>
<c-col :span="2" style="margin-left: 20px">
<span>%</span>
</c-col>
</c-row>
</el-form-item>
</c-col>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="16">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.newamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="应收比例" prop="liaall.liaccv.cshpct">
<c-row>
<c-col :span="20">
<c-input v-model="model.liaall.liaccv.cshpct"></c-input>
</c-col>
<c-col :span="2" style="float: right; text-align: right">
<span>%</span>
</c-col>
</c-row>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="保留金额" prop="liaall.liaccv.newresamt">
<c-row>
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder=""
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
<c-col :span="12">
<el-form-item label="保留金额" prop="liaall.liaccv.newresamt">
<c-row>
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder=""
>
</el-option>
</c-select>
</c-col>
<c-col :span="16">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.newresamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="实收比例" prop="liaall.liaccv.relcshpct">
<c-row>
<c-col :span="20">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.relcshpct"
></c-input>
</c-col>
<c-col :span="2" style="margin-left: 20px">
<span>%</span>
</c-col>
</c-row>
</el-form-item>
</c-col>
</c-col>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="16">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.newresamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="实收比例" prop="liaall.liaccv.relcshpct">
<c-row>
<c-col :span="20">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.relcshpct"
></c-input>
</c-col>
<c-col :span="2" style="float: right; text-align: right">
<span>%</span>
</c-col>
</c-row>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="应付金额" prop="liaall.liaccv.concur">
<c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder=""
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
<el-form-item label="应付金额" prop="liaall.liaccv.concur">
<c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder=""
>
</el-option>
</c-select>
</c-col>
<c-col :span="16">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.pctresamt"
></c-input>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="16">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.pctresamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="20">
</c-col> -->
<el-form-item
label=""
style="text-align: left"
prop="liaall.liaccv.gleflg"
>
<c-col :span="7">
<c-checkbox v-model="model.liaall.liaccv.gleflg">过账</c-checkbox>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<c-checkbox v-model="model.liaall.liaccv.gleflg">过账</c-checkbox>
</c-col>
<c-col :span="3" style="float:right">
<!-- <c-row> -->
<!-- <c-col :span="24" style="margin-left:35px;text-align:right"> -->
<c-button size="small" type="primary" @click="onLiaccvAdd">
<!-- <c-col :span="3" style="float: right;"> -->
<!-- <c-row> -->
<!-- <c-col :span="24" style="margin-left:35px;text-align:right"> -->
<c-button
size="small"
type="primary"
@click="onLiaccvAdd"
style="margin-left: 0px;float: right;"
>
添加
</c-button>
<!-- </c-col> -->
</c-col>
<!-- </c-col> -->
<!-- </c-col> -->
</el-form-item>
</c-col>
</c-col>
<template>
<el-dialog
:visible.sync="dialogTableVisible"
width="60%"
center
>
<c-istream-table :list="stmData.data" :columns="stmData.columns" :paginationShow="false">
<el-table-column prop="op" label="OP" width="80" fixed="right">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="pickDepItem(scope.$index,scope.row)"
>
选择
</c-button>
</template>
</el-table-column>
</c-istream-table>
</el-dialog>
<el-dialog :visible.sync="dialogTableVisible" width="60%" center>
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:paginationShow="false"
>
<el-table-column prop="op" label="OP" width="80" fixed="right">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="pickDepItem(scope.$index, scope.row)"
>
选择
</c-button>
</template>
</el-table-column>
</c-istream-table>
</el-dialog>
</template>
<c-col :span="24">
<c-table
......@@ -206,70 +214,71 @@
</el-table-column>
<el-table-column prop="acccovamt" label="实际折算金额" width="150px">
</el-table-column>
<el-table-column label="操作" width="75px" fixed="right">
<el-table-column label="操作" width="auto" fixed="right" align="center">
<template slot-scope="scope">
<c-button style="margin-left:0" type="primary" size="small" @click="onLiaccvDel(scope.$index,scope.row)">
删除</c-button>
<c-button
style="margin-left: 0"
type="primary"
size="small"
@click="onLiaccvDel(scope.$index, scope.row)"
>
删除</c-button
>
</template>
</el-table-column>
</c-table>
</c-col>
<c-col :span="12" style="margin-top:25px">
<c-col :span="12" style="margin-top: 25px">
<c-col :span="24">
<el-form-item label="折算金额总和">
<c-row>
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder=""
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
<el-form-item label="折算金额总和">
<c-row>
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder=""
>
</el-option>
</c-select>
</c-col>
<c-col :span="16">
<c-input
v-model="model.liaall.liaccv.totcovamt"
:readonly="true"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="16">
<c-input
v-model="model.liaall.liaccv.totcovamt"
:readonly="true"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加信息 "
v-if="model.liaall.liaccv.addinf!=''">
<c-input
type="textarea"
:rows="5"
v-model="model.liaall.liaccv.addinf"
maxlength="200"
show-word-limit
placeholder="请输入附加信息"
></c-input>
</el-form-item>
<el-form-item label="附加信息 " v-if="model.liaall.liaccv.addinf != ''">
<c-input
type="textarea"
:rows="5"
v-model="model.liaall.liaccv.addinf"
maxlength="200"
show-word-limit
placeholder="请输入附加信息"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Utils from "~/utils/index"
import Utils from "~/utils/index";
export default {
inject: ["root"],
......@@ -302,57 +311,47 @@ export default {
},
methods: {
async onLiaccvAdd() {
let rtnmsg = await this.executeRule("liaall.liaccv.add")
//const that = this.root;
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
if(typeof(rtnmsg.data.vals) != "undefined"){
this.stmData.data = rtnmsg.data.vals.rows;
}else{
this.stmData.data = [];
}
this.dialogTableVisible = true;
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
let rtnmsg = await this.executeRule("liaall.liaccv.add");
//const that = this.root;
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
if (typeof rtnmsg.data.vals != "undefined") {
this.stmData.data = rtnmsg.data.vals.rows;
} else {
this.stmData.data = [];
}
this.dialogTableVisible = true;
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async pickDepItem(idx,row) {
var params = {selDst:"",selIds:[idx+1]}
let rtnmsg = await this.executeRule("liaall.liaccv.add", params)
if (rtnmsg.respCode == SUCCESS) {
this.dialogTableVisible = false;
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
async pickDepItem(idx, row) {
var params = { selDst: "", selIds: [idx + 1] };
let rtnmsg = await this.executeRule("liaall.liaccv.add", params);
if (rtnmsg.respCode == SUCCESS) {
this.dialogTableVisible = false;
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async onLiaccvDel(index,row) {
let ids = [index+1];
let params = {selDst:"liaall.liaccv.liaccvg",selIds:ids};
let rtnmsg = await this.executeRule("liaall.liaccv.del",params)
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.$message({
type: 'success',
message: '删除成功!'
});
//this.model.liaall.liaccv.liaccvg = [];
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
async onLiaccvDel(index, row) {
let ids = [index + 1];
let params = { selDst: "liaall.liaccv.liaccvg", selIds: ids };
let rtnmsg = await this.executeRule("liaall.liaccv.del", params);
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.$message({
type: "success",
message: "删除成功!",
});
//this.model.liaall.liaccv.liaccvg = [];
Utils.copyValueFromVO(this.model, rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
created: function () {},
};
</script>
<style>
.el-col-7 {
width: 21.16667%;
}
.el-col-offset-1 {
margin-left: 50px;
text-align:center;
}
</style>
<!-- 附言公共页面 -->
<template>
<div class="eibs-tab">
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="15">
......
<template>
<div class="eibs-tab">
<div class="eibs">
<!-- <c-col :span="24" style="margin-bottom:18px">
Liability
</c-col> -->
......@@ -85,12 +85,12 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="valdat" label="起息日" width="200px">
<el-table-column prop="valdat" label="起息日" width="auto">
<template slot-scope="scope">
{{ dateFormat(scope.row.valdat) }}
</template>
</el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right">
<el-table-column label="" prop="det" width="80px" fixed="right" >
<template slot-scope="scope" slot="header">
<el-button
circle
......
<template>
<div class="eibs-tab">
<div class="eibs">
<c-col :span="24" style="">
<c-istream-table :list="data" :columns="columns"></c-istream-table>
</c-col>
......
<template>
<c-row class="eibs-tab">
<!-- ====================顶部==================== -->
<c-col :span="6" style="margin-left:9px">
<el-form-item label="业务参考号" label-width="80px">
<c-input v-model="model.setmod.ref" maxlength="16" :disabled="true" :readonly="true" placeholder="请输入our reference">
</c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="结算金额录入" label-width="90px">
<c-input v-model="model.setmod.doccur" placeholder="CNY" :disabled="true" :readonly="true"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" label-width="5px" >
<c-input-currency v-model="model.setmod.docamt" placeholder="0" disabled></c-input-currency>
</el-form-item>
</c-col>
<c-row class="eibs">
<c-col :span="8">
<c-col :span="24">
<el-form-item label="业务参考号" style="float: left">
<c-input
v-model="model.setmod.ref"
maxlength="16"
:disabled="true"
:readonly="true"
placeholder="请输入our reference"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8">
<c-col :span="12">
<el-form-item label="结算金额录入" label-width="150px">
<c-input
v-model="model.setmod.doccur"
placeholder="CNY"
:disabled="true"
:readonly="true"
></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="">
<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="" size="small" type="primary" icon="el-icon-info" @click="onSetmodDet">
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px">
<c-input-currency
v-model="model.setmod.docamt"
placeholder="0"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8">
<c-col :span="12">
<el-form-item label="类型" label-width="100px">
<c-select
v-model="model.setmod.dspflg"
disabled
style="width: 100%"
placeholder=""
>
<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="12" style="text-align: right; float: right">
<!-- <el-form-item label="" label-width="20px"> -->
<c-button
style=""
size="small"
type="primary"
icon="el-icon-info"
@click="onSetmodDet"
>
</c-button>
<!-- </el-form-item> -->
</c-col>
</c-col>
<!-- ====================顶部==================== -->
<!--
<!--
<c-col :span="12">
<el-form-item label="自贸区账号">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自贸区账号"></c-input>
......@@ -46,312 +80,435 @@
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
-->
<c-col :span="24" style="height:25px">
<el-divider></el-divider>
</c-col>
<!-- ==============第一个表格===================== -->
<c-col :span="24" style="height: 25px">
<el-divider></el-divider>
</c-col>
<!-- ==============第一个表格===================== -->
<c-col :span="24" style="height:24px">
<el-form-item class="formItemLabel" label="国外收费:" label-width="300px">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 24px">
<el-form-item class="formItemLabel" label="国外收费:" label-width="300px">
</el-form-item>
</c-col>
<c-col :span="24" style="">
<c-table style="text-align: center" :list="model.setmod.setfog.setfol" :paginationShow="false"
:border="true">
<el-table-column label="付款人" width="101px">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'setmod.setfog.setfol.' + scope.$index + '.ptydbt'">
<c-select v-model="scope.row.ptydbt" @change="defaultFunction()">
<el-option v-for="item in codes.ptydbt_setpan" :key="item.value" :label="item.value"
:value="item.value">
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="付款人" width="101px">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'setmod.setfog.setfol.' + scope.$index + '.ptypay'">
<c-select v-model="scope.row.ptypay" @change="defaultFunction()">
<el-option v-for="item in codes.ptydbt_setpan" :key="item.value" :label="item.value"
:value="item.value">
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="费用来源" prop="src" width="70px">
</el-table-column>
<el-table-column label="处理方式" prop="dsp" width="76px">
</el-table-column>
<el-table-column label="付款人摘要" prop="txtdbt" width="auto">
</el-table-column>
<el-table-column label="收款人摘要" prop="txtpay" width="auto">
</el-table-column>
<el-table-column label="币种" 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>
</c-select>
</template>
</el-table-column>
<el-table-column label="金额" prop="amt" width="150px">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'setmod.setfog.setfol.' + scope.$index + '.amt'"></el-form-item>
</template>
</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="addRowSetfol(scope)"
>
</c-button>
<c-button
style="padding:4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRowSetfol(scope)"
>
</c-button>
</template>
<template slot-scope="scoped">
<c-button style="margin-left:0" size="small" type="primary" icon="el-icon-info"
@click="detail1(scoped.$index, scoped.row)"></c-button>
</template>
</el-table-column>
</c-table>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="model.setmod.setfog.setfol"
:paginationShow="false"
:border="true"
>
<el-table-column label="付款人" width="101px">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'setmod.setfog.setfol.' + scope.$index + '.ptydbt'"
>
<c-select v-model="scope.row.ptydbt" @change="defaultFunction()">
<el-option
v-for="item in codes.ptydbt_setpan"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="付款人" width="101px">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'setmod.setfog.setfol.' + scope.$index + '.ptypay'"
>
<c-select v-model="scope.row.ptypay" @change="defaultFunction()">
<el-option
v-for="item in codes.ptydbt_setpan"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="费用来源" prop="src" width="70px">
</el-table-column>
<el-table-column label="处理方式" prop="dsp" width="76px">
</el-table-column>
<el-table-column label="付款人摘要" prop="txtdbt" width="auto">
</el-table-column>
<el-table-column label="收款人摘要" prop="txtpay" width="auto">
</el-table-column>
<el-table-column label="币种" 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>
</c-select>
</template>
</el-table-column>
<el-table-column label="金额" prop="amt" width="150px">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'setmod.setfog.setfol.' + scope.$index + '.amt'"
></el-form-item>
</template>
</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="addRowSetfol(scope)"
>
</c-button>
<c-button
style="padding: 4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRowSetfol(scope)"
>
</c-button>
</template>
<template slot-scope="scoped">
<c-button
style="margin-left: 0"
size="small"
type="primary"
icon="el-icon-info"
@click="detail1(scoped.$index, scoped.row)"
></c-button>
</template>
</el-table-column>
</c-table>
</c-col>
<c-col>
<el-dialog :visible.sync="dialogVisible" center>
<c-col>
<el-dialog :visible.sync="dialogVisible" center>
<c-col>
<el-form :model="dialog" label-width="200px">
<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" />
</c-select>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="收款人摘要">
<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>
</c-select>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="付款人摘要">
<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" />
</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%" />
</el-form-item>
</c-col>
</c-col>
<c-col :span="16">
<el-form-item>
<c-checkbox v-model="dialog.forflg">买入行费用</c-checkbox>
</el-form-item>
</c-col>
</el-form>
</c-col>
<span slot="footer" class="dialog-footer">
<c-button type="primary" @click="saveDialog">确 定</c-button>
<c-button @click="dialogVisible = false">取 消</c-button>
</span>
</el-dialog>
</c-col>
<!--=================== Own Commission/Charges:================== -->
<c-col :span="24" style="height:24px;margin-top:25px">
<el-form-item class="formItemLabel" label="我行收费:" label-width="200px"> </el-form-item>
</c-col>
<c-col :span="24" style="">
<c-table style="text-align: center" :list="model.setmod.setfeg.setfel" :paginationShow="false"
:border="true">
<el-table-column label="收取对象" width="101px">
<template #default="scope">
<el-form-item label-width="0" :prop="'setmod.setfeg.setfel.' + scope.$index + '.rol'">
<c-select v-model="scope.row.rol" @change="defaultFunction()">
<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>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="费用代码" width="101px">
<template #default="scope">
<el-form-item label-width="0" :prop="'setmod.setfeg.setfel.' + scope.$index + '.feecod'">
<c-select v-model="scope.row.feecod" @change="selectOrCheckboxRule('setmod.setfeg.setfel.feecod')">
<el-option v-for="item in codes.fepfeecod" :key="item.value" :label="item.value"
:value="item.value">
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="费用来源" prop="src" width="70px">
</el-table-column>
<el-table-column label="处理方式" 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>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="份数" prop="unt" width="70px">
</el-table-column>
<el-table-column label="费用描述" prop="feetxtinf" width="auto">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'setmod.setfeg.setfel.' + scope.$index + '.feetxtinf'">
{{scope.row.feetxtinf}}
</el-form-item>
</template>
</el-table-column>
<el-table-column label="币种" prop="cur" width="100px">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'setmod.setfeg.setfel.' + scope.$index + '.cur'">
{{scope.row.cur}}
</el-form-item>
</template>
</el-table-column>
<el-table-column label="应收金额" prop="ogiamt" width="150px">
</el-table-column>
<el-table-column label="实收金额" prop="amt" width="150px">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'setmod.setfeg.setfel.' + scope.$index + '.amt'">
{{scope.row.amt}}
</el-form-item>
</template>
</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="addRowSetfel(scope)"
>
</c-button>
<c-button
style="padding:4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRowSetfel(scope)"
>
</c-button>
</template>
<template slot-scope="scoped">
<c-button style="margin-left:0" size="small" type="primary" icon="el-icon-info"
@click="detail2(scoped.$index, scoped.row)"></c-button>
</template>
</el-table-column>
</c-table>
<el-form :model="dialog" label-width="200px">
<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"
/>
</c-select>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="收款人摘要">
<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>
</c-select>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="付款人摘要">
<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"
/>
</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%" />
</el-form-item>
</c-col>
</c-col>
<c-col :span="16">
<el-form-item>
<c-checkbox v-model="dialog.forflg">买入行费用</c-checkbox>
</el-form-item>
</c-col>
</el-form>
</c-col>
<div style="height=500px">
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes" />
</div>
<c-col :span="24" style="height:24px;margin-top:25px">
<el-form-item class="formItemLabel" label="结算:" label-width="100px">
<span style="color:red">{{ this.model.setmod.dspflg == 'C'? "temporary":"" }}</span>
<span slot="footer" class="dialog-footer">
<c-button type="primary" @click="saveDialog">确 定</c-button>
<c-button @click="dialogVisible = false">取 消</c-button>
</span>
</el-dialog>
</c-col>
<!--=================== Own Commission/Charges:================== -->
<c-col :span="24" style="height: 24px; margin-top: 25px">
<el-form-item class="formItemLabel" label="我行收费:" label-width="200px">
</el-form-item>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="model.setmod.setfeg.setfel"
:paginationShow="false"
:border="true"
>
<el-table-column label="收取对象" width="101px">
<template #default="scope">
<el-form-item
label-width="0"
:prop="'setmod.setfeg.setfel.' + scope.$index + '.rol'"
>
<c-select v-model="scope.row.rol" @change="defaultFunction()">
<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>
</el-form-item>
</c-col>
<c-col :span="24" style="">
<c-table style="text-align: center" :list="stmData3" :paginationShow="false"
:border="true">
<el-table-column label="修改标识" prop="modflg" width="70px">
</el-table-column>
<el-table-column label="费用对象" prop="rol" width="70px">
</el-table-column>
<el-table-column label="即收币种" prop="acccur" width="70px">
<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>
</c-select>
</template>
</el-table-column>
<el-table-column label="记账金额" prop="fmtaccamt" width="120px">
<template slot-scope="scope">
<c-input v-model="scope.row.fmtaccamt" @change="fmtaccamtChange(scope.$index)"/>
</template>
</el-table-column>
<el-table-column label="处理方式" width="100px">
<template #default="scope">
<c-select v-model="scope.row.dsp">
<el-option v-for="item in codes.setgll_dsp" :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>
</el-table-column>
<el-table-column label="记账账号" prop="act" width="auto">
<template slot-scope="scope">
<el-form-item label-width="0" :prop="'setmod.setglg.setgll.' + scope.$index + '.act'" >
<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>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="借/贷" prop="debcdtflg" width="60px">
</el-table-column>
<el-table-column label="原始币种" prop="cur" width="70px">
</el-table-column>
<el-table-column label="原始金额" prop="fmtamt" width="120px">
</el-table-column>
<el-table-column label="汇率" prop="rat" width="120px">
</el-table-column>
<el-table-column label="" width="135px" fixed="right">
<template slot-scope="scoped">
<c-button style="margin-left:0" size="small" type="primary">获取</c-button>
<c-button style="margin-left:0" size="small" type="primary" icon="el-icon-info"
@click="handleDetail(scoped.$index, scoped.row)"></c-button>
</template>
</el-table-column>
<!-- <el-table-column label="" width="80px">
</template>
</el-table-column>
<el-table-column label="费用代码" width="101px">
<template #default="scope">
<el-form-item
label-width="0"
:prop="'setmod.setfeg.setfel.' + scope.$index + '.feecod'"
>
<c-select
v-model="scope.row.feecod"
@change="selectOrCheckboxRule('setmod.setfeg.setfel.feecod')"
>
<el-option
v-for="item in codes.fepfeecod"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="费用来源" prop="src" width="70px">
</el-table-column>
<el-table-column label="处理方式" 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>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="份数" prop="unt" width="70px">
</el-table-column>
<el-table-column label="费用描述" prop="feetxtinf" width="auto">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'setmod.setfeg.setfel.' + scope.$index + '.feetxtinf'"
>
{{ scope.row.feetxtinf }}
</el-form-item>
</template>
</el-table-column>
<el-table-column label="币种" prop="cur" width="100px">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'setmod.setfeg.setfel.' + scope.$index + '.cur'"
>
{{ scope.row.cur }}
</el-form-item>
</template>
</el-table-column>
<el-table-column label="应收金额" prop="ogiamt" width="150px">
</el-table-column>
<el-table-column label="实收金额" prop="amt" width="150px">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'setmod.setfeg.setfel.' + scope.$index + '.amt'"
>
{{ scope.row.amt }}
</el-form-item>
</template>
</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="addRowSetfel(scope)"
>
</c-button>
<c-button
style="padding: 4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRowSetfel(scope)"
>
</c-button>
</template>
<template slot-scope="scoped">
<c-button
style="margin-left: 0"
size="small"
type="primary"
icon="el-icon-info"
@click="detail2(scoped.$index, scoped.row)"
></c-button>
</template>
</el-table-column>
</c-table>
</c-col>
<div style="height=500px">
<setpan-dialog
ref="setpanDialog"
:model="model"
:idx="index"
:codes="codes"
/>
</div>
<c-col :span="24" style="height: 24px; margin-top: 25px">
<el-form-item class="formItemLabel" label="结算:" label-width="100px">
<span style="color: red">{{
this.model.setmod.dspflg == "C" ? "temporary" : ""
}}</span>
</el-form-item>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="stmData3"
:paginationShow="false"
:border="true"
>
<el-table-column label="修改标识" prop="modflg" width="70px">
</el-table-column>
<el-table-column label="费用对象" prop="rol" width="70px">
</el-table-column>
<el-table-column label="即收币种" prop="acccur" width="70px">
<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>
</c-select>
</template>
</el-table-column>
<el-table-column label="记账金额" prop="fmtaccamt" width="120px">
<template slot-scope="scope">
<c-input
v-model="scope.row.fmtaccamt"
@change="fmtaccamtChange(scope.$index)"
/>
</template>
</el-table-column>
<el-table-column label="处理方式" width="100px">
<template #default="scope">
<c-select v-model="scope.row.dsp">
<el-option
v-for="item in codes.setgll_dsp"
: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>
</el-table-column>
<el-table-column label="记账账号" prop="act" width="auto">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'setmod.setglg.setgll.' + scope.$index + '.act'"
>
<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>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="借/贷" prop="debcdtflg" width="60px">
</el-table-column>
<el-table-column label="原始币种" prop="cur" width="70px">
</el-table-column>
<el-table-column label="原始金额" prop="fmtamt" width="120px">
</el-table-column>
<el-table-column label="汇率" prop="rat" width="120px">
</el-table-column>
<el-table-column label="" width="135px" fixed="right">
<template slot-scope="scoped">
<c-button style="margin-left: 0" size="small" type="primary"
>获取</c-button
>
<c-button
style="margin-left: 0"
size="small"
type="primary"
icon="el-icon-info"
@click="handleDetail(scoped.$index, scoped.row)"
></c-button>
</template>
</el-table-column>
<!-- <el-table-column label="" width="80px">
<template>
<c-button
style="margin-left:0"
......@@ -360,64 +517,84 @@
>详情</c-button
>
</template> </el-table-column> -->
</c-table>
</c-col>
</c-table>
</c-col>
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg">
</span>
</c-col> -->
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab">
</span>
</c-col> -->
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<span
v-text="model.setmod.setglg.labdspflg"
data-path=".setmod.setglg.labdspflg"
>
</span>
</c-col> -->
<template>
<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">
<template>
<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="24" v-if="dialog3.amt > 0">
<el-form-item label="付款人">
<c-select v-model="dialog3.rol" style="width:100%" placeholder="请输入role">
<el-option v-for="item in codes.rolall" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-else>
<el-form-item label="收款人">
<c-select v-model="dialog3.rol" style="width:100%" placeholder="请输入role">
<el-option v-for="item in codes.rolall" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-col :span="24" v-if="dialog3.amt > 0">
<el-form-item label="付款人">
<c-select
v-model="dialog3.rol"
style="width: 100%"
placeholder="请输入role"
>
<el-option
v-for="item in codes.rolall"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-else>
<el-form-item label="收款人">
<c-select
v-model="dialog3.rol"
style="width: 100%"
placeholder="请输入role"
>
<el-option
v-for="item in codes.rolall"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="dialog3.act3flg">第三方还款</c-checkbox>
</c-col>
......@@ -433,34 +610,52 @@
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="处理" prop="setgll.dsp">
<c-select v-model="dialog3.dsp" style="width:100%" placeholder="请选择Disposition" :code="codes.setglldsp">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="处理" prop="setgll.dsp">
<c-select
v-model="dialog3.dsp"
style="width: 100%"
placeholder="请选择Disposition"
:code="codes.setglldsp"
>
</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="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>
<c-col :span="6" style="text-align: right">
<c-button size="small" type="primary" @click="onActpDet" icon="el-icon-info">
</c-button>
</c-col>
</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>
<c-col :span="6" style="text-align: right">
<c-button
size="small"
type="primary"
@click="onActpDet"
icon="el-icon-info"
>
</c-button>
</c-col>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="核心业务代号" >
<c-input v-model="dialog3.acccode" maxlength="4" placeholder="请输入核心业务代号"></c-input>
</el-form-item>
......@@ -472,191 +667,250 @@
</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">
<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="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.acttrmtyp" style="width:100%" placeholder="请选择原始金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="起息日">
<c-date-picker type="date" v-model="dialog3.valdat" style="width:100%"
placeholder="请选择起息日"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="科目代码">
<c-select
v-model="dialog3.acttrmtyp"
style="width: 100%"
placeholder="请选择原始金额"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="起息日">
<c-date-picker
type="date"
v-model="dialog3.valdat"
style="width: 100%"
placeholder="请选择起息日"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<!-- <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.cur" 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" :code="codes.setgll_modflg">
</c-select>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="原始金额">
<c-col :span="8">
<c-select
v-model="dialog3.cur"
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"
:code="codes.setgll_modflg"
>
</c-select>
</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>
</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-select v-model="dialog3.debcdtflg" style="width:100%" placeholder="请选择Debit/Credit" :code="codes.setgll_debcdtflg">
</c-select>
</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>
</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-select
v-model="dialog3.debcdtflg"
style="width: 100%"
placeholder="请选择Debit/Credit"
:code="codes.setgll_debcdtflg"
>
</c-select>
</el-form-item>
</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="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>利率类型</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>
<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>利率类型</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>
<!-- <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">
......@@ -797,107 +1051,139 @@
</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="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="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="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="交易主体" 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="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="传票摘要" prop="setgll.modifyflg">
<c-checkbox v-model="modifyflg"/>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="setgll.txt">
<c-input type="textarea" v-model="dialog3.txt" maxlength="100" show-word-limit
placeholder="请输入TXT" :disabled="!modifyflg"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="文本1" prop="setgll.txt1">
<c-input type="textarea" v-model="dialog3.txt1" maxlength="100" show-word-limit
placeholder="请输入文本"></c-input>
</el-form-item>
</c-col>
</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">
<c-col :span="12">
<el-form-item label="传票摘要" prop="setgll.modifyflg">
<c-checkbox v-model="modifyflg" />
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="setgll.txt">
<c-input
type="textarea"
v-model="dialog3.txt"
maxlength="100"
show-word-limit
placeholder="请输入TXT"
:disabled="!modifyflg"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="文本1" prop="setgll.txt1">
<c-input
type="textarea"
v-model="dialog3.txt1"
maxlength="100"
show-word-limit
placeholder="请输入文本"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<!-- <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>
<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="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>
<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="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>
<!-- <c-col :span="12">
<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>
<!-- <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>
......@@ -911,276 +1197,287 @@
</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.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.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.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">
<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">
<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.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>
<span slot="footer" class="dialog-footer">
<c-button type="primary" @click="saveDialog3">确 定</c-button>
<c-button @click="detpDialogVisible = false">取 消</c-button>
</span>
</el-dialog>
</template>
</c-row>
<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>
<span slot="footer" class="dialog-footer">
<c-button type="primary" @click="saveDialog3">确 定</c-button>
<c-button @click="detpDialogVisible = false">取 消</c-button>
</span>
</el-dialog>
</template>
</c-row>
</template>
<script>
// import Event from "~/model/Ditopn/Event";
import commonProcess from "~/mixin/commonProcess";
import SetpanDialog from "./SetpanDialog.vue";
import Api from "~/service/Api"
import Utils from "~/utils/index"
import Api from "~/service/Api";
import Utils from "~/utils/index";
export default {
inject: ['root'],
components: { SetpanDialog },
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
dialogVisible: false,
dialog: {
payee: "",
ptydbt: "",
txtpay: "",
txtdbt: "",
CG00005: "",
},
newdialog: {
payee: "",
ptydbt: "",
txtpay: "",
txtdbt: "",
CG00005: "",
},
dialog2: {
feetxtinf: "",
feetxt: "",
},
index: 0,
detpDialogVisible: false,
rattyp: '',
dcbrattyp: '',
scbrattyp: '',
dialog3: {
setgrp: {
act: {
pts: {
}
}
},
actp: {
ptsget: {
sdamod: {
}
}
},
},
ogiamt:{},
stmData3:[],
};
},
watch: {
"model.setmod.setglg.setgll": {
handler(val, oldVal) {
var stm = [];
for (let i = 0; i < val.length; i++) {
if (val[i].rol != "") {
val[i]['idx'] = i
stm.push(val[i]);
}
}
this.stmData3 = stm
},
}
},
methods: {
//第一个表格
addRowSetfol() {
let newRow = { ...this.newdialog };
this.model.setmod.setfog.setfol.splice(0, 0, newRow);
this.defaultFunction();
},
removeRowSetfol() {
this.model.setmod.setfog.setfol.shift();
this.defaultFunction();
},
saveDialog() {
this.dialogVisible = false;
this.model.setmod.setfog.setfol.splice(this.index, 1, this.dialog);
},
// 第二个表格
addRowSetfel() {
let newRow = { ...this.dialog2 };
this.model.setmod.setfeg.setfel.splice(0, 0, newRow);
this.defaultFunction();
},
removeRowSetfel() {
this.model.setmod.setfeg.setfel.shift();
this.defaultFunction();
},
detail1(index, row) {
this.executeDefault("setfel.det").then(res => {
this.index = index;
this.dialogVisible = true;
this.dialog = row;
})
},
dispDefault(index) {
this.executeDefault(`setmod.setfeg.setfel(${index}).mac`).then(res => {
Utils.copyValueFromVO(this.model, res.data)
})
inject: ["root"],
components: { SetpanDialog },
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
dialogVisible: false,
dialog: {
payee: "",
ptydbt: "",
txtpay: "",
txtdbt: "",
CG00005: "",
},
newdialog: {
payee: "",
ptydbt: "",
txtpay: "",
txtdbt: "",
CG00005: "",
},
dialog2: {
feetxtinf: "",
feetxt: "",
},
index: 0,
detpDialogVisible: false,
rattyp: "",
dcbrattyp: "",
scbrattyp: "",
dialog3: {
setgrp: {
act: {
pts: {},
},
},
// 第二个表格
detail2(index, row) {
const that = this;
const rule = "setmod.setfeg.setfel(" + (index + 1) + ").det";
that.executeRule(rule).then(res => {
that.index = index;
that.$refs.setpanDialog.visiable = true;
// that.$refs.setpanDialog.formData = that.model.setmod.setfeg.setfel[index];
that.dialog2 = row
})
actp: {
ptsget: {
sdamod: {},
},
},
// 第三个表格
saveDialog3() {
this.detpDialogVisible = false;
this.model.setmod.setglg.setgll.splice(this.index, 1, this.dialog3)
},
async handleDetail(index, row) {
const that = this;
const rule = "setmod.setglg.setgll(" + (index + 1) + ").det";
let rtnmsg = await this.executeRule(rule)
if (rtnmsg.respCode == SUCCESS) {
that.index = index;
that.$refs.detpDialog.visiable = true;
this.detpDialogVisible = true;
that.dialog3 = that.model.setmod.setglg.setgll[index];
that.rattyp = that.strCalCode(that.dialog3.rattyp, that.codes.ratetype);
that.dcbrattyp = that.strCalCode(that.dialog3.dcbrattyp, that.codes.ratetype);
that.scbrattyp = that.strCalCode(that.dialog3.scbrattyp, that.codes.ratetype);
}
},
strCalCode(str, code) {
var result = '';
for (let i = 0; i < code.length; i++) {
if (code[i].value === str) {
result = code[i].label;
continue;
}
}
if (result === '') {
return str;
} else {
return result;
}
},
onMtdbutButapy() {
},
onActpDet() {
},
onSetgllCodsel() {
},
onMtdbutButcan() {
},
onSetgllCtysel() {
},
onSetgllDetget() {
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async fmtaccamtChange(index){
let rtnmsg = await this.executeRule("setmod.setglg.setgll("+(index + 1)+").fmtaccamt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
},
ogiamt: {},
stmData3: [],
};
},
watch: {
"model.setmod.setglg.setgll": {
handler(val, oldVal) {
var stm = [];
for (let i = 0; i < val.length; i++) {
if (val[i].rol != "") {
val[i]["idx"] = i;
stm.push(val[i]);
}
}
this.stmData3 = stm;
},
},
},
methods: {
//第一个表格
addRowSetfol() {
let newRow = { ...this.newdialog };
this.model.setmod.setfog.setfol.splice(0, 0, newRow);
this.defaultFunction();
},
removeRowSetfol() {
this.model.setmod.setfog.setfol.shift();
this.defaultFunction();
},
saveDialog() {
this.dialogVisible = false;
this.model.setmod.setfog.setfol.splice(this.index, 1, this.dialog);
},
// 第二个表格
addRowSetfel() {
let newRow = { ...this.dialog2 };
this.model.setmod.setfeg.setfel.splice(0, 0, newRow);
this.defaultFunction();
},
removeRowSetfel() {
this.model.setmod.setfeg.setfel.shift();
this.defaultFunction();
},
detail1(index, row) {
this.executeDefault("setfel.det").then((res) => {
this.index = index;
this.dialogVisible = true;
this.dialog = row;
});
},
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) => {
that.index = index;
that.$refs.setpanDialog.visiable = true;
// that.$refs.setpanDialog.formData = that.model.setmod.setfeg.setfel[index];
that.dialog2 = row;
});
},
// 第三个表格
saveDialog3() {
this.detpDialogVisible = false;
this.model.setmod.setglg.setgll.splice(this.index, 1, this.dialog3);
},
created: function () { },
computed: {
modifyflg: {
get() {
return this.dialog3.modifyflg === "X";
},
set(val) {
this.dialog3.modifyflg = val ? "X" : "";
},
},
async handleDetail(index, row) {
const that = this;
const rule = "setmod.setglg.setgll(" + (index + 1) + ").det";
let rtnmsg = await this.executeRule(rule);
if (rtnmsg.respCode == SUCCESS) {
that.index = index;
that.$refs.detpDialog.visiable = true;
this.detpDialogVisible = true;
that.dialog3 = that.model.setmod.setglg.setgll[index];
that.rattyp = that.strCalCode(that.dialog3.rattyp, that.codes.ratetype);
that.dcbrattyp = that.strCalCode(
that.dialog3.dcbrattyp,
that.codes.ratetype
);
that.scbrattyp = that.strCalCode(
that.dialog3.scbrattyp,
that.codes.ratetype
);
}
},
strCalCode(str, code) {
var result = "";
for (let i = 0; i < code.length; i++) {
if (code[i].value === str) {
result = code[i].label;
continue;
}
}
if (result === "") {
return str;
} else {
return result;
}
},
onMtdbutButapy() {},
onActpDet() {},
onSetgllCodsel() {},
onMtdbutButcan() {},
onSetgllCtysel() {},
onSetgllDetget() {},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async fmtaccamtChange(index) {
let rtnmsg = await this.executeRule(
"setmod.setglg.setgll(" + (index + 1) + ").fmtaccamt"
);
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
},
},
created: function () {},
computed: {
modifyflg: {
get() {
return this.dialog3.modifyflg === "X";
},
set(val) {
this.dialog3.modifyflg = val ? "X" : "";
},
},
},
};
</script>
<style scoped>
.el-col>>>.el-divider--horizontal {
margin-top: 10px;
.el-col >>> .el-divider--horizontal {
margin-top: 10px;
}
.formItemLabel>>>.el-form-item__label {
text-align: left;
font-weight: bold;
.formItemLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
}
.messageLabel>>>.el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
.messageLabel >>> .el-form-item__label {
text-align: left;
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