Commit 3a220aa3 by liyixun

bttset初始化

parent 397a12b5
......@@ -4,18 +4,86 @@ import Utils from "~/utils"
* Bttset Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"setmod.dspflg" :null,
"bttp0.recget.sdamod.dadsnd" :null,
"bopmod.dbagrp.bas.methods" :null,
"bopmod.dbagrp.bas.lcyacc" :null,
"cnybop.outflg" :null,
"bopmod.dbagrp.bas.outchargeamt" :null,
"bopmod.dbdgrp.bas.fcyacc" :null,
"bopmod.dbagrp.bas.fcyamt" :null,
"cnybop.cnyinc.sbalancemode" :null,
"bopmod.dbdgrp.bas.buscode" :null,
"bopmod.dbdgrp.bas.inchargeamt" :null,
"bopmod.dbdgrp.bas.idcode" :null,
"cnybop.cnyinc.spayercountrycode" :null,
"bopmod.dbdgrp.bas.custnm" :null,
"bopmod.dbagrp.bas.exrate" :null,
"bopmod.dbdgrp.bas.txamt" :null,
"bopmod.dbagrp.bas.txccy" :null,
"cnybop.cnyinc.frecordamt" :null,
"cnybop.cnyinc.dpayeedate" :null,
"cnybop.cnyinc.sbankorgcode" :null,
"bopmod.dbagrp.bas.custcod" :null,
"cnybop.cnyflg" :null,
"cnybop.saddword" :null,
"bopmod.dbdgrp.bas.fcyamt" :null,
"cnybop.cnyinc.sorilevyno" :null,
"cnybop.cnyinc.sbanktrano" :null,
"bopmod.dbagrp.bas.txamt" :null,
"bopmod.dbdgrp.bas.methods" :null,
"bopmod.dbdgrp.bas.exrate" :null,
"cnybop.cnyinc.iaccountperiod" :null,
"cnybop.spayeename" :null,
"btdgrp.rec.frepayflg" :null,
"bttp0.ltdget.sdamod.dadsnd" :null,
"bopmod.dbagrp.bas.buscode" :null,
"lendoc.account" :null,
"bopmod.dbagrp.bas.othamt" :null,
"bopmod.dbagrp.bas.actiondesc" :null,
"cnybop.cnyinc.cpayeeattr" :null,
"bopmod.dbdgrp.bas.oppuser" :null,
"bopmod.dbdgrp.bas.othamt" :null,
"cnybop.cnyinc.spayeeorgcode" :null,
"bopmod.dbdgrp.bas.custype" :null,
"bopmod.dbagrp.bas.outchargeccy" :null,
"bopmod.dbagrp.bas.actiontype" :null,
"cnybop.incscale" :null,
"bopmod.dbdgrp.bas.rptno" :null,
"cnybop.cnyinc.sswiftbic" :null,
"bopmod.szflg" :null,
"bopmod.dbdgrp.bas.actiontype" :null,
"cnybop.cnyinc.fpayeeamt" :null,
"bopmod.dbdgrp.bas.lcyamt" :null,
"cnybop.traflg" :null,
"cnybop.sbankname" :null,
"bopmod.dbagrp.bas.inchargeccy" :null,
"bopmod.dbagrp.bas.custnm" :null,
"bopmod.dbdgrp.bas.othacc" :null,
"bopmod.dbagrp.bas.fcyacc" :null,
"bopmod.dbdgrp.bas.inchargeccy" :null,
"liaall.tenstm" :null,
"setmod.redamt" :null,
"aamset.utlamt2" :null,
"mtabut.coninf.conexedat" :null,
"bttp0.ledget.sdamod.dadsnd" :null,
"bopmod.dbagrp.bas.custype" :null,
"cnybop.cnyinc.ftotalamt" :null,
"cnybop.cnyinc.spayeecny" :null,
"bopmod.dbdgrp.bas.txccy" :null,
"bopmod.dbdgrp.bas.custcod" :null,
"bopmod.dbagrp.bas.rptno" :null,
"bopmod.dbagrp.bas.oppuser" :null,
"bopmod.basflg" :null,
"bopmod.dbdgrp.bas.lcyacc" :null,
"bopmod.dbagrp.bas.idcode" :null,
"bopmod.dbagrp.bas.othacc" :null,
"cnybop.spayername" :null,
"bopmod.dbagrp.bas.lcyamt" :null,
"bopmod.dbagrp.bas.inchargeamt" :null,
"cnybop.libflg" :null,
"bopmod.ownextkey" :null,
"setmod.docamt" :null,
"bopmod.acttyp" :null,
"cnybop.cnyinc.cpayeraccttyp" :null,
"bopmod.dbdgrp.bas.actiondesc" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
}
for (const key in checkObj) {
......
......@@ -6,36 +6,48 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"trtcre.crefinflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.rptno" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.tmpref" :Utils.defaultFunction,
"btdgrp.rec.frepayflg" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"trnmod.trndoc.nar754" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custcod" :Utils.defaultFunction,
"trtcre.crefinflg" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbagrp.bas.tmpref" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"cnybop.cnyinc.spayercountrycode" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.rptno" :Utils.defaultFunction,
"bopmod.dbagrp.bas.ownextkey" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custcod" :Utils.defaultFunction,
"trnmod.trndoc.nar754" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.ownextkey" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"btdgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"btdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"be1amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,8 +2,8 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -14,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -26,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
async onBaspp1Getreftmp(){
let rtnmsg = await this.executeRule("baspp1.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -38,8 +38,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButapy(){
let rtnmsg = await this.executeRule("mtdbut.butapy")
async onBaspp1Getref(){
let rtnmsg = await this.executeRule("baspp1.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -50,8 +50,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButcan(){
let rtnmsg = await this.executeRule("mtdbut.butcan")
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -62,8 +62,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -74,8 +74,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -86,8 +86,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -98,8 +98,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -110,8 +110,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -122,8 +122,80 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIncctySelbut1(){
let rtnmsg = await this.executeRule("inccty.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -121,6 +121,7 @@
v-model="model.btdgrp.rec.doctypcod"
maxlength="16"
placeholder="请输入Document Type"
style="width:100%"
:code="codes.brdtyp"
disabled
></c-select>
......
......@@ -9,7 +9,7 @@
v-model="model.rmbclm.rmbrol"
style="width: 100%"
placeholder="请选择Reimbursement Bank"
:code="codes.rolall"
:code="getValues('rmbclm.rmbrol')"
>
</c-select>
</el-form-item>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel bttbe1l1的内置block" prop="bttbe1l1blk">
<c-input type="textarea" v-model="model.bttbe1l1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel bttbe1l1的内置block" ></c-input>
</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/Bttset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel bttpayl1的内置block" prop="bttpayl1blk">
<c-input type="textarea" v-model="model.bttpayl1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel bttpayl1的内置block" ></c-input>
</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/Bttset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel bttprbl1的内置block" prop="bttprbl1blk">
<c-input type="textarea" v-model="model.bttprbl1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel bttprbl1的内置block" ></c-input>
</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/Bttset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
<el-form-item :label="$t('cnybop.S0000042')" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000042')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
<el-form-item :label="$t('cnybop.S0000045')" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000045')">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
<el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000077')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
<el-form-item :label="$t('cnybop.S0000113')" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000113')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
<el-form-item :label="$t('cnybop.S0000142')" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000142')">
</c-select>
</el-form-item>
</c-col>
</div>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButapy">
确定
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="减少的金额" prop="setmod.redamt">
<c-input v-model="model.setmod.redamt" placeholder="请输入减少的金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="减少后的结算金额" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" placeholder="请输入减少后的结算金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="注释" prop="setmod.redamttxt">
<c-input type="textarea" v-model="model.setmod.redamttxt" maxlength="35" show-word-limit placeholder="请输入注释" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
取消
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="ACT" prop="lendoc.account">
<c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit :placeholder="$t('other.please_enter')+'ACT'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : Verification Certificate Number -->
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
<c-checkbox v-model="model.lendoc.actflg">{{$t('lendoc.C0000003')}}</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
<c-form-item label="Verification Certificate Number" prop="lendoc.vercerref">
<c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit :placeholder="$t('other.please_enter')+'Verification Certificate Number'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<!-- S0000006 : Declaration Number -->
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
<c-form-item label="Declaration Number" prop="lendoc.decnum">
<c-input v-model="model.lendoc.decnum" maxlength="22" :placeholder="$t('other.please_enter')+'Declaration Number'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
......
<template>
<div class="eibs-tab">
<!--c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col-->
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input
v-model="model.trnmod.trndoc.doctrestm"
placeholder="请输入Document tree"
></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="3">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwinc"
>Show Incoming Messages</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwout"
>Show Outgoing Messages</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwoutint">
Outgoing
</c-checkbox>
</c-col>
<!--c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col-->
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input
v-model="model.trnmod.trndoc.condocstm"
placeholder="请输入Connected Documents"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<!--c-col :span="4">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input
v-model="model.trnmod.trndoc.rcvatt.seainf"
placeholder="请输入"
></c-input>
</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/Lttdck/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</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/Bttset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbe"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="Limit Type"
sortable
width="150">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="80">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="90">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptynam"
label="客户名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbe.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbb"
style="width: 100%"
>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbb.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmpty"
style="width: 100%"
>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dghfxh"
label="恢复序号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmpty.total">
</el-pagination>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
<c-checkbox v-model="model.bopmod.basflg">{{$t('bopgat.CH000016')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.dclflg">{{$t('bopgat.CH000017')}}</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
<c-checkbox v-model="model.bopmod.vrfflg">{{$t('bopgat.CH000018')}}</c-checkbox>
</c-col>
<!-- S0000020 : 申报类型 -->
<c-col :span="12">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" :placeholder="$t('other.please_enter')+'申报类型'">
</c-select>
</el-form-item>
</c-col>
<!-- SH000027 : 款项来源 -->
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
<el-form-item label="款项来源" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项来源'">
</c-select>
</el-form-item>
</c-col>
<!-- SH000021 : 地区机构号 -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" :placeholder="$t('other.please_enter')+'地区机构号'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<!-- SH000024 : 国外银行扣费(涉外收入申报专用) -->
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
<el-form-item :label="$t('bopgat.SH000024')" prop="bopmod.outchargeccy">
<c-select v-model="model.bopmod.outchargeccy" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopgat.SH000024')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('bopgat.SH000024')" prop="bopmod.outchargeamt">
<c-input v-model="model.bopmod.outchargeamt" :placeholder="$t('other.please_enter')+$t('bopgat.SH000024')"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000034 -->
<el-tab-pane label="Funds Settlement" name="setp">
<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">
<!--bttset PD000034 Funds Settlement -->
<el-tab-pane :label="$t('bttset.PD000034')" name="setp">
<m-setp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000069 >
<el-tab-pane label="bttbe1l1" name="bttbe1l1">
<m-bttbe1l1 :model="model" :codes="codes"/>
</el-tab-pane-->
<!--PD000049 >
<el-tab-pane label="bttpayl1" name="bttpayl1">
<m-bttpayl1 :model="model" :codes="codes"/>
</el-tab-pane-->
<!--PD000050 >
<el-tab-pane label="bttprbl1" name="bttprbl1">
<m-bttprbl1 :model="model" :codes="codes"/>
</el-tab-pane-->
<!--PD000027 -->
<el-tab-pane label="Engagement" name="engp">
<m-engp :model="model" :codes="codes"/>
<!--lendoc PD000001 收账通知 -->
<el-tab-pane :label="$t('lendoc.PD000001')" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
<!--bopgat PD000006 外管信息 -->
<el-tab-pane :label="$t('bopgat.PD000006')" name="wg">
<m-wg :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000020 -->
<el-tab-pane label="Settlement Details" name="detp">
<m-detp :model="model" :codes="codes"/>
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane :label="$t('dbdp.PD000000')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane :label="$t('dbap.PD000000')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Message" name="docpan">
<m-docpan :model="model" :codes="codes"/>
<!--cnybop PD000002 跨境人民币申报 -->
<el-tab-pane :label="$t('cnybop.PD000002')" name="cnyp">
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--cnybop PD000001 2101跨境收入信息 -->
<el-tab-pane :label="$t('cnybop.PD000001')" name="incp">
<m-incp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
<!--limmod PD001139 试算结果 -->
<el-tab-pane :label="$t('limmod.PD001139')" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -65,29 +47,24 @@ import Check from "~/model/Bttset/Check"
import Default from "~/model/Bttset/Default"
import Pattern from "~/model/Bttset/Pattern"
import Setp from "./Setp"
import Bttbe1l1 from "./Bttbe1l1"
import Bttpayl1 from "./Bttpayl1"
import Bttprbl1 from "./Bttprbl1"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Detp from "./Detp"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
import Docpan from "./Docpan"
import Wg from "./Wg"
import Basp from "./Basp"
import Cnyp from "./Cnyp"
import Incp from "./Incp"
import Shisuan from "./Shisuan"
export default {
name: "Bttset",
components:{
"m-setp" : Setp,
"m-bttbe1l1" : Bttbe1l1,
"m-bttpayl1" : Bttpayl1,
"m-bttprbl1" : Bttprbl1,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-detp" : Detp,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-wg" : Wg,
"m-basp" : Basp,
"m-cnyp" : Cnyp,
"m-incp" : Incp,
"m-shisuan" : Shisuan,
},
provide() {
return {
......@@ -97,8 +74,9 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "setp",
tabVal: "",
trnName: "bttset",
trnType: "",
model: new Bttset().data,
checkRules: Check,
defaultRules: Default,
......@@ -109,7 +87,11 @@ export default {
}
},
methods:{
tabClick(){
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
......@@ -117,6 +99,7 @@ export default {
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
......
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