Commit 87211c2c by “yanyuxin”

Trtrcl交易初始化

parent 2c670f9d
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -18,13 +18,13 @@ ...@@ -18,13 +18,13 @@
"es6-promise": "^4.2.8", "es6-promise": "^4.2.8",
"js-cookie": "^3.0.1", "js-cookie": "^3.0.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"moment": "^2.27.0",
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-draggable-resizable": "^2.2.0",
"vue-i18n": "^8.26.7", "vue-i18n": "^8.26.7",
"vue-router": "^3.2.0", "vue-router": "^3.2.0",
"vuedraggable": "^2.24.1", "vuedraggable": "^2.24.1",
"vuex": "^3.4.0", "vuex": "^3.4.0"
"moment": "^2.27.0",
"vue-draggable-resizable": "^2.2.0"
}, },
"engines": { "engines": {
"node": ">=8.9", "node": ">=8.9",
......
import Utils from "~/utils"
/**
* Trtrcl Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"rmbclm.rmbrmb.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"rmbclm.acwacw.pts.extkey" :null,
"liaall.limmod.ecifno" :null,
"trdgrp.fip.pts.nam" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"rmbclm.acwacw.pts.adrblk" :null,
"setmod.dspflg" :null,
"trdgrp.iss.pts.extkey" :null,
"liaall.tenstm" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"trdgrp.iss.pts.adrblk" :null,
"rmbclm.bebbeb.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"rmbclm.acwacw.namelc" :null,
"trdgrp.iss.namelc" :null,
"mtabut.coninf.conexedat" :null,
"rmbclm.bebbeb.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"trdgrp.rmb.pts.extkey" :null,
"trdgrp.rmb.namelc" :null,
"rmbclm.rmbrmb.pts.adrblk" :null,
"trdgrp.iss.adrelc" :null,
"trdgrp.rmb.pts.adrblk" :null,
"setmod.docamt" :null,
"rmbclm.rmbrmb.adrelc" :null,
"rmbclm.bebbeb.pts.adrblk" :null,
"rmbclm.acwacw.adrelc" :null,
"trdgrp.rmb.adrelc" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Trtrcl Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"trdgrp.rmb.pts.extkey" :Utils.defaultFunction,
"trdgrp.rmb.adrelc" :Utils.defaultFunction,
"trdgrp.rmb.namelc" :Utils.defaultFunction,
"trdgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"trdgrp.iss.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.rec.stttendat" :Utils.defaultFunction,
"trdgrp.rec.matdat" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.adrelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.namelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.concur" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"rmbclm.acwacw.pts.extkey" :Utils.defaultFunction,
"rmbclm.acwacw.adrelc" :Utils.defaultFunction,
"rmbclm.acwacw.namelc" :Utils.defaultFunction,
"rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction,
"rmbclm.bebbeb.adrelc" :Utils.defaultFunction,
"rmbclm.bebbeb.namelc" :Utils.defaultFunction,
"rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction,
"trdgrp.iss.pts.extkey" :Utils.defaultFunction,
"trdgrp.iss.adrelc" :Utils.defaultFunction,
"trdgrp.iss.namelc" :Utils.defaultFunction,
"trdgrp.iss.dbfadrblkcn" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"trdgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"trnmod.trndoc.nar754" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"rmbclm.rmbrol" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onRmbp1Det(){
let rtnmsg = await this.executeRule("rmbp1.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIsspDet(){
let rtnmsg = await this.executeRule("issp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcwpDet(){
let rtnmsg = await this.executeRule("acwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Trtrcl{
constructor () {
this.data = {
trdgrp:{
rec:{
inr: '',
pntref:"", // 父交易参考号 .trdgrp.rec.pntref
pntnam:"", // Name .trdgrp.rec.pntnam
ownref:"", // 参考号 .trdgrp.rec.ownref
nam:"", // Name .trdgrp.rec.nam
pctfin:"", // 融资比例 .trdgrp.rec.pctfin
stttendat:"", // 起息日期 .trdgrp.rec.stttendat
matdat:"", // Maturity Date .trdgrp.rec.matdat
fintyp:"", // 融资品种 .trdgrp.rec.fintyp
finact:"", // 融资账号 .trdgrp.rec.finact
},
cbs:{
max:{
cur:"", // 融资金额 .trdgrp.cbs.max.cur
amt:"", // 融资金额 .trdgrp.cbs.max.amt
},
opn1:{
cur:"", // 余额 .trdgrp.cbs.opn1.cur
amt:"", // Balance .trdgrp.cbs.opn1.amt
},
},
fip:{
pts:new Pts().data,
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .trdgrp.rmb.namelc
adrelc:"", // 地址 .trdgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .trdgrp.rmb.dbfadrblkcn
},
iss:{
pts:new Pts().data,
namelc:"", // 名称 .trdgrp.iss.namelc
adrelc:"", // 地址 .trdgrp.iss.adrelc
dbfadrblkcn:"", // Chinese address .trdgrp.iss.dbfadrblkcn
},
},
trtp0:{
bcdget:{
sdamod:{
seainf:"", // .trtp0.bcdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.bcdget.sdamod.dadsnd
},
},
ledget:{
sdamod:{
seainf:"", // .trtp0.ledget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.ledget.sdamod.dadsnd
},
},
brdget:{
sdamod:{
seainf:"", // .trtp0.brdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.brdget.sdamod.dadsnd
},
},
bedget:{
sdamod:{
seainf:"", // .trtp0.bedget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.bedget.sdamod.dadsnd
},
},
recget:{
sdamod:{
seainf:"", // .trtp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.recget.sdamod.dadsnd
},
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .trtp0.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.rmbp.ptsget.sdamod.dadsnd
},
},
},
issp:{
ptsget:{
sdamod:{
seainf:"", // .trtp0.issp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.issp.ptsget.sdamod.dadsnd
},
},
},
},
liaall: new Pub().data.Liaall,
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
rmbclm:{
rmbrmb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.rmbrmb.namelc
adrelc:"", // 地址 .rmbclm.rmbrmb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.rmbrmb.dbfadrblkcn
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.rmbp.ptsget.sdamod.dadsnd
},
},
},
acwacw:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.acwacw.namelc
adrelc:"", // 地址 .rmbclm.acwacw.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.acwacw.dbfadrblkcn
},
acwp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.acwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.acwp.ptsget.sdamod.dadsnd
},
},
},
bebbeb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.bebbeb.namelc
adrelc:"", // 地址 .rmbclm.bebbeb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.bebbeb.dbfadrblkcn
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.bebp.ptsget.sdamod.dadsnd
},
},
},
rmbrol:"", // 偿付行 .rmbclm.rmbrol
valdat:"", // value date .rmbclm.valdat
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -15,6 +15,7 @@ export default class Trtsel{ ...@@ -15,6 +15,7 @@ export default class Trtsel{
labownref:"", // Label of Reference .labownref labownref:"", // Label of Reference .labownref
trdgrp:{ trdgrp:{
rec:{ rec:{
inr: '',
pntref:"", // Parent Reference .trdgrp.rec.pntref pntref:"", // Parent Reference .trdgrp.rec.pntref
pntnam:"", // Parent Contract Name .trdgrp.rec.pntnam pntnam:"", // Parent Contract Name .trdgrp.rec.pntnam
ownref:"", // Our Reference .trdgrp.rec.ownref ownref:"", // Our Reference .trdgrp.rec.ownref
......
<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-select>
</el-form-item>
</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>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="rmbclm.rmbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.rmbclm.rmbp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="rmbclm.rmbrmb.pts.extkey">
<c-input v-model="model.rmbclm.rmbrmb.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="rmbclm.rmbp.ptsget.sdamod.seainf">
<c-input v-model="model.rmbclm.rmbp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRmbpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="rmbclm.rmbrmb.namelc">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="rmbclm.rmbrmb.pts.adrblk">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="rmbclm.rmbrmb.dbfadrblkcn">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<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>
<!-- SF000011 : Account with Bank -->
<!-- SF000018 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000011')" prop="rmbclm.acwacw.pts.ref">
<c-input v-model="model.rmbclm.acwacw.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000011')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="rmbclm.acwp.ptsget.sdamod.dadsnd">
<c-input v-model="model.rmbclm.acwp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="rmbclm.acwacw.pts.extkey">
<c-input v-model="model.rmbclm.acwacw.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="rmbclm.acwp.ptsget.sdamod.seainf">
<c-input v-model="model.rmbclm.acwp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAcwpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="rmbclm.acwacw.namelc">
<c-input type="textarea" v-model="model.rmbclm.acwacw.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="rmbclm.acwacw.pts.adrblk">
<c-input type="textarea" v-model="model.rmbclm.acwacw.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="rmbclm.acwacw.dbfadrblkcn">
<c-input type="textarea" v-model="model.rmbclm.acwacw.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<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>
<!-- SF000016 : Beneficiary Bank -->
<!-- SF000019 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000016')" prop="rmbclm.bebbeb.pts.ref">
<c-input v-model="model.rmbclm.bebbeb.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000016')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="rmbclm.bebp.ptsget.sdamod.dadsnd">
<c-input v-model="model.rmbclm.bebp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="rmbclm.bebbeb.pts.extkey">
<c-input v-model="model.rmbclm.bebbeb.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="rmbclm.bebp.ptsget.sdamod.seainf">
<c-input v-model="model.rmbclm.bebp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBebpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="rmbclm.bebbeb.namelc">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="rmbclm.bebbeb.pts.adrblk">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="rmbclm.bebbeb.dbfadrblkcn">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<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 :span="12">
<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>
</el-form-item>
</c-col>
<!-- SG000133 : value date -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<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>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtrcl from "~/model/Trtrcl"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Trtrcl/Check"
import Default from "~/model/Trtrcl/Default"
import Pattern from "~/model/Trtrcl/Pattern"
import Rclp from "./Rclp"
import Remp from "./Remp"
import Limitbody from "~/views/Public/Limitbody"
import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Coninfp from "~/views/Public/Coninfp"
import Setpan from "~/views/Public/Setpan"
import Engp from "~/views/Public/Engp";
export default {
name: "Trtrcl",
components:{
"m-rclp" : Rclp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-remp" : Remp,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "rclp",
trnName: "trtrcl",
trnType: "",
model: new Trtrcl().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入trtrcl交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<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