Commit 3c6afb51 by “yanyuxin”

功能完善,bug修改

parent 560ebd3d
......@@ -215,7 +215,7 @@
<c-col :span="24">
<el-form-item label="第一还款账号" prop="trtmod.finmod.act1">
<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>
<el-option v-for="(item, idx) in codes.codeSet['trtmod.finmod.act1']" :key="idx" :label="item.split('\t')[1]" :value="item.split('\t')[0]"></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -342,7 +342,7 @@
allow-create
v-model="model.trtmod.finmod.act3"
style="width:100%"
:disabled="model.trtmod.finmod.acttyp == null"
:disabled="model.trtmod.finmod.acttyp == ''"
placeholder="请选择第三方还款账号">
<el-option v-for="item in codes.act3" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
......
......@@ -78,15 +78,15 @@
</c-form-item>
</c-col> -->
<c-col :span="24">
<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:50%" :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" :placeholder="$t('other.please_enter')+$t('trtp0.SF000052')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="押汇到期日期" prop="trdgrp.rec.matdat">
<c-date-picker label="押汇到期日期" type="date" v-model="model.trdgrp.rec.matdat" style="width:50%" :disabled="true" :placeholder="$t('other.please_enter')+'Maturity Date'"></c-date-picker>
<c-date-picker label="押汇到期日期" type="date" v-model="model.trdgrp.rec.matdat" style="width:100%" :disabled="true" :placeholder="$t('other.please_enter')+'Maturity Date'"></c-date-picker>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="8" >
<c-col :span="8">
<el-form-item label="外汇贷款" prop="cfatrt.cfaflg1">
<c-select v-model="model.cfatrt.cfaflg1" style="width:100%" placeholder="请选择服务">
<el-option v-for="item in codes.cfaflg1" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.cfatrt.cfaflg1"
style="width: 100%"
:disabled="model.trdgrp.cbs.max.cur != ''"
placeholder="请选择服务"
>
<el-option
v-for="item in codes.cfaflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-checkbox v-model="model.cfatrt.basflg">签约信息</c-checkbox>
<c-checkbox v-model="model.cfatrt.dclflg">变动信息</c-checkbox>
<c-checkbox v-model="model.cfatrt.basflg" :disabled="true"
>签约信息</c-checkbox
>
<c-checkbox v-model="model.cfatrt.dclflg" :disabled="true"
>变动信息</c-checkbox
>
</c-col>
<c-col>
<c-col :span="8" >
<c-col :span="8">
<el-form-item label="地区机构号" prop="cfatrt.ownextkey">
<c-select v-model="model.cfatrt.ownextkey" style="width:100%" placeholder="请选择地区机构号">
<el-option v-for="item in codes.ownextkey" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.cfatrt.ownextkey"
style="width: 100%"
:disabled="model.trdgrp.cbs.max.cur != ''"
placeholder="请选择地区机构号"
>
<el-option
v-for="item in codes.ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" :offset="2" >
<el-form-item label="是否外保内贷" prop="cfatrt.cdaflg" >
<c-select v-model="model.cfatrt.cdaflg" style="width:50%" placeholder="请选择是否外保内贷">
<el-option v-for="item in codes.cdaflg" :key="item.value" :label="item.label" :value="item.value">
<c-col :span="12" :offset="2">
<el-form-item label="是否外保内贷" prop="cfatrt.cdaflg">
<c-select
v-model="model.cfatrt.cdaflg"
style="width: 50%"
:disabled="model.trdgrp.cbs.max.cur != ''"
placeholder="请选择是否外保内贷"
>
<el-option
v-for="item in codes.cdaflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
......@@ -36,86 +70,145 @@
</c-col>
<c-col>
<c-col :span="8" >
<c-col :span="8">
<el-form-item label="海外代付" prop="cfadft.cfaflg1">
<c-select v-model="model.cfadft.cfaflg1" style="width:100%" placeholder="请选择服务">
<el-option v-for="item in codes.cfaflg1" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.cfadft.cfaflg1"
style="width: 100%"
:disabled="true"
placeholder="请选择服务"
>
<el-option
v-for="item in codes.cfaflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-checkbox v-model="model.cfadft.basflg">签约信息</c-checkbox>
<c-checkbox v-model="model.cfadft.dclflg">变动信息</c-checkbox>
<c-checkbox v-model="model.cfadft.basflg" :disabled="true"
>签约信息</c-checkbox
>
<c-checkbox v-model="model.cfadft.dclflg" :disabled="true"
>变动信息</c-checkbox
>
</c-col>
</c-col>
<c-col :span="8" >
<c-col :span="8">
<el-form-item label="地区机构号" prop="cfadft.ownextkey">
<c-select v-model="model.cfadft.ownextkey" style="width:100%" :disabled="true" placeholder="请选择地区机构号">
<el-option v-for="item in codes.ownextkey" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.cfadft.ownextkey"
style="width: 100%"
:disabled="true"
placeholder="请选择地区机构号"
>
<el-option
v-for="item in codes.ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="20" >
<c-col :span="20">
<el-form-item label="资金用途" prop="cfatrt.cda.useofunds">
<c-select v-model="model.cfatrt.cda.useofunds" style="width:29%" placeholder="请选择资金用途">
<el-option v-for="item in codes.useofunds" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.cfatrt.cda.useofunds"
style="width: 29%"
:disabled="true"
placeholder="请选择资金用途"
>
<el-option
v-for="item in codes.useofunds"
:key="item.value"
:disabled="true"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="20" >
<el-form-item label="中资企业境外担保项下境内贷款额度币种" prop="cfatrt.cda.cfeogudcurr">
<c-select v-model="model.cfatrt.cda.cfeogudcurr" style="width:29%" placeholder="请选择中资企业境外担保项下境内贷款额度币种">
<el-option v-for="item in codes.cfeogudcurr" :key="item.value" :label="item.label" :value="item.value">
<c-col :span="20">
<el-form-item
label="中资企业境外担保项下境内贷款额度币种"
prop="cfatrt.cda.cfeogudcurr"
>
<c-select
v-model="model.cfatrt.cda.cfeogudcurr"
style="width: 29%"
:disabled="true"
placeholder="请选择中资企业境外担保项下境内贷款额度币种"
>
<el-option
v-for="item in codes.cfeogudcurr"
:key="item.value"
:disabled="true"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="20" >
<el-form-item label="中资企业境外担保项下境内贷款额度金额" prop="cfatrt.cda.cfeogudamount">
<c-input v-model="model.cfatrt.cda.cfeogudamount" style="width:29%" placeholder="请输入中资企业境外担保项下境内贷款额度金额"></c-input>
<c-col :span="20">
<el-form-item
label="中资企业境外担保项下境内贷款额度金额"
prop="cfatrt.cda.cfeogudamount"
>
<c-input
v-model="model.cfatrt.cda.cfeogudamount"
style="width: 29%"
:disabled="true"
placeholder="请输入中资企业境外担保项下境内贷款额度金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="20" >
<el-form-item label="中资企业境外担保项下贷款业务批准文件号" prop="cfatrt.cda.cfeogudad">
<c-input :autosize="{ minRows: 2}"
type="textarea" v-model="model.cfatrt.cda.cfeogudad"
style="width:50%" maxlength="32" show-word-limit placeholder="请输入中资企业境外担保项下贷款业务批准文件号" ></c-input>
<c-col :span="20">
<el-form-item
label="中资企业境外担保项下贷款业务批准文件号"
prop="cfatrt.cda.cfeogudad"
>
<c-input
:autosize="{ minRows: 2 }"
type="textarea"
v-model="model.cfatrt.cda.cfeogudad"
style="width: 50%"
maxlength="32"
show-word-limit
:disabled="true"
placeholder="请输入中资企业境外担保项下贷款业务批准文件号"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtopn/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<style></style>
<template>
<div class="eibs-tab">
<c-row >
<c-row>
<!-- :gutter="10" -->
<!--------------------------------左---------------------------->
<c-col :span="11">
<c-col :span="24">
<c-form-item label="Parent Reference" prop="dftcre.dfdgrp.rec.pntref">
<c-input
v-model="model.dftcre.dfdgrp.rec.pntref"
maxlength="16"
:disabled="true"
style="width:100%"
placeholder="请输入Parent Reference"></c-input>
style="width: 100%"
placeholder="请输入Parent Reference"
></c-input>
</c-form-item>
</c-col>
......@@ -23,20 +23,21 @@
v-model="model.dftcre.dfdgrp.rec.ownref"
maxlength="16"
placeholder="请输入代付业务编号"
style="width:76%"
:disabled="true"></c-input>
style="width: 76%"
:disabled="true"
></c-input>
<c-button
size="small"
type="primary"
:disabled="model.trdgrp.fip.pts.adrblk == ''"
@click="onTrtpButgetref">
@click="onTrtpButgetref"
>
Get Ref
</c-button>
</c-fullbox>
</c-form-item>
</c-col>
<!-- <c-col :span="13">
<el-form-item label="单据金额" prop="dftcre.oricur">
<c-select v-model="model.trdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Currency" @keyup.enter.native="maxCurEvent">
......@@ -55,29 +56,43 @@
<c-fullbox>
<c-select
v-model="model.trdgrp.cbs.max.cur"
style="width:35%"
style="width: 35%"
@keyup.enter.native="maxCurEvent"
:disabled="true">
:disabled="true"
>
</c-select>
<c-input
v-model="model.trdgrp.cbs.max.amt"
style="text-align:left;
width: 65%"
style="text-align: left; width: 65%"
placeholder=""
:disabled="true"></c-input>
:disabled="true"
></c-input>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="代付金额" prop="dftcre.dfdgrp.cbs.max.cur">
<c-fullbox>
<c-select v-model="model.dftcre.dfdgrp.cbs.max.cur" style="width:35%" @keyup.enter.native="maxCurEvent" placeholder="请选择币种">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.dftcre.dfdgrp.cbs.max.cur"
style="width: 35%"
@keyup.enter.native="maxCurEvent"
placeholder="请选择币种"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
<c-input v-model="model.dftcre.dfdgrp.cbs.max.amt" style="text-align:left; width: 65%" placeholder="请输入代付金额"></c-input>
<c-input
v-model="model.dftcre.dfdgrp.cbs.max.amt"
style="text-align: left; width: 65%"
placeholder="请输入代付金额"
></c-input>
</c-fullbox>
</el-form-item>
</c-col>
......@@ -87,63 +102,91 @@
<c-fullbox>
<c-select
v-model="model.dftcre.dfdgrp.cbs.opn1.cur"
style="width:35%"
style="width: 35%"
@keyup.enter.native="maxCurEvent"
:disabled="true" >
:disabled="true"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
:disabled="true"></el-option>
:disabled="true"
></el-option>
</c-select>
<c-input
v-model="model.dftcre.dfdgrp.cbs.opn1.amt"
style="text-align:left;
width:65%"
style="text-align: left; width: 65%"
placeholder="请输入代付余额"
:disabled="true"></c-input>
:disabled="true"
></c-input>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="代付类型" prop="dftcre.dfdgrp.rec.fintyp">
<c-select v-model="model.dftcre.dfdgrp.rec.fintyp" style="width:100%" placeholder="请选择代付类型">
<c-select
v-model="model.dftcre.dfdgrp.rec.fintyp"
style="width: 100%"
placeholder="请选择代付类型"
>
<el-option
v-for="item in codes.fintyp"
:key="item.value"
:label="item.label"
:value="item.value"
:disabled="true"></el-option>
:disabled="true"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="境内境外代付" prop="dftcre.dfdgrp.rec.dfuflg">
<c-select v-model="model.dftcre.dfdgrp.rec.dfuflg" style="width:100%" placeholder="请输入境外代付">
<el-option v-for="item in codes.dfuflg" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.dftcre.dfdgrp.rec.dfuflg"
style="width: 100%"
placeholder="请输入境外代付"
>
<el-option
v-for="item in codes.dfuflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="发票类型" prop="dftcre.dfdgrp.rec.invtyp">
<c-select v-model="model.dftcre.dfdgrp.rec.invtyp" style="width:100%" placeholder="请选择发票类型">
<el-option v-for="item in codes.invtyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.dftcre.dfdgrp.rec.invtyp"
style="width: 100%"
placeholder="请选择发票类型"
>
<el-option
v-for="item in codes.invtyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易类型" prop="dftcre.dfdgrp.rec.trntyp">
<c-select v-model="model.dftcre.dfdgrp.rec.trntyp" style="width:100%" :disabled="true" placeholder="请输入交易类型">
<c-select
v-model="model.dftcre.dfdgrp.rec.trntyp"
style="width: 100%"
:disabled="true"
placeholder="请输入交易类型"
>
<el-option
v-for="item in codes.trntyp "
v-for="item in codes.trntyp"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -154,13 +197,23 @@
<c-col :span="24">
<el-form-item label="代付起始日" prop="dftcre.dfdgrp.rec.stttendat">
<c-date-picker type="date" v-model="model.dftcre.dfdgrp.rec.stttendat" style="width:100%" placeholder="代付起始日"></c-date-picker>
<c-date-picker
type="date"
v-model="model.dftcre.dfdgrp.rec.stttendat"
style="width: 100%"
placeholder="代付起始日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="代付到期日" prop="dftcre.dfdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.dftcre.dfdgrp.rec.matdat" style="width:100%" placeholder="请输入代付到期日"></c-date-picker>
<c-date-picker
type="date"
v-model="model.dftcre.dfdgrp.rec.matdat"
style="width: 100%"
placeholder="请输入代付到期日"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -169,74 +222,114 @@
<c-input
v-model="model.dftcre.dfdgrp.rec.tenday"
placeholder="代付期限"
:disabled="true"></c-input>
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="计息周期" prop="dftcre.dfdgrp.rec.intprd">
<c-select v-model="model.dftcre.dfdgrp.rec.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
v-model="model.dftcre.dfdgrp.rec.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>
</c-col>
<c-col :span="24">
<c-form-item label="代付利率" prop="dftcre.dfdgrp.rec.actrat">
<c-input v-model="model.dftcre.dfdgrp.rec.actrat" placeholder="请输入代付利率"></c-input>
<c-input
v-model="model.dftcre.dfdgrp.rec.actrat"
placeholder="请输入代付利率"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="利率浮动方式:" prop="dftcre.dfdgrp.rec.flttyp">
<c-fullbox>
<c-select v-model="model.dftcre.dfdgrp.rec.flttyp" style="width:50%" placeholder="利率浮动方式">
<c-select
v-model="model.dftcre.dfdgrp.rec.flttyp"
style="width: 50%"
placeholder="利率浮动方式"
>
<el-option
v-for="item in codes.flttyp"
:key="item.value"
:label="item.label"
:value="item.value"></el-option>
:value="item.value"
></el-option>
</c-select>
<c-input v-model="model.dftcre.dfdgrp.rec.fltval" style="width:50%" placeholder="请输入浮动值"></c-input>
<c-input
v-model="model.dftcre.dfdgrp.rec.fltval"
style="width: 50%"
placeholder="请输入浮动值"
></c-input>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货押标识" prop="dftcre.dfdgrp.rec.guaflg">
<c-select v-model="model.dftcre.dfdgrp.rec.guaflg" style="width:100%" placeholder="请输入货押标识">
<el-option v-for="item in codes.guaflg" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.dftcre.dfdgrp.rec.guaflg"
style="width: 100%"
placeholder="请输入货押标识"
>
<el-option
v-for="item in codes.guaflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="代付利息" prop="dftcre.dfdgrp.rec.rescur">
<c-select v-model="model.dftcre.dfdgrp.rec.rescur" style="width:100%" placeholder="请输入代付利息">
<el-option v-for="item in codes.rescur" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.dftcre.dfdgrp.rec.rescur"
style="width: 100%"
placeholder="请输入代付利息"
>
<el-option
v-for="item in codes.rescur"
: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="dftcre.dfdgrp.rec.resamt">
<c-input v-model="model.dftcre.dfdgrp.rec.resamt" placeholder="代付利息"></c-input>
<c-input
v-model="model.dftcre.dfdgrp.rec.resamt"
placeholder="代付利息"
></c-input>
</c-form-item>
</c-col>
</c-col>
<!--------------------------------右---------------------------->
<c-col :span="11">
<c-col :span="24">
<c-form-item label="Name" prop="dftcre.dfdgrp.rec.pntnam">
<c-input
v-model="model.dftcre.dfdgrp.rec.pntnam"
maxlength="40"
:disabled="true"
placeholder="请输入name"></c-input>
placeholder="请输入name"
></c-input>
</c-form-item>
</c-col>
......@@ -245,7 +338,8 @@
<c-input
v-model="model.dftcre.dfdgrp.rec.nam"
maxlength="40"
:disabled="true"></c-input>
:disabled="true"
></c-input>
</c-form-item>
</c-col>
......@@ -306,34 +400,64 @@
</c-col> -->
<c-col :span="24">
<c-ptap :model="model" :argadr="{
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'trdgrp',
rol: 'fip',
}" :isAdrblk="true" :disabledExtkey="true" :disabled="true" :disabledRef="true" @onSeainf="onSeainf">
}"
:isAdrblk="true"
:disabledExtkey="true"
:disabled="true"
:disabledRef="true"
@onSeainf="onSeainf"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-form-item label="代付行参考号" prop="dftcre.dfdgrp.dff.pts.ref" >
<c-input :disabled="false" v-model="model.dftcre.dfdgrp.dff.pts.ref" placeholder="请输入代付行参考号"
<c-form-item label="代付行参考号" prop="dftcre.dfdgrp.dff.pts.ref">
<c-input
:disabled="false"
v-model="model.dftcre.dfdgrp.dff.pts.ref"
placeholder="请输入代付行参考号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24" >
<el-form-item label="代付行" prop="dftcre.dfdgrp.dff.pts.extkey" style="width: 100%">
<c-col :span="24">
<el-form-item
label="代付行"
prop="dftcre.dfdgrp.dff.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input :disabled="false" v-model="model.dftcre.dfdgrp.dff.pts.extkey"
placeholder="请输入代付行Extkey" @keyup.enter.native="
<c-input
:disabled="false"
v-model="model.dftcre.dfdgrp.dff.pts.extkey"
placeholder="请输入代付行Extkey"
@keyup.enter.native="
showGridPromptDialog('dftcre.dfdgrp.dff.pts.extkey')
" @change="valueChange"></c-input>
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button :disabled="false" style="margin:0 10px 0 10px;padding: 0 12px;" size="small"
type="primary" icon="el-icon-search" @click="onSeainf('dftcre.dfdgrp.dff.pts.extkey')">
<c-button
:disabled="false"
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf('dftcre.dfdgrp.dff.pts.extkey')"
>
</c-button>
<c-button style="margin:0 0" size="small" type="primary" @click="onAplpDet">
{{ $t('buttons.details') }}
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t("buttons.details") }}
</c-button>
</template>
</c-fullbox>
......@@ -341,7 +465,10 @@
</c-col>
<c-col :span="24">
<el-form-item :label="`代付行地址`" prop="dftcre.dfdgrp.dff.pts.adrelc`">
<el-form-item
:label="`代付行地址`"
prop="dftcre.dfdgrp.dff.pts.adrelc`"
>
<c-input
type="textarea"
:rows="2"
......@@ -349,11 +476,11 @@
placeholder="请输入代付行地址"
:disabled="true"
maxlength="35"
show-word-limit></c-input>
show-word-limit
></c-input>
</el-form-item>
</c-col>
<!-- S0000038 : 代付行 Ref. -->
<!-- <c-col :span="16">
......@@ -420,14 +547,22 @@
<c-col :span="16">
<c-form-item label="代付行核心账号" prop="dftcre.dfdgrp.rec.bankno">
<c-input v-model="model.dftcre.dfdgrp.rec.bankno" maxlength="16" placeholder="请输入代付行核心账号"></c-input>
<c-input
v-model="model.dftcre.dfdgrp.rec.bankno"
maxlength="16"
placeholder="请输入代付行核心账号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000040 : 代付行中文名 -->
<c-col :span="16">
<c-form-item label="代付行中文名" prop="dftcre.dfdgrp.rec.bankcn">
<c-input v-model="model.dftcre.dfdgrp.rec.bankcn" maxlength="40" placeholder="请输入代付行中文名"></c-input>
<c-input
v-model="model.dftcre.dfdgrp.rec.bankcn"
maxlength="40"
placeholder="请输入代付行中文名"
></c-input>
</c-form-item>
</c-col>
<!-- S0000025 : 代付金额: -->
......@@ -454,33 +589,37 @@
v-model="model.dftcre.dfdgrp.rec.bnkact"
maxlength="32"
placeholder="请输入同业代付内部号"
:disabled="true"></c-input>
:disabled="true"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtopn/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
data() {
return {};
},
methods:{...Event,
methods: {
...Event,
onSeainf(data) {
this.$emit("onSeainf", data);
},
......@@ -495,12 +634,8 @@ export default {
// `${this.argadr.grp}.${this.argadr.rol}.pts.extkey`
// );
},
created:function(){
}
created: function () {},
},
}
};
</script>
<style>
</style>
<style></style>
......@@ -5,8 +5,19 @@
<c-col :span="12">
<el-form-item label="单据编号" prop="trdgrp.rec.pntref">
<c-fullbox>
<c-input v-model="model.trdgrp.rec.pntref" maxlength="16" style="width: 78%" disabled placeholder="请输入单据编号"></c-input>
<c-button size="small" type="primary;width:10%" style="width: 10%" @click="onSeainf">
<c-input
v-model="model.trdgrp.rec.pntref"
maxlength="16"
style="width: 78%"
disabled
placeholder="请输入单据编号"
></c-input>
<c-button
size="small"
type="primary;width:10%"
style="width: 10%"
@click="onSeainf"
>
i
</c-button>
</c-fullbox>
......@@ -19,7 +30,13 @@
</c-col> -->
<c-col :span="11">
<el-form-item label="Parent Contract Name" prop="trdgrp.rec.pntnam">
<c-input align="middle" v-model="model.trdgrp.rec.pntnam" maxlength="40" disabled placeholder="请输入Parent Contract Name"></c-input>
<c-input
align="middle"
v-model="model.trdgrp.rec.pntnam"
maxlength="40"
disabled
placeholder="请输入Parent Contract Name"
></c-input>
</el-form-item>
</c-col>
......@@ -31,49 +48,64 @@
maxlength="16"
disabled
placeholder=""
style="width: 57%"></c-input>
style="width: 57%"
></c-input>
<c-button
size="small"
type="primary;width:10%"
style="width: 10%"
@click="onSeainf">
i</c-button>
@click="onSeainf"
>
i</c-button
>
<c-button
size="small"
type="primary"
:disabled="model.trdgrp.rec.fintyp == ''||
model.trdgrp.fip.pts.adrblk == ''||
:disabled="
model.trdgrp.rec.fintyp == '' ||
model.trdgrp.fip.pts.adrblk == '' ||
// model.trdgrp.rec.branchinr == ''||
model.trdgrp.rec.ownref != ''"
model.trdgrp.rec.ownref != ''
"
@click="onTrtpButgetref"
style="width: 20%">
Get Ref</c-button>
style="width: 20%"
>
Get Ref</c-button
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Name of Loan Contract" prop="trdgrp.rec.nam">
<c-input align="middle" v-model="model.trdgrp.rec.nam" maxlength="40" disabled placeholder="请输入Name of Loan Contract"></c-input>
<c-input
align="middle"
v-model="model.trdgrp.rec.nam"
maxlength="40"
disabled
placeholder="请输入Name of Loan Contract"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!--=================中部-左================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="客户经理" prop="trtp.usr.extkey">
<c-fullbox>
<c-input v-model="model.trtp.usr.extkey"
<c-input
v-model="model.trtp.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
style="width: 88%"></c-input>
<c-button size="small"
style="width: 88%"
></c-input>
<c-button
size="small"
type="primary;width:10%"
style="width: 10%"
@click="onExtkey">
@click="onExtkey"
>
i
</c-button>
</c-fullbox>
......@@ -82,14 +114,28 @@
<c-col :span="24">
<el-form-item label="开立日期" prop="trdgrp.rec.issdat">
<c-date-picker type="date" v-model="model.trdgrp.rec.issdat" style="width: 100%" placeholder="请选择开立日期"></c-date-picker>
<c-date-picker
type="date"
v-model="model.trdgrp.rec.issdat"
style="width: 100%"
placeholder="请选择开立日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="17">
<el-form-item label="融资品种" prop="trdgrp.rec.fintyp">
<c-select v-model="model.trdgrp.rec.fintyp" style="width:100%" placeholder="请选择融资品种">
<el-option v-for="item in codes.fintyp1" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.trdgrp.rec.fintyp"
style="width: 100%"
placeholder="请选择融资品种"
>
<el-option
v-for="item in codes.fintyp1"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -100,8 +146,17 @@
<c-col :span="24">
<el-form-item label="货押标识" prop="trdgrp.rec.guaflg">
<c-select v-model="model.trdgrp.rec.guaflg" style="width:100%" placeholder="请选择货押标识">
<el-option v-for="item in codes.guaflg" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.trdgrp.rec.guaflg"
style="width: 100%"
placeholder="请选择货押标识"
>
<el-option
v-for="item in codes.guaflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
......@@ -109,8 +164,17 @@
<c-col :span="24">
<el-form-item label="Good's Code " prop="trdgrp.rec.stagod">
<c-select v-model="model.trdgrp.rec.stagod" style="width:100%" placeholder="请选择Good's Code ">
<el-option v-for="item in codes.godcod" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.trdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择Good's Code "
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
......@@ -119,16 +183,31 @@
<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:34%" placeholder="请选择Currency" @keyup.enter.native="maxCurEvent">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.trdgrp.cbs.max.cur"
style="width: 34%"
placeholder="请选择Currency"
@keyup.enter.native="maxCurEvent"
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
<c-input v-model="model.trdgrp.cbs.max.amt" style="text-align: left; width: 47%" placeholder="请输入融资金额"></c-input>
<c-input
v-model="model.trdgrp.cbs.max.amt"
style="text-align: left; width: 47%"
placeholder="请输入融资金额"
></c-input>
<c-input
v-model="model.trdgrp.rec.pctfin"
style="width: 15%"
:disabled="true"></c-input>%
:disabled="true"
></c-input
>%
</c-fullbox>
</el-form-item>
<!-- <c-col :span="7">
......@@ -146,38 +225,62 @@
<c-col :span="24">
<el-form-item label="计息周期" prop="trtmod.finmod.intprd">
<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
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>
</c-col>
<c-col :span="24">
<el-form-item label="利率调整方式" prop="trtmod.finmod.ratchgtyp">
<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
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>
</c-col>
<c-col :span="13">
<el-form-item label="开户日期" prop="trdgrp.rec.stttendat" >
<el-form-item label="开户日期" prop="trdgrp.rec.stttendat">
<c-date-picker
type="date"
v-model="model.trdgrp.rec.stttendat"
style="width:110%"
style="width: 110%"
placeholder="请选择开户日期"
value-format="yyyy-MM-dd"></c-date-picker>
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="融资到期日" prop="trdgrp.rec.matdat" label-width="110px">
<el-form-item
label="融资到期日"
prop="trdgrp.rec.matdat"
label-width="110px"
>
<c-date-picker
type="date"
v-model="model.trdgrp.rec.matdat"
style="width:100%"
style="width: 100%"
placeholder="请选择融资到期日"
value-format="yyyy-MM-dd"></c-date-picker>
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -187,12 +290,14 @@
v-model="model.trdgrp.rec.intrat"
placeholder="请输入基准利率"
:disabled="true"
style="width:82%" ></c-input>
style="width: 82%"
></c-input>
<c-button
size="small"
type="primary"
@click="onFinmodButget"
style="width:15%">
style="width: 15%"
>
Get
</c-button>
</c-fullbox>
......@@ -201,28 +306,64 @@
<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="请选择基准利率规则">
<el-option v-for="item in codes.jzllgz" :key="item.value" :label="item.label" :value="item.value"></el-option>
<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>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="执行利率" prop="trdgrp.rec.actrat">
<c-input v-model="model.trdgrp.rec.actrat" placeholder="请输入执行利率"></c-input>
<c-input
v-model="model.trdgrp.rec.actrat"
placeholder="请输入执行利率"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="是否定向收付" prop="trdgrp.rec.flowflag">
<c-select v-model="model.trdgrp.rec.flowflag" style="width:100%" placeholder="请选择是否定向收付">
<el-option v-for="item in codes.flowflag" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-col :span="12">
<el-form-item
label="是否定向收付"
prop="trdgrp.rec.flowflag"
v-if="zmqflg == 'x'"
>
<c-select
v-model="model.trdgrp.rec.flowflag"
style="width: 100%"
placeholder="请选择是否定向收付"
>
<el-option
v-for="item in codes.flowflag"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col> -->
</c-col>
<c-col :span="24">
<el-form-item label="第一还款账号" prop="trtmod.finmod.act1">
<c-select v-model="model.trtmod.finmod.act1" style="width:100%" placeholder="请选择第一还款账号">
<el-option v-for="(item, idx) in codes.codeSet['trtmod.finmod.act1']" :key="idx" :label="item.split('\t')[1]" :value="item.split('\t')[0]"></el-option>
<c-select
v-model="model.trtmod.finmod.act1"
style="width: 100%"
placeholder="请选择第一还款账号"
>
<el-option
v-for="(item, idx) in codes.codeSet['trtmod.finmod.act1']"
:key="idx"
:label="item.split('\t')[1]"
:value="item.split('\t')[0]"
></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -230,13 +371,19 @@
<c-col :span="24">
<el-form-item label="预收息金额" prop="trtmod.finmod.intamt">
<c-fullbox>
<c-input v-model="model.trtmod.finmod.intamt" style="width:77%" :disabled="true" placeholder="请输入预收息金额"></c-input>
<c-input
v-model="model.trtmod.finmod.intamt"
style="width: 77%"
:disabled="true"
placeholder="请输入预收息金额"
></c-input>
<c-button
size="small"
type="primary"
@click="onFinmodButcal"
:disabled="model.trtmod.finmod.intprd !='7'"
style="width:20%">
:disabled="model.trtmod.finmod.intprd != '7'"
style="width: 20%"
>
计算
</c-button>
</c-fullbox>
......@@ -247,32 +394,49 @@
<el-form-item label="预扣息方式" prop="trtmod.finmod.inttyp">
<c-select
v-model="model.trtmod.finmod.inttyp"
style="width:100%"
style="width: 100%"
placeholder="请选择预扣息方式"
:disabled="model.trtmod.finmod.intprd !='7'">
<el-option v-for="item in codes.inttyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
:disabled="model.trtmod.finmod.intprd != '7'"
>
<el-option
v-for="item in codes.inttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="税率" label-width="110px" prop="trtmod.finmod.shuilv">
<c-input v-model="model.trtmod.finmod.shuilv" :disabled="true" placeholder="请输入税率"></c-input>
<el-form-item
label="税率"
label-width="110px"
prop="trtmod.finmod.shuilv"
>
<c-input
v-model="model.trtmod.finmod.shuilv"
:disabled="true"
placeholder="请输入税率"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="定价审批代码" prop="trtmod.finmod.dinjdm">
<c-fullbox>
<c-input v-model="model.trtmod.finmod.dinjdm"
<c-input
v-model="model.trtmod.finmod.dinjdm"
maxlength="20"
placeholder="请输入定价审批代码"
style="width:82%" ></c-input>
style="width: 82%"
></c-input>
<c-button
size="small"
type="primary"
@click="onDinmodDget"
:disabled="true"
style="width:15%" >
style="width: 15%"
>
Get
</c-button>
</c-fullbox>
......@@ -281,41 +445,72 @@
<c-col :span="24">
<el-form-item label="市场LPR期限品种" prop="trdgrp.rec.lprtyp">
<c-select v-model="model.trdgrp.rec.lprtyp" style="width:100%" placeholder="请选择市场LPR期限品种">
<el-option v-for="item in codes.lprtyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.trdgrp.rec.lprtyp"
style="width: 100%"
placeholder="请选择市场LPR期限品种"
>
<el-option
v-for="item in codes.lprtyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="审批流程发起标识" prop="trtmod.finmod.dinmod.rmbsbs">
<el-form-item
label="审批流程发起标识"
prop="trtmod.finmod.dinmod.rmbsbs"
>
<c-select
v-model="model.trtmod.finmod.dinmod.rmbsbs"
style="width:100%"
style="width: 100%"
placeholder="请选择审批流程发起标识"
:disabled="true">
<el-option v-for="item in codes.jzllgz" :key="item.value" :label="item.label" :value="item.value"></el-option>
:disabled="true"
>
<el-option
v-for="item in codes.jzllgz"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="发票类型" prop="trdgrp.rec.invtyp">
<c-select v-model="model.trdgrp.rec.invtyp" style="width:100%" placeholder="请选择发票类型">
<el-option v-for="item in codes.invtyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.trdgrp.rec.invtyp"
style="width: 100%"
placeholder="请选择发票类型"
>
<el-option
v-for="item in codes.invtyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!--=================中部-右================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap :model="model" :argadr="{
<c-ptap
:model="model"
:argadr="{
title: '融资客户',
grp: 'trdgrp',
rol: 'fip',
}" :isAdrblk="true" :disabled="true" @onSeainf="onSeainf">
}"
:isAdrblk="true"
:disabled="true"
@onSeainf="onSeainf"
>
</c-ptap>
</c-col>
<!--
......@@ -327,10 +522,12 @@
<c-col :span="24">
<el-form-item label="借据号" prop="trtmod.finmod.fincod">
<c-input v-model="model.trtmod.finmod.fincod"
<c-input
v-model="model.trtmod.finmod.fincod"
maxlength="17"
placeholder="请输入借据号"
:disabled="true"></c-input>
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="14">
......@@ -339,24 +536,37 @@
v-model="model.trtmod.finmod.intdat"
maxlength="2"
placeholder="请输入计息日期"
:disabled="model.trtmod.finmod.intprd == '6'
|| model.trtmod.finmod.intprd=='7'
|| model.trtmod.finmod.intprd=='B'"></c-input>
:disabled="
model.trtmod.finmod.intprd == '6' ||
model.trtmod.finmod.intprd == '7' ||
model.trtmod.finmod.intprd == 'B'
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="9" :offset="1">
<c-checkbox v-model="model.trtmod.finmod.wjdkfl" :disabled="true">是否到期主动扣收款</c-checkbox>
<c-checkbox v-model="model.trtmod.finmod.wjdkfl" :disabled="true"
>是否到期主动扣收款</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label="利率调整周期" prop="trtmod.finmod.ratchgprd">
<c-select
v-model="model.trtmod.finmod.ratchgprd"
style="width:100%"
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>
: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>
</c-col>
......@@ -367,38 +577,73 @@
v-model="model.trtmod.finmod.ratchgdat"
maxlength="4"
placeholder="请输入利率调整月日数"
:disabled="model.trtmod.finmod.ratchgtyp != '4' && model.trtmod.finmod.ratchgtyp != '5'"></c-input>
:disabled="
model.trtmod.finmod.ratchgtyp != '4' &&
model.trtmod.finmod.ratchgtyp != '5'
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="融资天数" prop="trdgrp.rec.tenday">
<c-input v-model="model.trdgrp.rec.tenday" style="width:100%" :disabled="true"></c-input>
<c-input
v-model="model.trdgrp.rec.tenday"
style="width: 100%"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="宽限期" prop="trtmod.finmod.graday">
<c-input v-model="model.trtmod.finmod.graday" style="width:100%" :disabled="true" placeholder="请输入宽限期"></c-input>
<c-input
v-model="model.trtmod.finmod.graday"
style="width: 100%"
:disabled="true"
placeholder="请输入宽限期"
></c-input>
</el-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.flttyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.trtmod.finmod.flttyp"
style="width: 100%"
placeholder="请选择浮动方式"
>
<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">
<el-form-item label="浮动值" prop="trtmod.finmod.fltval">
<c-input v-model="model.trtmod.finmod.fltval" placeholder="请输入浮动值" :disabled="model.trtmod.finmod.flttyp =='0'"></c-input>
<c-input
v-model="model.trtmod.finmod.fltval"
placeholder="请输入浮动值"
:disabled="model.trtmod.finmod.flttyp == '0'"
></c-input>
</el-form-item>
</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="请选择逾期计息方式">
<el-option v-for="item in codes.ovdinttyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
<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>
</c-col>
......@@ -409,7 +654,9 @@
v-model="model.trtmod.finmod.ovdintrat"
placeholder="请输入罚息比率"
style="width: 85%"
:disabled="model.trtmod.finmod.ovdinttyp == '0'"></c-input>%
:disabled="model.trtmod.finmod.ovdinttyp == '0'"
></c-input
>%
</el-form-item>
</c-col>
<!-- <c-col :span="1">
......@@ -419,27 +666,41 @@
</c-col> -->
<c-col :span="12">
<el-form-item label="第三方还款方式" prop="trtmod.finmod.acttyp">
<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
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>
<c-col :span="12">
<el-form-item label="入账机构" prop="trtmod.finmod.accbch">
<c-select v-model="model.trtmod.finmod.accbch" style="width:100%" placeholder="请选择入账机构">
<c-select
v-model="model.trtmod.finmod.accbch"
style="width: 100%"
placeholder="请选择入账机构"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第三方还款账号" prop="trtmod.finmod.act3" >
<el-form-item label="第三方还款账号" prop="trtmod.finmod.act3">
<c-select
filterable
allow-create
v-model="model.trtmod.finmod.act3"
style="width:100%"
style="width: 100%"
:disabled="model.trtmod.finmod.acttyp == ''"
placeholder="请选择第三方还款账号">
placeholder="请选择第三方还款账号"
>
</c-select>
</el-form-item>
</c-col>
......@@ -459,7 +720,12 @@
<c-col :span="24">
<el-form-item label="利息付款账号" prop="trtmod.finmod.intact">
<c-input v-model="model.trtmod.finmod.intact" style="width:100%" placeholder="请选择利息付款账号" :disabled="true">
<c-input
v-model="model.trtmod.finmod.intact"
style="width: 100%"
placeholder="请选择利息付款账号"
:disabled="true"
>
</c-input>
</el-form-item>
</c-col>
......@@ -475,16 +741,21 @@
<c-col :span="24">
<el-form-item label="贸易合同号" prop="trdgrp.rec.mycontno">
<c-input v-model="model.trdgrp.rec.mycontno" maxlength="35" placeholder="请输入贸易合同号"></c-input>
<c-input
v-model="model.trdgrp.rec.mycontno"
maxlength="35"
placeholder="请输入贸易合同号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外币贷款专户清单" prop="trtp.act" >
<el-form-item label="外币贷款专户清单" prop="trtp.act">
<c-select
v-model="model.trtp.act"
style="width:100%"
style="width: 100%"
placeholder="请选择外币贷款专户清单"
:disabled="model.trdgrp.cbs.max.cur==='CNY'">
:disabled="model.trdgrp.cbs.max.cur === 'CNY'"
>
</c-select>
</el-form-item>
</c-col>
......@@ -492,30 +763,28 @@
</c-row>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Utils from "~/utils";
import Event from "~/model/Trtopn/Event"
import Ptap from "~/views/Public/Ptap";
export default {
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Utils from "~/utils";
import Event from "~/model/Trtopn/Event";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
flag: false,
zmqflg: null,
flag: false,
};
},
watch:{
},
watch: {},
methods: { ...Event },
created: function() {}
};
created: function () {},
};
</script>
<style>
</style>
<style></style>
<template>
<div class="eibs-tab">
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx1">贷记贵司指定账户(账号:</c-checkbox>
<c-checkbox
v-model="model.financ.rzkx1"
@change="
mutualExclusion();
model.financ.rzkx1 = 'X';
"
>贷记贵司指定账户(账号:</c-checkbox
>
</c-col>
<c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.acc">
<c-input v-model="model.financ.acc" style="text-align: left; width: 100%" maxlength="40" placeholder="请输入账号"></c-input>
<el-form-item
style="text-align: left"
label-width="20px"
prop="financ.acc"
>
<c-input
v-model="model.financ.acc"
style="text-align: left; width: 100%"
maxlength="40"
placeholder="请输入账号"
:disabled="model.financ.rzkx1 == '' || model.financ.rzkx1 == null"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")">
</el-form-item>
<el-form-item label=")"> </el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx2">支付进口信用证项下款项(业务编号:</c-checkbox>
<c-checkbox
v-model="model.financ.rzkx2"
@change="
mutualExclusion();
model.financ.rzkx2 = 'X';
"
>支付进口信用证项下款项(业务编号:</c-checkbox
>
</c-col>
<c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref2">
<c-input v-model="model.financ.ref2" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input>
<el-form-item
style="text-align: left"
label-width="20px"
prop="financ.ref2"
>
<c-input
v-model="model.financ.ref2"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx2 == '' || model.financ.rzkx2 == null"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")">
</el-form-item>
<el-form-item label=")"> </el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx3">支付进口代收项下款项(业务编号:</c-checkbox>
<c-checkbox
v-model="model.financ.rzkx3"
@change="
mutualExclusion();
model.financ.rzkx3 = 'X';
"
>支付进口代收项下款项(业务编号:</c-checkbox
>
</c-col>
<c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref3">
<c-input v-model="model.financ.ref3" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input>
<el-form-item
style="text-align: left"
label-width="20px"
prop="financ.ref3"
>
<c-input
v-model="model.financ.ref3"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx3 == '' || model.financ.rzkx3 == null"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")">
</el-form-item>
<el-form-item label=")"> </el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx4">支付汇出汇款项下款项(业务编号:</c-checkbox>
<c-checkbox
v-model="model.financ.rzkx4"
@change="
mutualExclusion();
model.financ.rzkx4 = 'X';
"
>支付汇出汇款项下款项(业务编号:</c-checkbox
>
</c-col>
<c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref4">
<c-input v-model="model.financ.ref4" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input>
<el-form-item
style="text-align: left"
label-width="20px"
prop="financ.ref4"
>
<c-input
v-model="model.financ.ref4"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx4 == '' || model.financ.rzkx4 == null"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")">
</el-form-item>
<el-form-item label=")"> </el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx5">支付国内信用证项下款项(业务编号:</c-checkbox>
<c-checkbox
v-model="model.financ.rzkx5"
@change="
mutualExclusion();
model.financ.rzkx5 = 'X';
"
>支付国内信用证项下款项(业务编号:</c-checkbox
>
</c-col>
<c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref5">
<c-input v-model="model.financ.ref5" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input>
<el-form-item
style="text-align: left"
label-width="20px"
prop="financ.ref5"
>
<c-input
v-model="model.financ.ref5"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx5 == '' || model.financ.rzkx5 == null"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label=")">
</el-form-item>
<el-form-item label=")"> </el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
export default {
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function() {}
};
methods: {
...Event,
mutualExclusion() {
this.model.financ.rzkx1 = "";
this.model.financ.rzkx2 = "";
this.model.financ.rzkx3 = "";
this.model.financ.rzkx4 = "";
this.model.financ.rzkx5 = "";
},
},
created: function () {},
};
</script>
<style>
</style>
<style></style>
......@@ -4,78 +4,132 @@
<c-row>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<c-form-item label="父交易参考号" prop="trdgrp.rec.pntref" >
<c-input v-model="model.trdgrp.rec.pntref" maxlength="16" :disabled="true" placeholder="请输入父交易参考号"></c-input>
<c-form-item label="父交易参考号" prop="trdgrp.rec.pntref">
<c-input
v-model="model.trdgrp.rec.pntref"
maxlength="16"
:disabled="true"
placeholder="请输入父交易参考号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="参考号" prop="trdgrp.rec.ownref" >
<c-input v-model="model.trdgrp.rec.ownref" maxlength="16" :disabled="true" placeholder="请输入参考号"></c-input>
<c-form-item label="参考号" prop="trdgrp.rec.ownref">
<c-input
v-model="model.trdgrp.rec.ownref"
maxlength="16"
:disabled="true"
placeholder="请输入参考号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="融资比例" prop="trdgrp.rec.pctfin" >
<c-form-item label="融资比例" prop="trdgrp.rec.pctfin">
<c-fullbox>
<c-input v-model="model.trdgrp.rec.pctfin" style="width: 96%" :disabled="true" placeholder="请输入融资比例" ></c-input>%
<c-input
v-model="model.trdgrp.rec.pctfin"
style="width: 96%"
:disabled="true"
placeholder="请输入融资比例"
></c-input
>%
</c-fullbox>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="融资金额" prop="trdgrp.cbs.max.cur" >
<el-form-item label="融资金额" prop="trdgrp.cbs.max.cur">
<c-fullbox>
<c-select v-model="model.trdgrp.cbs.max.cur" style="width: 30%" :disabled="true" >
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.trdgrp.cbs.max.cur"
style="width: 30%"
:disabled="true"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
<c-input v-model="model.trdgrp.cbs.max.amt" style="width: 70%" :disabled="true" ></c-input>
<c-input
v-model="model.trdgrp.cbs.max.amt"
style="width: 70%"
:disabled="true"
></c-input>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="余额" prop="trdgrp.cbs.opn1.cur" >
<c-form-item label="余额" prop="trdgrp.cbs.opn1.cur">
<c-fullbox>
<c-input v-model="model.trdgrp.cbs.opn1.cur"
<c-input
v-model="model.trdgrp.cbs.opn1.cur"
style="width: 30%"
maxlength="3"
:disabled="true" ></c-input>
:disabled="true"
></c-input>
<c-input
v-model="model.trdgrp.cbs.opn1.amt"
style="width: 70%"
:disabled="true" ></c-input>
:disabled="true"
></c-input>
</c-fullbox>
</c-form-item>
</c-col>
<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" ></c-date-picker>
<el-form-item label="起息日期" prop="trdgrp.rec.stttendat">
<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" ></c-date-picker>
<el-form-item label="到期日期" prop="trdgrp.rec.matdat">
<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 :span="17">
<c-form-item label="借据号" prop="trtmod.finmod.fincod" >
<c-input v-model="model.trtmod.finmod.fincod" maxlength="17" :disabled="true" ></c-input>
<c-form-item label="借据号" prop="trtmod.finmod.fincod">
<c-input
v-model="model.trtmod.finmod.fincod"
maxlength="17"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<c-col :span="6" :offset="1" >
<c-checkbox v-model="model.clsflg" :disabled="false">{{$t('抹账')}}</c-checkbox>
<c-col :span="6" :offset="1">
<c-checkbox
v-model="model.clsflg"
:disabled="checkDate(model.trdgrp.rec.stttendat)"
>{{ $t("抹账") }}</c-checkbox
>
</c-col>
<c-col :span="24">
<c-form-item label="Settlement Account" prop="setact">
<c-input v-model="model.setact" maxlength="21" :disabled="true" :placeholder="$t('other.please_enter')+'Settlement Account'"></c-input>
<c-input
v-model="model.setact"
maxlength="21"
:disabled="true"
:placeholder="$t('other.please_enter') + 'Settlement Account'"
></c-input>
</c-form-item>
</c-col>
......@@ -84,121 +138,232 @@
</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%" :disanled="true" placeholder="请选择第三方还款方式">
<el-option v-for="item in codes.acttyp1" :key="item.value" :label="item.label" :value="item.value"></el-option>
<el-form-item label="第三方还款方式" prop="trtmod.finmod.acttyp">
<c-select
v-model="model.trtmod.finmod.acttyp"
style="width: 100%"
:disabled="true"
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>
<c-col :span="24">
<c-form-item label="表外欠息利息" prop="trtmod.finmod.cbs.cbb.intamt1" >
<c-input v-model="model.trtmod.finmod.cbs.cbb.intamt1" :disabled="true" placeholder="请输入表外欠息利息"></c-input>
<c-form-item
label="表外欠息利息"
prop="trtmod.finmod.cbs.cbb.intamt1"
>
<c-input
v-model="model.trtmod.finmod.cbs.cbb.intamt1"
:disabled="true"
placeholder="请输入表外欠息利息"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="表外本年欠息" prop="trtmod.finmod.cbs.cbb.intamty1" >
<c-input v-model="model.trtmod.finmod.cbs.cbb.intamty1" :disabled="true" placeholder="请输入表外本年欠息"></c-input>
<c-form-item
label="表外本年欠息"
prop="trtmod.finmod.cbs.cbb.intamty1"
>
<c-input
v-model="model.trtmod.finmod.cbs.cbb.intamty1"
:disabled="true"
placeholder="请输入表外本年欠息"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="表内欠息利息" prop="trtmod.finmod.cbs.cbb.intamt2" >
<c-input v-model="model.trtmod.finmod.cbs.cbb.intamt2" :disabled="true" placeholder="请输入表内欠息利息"></c-input>
<c-form-item
label="表内欠息利息"
prop="trtmod.finmod.cbs.cbb.intamt2"
>
<c-input
v-model="model.trtmod.finmod.cbs.cbb.intamt2"
:disabled="true"
placeholder="请输入表内欠息利息"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="表内本年欠息" prop="trtmod.finmod.cbs.cbb.intamty2" >
<c-input v-model="model.trtmod.finmod.cbs.cbb.intamty2" :disabled="true" placeholder="请输入表内本年欠息"></c-input>
<c-form-item
label="表内本年欠息"
prop="trtmod.finmod.cbs.cbb.intamty2"
>
<c-input
v-model="model.trtmod.finmod.cbs.cbb.intamty2"
:disabled="true"
placeholder="请输入表内本年欠息"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="利息" prop="trtmod.finmod.cbs.cbb.intamt" >
<c-input v-model="model.trtmod.finmod.cbs.cbb.intamt" :disabled="true" :placeholder="$t('other.please_enter')+'利息'"></c-input>
<c-form-item label="利息" prop="trtmod.finmod.cbs.cbb.intamt">
<c-input
v-model="model.trtmod.finmod.cbs.cbb.intamt"
:disabled="true"
:placeholder="$t('other.please_enter') + '利息'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="本金" prop="trtmod.finmod.cbs.cbb.amt" >
<c-input v-model="model.trtmod.finmod.cbs.cbb.amt" :disabled="true" :placeholder="$t('other.please_enter')+'本金'"></c-input>
<c-form-item label="本金" prop="trtmod.finmod.cbs.cbb.amt">
<c-input
v-model="model.trtmod.finmod.cbs.cbb.amt"
:disabled="true"
:placeholder="$t('other.please_enter') + '本金'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="融资状态" prop="trdgrp.rec.ovdflg" >
<c-select v-model="model.trdgrp.rec.ovdflg" style="width:100%" :disabled="true" :placeholder="$t('other.please_enter')+'Overdue Flag'">
<el-option v-for="item in codes.ovdflg" :key="item.value" :label="item.label" :value="item.value"></el-option>
<el-form-item label="融资状态" prop="trdgrp.rec.ovdflg">
<c-select
v-model="model.trdgrp.rec.ovdflg"
style="width: 100%"
:disabled="true"
:placeholder="$t('other.please_enter') + 'Overdue Flag'"
>
<el-option
v-for="item in codes.ovdflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="计息周期" prop="trtmod.finmod.intprd" >
<c-select v-model="model.trtmod.finmod.intprd" style="width:100%" :disabled="true" :placeholder="$t('other.please_enter')+'计息周期'">
<el-option v-for="item in codes.intprd" :key="item.value" :label="item.label" :value="item.value"></el-option>
<el-form-item label="计息周期" prop="trtmod.finmod.intprd">
<c-select
v-model="model.trtmod.finmod.intprd"
style="width: 100%"
:disabled="true"
:placeholder="$t('other.please_enter') + '计息周期'"
>
<el-option
v-for="item in codes.intprd"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="我行借记账户" prop="setact1" >
<c-input v-model="model.setact1" maxlength="21" :placeholder="$t('other.please_enter')+'我行借记账户'"></c-input>
<c-form-item label="我行借记账户" prop="setact1">
<c-input
v-model="model.setact1"
maxlength="21"
:placeholder="$t('other.please_enter') + '我行借记账户'"
></c-input>
</c-form-item>
</c-col>
</c-col>
<!--=================右部================= -->
<c-col :span="11">
<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="请输入Name"></c-input>
<c-form-item label="Name" prop="trdgrp.rec.pntnam">
<c-input
v-model="model.trdgrp.rec.pntnam"
maxlength="40"
:disabled="true"
placeholder="请输入Name"
></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="请输入name"></c-input>
<c-form-item label="Name" prop="trdgrp.rec.nam">
<c-input
v-model="model.trdgrp.rec.nam"
maxlength="40"
:disabled="true"
placeholder="请输入name"
></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="融资客户"></c-input>
<c-form-item label="融资客户" prop="trdgrp.fip.pts.ref">
<c-input
v-model="model.trdgrp.fip.pts.ref"
maxlength="16"
:disabled="true"
placeholder="融资客户"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" 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-form-item label="Name of Party" 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-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="请输入融资品种"></c-input>
<c-form-item label="融资品种" prop="trdgrp.rec.fintyp">
<c-input
v-model="model.trdgrp.rec.fintyp"
maxlength="3"
:disabled="true"
placeholder="请输入融资品种"
></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="请输入融资账号"></c-input>
<c-form-item label="融资账号" prop="trdgrp.rec.finact">
<c-input
v-model="model.trdgrp.rec.finact"
maxlength="21"
:disabled="true"
placeholder="请输入融资账号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="还本金金额" prop="setmod.doccur">
<c-fullbox>
<c-select v-model="model.setmod.doccur" style="width:20%" :disabled="true" :placeholder="$t('other.please_enter')+'document currency'">
<el-option v-for="item in codes.doccur" :key="item.value" :label="item.label" :value="item.value"></el-option>
<c-select
v-model="model.setmod.doccur"
style="width: 20%"
:disabled="true"
:placeholder="
$t('other.please_enter') + 'document currency'
"
>
<el-option
v-for="item in codes.doccur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
<c-input v-model="model.setamt" style="width:62%" :disabled="true" :placeholder="$t('other.please_enter')+'Settlement Amount'"></c-input>
<c-input
v-model="model.setamt"
style="width: 60%"
:disabled="true"
:placeholder="
$t('other.please_enter') + 'Settlement Amount'
"
></c-input>
<c-button size="small" type="primary" @click="onFinmodCal">
计算
</c-button>
......@@ -207,69 +372,133 @@
</c-col>
<c-col :span="24">
<el-form-item label="还款方式" prop="trtmod.finmod.reptyp" >
<c-select v-model="model.trtmod.finmod.reptyp" :disabled="model.clsflg=='X'" style="width:100%" placeholder="请选择还款方式">
<el-option v-for="item in codes.reptyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
<el-form-item label="还款方式" prop="trtmod.finmod.reptyp">
<c-select
v-model="model.trtmod.finmod.reptyp"
:disabled="model.clsflg == 'X'"
style="width: 100%"
placeholder="请选择还款方式"
>
<el-option
v-for="item in codes.reptyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="第三方还款账号" prop="trtmod.finmod.act3" >
<c-input v-model="model.trtmod.finmod.act3" maxlength="21" :disabled="true" placeholder="请输入第三方还款账号"></c-input>
<c-form-item label="第三方还款账号" prop="trtmod.finmod.act3">
<c-input
v-model="model.trtmod.finmod.act3"
maxlength="21"
:disabled="true"
placeholder="请输入第三方还款账号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="偿还表外欠息利息" prop="trtmod.finmod.cbs.cbe.intamt1" >
<c-input v-model="model.trtmod.finmod.cbs.cbe.intamt1" :disabled="true" placeholder="请输入偿还表外欠息利息"></c-input>
<c-form-item
label="偿还表外欠息利息"
prop="trtmod.finmod.cbs.cbe.intamt1"
>
<c-input
v-model="model.trtmod.finmod.cbs.cbe.intamt1"
:disabled="true"
placeholder="请输入偿还表外欠息利息"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="偿还表外欠息" prop="trtmod.finmod.cbs.cbe.intamty1" >
<c-input v-model="model.trtmod.finmod.cbs.cbe.intamty1" :disabled="true" placeholder="请输入偿还表外欠息"></c-input>
<c-form-item
label="偿还表外欠息"
prop="trtmod.finmod.cbs.cbe.intamty1"
>
<c-input
v-model="model.trtmod.finmod.cbs.cbe.intamty1"
:disabled="true"
placeholder="请输入偿还表外欠息"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="偿还表内欠息利息" prop="trtmod.finmod.cbs.cbe.intamt2" >
<c-input v-model="model.trtmod.finmod.cbs.cbe.intamt2" :disabled="true" placeholder="请输入偿还表内欠息利息"></c-input>
<c-form-item
label="偿还表内欠息利息"
prop="trtmod.finmod.cbs.cbe.intamt2"
>
<c-input
v-model="model.trtmod.finmod.cbs.cbe.intamt2"
:disabled="true"
placeholder="请输入偿还表内欠息利息"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="偿还表内欠息" prop="trtmod.finmod.cbs.cbe.intamty2" >
<c-input v-model="model.trtmod.finmod.cbs.cbe.intamty2" :disabled="true" placeholder="请输入偿还表内欠息"></c-input>
<c-form-item
label="偿还表内欠息"
prop="trtmod.finmod.cbs.cbe.intamty2"
>
<c-input
v-model="model.trtmod.finmod.cbs.cbe.intamty2"
:disabled="true"
placeholder="请输入偿还表内欠息"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="偿还本金利息" prop="trtmod.finmod.cbs.cbe.intamt" >
<c-input v-model="model.trtmod.finmod.cbs.cbe.intamt" :disabled="true" placeholder="请输入还本金利息"></c-input>
<c-form-item
label="偿还本金利息"
prop="trtmod.finmod.cbs.cbe.intamt"
>
<c-input
v-model="model.trtmod.finmod.cbs.cbe.intamt"
:disabled="true"
placeholder="请输入还本金利息"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="偿还本金" prop="trtmod.finmod.cbs.cbe.amt" >
<c-input v-model="model.trtmod.finmod.cbs.cbe.amt" :disabled="true" placeholder="请输入偿还本金"></c-input>
<c-form-item label="偿还本金" prop="trtmod.finmod.cbs.cbe.amt">
<c-input
v-model="model.trtmod.finmod.cbs.cbe.amt"
:disabled="true"
placeholder="请输入偿还本金"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="偿还利息总额" prop="trtmod.finmod.cbs.totint" >
<c-input v-model="model.trtmod.finmod.cbs.totint" :disabled="true" placeholder="偿还利息总额"></c-input>
<c-form-item label="偿还利息总额" prop="trtmod.finmod.cbs.totint">
<c-input
v-model="model.trtmod.finmod.cbs.totint"
:disabled="true"
placeholder="偿还利息总额"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="执行利率" prop="trdgrp.rec.actrat" >
<c-input v-model="model.trdgrp.rec.actrat" :disabled="true" placeholder="请输入执行利率"></c-input>
<c-form-item label="执行利率" prop="trdgrp.rec.actrat">
<c-input
v-model="model.trdgrp.rec.actrat"
:disabled="true"
placeholder="请输入执行利率"
></c-input>
</c-form-item>
</c-col>
<c-col :span="20" :offset="2">
<c-checkbox v-model="model.mtabut.clsflg">{{$t('闭卷')}}</c-checkbox>
<c-checkbox v-model="model.mtabut.clsflg">{{
$t("闭卷")
}}</c-checkbox>
</c-col>
</c-col>
</c-col>
......@@ -278,37 +507,35 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtset/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtset/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
data() {
return {};
},
methods: {
...Event,
checkDate(date) {
var d = new Date().getDate();
var m = new Date().getMonth();
var y = new Date().getFullYear();
var dd = new Date(this.model.trdgrp.rec.stttendat).getDate();
var mm = new Date(this.model.trdgrp.rec.stttendat).getMonth();
var yy = new Date(this.model.trdgrp.rec.stttendat).getFullYear();
if (d != dd || m != mm || y != yy) {
return true;
} else {
return false;
}
},
methods:{...Event},
created:function(){
},
// async ifDay(date) {
// let now = new Date();
// now.getFullYear(),
// now.getMonth(),
// now.getDate();
// if (date == now) {
// return false;
// } else {
// return true;
// }
// },
}
created: function () {},
};
</script>
<style>
</style>
<style></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