Commit 2c670f9d by “yanyuxin”

Trtame交易修改

parent d56abe93
......@@ -13,7 +13,6 @@
<c-input
v-model="model.trdgrp.rec.pntref"
maxlength="16" :disabled="true"
:placeholder="$t('other.please_enter')+$t('trtp0.SF000049')"
style="width:90%"></c-input>
<c-button
size="small"
......@@ -39,7 +38,6 @@
v-model="model.trdgrp.rec.ownref"
maxlength="16"
:disabled="true"
:placeholder="$t('other.please_enter')+$t('trtp0.S0000077')"
style="width:90%"></c-input>
<c-button
size="small"
......@@ -57,7 +55,6 @@
<c-input
v-model="model.trdgrp.rec.pctfin"
:disabled="true"
:placeholder="$t('other.please_enter')+$t('trtp0.SF000050')"
style="width: 96%"></c-input>%
</c-form-item>
</c-col>
......@@ -65,9 +62,9 @@
<c-col :span="24">
<el-form-item label="融资金额" prop="trdgrp.cbs.max.cur">
<c-fullbox>
<c-select v-model="model.trdgrp.cbs.max.cur" style="width: 25%" :disabled="true" placeholder="请选择币种">
<c-select v-model="model.trdgrp.cbs.max.cur" style="width: 25%" :disabled="true" >
</c-select>
<c-input v-model="model.trdgrp.cbs.max.amt" style="width: 75%" :disabled="true" placeholder="请输入金额"></c-input>
<c-input v-model="model.trdgrp.cbs.max.amt" style="width: 75%" :disabled="true" ></c-input>
</c-fullbox>
</el-form-item>
</c-col>
......@@ -82,8 +79,8 @@
<c-col :span="24">
<c-form-item label="余额" prop="trdgrp.cbs.opn1.cur">
<c-fullbox>
<c-input v-model="model.trdgrp.cbs.opn1.cur" maxlength="3" :disabled="true" style="width: 25%" :placeholder="$t('other.please_enter')+$t('trtp0.SF000051')"></c-input>
<c-input v-model="model.trdgrp.cbs.opn1.amt" :disabled="true" style="width: 75%" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
<c-input v-model="model.trdgrp.cbs.opn1.cur" maxlength="3" :disabled="true" style="width: 25%" ></c-input>
<c-input v-model="model.trdgrp.cbs.opn1.amt" :disabled="true" style="width: 75%" ></c-input>
</c-fullbox>
</c-form-item>
</c-col>
......@@ -95,13 +92,13 @@
<c-col :span="12">
<el-form-item label="起息日期" prop="trdgrp.rec.stttendat">
<c-date-picker type="date" v-model="model.trdgrp.rec.stttendat" style="width:100%" :disabled="true" :placeholder="$t('other.please_enter')+$t('trtp0.SF000052')"></c-date-picker>
<c-date-picker type="date" v-model="model.trdgrp.rec.stttendat" style="width:100%" :disabled="true" ></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到期日期" prop="trdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.trdgrp.rec.matdat" style="width:100%" :disabled="true" :placeholder="$t('other.please_enter')+'Maturity Date'"></c-date-picker>
<c-date-picker type="date" v-model="model.trdgrp.rec.matdat" style="width:100%" :disabled="true" ></c-date-picker>
</el-form-item>
</c-col>
</c-col>
......@@ -112,37 +109,37 @@
<c-col :span="24">
<c-form-item label="Name" prop="trdgrp.rec.pntnam">
<c-input v-model="model.trdgrp.rec.pntnam" maxlength="40" :disabled="true" :placeholder="$t('other.please_enter')+$t('trtp0.SF000059')"></c-input>
<c-input v-model="model.trdgrp.rec.pntnam" maxlength="40" :disabled="true" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name" prop="trdgrp.rec.nam">
<c-input v-model="model.trdgrp.rec.nam" maxlength="40" :disabled="true" :placeholder="$t('other.please_enter')+$t('trtp0.SF000068')"></c-input>
<c-input v-model="model.trdgrp.rec.nam" maxlength="40" :disabled="true" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="融资客户" prop="trdgrp.fip.pts.ref">
<c-input v-model="model.trdgrp.fip.pts.ref" maxlength="16" :disabled="true" :placeholder="$t('other.please_enter')+$t('trtp0.SF000062')"></c-input>
<c-input v-model="model.trdgrp.fip.pts.ref" maxlength="16" :disabled="true" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item prop="trdgrp.fip.pts.nam">
<c-input v-model="model.trdgrp.fip.pts.nam" maxlength="40" :disabled="true" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
<c-input v-model="model.trdgrp.fip.pts.nam" maxlength="40" :disabled="true"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="融资品种" prop="trdgrp.rec.fintyp">
<c-input v-model="model.trdgrp.rec.fintyp" maxlength="3" :disabled="true" :placeholder="$t('other.please_enter')+$t('trtp0.SF000063')"></c-input>
<c-input v-model="model.trdgrp.rec.fintyp" maxlength="3" :disabled="true" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="融资账号" prop="trdgrp.rec.finact">
<c-input v-model="model.trdgrp.rec.finact" maxlength="21" :disabled="true" :placeholder="$t('other.please_enter')+'Finance Account'"></c-input>
<c-input v-model="model.trdgrp.rec.finact" maxlength="21" :disabled="true" ></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -153,7 +150,7 @@
<c-col :span="12">
<c-col :span="24">
<el-form-item label="修改类型" prop="ametyp">
<c-select v-model="model.ametyp" style="width:100%" :placeholder="$t('other.please_enter')+'Amendment Type'">
<c-select v-model="model.ametyp" style="width:100%" placeholder="融资类型修改">
<el-option v-for="item in codes.ametyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......@@ -161,13 +158,13 @@
<c-col :span="24">
<c-form-item label="借据号" prop="trtmod.finmod.fincod">
<c-input v-model="model.trtmod.finmod.fincod" maxlength="17" :disabled="true" :placeholder="$t('other.please_enter')+'借据号'"></c-input>
<c-input v-model="model.trtmod.finmod.fincod" maxlength="17" :disabled="true" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="计息周期" prop="trtmod.finmod.intprd">
<c-select v-model="model.trtmod.finmod.intprd" style="width:100%" :placeholder="$t('other.please_enter')+'计息周期'">
<c-select v-model="model.trtmod.finmod.intprd" style="width:100%" placeholder="请选择计息周期">
<el-option v-for="item in codes.intprd" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......@@ -175,7 +172,7 @@
<c-col :span="24">
<el-form-item label="基准利率规则" prop="trtmod.finmod.dinmod.jzllgz">
<c-select v-model="model.trtmod.finmod.dinmod.jzllgz" style="width:100%" :placeholder="$t('other.please_enter')+'基准利率规则'">
<c-select v-model="model.trtmod.finmod.dinmod.jzllgz" style="width:100%" placeholder="请选择基准利率规则">
<el-option v-for="item in codes.jzllgz" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......@@ -183,7 +180,7 @@
<c-col :span="24">
<el-form-item label="利率调整方式" prop="trtmod.finmod.ratchgtyp">
<c-select v-model="model.trtmod.finmod.ratchgtyp" style="width:100%" :placeholder="$t('other.please_enter')+'利率调'">
<c-select v-model="model.trtmod.finmod.ratchgtyp" style="width:100%" placeholder="利率调调整方式">
<el-option v-for="item in codes.ratchgtyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......@@ -191,13 +188,13 @@
<c-col :span="24">
<el-form-item label="新到期日" prop="newmatdat">
<c-date-picker type="date" v-model="model.newmatdat" style="width:100%" :placeholder="$t('other.please_enter')+'New Due Date'"></c-date-picker>
<c-date-picker type="date" v-model="model.newmatdat" style="width:100%" placeholder="请选择新到期日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="基准利率" prop="trdgrp.rec.intrat">
<c-input v-model="model.trdgrp.rec.intrat" :disabled="true" :placeholder="$t('other.please_enter')+'Margin Spread applied to Interest Rate'"></c-input>
<c-input v-model="model.trdgrp.rec.intrat" :disabled="true" ></c-input>
</c-form-item>
</c-col>
......@@ -211,13 +208,13 @@
<c-col :span="24">
<c-form-item label="正常执行利率" prop="trdgrp.rec.actrat">
<c-input v-model="model.trdgrp.rec.actrat" :placeholder="$t('other.please_enter')+'actural rate'"></c-input>
<c-input v-model="model.trdgrp.rec.actrat" placeholder="请输入正常执行利率"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第一还款账号" prop="trtmod.finmod.act1">
<c-select v-model="model.trtmod.finmod.act1" style="width:100%" :placeholder="$t('other.please_enter')+'第一还款账号'">
<c-select v-model="model.trtmod.finmod.act1" style="width:100%" placeholder="请选择第一还款账号">
<el-option v-for="item in codes.act1" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......@@ -229,21 +226,25 @@
<c-col :span="12">
<c-col :span="24">
<c-form-item label="融资账号" prop="trdgrp.rec.finact">
<c-input v-model="model.trdgrp.rec.finact" maxlength="21" :disabled="true" :placeholder="$t('other.please_enter')+'Finance Account'"></c-input>
<c-input v-model="model.trdgrp.rec.finact" maxlength="21" :disabled="true" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="计息日期" prop="trtmod.finmod.intdat">
<c-fullbox>
<c-input
<c-input
v-model="model.trtmod.finmod.intdat"
maxlength="2"
:placeholder="$t('other.please_enter')+'计息日期'"
style="width:60%"></c-input>
maxlength="2"
placeholder="请输入计息日期"
style="width:70%"
:disabled="model.trtmod.finmod.intprd == '6'
|| model.trtmod.finmod.intprd=='7'
|| model.trtmod.finmod.intprd=='B'"></c-input>
<c-checkbox
v-model="model.trtmod.finmod.wjdkfl"
style="width:30%"
:disabled="true"
>是否到期主动扣收款</c-checkbox>
</c-fullbox>
</c-form-item>
......@@ -251,7 +252,13 @@
<c-col :span="12">
<el-form-item label="利率调整周期" prop="trtmod.finmod.ratchgprd">
<c-select v-model="model.trtmod.finmod.ratchgprd" style="width:100%" :placeholder="$t('other.please_enter')+'利率调整周期'">
<c-select
v-model="model.trtmod.finmod.ratchgprd"
style="width:100%"
placeholder="请选择利率调整周期"
:disabled="model.trtmod.finmod.ratchgtyp !='7'
&& model.trtmod.finmod.ratchgtyp!='8'
&& model.trtmod.finmod.ratchgtyp!='9'">
<el-option v-for="item in codes.ratchgprd" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......@@ -259,44 +266,52 @@
<c-col :span="12">
<c-form-item label="利率调整月日数" prop="trtmod.finmod.ratchgdat">
<c-input v-model="model.trtmod.finmod.ratchgdat" maxlength="4" :placeholder="$t('other.please_enter')+'利率调整月日数'"></c-input>
<c-input
v-model="model.trtmod.finmod.ratchgdat"
maxlength="4"
placeholder="请输入利率调整月日数"
:disabled="model.trtmod.finmod.ratchgtyp != '4' && model.trtmod.finmod.ratchgtyp != '5'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="融资天数" prop="trdgrp.rec.tenday">
<c-input v-model="model.trdgrp.rec.tenday" :disabled="true" :placeholder="$t('other.please_enter')+$t('trtame.S0000066')"></c-input>
<c-input v-model="model.trdgrp.rec.tenday" :disabled="true" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="宽限期" prop="trtmod.finmod.graday">
<c-input v-model="model.trtmod.finmod.graday" :disabled="true" :placeholder="$t('other.please_enter')+'宽限期'"></c-input>
<c-input v-model="model.trtmod.finmod.graday" :disabled="true" placeholder="宽限期"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="浮动方式" prop="trtmod.finmod.flttyp">
<c-select v-model="model.trtmod.finmod.flttyp" style="width:100%" placeholder="请选择浮动方式">
<el-option v-for="item in codes.fintyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
<el-option v-for="item in codes.flttyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="浮动值" prop="trtmod.finmod.fltval">
<c-input v-model="model.trtmod.finmod.fltval" placeholder="请输入浮动值"></c-input>
<c-input
v-model="model.trtmod.finmod.fltval"
placeholder="请输入浮动值"
:disabled="model.trtmod.finmod.flttyp =='0'"
style="width:90%"></c-input>
</c-form-item>
</c-col>
<!--
<c-col :span="12">
<span v-text="model.trtmod.finmod.pctlab" data-path=".trtmod.finmod.pctlab" > </span>
</c-col>
</c-col> -->
<c-col :span="12">
<el-form-item label="逾期计息方式" prop="trtmod.finmod.ovdinttyp">
<c-select v-model="model.trtmod.finmod.ovdinttyp" style="width:100%" :placeholder="$t('other.please_enter')+'呆滞计息方式'">
<c-select v-model="model.trtmod.finmod.ovdinttyp" style="width:100%" placeholder="请选择呆滞计息方式">
<el-option v-for="item in codes.ovdinttyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......@@ -307,14 +322,14 @@
<c-input
v-model="model.trtmod.finmod.ovdintrat"
style="width:90%"
:placeholder="$t('other.please_enter')+'罚息比率'"></c-input>%
placeholder="请输入罚息比率"></c-input>%
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第三还款方式" prop="trtmod.finmod.acttyp">
<c-select v-model="model.trtmod.finmod.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('trtame.S0000064')">
<el-option v-for="item in codes.acttyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select v-model="model.trtmod.finmod.acttyp" style="width:100%" placeholder="请选择第三还款方式">
<el-option v-for="item in codes.acttyp1" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -322,7 +337,13 @@
<c-col :span="24">
<el-form-item label="第三方还款账号" prop="trtmod.finmod.act3">
<c-select v-model="model.trtmod.finmod.act3" style="width:100%" :placeholder="$t('other.please_enter')+'第三方还款'">
<c-select
filterable
allow-create
v-model="model.trtmod.finmod.act3"
style="width:100%"
:disabled="model.trtmod.finmod.acttyp == null"
placeholder="请选择第三方还款账号">
<el-option v-for="item in codes.act3" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......
<template>
<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-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--trtame PD000020 Amendment -->
<el-tab-pane label="Amendment" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<c-page title="融资开立">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<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">
<!--trtame PD000020 Amendment -->
<el-tab-pane label="Amendment" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtame from "~/model/Trtame"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtame/Check"
import Default from "~/model/Trtame/Default"
import Pattern from "~/model/Trtame/Pattern"
......@@ -68,7 +80,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
......
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