Commit 7b876abe by liyixun

getset (bug844)

parent 5532231b
...@@ -5,6 +5,9 @@ import Pub from "../Public" ...@@ -5,6 +5,9 @@ import Pub from "../Public"
export default class Getset{ export default class Getset{
constructor () { constructor () {
this.data = { this.data = {
gitapll1blk:"",
gitbenl1blk:"",
lendoc_botsetl1blk:"",
gctp:{ gctp:{
expfldlab:"", // Label for Field Validity .gctp.expfldlab expfldlab:"", // Label for Field Validity .gctp.expfldlab
explab:"", // Label unlimited Validity .gctp.explab explab:"", // Label unlimited Validity .gctp.explab
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- 上方 -->
<c-col :span="12"> <c-row>
<c-form-item label="Drag Drop Sender" prop="bttp0.ltdget.sdamod.dadsnd"> <c-col :span="24">
<c-input v-model="model.bttp0.ltdget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> <!-- 上左 -->
</c-form-item> <c-col :span="12">
</c-col> <c-col :span="24">
<c-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
<c-col :span="12"> <c-fullbox>
<c-form-item label="Drag Drop Sender" prop="bttp0.ledget.sdamod.dadsnd"> <c-input
<c-input v-model="model.bttp0.ledget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> v-model="model.ltdgrp.rec.ownref"
</c-form-item> maxlength="16"
</c-col> placeholder="请输入Transfer Reference"
<!-- SF000065 : Transfer Reference --> disabled
></c-input>
<c-col :span="12"> <template slot="footer">
<c-form-item :label="$t('bttp0.SF000065')" prop="ltdgrp.rec.ownref"> <c-button
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('bttp0.SF000065')"></c-input> style="margin: 0 10px 0 10px; padding: 0 12px"
</c-form-item> size="small"
</c-col> type="primary"
>
<c-col :span="12"> <span
<c-form-item label="" prop="bttp0.ltdget.sdamod.seainf"> style="
<c-input v-model="model.bttp0.ltdget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> font-size: 15px;
</c-form-item> font-family: '宋体';
</c-col> font-weight: bold;
<!-- SF000066 : L/C Reference --> "
>i</span
<c-col :span="12"> >
<c-form-item :label="$t('bttp0.SF000066')" prop="ledgrp.rec.ownref"> </c-button>
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('bttp0.SF000066')"></c-input> </template>
</c-form-item> </c-fullbox>
</c-col> </c-form-item>
</c-col>
<c-col :span="12"> <c-col :span="24">
<c-form-item label="" prop="bttp0.ledget.sdamod.seainf"> <c-form-item label="Doc.Set Reference" prop="btdgrp.rec.ownref">
<c-input v-model="model.bttp0.ledget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> <c-fullbox>
</c-form-item> <c-input
</c-col> v-model="model.btdgrp.rec.ownref"
maxlength="16"
<c-col :span="12"> placeholder="请输入Doc.Set Reference"
<c-form-item label="Drag Drop Sender" prop="bttp0.recget.sdamod.dadsnd"> disabled
<c-input v-model="model.bttp0.recget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> ></c-input>
</c-form-item> <template slot="footer">
</c-col> <c-button
<!-- SF000058 : Doc. Set Reference --> style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
<c-col :span="12"> type="primary"
<c-form-item :label="$t('bttp0.SF000058')" prop="btdgrp.rec.ownref"> >
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('bttp0.SF000058')"></c-input> <span
</c-form-item> style="
</c-col> font-size: 15px;
font-family: '宋体';
<c-col :span="12"> font-weight: bold;
<c-form-item label="" prop="bttp0.recget.sdamod.seainf"> "
<c-input v-model="model.bttp0.recget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> >i</span
</c-form-item> >
</c-col> </c-button>
</template>
<c-col :span="12"> </c-fullbox>
<c-form-item label="Name of Bill Contract" prop="btdgrp.rec.nam"> </c-form-item>
<c-input v-model="model.btdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Bill Contract'"></c-input> </c-col>
</c-form-item> <c-col :span="24">
</c-col> <c-col :span="12">
<!-- SF000057 : Document Amount --> <el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select
<c-col :span="12"> v-model="model.btdgrp.cbs.max.cur"
<el-form-item :label="$t('bttp0.SF000057')" prop="btdgrp.cbs.max.cur"> style="width: 100%"
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('bttp0.SF000057')"> placeholder="请输入Document Amount"
</c-select> :code="codes.curtxt1"
</el-form-item> disabled
</c-col> >
</c-select>
<c-col :span="12"> </el-form-item>
<c-form-item :label="$t('bttp0.SF000057')" prop="btdgrp.cbs.max.amt"> </c-col>
<c-input v-model="model.btdgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+$t('bttp0.SF000057')"></c-input> <c-col :span="12">
</c-form-item> <c-col :span="16">
</c-col> <c-form-item label-width="5px" prop="btdgrp.cbs.max.amt">
<c-input
<c-col :span="12"> v-model="model.btdgrp.cbs.max.amt"
<c-checkbox v-model="model.bttp0.aammod.addamtflg">{{$t('bttp0.CF000067')}}</c-checkbox> placeholder="请输入"
</c-col> disabled
<!-- SF000053 : 1st Beneficiary --> style="width: 95%"
<!-- SF000064 : Ref. --> ></c-input>
</c-form-item>
<c-col :span="12"> </c-col>
<c-form-item :label="$t('bttp0.SF000053')" prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('bttp0.SF000053')"></c-input> <c-col :span="8" class="centerLable">
</c-form-item> <c-checkbox disabled v-model="model.bttp0.aammod.addamtflg">
</c-col> Add.Amount
<!-- SF000056 : Open Amount --> </c-checkbox>
</c-col>
<c-col :span="12"> </c-col>
<c-form-item :label="$t('bttp0.SF000056')" prop="btdgrp.cbs.opn1.cur"> </c-col>
<c-input v-model="model.btdgrp.cbs.opn1.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('bttp0.SF000056')"></c-input> <c-col :span="24">
</c-form-item> <c-col :span="12">
</c-col> <c-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
<c-input
<c-col :span="12"> v-model="model.btdgrp.cbs.opn1.cur"
<c-form-item label="Balance" prop="btdgrp.cbs.opn1.amt"> maxlength="3"
<c-input v-model="model.btdgrp.cbs.opn1.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> placeholder="请输入Open Amount"
</c-form-item> disabled
</c-col> ></c-input>
</c-form-item>
<c-col :span="12"> </c-col>
<c-form-item label="Name of Party" prop="btdgrp.be1.pts.nam">
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input> <c-col :span="12">
</c-form-item> <c-form-item label-width="5px" prop="btdgrp.cbs.opn1.amt">
</c-col> <c-input
<!-- SF000059 : Document Type --> v-model="model.btdgrp.cbs.opn1.amt"
placeholder="请输入"
<c-col :span="12"> disabled
<c-form-item :label="$t('bttp0.SF000059')" prop="btdgrp.rec.doctypcod"> ></c-input>
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" :placeholder="$t('other.please_enter')+$t('bttp0.SF000059')"></c-input> </c-form-item>
</c-form-item> </c-col>
</c-col> </c-col>
<!-- SF000052 : Maturity Date --> <c-col :span="24">
<c-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-col :span="12"> <c-input
<span v-text="model.bttp0.matp.mattxtlab" data-path=".bttp0.matp.mattxtlab" > </span> v-model="model.btdgrp.rec.doctypcod"
</c-col> maxlength="16"
placeholder="请输入Document Type"
<c-col :span="12"> disabled
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat"> ></c-input>
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:100%" :placeholder="$t('other.please_enter')+'Maturity Date'"></c-date-picker> </c-form-item>
</el-form-item> </c-col>
</c-col> <c-col :span="24">
<!-- SF000055 : 2nd Beneficiary --> <el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<!-- SF000062 : Ref. --> <c-date-picker
type="date"
<c-col :span="12"> v-model="model.btdgrp.rec.matdat"
<c-form-item :label="$t('bttp0.SF000055')" prop="btdgrp.be2.pts.ref"> style="width: 100%"
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('bttp0.SF000055')"></c-input> placeholder="请选择Maturity Date"
</c-form-item> disabled
</c-col> ></c-date-picker>
<!-- SF000051 : Received on 2nd Ben. --> </el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('bttp0.SF000051')" prop="btdgrp.rec.rcvdatbe2"> <c-col :span="12">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%" :placeholder="$t('other.please_enter')+$t('bttp0.SF000051')"></c-date-picker> <el-form-item
</el-form-item> label="Received on 2nd Ben."
</c-col> prop="btdgrp.rec.rcvdatbe2"
<!-- SF000054 : Received on 1st Ben. --> >
<c-date-picker
<c-col :span="12"> type="date"
<el-form-item :label="$t('bttp0.SF000054')" prop="btdgrp.rec.rcvdatbe1"> v-model="model.btdgrp.rec.rcvdatbe2"
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%" :placeholder="$t('other.please_enter')+$t('bttp0.SF000054')"></c-date-picker> style="width: 100%"
</el-form-item> placeholder="请选择Received on 2nd Ben."
</c-col> disabled
></c-date-picker>
<c-col :span="12"> </el-form-item>
<c-form-item label="Name of Party" prop="btdgrp.be2.pts.nam"> </c-col>
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input> <c-col :span="12">
</c-form-item> <el-form-item
</c-col> label="Received on 1st Ben."
<!-- SF000061 : Document Set Status --> prop="btdgrp.rec.rcvdatbe1"
>
<c-col :span="12"> <c-date-picker
<c-form-item :label="$t('bttp0.SF000061')" prop="btdgrp.rec.docsta"> type="date"
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" :placeholder="$t('other.please_enter')+$t('bttp0.SF000061')"></c-input> v-model="model.btdgrp.rec.rcvdatbe1"
</c-form-item> style="width: 100%"
</c-col> placeholder="请选择Received on 1st Ben."
disabled
<c-col :span="12"> ></c-date-picker>
<c-checkbox v-model="model.rmbclm.clmrmbflg">{{$t('bttrcl.CF000051')}}</c-checkbox> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="24">
<c-form-item label="Tenor Stream" prop="liaall.tenstm"> <c-form-item label="Document Set status" prop="btdgrp.rec.docsta">
<c-input v-model="model.liaall.tenstm" :placeholder="$t('other.please_enter')+'Tenor Stream'"></c-input> <c-input
</c-form-item> v-model="model.btdgrp.rec.docsta"
</c-col> maxlength="40"
<!-- S0000014 : 单据金额 --> placeholder="请输入Document Set status"
disabled
<c-col :span="12"> ></c-input>
<el-form-item label="Currency" prop="btdgrp.cbs.opn2.cur"> </c-form-item>
<c-select v-model="model.btdgrp.cbs.opn2.cur" style="width:100%" :placeholder="$t('other.please_enter')+'Currency'"> </c-col>
</c-select> </c-col>
</el-form-item> <!-- 上右 -->
</c-col> <c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="12"> <c-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
<c-form-item label="Doc. Amount utilized/settled" prop="aamset.utlamt"> <c-input
<c-input v-model="model.aamset.utlamt" :placeholder="$t('other.please_enter')+'Doc. Amount utilized/settled'"></c-input> v-model="model.ledgrp.rec.ownref"
</c-form-item> maxlength="16"
</c-col> placeholder="请输入L/C Reference"
<!-- S0000013 : 附加金额 --> disabled
<!-- SF000052 : Settlement Instructions --> ></c-input>
</c-form-item>
<c-col :span="12"> </c-col>
<c-form-item label="Add. Amount utilized/settled" prop="aamset.utlamt2"> <c-col :span="24">
<c-input v-model="model.aamset.utlamt2" :placeholder="$t('other.please_enter')+'Add. Amount utilized/settled'"></c-input> <c-form-item label="Name of Bill Contract" prop="btdgrp.rec.nam">
</c-form-item> <c-input
</c-col> v-model="model.btdgrp.rec.nam"
maxlength="40"
<c-col :span="12"> placeholder="请输入Name of Bill Contract"
<c-form-item label="Settlement Instructions transaction field" prop="btdgrp.blk.setinsbt"> disabled
<c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Settlement Instructions transaction field'" ></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="1st Beneficiary Ref." prop="btdgrp.be1.pts.ref">
<c-input
v-model="model.btdgrp.be1.pts.ref"
maxlength="16"
placeholder="请输入1st Beneficiary Ref."
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" prop="btdgrp.be1.pts.nam">
<c-input
v-model="model.btdgrp.be1.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="2nd Beneficiary Ref." prop="btdgrp.be2.pts.ref">
<c-input
v-model="model.btdgrp.be2.pts.ref"
maxlength="16"
placeholder="请输入2nd Beneficiary Ref."
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" prop="btdgrp.be2.pts.nam">
<c-input
v-model="model.btdgrp.be2.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
disabled
></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
</c-col>
<c-col :span="12"> </c-row>
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel"> <!-- 中间 -->
{{$t('bttrcl.CF000053')}} <c-col :span="24" style="height: 0px">
</c-button> <el-divider></el-divider>
</c-col> </c-col>
<!-- SF000049 : Narrative :77A: --> <c-row>
<c-col :span="24">
<c-col :span="12"> <!-- 下左 -->
<c-form-item label="Narrative :77A:" prop="trnmod.trndoc.nar754"> <c-col :span="12">
<c-input type="textarea" v-model="model.trnmod.trndoc.nar754" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Narrative :77A:'" ></c-input> <c-col :span="24">
</c-form-item> <c-istream-table
ref="table"
:list="model.liaall.tenstm.rows || []"
:columns="trnData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm"
>
</c-istream-table>
</c-col>
<c-col :span="24">
<c-form-item
label="Settlement Instructions transaction field"
prop="btdgrp.blk.setinsbt"
>
<c-input
type="textarea"
v-model="model.btdgrp.blk.setinsbt"
maxlength="65"
show-word-limit
placeholder="请输入Settlement Instructions transaction field"
></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
<!-- SG000054 : Less comm. --> </c-col>
</c-row>
<c-col :span="12"> <c-col :span="12">
<c-form-item label="Less comm." prop="btdgrp.rec.lescom"> <c-form-item label="Drag Drop Sender" prop="bttp0.ltdget.sdamod.dadsnd">
<c-input v-model="model.btdgrp.rec.lescom" :placeholder="$t('other.please_enter')+'Less comm.'"></c-input> <c-input
</c-form-item> v-model="model.bttp0.ltdget.sdamod.dadsnd"
</c-col> placeholder="$t('other.please_enter')+'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="bttp0.ledget.sdamod.dadsnd">
<c-input
v-model="model.bttp0.ledget.sdamod.dadsnd"
placeholder="$t('other.please_enter')+'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Transfer Reference -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000065')" prop="ltdgrp.rec.ownref">
<c-input
v-model="model.ltdgrp.rec.ownref"
maxlength="16"
placeholder="$t('other.please_enter')+$t('bttp0.SF000065')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="bttp0.ltdget.sdamod.seainf">
<c-input
v-model="model.bttp0.ltdget.sdamod.seainf"
placeholder="$t('other.please_enter')+''"
></c-input>
</c-form-item>
</c-col>
<!-- SF000066 : L/C Reference -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000066')" prop="ledgrp.rec.ownref">
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="$t('other.please_enter')+$t('bttp0.SF000066')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="bttp0.ledget.sdamod.seainf">
<c-input
v-model="model.bttp0.ledget.sdamod.seainf"
placeholder="$t('other.please_enter')+''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="bttp0.recget.sdamod.dadsnd">
<c-input
v-model="model.bttp0.recget.sdamod.dadsnd"
placeholder="$t('other.please_enter')+'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000058 : Doc. Set Reference -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000058')" prop="btdgrp.rec.ownref">
<c-input
v-model="model.btdgrp.rec.ownref"
maxlength="16"
placeholder="$t('other.please_enter')+$t('bttp0.SF000058')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="bttp0.recget.sdamod.seainf">
<c-input
v-model="model.bttp0.recget.sdamod.seainf"
placeholder="$t('other.please_enter')+''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Bill Contract" prop="btdgrp.rec.nam">
<c-input
v-model="model.btdgrp.rec.nam"
maxlength="40"
placeholder="$t('other.please_enter')+'Name of Bill Contract'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000057 : Document Amount -->
<c-col :span="12">
<el-form-item label="$t('bttp0.SF000057')" prop="btdgrp.cbs.max.cur">
<c-select
v-model="model.btdgrp.cbs.max.cur"
style="width: 100%"
placeholder="$t('other.please_enter')+$t('bttp0.SF000057')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000057')" prop="btdgrp.cbs.max.amt">
<c-input
v-model="model.btdgrp.cbs.max.amt"
placeholder="$t('other.please_enter')+$t('bttp0.SF000057')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bttp0.aammod.addamtflg">{{
$t("bttp0.CF000067")
}}</c-checkbox>
</c-col>
<!-- SF000053 : 1st Beneficiary -->
<!-- SF000064 : Ref. -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000053')" prop="btdgrp.be1.pts.ref">
<c-input
v-model="model.btdgrp.be1.pts.ref"
maxlength="16"
placeholder="$t('other.please_enter')+$t('bttp0.SF000053')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000056 : Open Amount -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000056')" prop="btdgrp.cbs.opn1.cur">
<c-input
v-model="model.btdgrp.cbs.opn1.cur"
maxlength="3"
placeholder="$t('other.please_enter')+$t('bttp0.SF000056')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="btdgrp.cbs.opn1.amt">
<c-input
v-model="model.btdgrp.cbs.opn1.amt"
placeholder="$t('other.please_enter')+'Balance'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="btdgrp.be1.pts.nam">
<c-input
v-model="model.btdgrp.be1.pts.nam"
maxlength="40"
placeholder="$t('other.please_enter')+'Name of Party'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000059 : Document Type -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000059')" prop="btdgrp.rec.doctypcod">
<c-input
v-model="model.btdgrp.rec.doctypcod"
maxlength="1"
placeholder="$t('other.please_enter')+$t('bttp0.SF000059')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000052 : Maturity Date -->
<c-col :span="12">
<span
v-text="model.bttp0.matp.mattxtlab"
data-path=".bttp0.matp.mattxtlab"
>
</span>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.btdgrp.rec.matdat"
style="width: 100%"
placeholder="$t('other.please_enter')+'Maturity Date'"
></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000055 : 2nd Beneficiary -->
<!-- SF000062 : Ref. -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000055')" prop="btdgrp.be2.pts.ref">
<c-input
v-model="model.btdgrp.be2.pts.ref"
maxlength="16"
placeholder="$t('other.please_enter')+$t('bttp0.SF000055')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000051 : Received on 2nd Ben. -->
<c-col :span="12">
<el-form-item label="$t('bttp0.SF000051')" prop="btdgrp.rec.rcvdatbe2">
<c-date-picker
type="date"
v-model="model.btdgrp.rec.rcvdatbe2"
style="width: 100%"
placeholder="$t('other.please_enter')+$t('bttp0.SF000051')"
></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000054 : Received on 1st Ben. -->
<c-col :span="12">
<el-form-item label="$t('bttp0.SF000054')" prop="btdgrp.rec.rcvdatbe1">
<c-date-picker
type="date"
v-model="model.btdgrp.rec.rcvdatbe1"
style="width: 100%"
placeholder="$t('other.please_enter')+$t('bttp0.SF000054')"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="btdgrp.be2.pts.nam">
<c-input
v-model="model.btdgrp.be2.pts.nam"
maxlength="40"
placeholder="$t('other.please_enter')+'Name of Party'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000061 : Document Set Status -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000061')" prop="btdgrp.rec.docsta">
<c-input
v-model="model.btdgrp.rec.docsta"
maxlength="40"
placeholder="$t('other.please_enter')+$t('bttp0.SF000061')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.rmbclm.clmrmbflg">{{
$t("bttrcl.CF000051")
}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Tenor Stream" prop="liaall.tenstm">
<c-input
v-model="model.liaall.tenstm"
placeholder="$t('other.please_enter')+'Tenor Stream'"
></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 单据金额 -->
<c-col :span="12">
<el-form-item label="Currency" prop="btdgrp.cbs.opn2.cur">
<c-select
v-model="model.btdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="$t('other.please_enter')+'Currency'"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Doc. Amount utilized/settled" prop="aamset.utlamt">
<c-input
v-model="model.aamset.utlamt"
placeholder="$t('other.please_enter')+'Doc. Amount utilized/settled'"
></c-input>
</c-form-item>
</c-col>
<!-- S0000013 : 附加金额 -->
<!-- SF000052 : Settlement Instructions -->
<c-col :span="12">
<c-form-item label="Add. Amount utilized/settled" prop="aamset.utlamt2">
<c-input
v-model="model.aamset.utlamt2"
placeholder="$t('other.please_enter')+'Add. Amount utilized/settled'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
label="Settlement Instructions transaction field"
prop="btdgrp.blk.setinsbt"
>
<c-input
type="textarea"
v-model="model.btdgrp.blk.setinsbt"
maxlength="65"
show-word-limit
placeholder="$t('other.please_enter')+'Settlement Instructions transaction field'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onSetinsButtxmsel"
>
{{ $t("bttrcl.CF000053") }}
</c-button>
</c-col>
<!-- SF000049 : Narrative :77A: -->
<c-col :span="12">
<c-form-item label="Narrative :77A:" prop="trnmod.trndoc.nar754">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.nar754"
maxlength="35"
show-word-limit
placeholder="$t('other.please_enter')+'Narrative :77A:'"
></c-input>
</c-form-item>
</c-col>
<!-- SG000054 : Less comm. -->
<c-col :span="12">
<c-form-item label="Less comm." prop="btdgrp.rec.lescom">
<c-input
v-model="model.btdgrp.rec.lescom"
placeholder="$t('other.please_enter')+'Less comm.'"
></c-input>
</c-form-item>
</c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bttrcl/Event" import Event from "~/model/Bttrcl/Event";
import Utils from "~/utils";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
trnData: {
columns: [
'1 1 "Type" 80',
'2 2 "Dbt" 80',
'3 3 "Cdt" 80',
'4 4 "Cur" 80',
'5 5 "Amt" 80',
// '6 6 "Mat.Dat." 120 4 7 1',
{
index: 6,
position: 6,
width: 210,
render: (item, scope) => {
return scope.row[item.prop] === "null"
? ""
: scope.row[item.prop];
},
label: "Mat.Dat.",
},
],
data: [],
},
};
},
methods: {
...Event,
async multipleSelect(selection) {
console.log(selection);
if (selection.length > 1) {
this.$notify({
title: "error",
message: "You cannot select more than one tenor",
type: "error",
});
} else {
let chkIds;
if (selection.length === 0) {
chkIds = [];
// this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = []
} else {
chkIds = [selection[0] + 1];
}
//
console.log(this.model.liaall.tensetstm);
let params = { chkDst: "liaall.tenstm", chkIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
}
}, },
methods:{...Event}, },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <c-function-btn
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :handleSubmit="handleSubmit"
<!--bttrcl PD000034 Claim Reimb. --> :handleCheck="handleCheck"
<el-tab-pane :label="$t('bttrcl.PD000034')" name="rclp"> :handleStash="handleStash"
<m-rclp :model="model" :codes="codes"/> >
</el-tab-pane> <el-button size="small">流程附言</el-button>
<!--rmbclm PD000128 Reimbursement Details --> <el-button size="small">交易历史</el-button>
<el-tab-pane :label="$t('rmbclm.PD000128')" name="remp"> <el-button size="small">备忘录</el-button>
<m-remp :model="model" :codes="codes"/> <el-button size="small">影像信息</el-button>
</el-tab-pane> <!-- <el-button size="small">保存模板</el-button> -->
</c-tabs> <!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--bttrcl PD000034 Claim Reimb. -->
<el-tab-pane label="Claim Remib" name="rclp">
<c-content>
<m-rclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--rmbclm PD000128 Reimbursement Details -->
<el-tab-pane label="Reimbursement Details" name="remp">
<m-remp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bttrcl from "~/model/Bttrcl" import Bttrcl from "~/model/Bttrcl";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Bttrcl/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Bttrcl/Default" import Check from "~/model/Bttrcl/Check";
import Pattern from "~/model/Bttrcl/Pattern" import Default from "~/model/Bttrcl/Default";
import Rclp from "./Rclp" import Pattern from "~/model/Bttrcl/Pattern";
import Remp from "./Remp" import Rclp from "./Rclp";
import Remp from "./Remp";
export default { export default {
name: "Bttrcl", name: "Bttrcl",
components:{ components: {
"m-rclp" : Rclp, "m-rclp": Rclp,
"m-remp" : Remp, "m-remp": Remp,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "rclp",
trnName: "bttrcl", trnName: "bttrcl",
trnType: "", trnType: "",
model: new Bttrcl().data, model: new Bttrcl().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
}, ...CodeTable,
} },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入bttrcl交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, } else {
created:async function(){ this.$notify.error({ title: "错误", message: "服务请求失败!" });
console.log("进入bttrcl交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -686,6 +686,13 @@ export default { ...@@ -686,6 +686,13 @@ export default {
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
},
watch:{
"model.mtabut.clsflg":function(){
if(this.model.mtabut.clsflg=='C'){
this.model.mtabut.clsflg='X'
}
}
} }
} }
</script> </script>
......
<template>
<div class="eibs-tab">
<!--
<c-col :span="12">
<el-form-item label="ECIFNO">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
-->
<!-- 左边-->
<c-col :span="8">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item label="ECIFNO">
<c-input disabled v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="额度主体"
prop="liaall.limmod.limpts.wrk.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
style="width: 100%"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onWrkpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.wrk.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
placeholder="请选择Flag to Mark Non-revolving Limits"
@change="nonrevflg1Change"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet1"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 中间 -->
<!-- 随event方法改变 -->
<c-col :span="8" v-show="same" @change="show">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="对公账户"
prop="liaall.limmod.limpts.oth.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
style="width: 100%"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.oth.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg2">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg2"
style="width: 100%"
placeholder="请选择Flag to Mark Non-revolving Limits"
@change="nonrevflg2Change"
>
<el-option
v-for="item in codes.nonrevflg2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet2"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
<c-input
v-model="model.liaall.limmod.limpts.pfcod2"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 右边-->
<c-col :span="8">
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</c-button>
</c-col>
</c-row>
</c-col>
<!-- ====================左边=======================
<c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号" :disabled="true" style="width: 100%"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额" :disabled="true" style="width: 100%"></c-input>
</el-form-item>
</c-col>
-->
<!-- ====================左边=======================
<c-col :span="11">
<c-col :span="24">
<el-form-item label="国内信用证项下开证授信额度:" prop="liaall.limmod.limpts.wrk.pts.extkey" style="width:100%">
<c-fullbox>
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" disabled maxlength="16" placeholder="请输入External Key of Address" style="width: 100%"></c-input>
<template slot="footer">
<c-button style="margin:0 5px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onSeainf" />
<c-button style="margin:0 0" size="small" type="primary" @click="onPreperButtxmsel">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="16" placeholder="" :disabled="true" style="width:100%"></c-input>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align:right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
<c-fullbox>
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width: 100%" placeholder="请选择Flag to Mark Non-revolving Limits" @change="nonrevflg1Change">
<el-option v-for="item in codes.nonrevflg1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
<template slot="footer">
<c-button style="padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onLimptsGet1">
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" placeholder="请输入合同流水号" :disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'" style="width: 100%"></c-input>
</el-form-item>
</c-col>
</c-col>
-->
<!-- ========================右边=======================
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号" :disabled="true" style="width: 100%"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额" :disabled="true" style="width: 100%"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" placeholder="请输入保证金余额" :disabled="true" style="width: 100%"></c-input>
</el-form-item>
</c-col>
</c-col>
-->
<!-- <c-col :span="12">-->
<!-- <el-form-item label="开证授信额度主体名称" prop="liaall.limmod.limpts.wrk.pts.nam">-->
<!-- <c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!--
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同流�'号">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
查询
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</c-button>
</c-col>
-->
<br /><br /><br /><br /><br />
<c-col :span="24" style="">
<c-table :list="model.liaall.limmod.limgrd" :border="true">
<el-table-column prop="flg" label="可否串用" width="70px">
</el-table-column>
<el-table-column prop="shxh" label="序号" width="50px">
</el-table-column>
<el-table-column prop="limtyp" label="额度类型" width="70px">
</el-table-column>
<el-table-column prop="ruzhjg" label="入账机构" width="70px">
</el-table-column>
<el-table-column prop="limref" label="额度编号" width="70px">
</el-table-column>
<el-table-column prop="infref" label="额度明细编号" width="100px">
</el-table-column>
<el-table-column prop="limcodsave" label="额度品种代码" width="100px">
</el-table-column>
<el-table-column prop="limcod" label="品种代码描述" width="100px">
</el-table-column>
<el-table-column prop="cur" label="额度明细币种" width="100px">
</el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px">
</el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px">
</el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px">
</el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px">
</el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column>
<el-table-column prop="cpkyck" label="产品可用敞口" width="100px">
</el-table-column>
<el-table-column prop="cpyyck" label="产品已用敞口" width="100px">
</el-table-column>
<el-table-column prop="bxh" label="是否可循环" width="90px">
</el-table-column>
<el-table-column prop="bcy" label="是否可串用" width="90px">
</el-table-column>
<el-table-column prop="cyremark" label="串用说明" width="100px">
</el-table-column>
<el-table-column prop="credat" label="产品额度生效日期" width="120px">
</el-table-column>
<el-table-column prop="matdat" label="产品额度到期日" width="120px">
</el-table-column>
<el-table-column prop="lcpsta" label="额度产品状态" width="100px">
</el-table-column>
<el-table-column prop="fentyp" label="暴露分类" width="100px">
</el-table-column>
<el-table-column prop="fentxt" label="暴露分类说明" width="100px">
</el-table-column>
<el-table-column prop="limcur" label="额度币种" width="90px">
</el-table-column>
<el-table-column prop="bfx" label="是否低风险" width="90px">
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="24" style="" v-if="false">
<c-table :list="model.liaall.limmod.lmegrd" :border="true">
<el-table-column label="可否串用" width="auto">
</el-table-column>
<el-table-column label="序号" width="auto"> </el-table-column>
<el-table-column label="额度类型" width="auto">
</el-table-column>
<el-table-column label="入账机构" width="auto">
</el-table-column>
<el-table-column label="额度编号" width="auto">
</el-table-column>
<el-table-column label="额度明细编号" width="auto">
</el-table-column>
<el-table-column label="额度品种代码" width="auto">
</el-table-column>
<el-table-column label="品种代码描述" width="auto">
</el-table-column>
<el-table-column label="" width="auto"> </el-table-column>
</c-table>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
// import Event from "~/model/Ditopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
tableData: {},
same:false
};
},
methods: {
onSeainf() {},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts_get2");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
this.model.liaall.limmod.limpts.pfcod1 = "";
}
},
nonrevflg2Change() {
if (this.model.liaall.limmod.limpts.nonrevflg2 == "1") {
this.model.liaall.limmod.limpts.pfcod2 = "";
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.wrkp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.othp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("liaall.limmod.trycal");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
show(){
let len1 = this.model.liaall.limmod.tygrd["rows"].length||[];
let len2 = this.model.liaall.limmod.dggrd["rows"].length||[];
if(len1>0&&len2>0){
this.same = true;
}
}
},
created: function () {},
};
</script>
<style>
</style>
...@@ -116,7 +116,7 @@ import Glepan from "~/views/Public/Glepan"; ...@@ -116,7 +116,7 @@ import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "./Limitbody";
export default { export default {
......
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