Commit ee4b76df by “yanyuxin”

Trtrcl交易修改 进口融资交易快照功能修改

parent 63988ab2
......@@ -61,5 +61,6 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trdgrp.rec.pntnam" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -230,5 +230,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -57,7 +57,7 @@ export default {
],
"trdgrp.rec.pctfin":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
{max: 6,message:"长度不能超过6"}
],
"trdgrp.fip.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -97,7 +97,7 @@ export default {
{max: 21,message:"长度不能超过21"}
],
"trnmod.trndoc.nar754":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"liaall.tenstm":[
......@@ -132,35 +132,35 @@ export default {
"trdgrp.rmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"trdgrp.iss.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"trdgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
{max: 120,message:"长度不能超过120"}
],
"trdgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
{max: 120,message:"长度不能超过120"}
],
"trdgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
{max: 120,message:"长度不能超过120"}
],
"trdgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
{max: 120,message:"长度不能超过120"}
],
"trdgrp.rmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
{max: 120,message:"长度不能超过120"}
],
"trdgrp.iss.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
{max: 120,message:"长度不能超过120"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
......@@ -291,19 +291,19 @@ export default {
"rmbclm.rmbrmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.rmbrmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.rmbrmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.rmbrmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.acwacw.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -324,19 +324,19 @@ export default {
"rmbclm.acwacw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.acwacw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.acwacw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.acwacw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.bebbeb.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -357,19 +357,19 @@ export default {
"rmbclm.bebbeb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.bebbeb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.bebbeb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.bebbeb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"rmbclm.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Trtrcl{
constructor () {
......@@ -28,6 +30,7 @@ export default class Trtrcl{
},
},
fip:{
inr:"",
pts:new Pts().data,
},
rmb:{
......
......@@ -110,6 +110,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
}
else
......
......@@ -149,6 +149,9 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
}
else
......
......@@ -348,7 +348,7 @@
title: '申请人',
grp: 'trdgrp',
rol: 'fip',
}" :isAdrblk="true" :disabledExtkey="true" @onSeainf="onSeainf">
}" :isAdrblk="true" :disabledExtkey="true" :disabled="true" :disabledRef="true" @onSeainf="onSeainf">
</c-ptap>
</c-col>
......
......@@ -313,7 +313,7 @@
title: '融资客户',
grp: 'trdgrp',
rol: 'fip',
}" :isAdrblk="true" @onSeainf="onSeainf">
}" :isAdrblk="true" :disabled="true" @onSeainf="onSeainf">
</c-ptap>
</c-col>
<!--
......
<template>
<div class="eibs-tab">
<c-row>
<!--=================顶部================= -->
<c-col :span="24">
......@@ -35,7 +36,7 @@
<c-col :span="11">
<c-col :span="24">
<c-form-item label="融资比例" prop="trdgrp.rec.pctfin">
<c-input v-model="model.trdgrp.rec.pctfin" :disabled="true"></c-input>
<c-input v-model="model.trdgrp.rec.pctfin" style="width:95%" :disabled="true"></c-input>%
</c-form-item>
</c-col>
......@@ -166,7 +167,7 @@
<c-col :span="24">
<c-form-item label="融资账号" prop="trdgrp.rec.finact">
<c-input v-model="model.trdgrp.rec.finact" maxlength="21" ></c-input>
<c-input v-model="model.trdgrp.rec.finact" maxlength="21" :disabled="true" ></c-input>
</c-form-item>
</c-col>
......@@ -238,6 +239,7 @@
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtrcl/Event"
import Ptap from "~/views/Public/Ptap";
......@@ -246,7 +248,7 @@ export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [commonProcess, commonFuncs],
data(){
return {
typ1: true,
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item :label="$t('rmbclm.SF000021')" prop="rmbclm.rmbrol">
<c-select v-model="model.rmbclm.rmbrol" style="width:100%" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000021')">
<c-col :span="15">
<el-form-item label="偿付行" prop="rmbclm.rmbrol">
<c-select v-model="model.rmbclm.rmbrol" style="width:100%" placeholder="请选择偿付行">
<el-option v-for="item in codes.rmbrol" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
<!-- SF000021 : 偿付行 -->
<!-- SF000020 : 编号 -->
<c-col :span="15">
<c-ptap :model="model" :argadr="{
title: '',
grp: 'rmbclm',
rol: 'rmbrmb',
}" :isAdrblk="true" :disabled="true" @onSeainf="onSeainf">
</c-ptap>
</c-col>
<!-- SF000021 : 偿付行
SF000020 : 编号
<c-col :span="12">
<c-form-item label="Reference for Address Optional" prop="rmbclm.rmbrmb.pts.ref">
<c-input v-model="model.rmbclm.rmbrmb.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+'Reference for Address Optional'"></c-input>
......@@ -62,9 +72,18 @@
<c-form-item label="地址" prop="rmbclm.rmbrmb.adrelc">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col> -->
<c-col :span="15">
<c-ptap :model="model" :argadr="{
title: 'Account with Bank',
grp: 'rmbclm',
rol: 'acwacw',
}" :isAdrblk="true" :disabled="true" @onSeainf="onSeainf">
</c-ptap>
</c-col>
<!-- SF000011 : Account with Bank -->
<!-- SF000018 : 编号 -->
<!-- SF000011 : Account with Bank
SF000018 : 编号
<c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000011')" prop="rmbclm.acwacw.pts.ref">
......@@ -118,9 +137,18 @@
<c-form-item label="地址" prop="rmbclm.acwacw.adrelc">
<c-input type="textarea" v-model="model.rmbclm.acwacw.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col> -->
<c-col :span="15">
<c-ptap :model="model" :argadr="{
title: ' Beneficiary Bank',
grp: 'rmbclm',
rol: 'bebbeb',
}" :isAdrblk="true" :disabled="true" @onSeainf="onSeainf">
</c-ptap>
</c-col>
<!-- SF000016 : Beneficiary Bank -->
<!-- SF000019 : 编号 -->
<!-- SF000016 : Beneficiary Bank
SF000019 : 编号
<c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000016')" prop="rmbclm.bebbeb.pts.ref">
......@@ -174,11 +202,11 @@
<c-form-item label="地址" prop="rmbclm.bebbeb.adrelc">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<c-col :span="15">
<el-form-item label="value date" prop="rmbclm.valdat">
<c-date-picker type="date" v-model="model.rmbclm.valdat" style="width:100%" :placeholder="$t('other.please_enter')+'value date'"></c-date-picker>
<c-date-picker type="date" v-model="model.rmbclm.valdat" style="width:100%" placeholder="请选择value date"></c-date-picker>
</el-form-item>
</c-col>
<!-- SG000133 : value date -->
......@@ -187,13 +215,17 @@
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtrcl/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [commonProcess, commonFuncs],
data(){
return {
......
<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">
<el-tab-pane label="Claim Reimb" name="rclp">
<m-rclp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Reimbursement Details" name="remp">
<m-remp :model="model" :codes="codes"/>
</el-tab-pane>
<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">
<el-tab-pane label="Claim Reimb" name="rclp">
<c-content :height="300">
<m-rclp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Reimbursement Details" name="remp">
<c-content :height="300">
<m-remp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtrcl from "~/model/Trtrcl"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtrcl/Check"
import Default from "~/model/Trtrcl/Default"
import Pattern from "~/model/Trtrcl/Pattern"
......@@ -67,7 +88,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "rclp",
......@@ -78,8 +99,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {...CodeTable},
}
},
methods:{
......@@ -97,6 +117,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
}
else
......
......@@ -61,6 +61,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
}
else
......
......@@ -50,13 +50,13 @@
</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:100%" :disabled="true" ></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<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>
......@@ -69,7 +69,7 @@
</c-col>
<c-col :span="6" :offset="1" >
<c-checkbox v-model="model.clsflg" :disabled="true">{{$t('抹账')}}</c-checkbox>
<c-checkbox v-model="model.clsflg" :disabled="false">{{$t('抹账')}}</c-checkbox>
</c-col>
<c-col :span="24">
......@@ -78,13 +78,13 @@
</c-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<span v-text="model.trtmod.finmod.setlab" data-path=".trtmod.finmod.setlab" > </span>
</c-col>
</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="请选择第三方还款方式">
<c-select v-model="model.trtmod.finmod.acttyp" style="width:100%" :disanled="true" placeholder="请选择第三方还款方式">
</c-select>
</el-form-item>
</c-col>
......@@ -189,7 +189,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="还款总额" prop="setmod.doccur">
<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'">
</c-select>
......@@ -203,7 +203,8 @@
<c-col :span="24">
<el-form-item label="还款方式" prop="trtmod.finmod.reptyp" >
<c-select v-model="model.trtmod.finmod.reptyp" :disabled="true" style="width:100%" placeholder="请选择还款方式">
<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>
......
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