Commit 3eb5898e by 潘际乾
parents d100e6f6 c47c9009
...@@ -2919,6 +2919,17 @@ const CodeTable = { ...@@ -2919,6 +2919,17 @@ const CodeTable = {
{ label: "Other Type of Advice, wait for documents", value: "O" }, { label: "Other Type of Advice, wait for documents", value: "O" },
{ label: "Documents have been refused and returned", value: "R" }, { label: "Documents have been refused and returned", value: "R" },
], ],
docsta1: [
{ label: "Advice of Payment rec., wait for docs", value: "A" },
{ label: "Advice of Payment rec., documents rec.", value: "B" },
{ label: "Advice of Discrepancy rec, wait for doc", value: "C" },
{ label: "Advice of Discrepancy rec, docs rec.", value: "D" },
{ label: "Clean documents received", value: "E" },
{ label: "Discrepant documents received", value: "F" },
{ label: "Documents taken up", value: "I" },
{ label: "Documents settled free of payment", value: "J" },
{ label: "Documents have been refused and returned", value: "R" },
],
doctyp: [ doctyp: [
{ label: "买方单据", value: "BDD" }, { label: "买方单据", value: "BDD" },
{ label: "进口代收", value: "BCD" }, { label: "进口代收", value: "BCD" },
......
...@@ -2,221 +2,169 @@ import Api from "~/service/Api" ...@@ -2,221 +2,169 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onPayinsButtxmsel(){ async onPayinsButtxmsel() {
let rtnmsg = await this.executeRule("payins.buttxmsel") let rtnmsg = await this.executeRule("payins.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLiaallButmisamt(){ async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt") let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLiaallButmissig(){ async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig") let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButshw(){ async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc.butshw") let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButadd(){ async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc.butadd") let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButnew(){ async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc.butnew") let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButattto(){ async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc.butattto") let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButdel(){ async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc.butdel") let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButatt(){ async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc.butatt") let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onRmbpDet(){ async onRmbpDet() {
let rtnmsg = await this.executeRule("rmbp.det") let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onAcwpDet(){ async onAcwpDet() {
let rtnmsg = await this.executeRule("acwp.det") let rtnmsg = await this.executeRule("acwp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBebpDet(){ async onBebpDet() {
let rtnmsg = await this.executeRule("bebp.det") let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onWrkpDet(){ async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp.det") let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onOthpDet(){ async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det") let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLimptsGet1(){ async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts.get1") let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLimptsGet2(){ async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts.get2") let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLimmodTrycal(){ async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod.trycal") let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onSetmodDet(){ async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
onSeainf() {},
onDetpButgetref() {},
} }
\ No newline at end of file
<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>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-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="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<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="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-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="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<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="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-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/Betrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<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="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" :placeholder="$t('other.please_enter')+'国内证落款'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'修改申请人名称'" ></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>
<c-col :span="12">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" :placeholder="$t('other.please_enter')+'国内证通知书'"></c-input>
</c-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/Betrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000552 : Outgoing Correspondence, Attachments and other Documents -->
<c-col :span="12">
<c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" :placeholder="$t('other.please_enter')+'File Receiver'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" :placeholder="$t('other.please_enter')+'Document tree'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
{{$t('trndoc.CF000547')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
{{$t('trndoc.CF000548')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
{{$t('trndoc.CF000553')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
{{$t('trndoc.CG001184')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
{{$t('trndoc.CF000549')}}
</c-button>
</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">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">{{$t('trndoc.CF000556')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">{{$t('trndoc.CF000557')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
{{$t('trndoc.CF000551')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" :placeholder="$t('other.please_enter')+'Connected Documents'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-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/Betrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betrcl/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">
<c-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" :placeholder="$t('other.please_enter')+'ECIFNO'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<!-- S0001138 : 业务编号 -->
<c-col :span="12">
<c-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" :placeholder="$t('other.please_enter')+'国结业务编号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.wrkp.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="Drag Drop Sender" prop="liaall.limmod.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.othp.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="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.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="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.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="onWrkpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.oth.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.oth.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="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.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="onOthpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<!-- S0001135 : 业务余额 -->
<c-col :span="12">
<c-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" :placeholder="$t('other.please_enter')+'业务余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0001136 : 保证金 -->
<!-- S0000011 : 额度类型 -->
<c-col :span="12">
<c-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" :placeholder="$t('other.please_enter')+'保证金余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet1">
{{$t('limpts.C0000013')}}
</c-button>
</c-col>
<!-- S0000012 : 额度类型 -->
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg2">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
{{$t('limpts.C0000014')}}
</c-button>
</c-col>
<!-- S0001137 : 余额 -->
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.lsh" data-path=".liaall.limmod.limpts.lsh" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 合同流水号 -->
<c-col :span="12">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
{{$t('limmod.C0000005')}}
</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/Betrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Document Type" prop="rmbclm.rmbrol">
<c-select
v-model="model.rmbclm.rmbrol"
style="width: 100%"
placeholder="Please input Document Type"
disabled
>
<el-option
v-for="item in codes.doctypcod1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12"> <!-- right -->
<c-col :span="12"> </c-col>
<!-- <c-col :span="12">
<el-form-item :label="$t('rmbclm.SF000021')" prop="rmbclm.rmbrol"> <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 v-model="model.rmbclm.rmbrol" style="width:100%" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000021')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SF000021 : 偿付行 --> SF000021 : 偿付行
<!-- SF000020 : 编号 --> SF000020 : 编号
<c-col :span="12"> <c-col :span="12">
<c-form-item label="Reference for Address Optional" prop="rmbclm.rmbrmb.pts.ref"> <c-form-item label="Reference for Address Optional" prop="rmbclm.rmbrmb.pts.ref">
...@@ -63,8 +86,8 @@ ...@@ -63,8 +86,8 @@
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> <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-form-item>
</c-col> </c-col>
<!-- SF000011 : Account with Bank --> SF000011 : Account with Bank
<!-- SF000018 : 编号 --> SF000018 : 编号
<c-col :span="12"> <c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000011')" prop="rmbclm.acwacw.pts.ref"> <c-form-item :label="$t('rmbclm.SF000011')" prop="rmbclm.acwacw.pts.ref">
...@@ -119,8 +142,8 @@ ...@@ -119,8 +142,8 @@
<c-input type="textarea" v-model="model.rmbclm.acwacw.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> <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-form-item>
</c-col> </c-col>
<!-- SF000016 : Beneficiary Bank --> SF000016 : Beneficiary Bank
<!-- SF000019 : 编号 --> SF000019 : 编号
<c-col :span="12"> <c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000016')" prop="rmbclm.bebbeb.pts.ref"> <c-form-item :label="$t('rmbclm.SF000016')" prop="rmbclm.bebbeb.pts.ref">
...@@ -181,30 +204,25 @@ ...@@ -181,30 +204,25 @@
<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="$t('other.please_enter')+'value date'"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SG000133 : value date --> SG000133 : value date -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betrcl/Event" import Event from "~/model/Betrcl/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template>
<div class="eibs-tab">
<!-- S0000002 : 参考号 -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
</c-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="$t('other.please_enter')+'document currency'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 类型 -->
<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="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
{{$t('setmod.CF000032')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自��区主��号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<!-- S0000001 : Foreign Commission / Charges: -->
<!-- S0000001 : Own Commission / Charges: -->
<!-- SF000001 : Settlement: -->
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eContainer"> <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-bus-button :$pntvm="this"></c-bus-button> -->
<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>
<!-- <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"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--betrcl PD000034 Claim Reimb. --> <!--betrcl PD000034 Claim Reimb. -->
<el-tab-pane :label="$t('betrcl.PD000034')" name="rclp"> <el-tab-pane label="Claim Reimb." name="rclp">
<m-rclp :model="model" :codes="codes"/> <c-content>
<m-rclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--liaall PD000027 Liability --> <!--liaall PD000027 Liability -->
<el-tab-pane :label="$t('liaall.PD000027')" name="engp"> <el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000529 &Messages --> <!--trndoc PD000529 &Messages -->
<el-tab-pane :label="$t('trndoc.PD000529')" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000546 Attachments --> <!--trndoc PD000546 Attachments -->
<el-tab-pane :label="$t('trndoc.PD000546')" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane :label="$t('coninf.PD000000')" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--rmbclm PD000128 Reimbursement Details --> <!--rmbclm PD000128 Reimbursement Details -->
<el-tab-pane :label="$t('rmbclm.PD000128')" name="remp"> <el-tab-pane label="Reimbursement Details" name="remp">
<m-remp :model="model" :codes="codes"/> <m-remp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--limmod PD000001 统一授信 --> <!--limmod PD000001 统一授信 -->
<el-tab-pane :label="$t('limmod.PD000001')" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane :label="$t('setmod.PD000000')" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Betrcl from "~/model/Betrcl" import Betrcl from "~/model/Betrcl";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Betrcl/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Betrcl/Default" import Check from "~/model/Betrcl/Check";
import Pattern from "~/model/Betrcl/Pattern" import Default from "~/model/Betrcl/Default";
import Rclp from "./Rclp" import Pattern from "~/model/Betrcl/Pattern";
import Engp from "./Engp" import Rclp from "./Rclp";
import Docpan from "./Docpan" import Remp from "./Remp";
import Doctre from "./Doctre" import Engp from "~/views/Public/Engp";
import Coninfp from "./Coninfp" import Doctre from "~/views/Public/Doctre";
import Remp from "./Remp" import Setpan from "~/views/Public/Setpan";
import Limitbody from "./Limitbody" import Coninfp from "~/views/Public/Coninfp";
import Setpan from "./Setpan" import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Betrcl", name: "Betrcl",
components:{ components: {
"m-rclp" : Rclp, "m-rclp": Rclp,
"m-engp" : Engp, "m-engp": Engp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-remp" : Remp, "m-remp": Remp,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
"m-setpan" : Setpan, "m-setpan": Setpan,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "rclp",
trnName: "betrcl", trnName: "betrcl",
trnType: "", trnType: "",
model: new Betrcl().data, model: new Betrcl().data,
...@@ -85,33 +112,30 @@ export default { ...@@ -85,33 +112,30 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable,
}, },
} };
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入betrcl交易"); console.log("进入betrcl交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data) this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
else },
{ };
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -111,7 +111,6 @@ ...@@ -111,7 +111,6 @@
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- right --> <!-- right -->
...@@ -187,7 +186,7 @@ ...@@ -187,7 +186,7 @@
<c-col :span="24" style="height: 0px"> <c-col :span="24" style="height: 0px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24" style="margin-bottom: 30px;"> <c-col :span="24" style="margin-bottom: 30px">
<c-table <c-table
height="200px" height="200px"
style="text-align: center" style="text-align: center"
...@@ -195,25 +194,14 @@ ...@@ -195,25 +194,14 @@
:paginationShow="false" :paginationShow="false"
:border="true" :border="true"
> >
<el-table-column <el-table-column label="1st" width="auto">
label="1st"
width="auto"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-input <c-input v-model="scope.row.cmail1"></c-input>
v-model="scope.row.cmail1"
></c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="2nd" width="auto">
label="2nd"
width="auto"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-input <c-input v-model="scope.row.cmail2"></c-input>
v-model="scope.row.cmail2"
></c-input>
</template> </template>
</el-table-column> </el-table-column>
...@@ -490,7 +478,7 @@ import Event from "~/model/Letdrv/Event"; ...@@ -490,7 +478,7 @@ import Event from "~/model/Letdrv/Event";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
export default { export default {
components:{"c-ptap": Ptap }, components: { "c-ptap": Ptap },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
...@@ -566,4 +554,9 @@ export default { ...@@ -566,4 +554,9 @@ export default {
}; };
</script> </script>
<style> <style>
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</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