Commit f7595799 by Eivi

onclick

parent dcdc6c4e
import Utils from "~/utils"
/**
* Bftcan Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"setmod.docamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Bftcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bfdgrp.ben.pts.nam" :Utils.defaultFunction,
"bfdgrp.iss.pts.nam" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bfdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bfdgrp.apl.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :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 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 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: '服务请求失败!' });
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {},
onDetpButgetref() {},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bftcan {
constructor() {
this.data = {
strinf: "", // 描述 .strinf
bfdgrp: {
rec: {
ownref: "", // 单据编号 .bfdgrp.rec.ownref
nam: "", // Externally Displayed Name to Identify the Contract .bfdgrp.rec.nam
doctypcod: "", // 单据类型 .bfdgrp.rec.doctypcod
matdat: "", // Maturity Date .bfdgrp.rec.matdat
orddat: "", // 到期日 .bfdgrp.rec.orddat
rcvdat: "", // 到单日期 .bfdgrp.rec.rcvdat
predat: "", // Presentation Date .bfdgrp.rec.predat
docsta: "", // 单据状态 .bfdgrp.rec.docsta
},
cbs: {
max: {
cur: "", // 单据金额 .bfdgrp.cbs.max.cur
amt: "", // 单据金额 .bfdgrp.cbs.max.amt
},
opn1: {
cur: "", // 单据余额 .bfdgrp.cbs.opn1.cur
amt: "", // Balance .bfdgrp.cbs.opn1.amt
},
opn2: {
amt: "", // Balance .bfdgrp.cbs.opn2.amt
},
},
ben: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
bftp0: {
recget: {
sdamod: {
seainf: "", // .bftp0.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bftp0.recget.sdamod.dadsnd
},
},
dedget: {
sdamod: {
seainf: "", // .bftp0.dedget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bftp0.dedget.sdamod.dadsnd
},
},
matp: {
mattxtlab: "", // Label for MATTXT .bftp0.matp.mattxtlab
},
},
dedgrp: {
rec: {
ownref: "", // 参考号 .dedgrp.rec.ownref
kzref: "", // 信用证编号 .dedgrp.rec.kzref
},
cbs: {
opn1: {
cur: "", // Currency .dedgrp.cbs.opn1.cur
amt: "", // Balance .dedgrp.cbs.opn1.amt
},
},
},
sndmsg: "", // Send Message .sndmsg
rebkpflg: "", // Booking Procedure .rebkpflg
liaall: {
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 国结业务编号 .liaall.limmod.ownref
comamt: "", // 业务余额 .liaall.limmod.comamt
ccvamt: "", // 保证金余额 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
},
mtabut: {
coninf: {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat: "", // 执行日期 .mtabut.coninf.conexedat
usr: {
extkey: "", // User ID .mtabut.coninf.usr.extkey
},
},
},
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
}
}
}
\ No newline at end of file
......@@ -2,101 +2,79 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
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 onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig")
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 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 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 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 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: '服务请求失败!' });
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod.trycal")
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 onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {},
onDetpButgetref() {}
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bftset {
constructor() {
......@@ -55,15 +56,6 @@ export default class Bftset {
},
tenstm: "", // Tenor Stream .liaall.tenstm
},
trnmod: {
trndoc: {
advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
advdoc: "", // 閸ヨ棄鍞寸拠渚€鈧氨鐓℃稊锟� .trnmod.trndoc.advdoc
advnam: "", // 閸ヨ棄鍞寸拠浣芥儰濞嗭拷 .trnmod.trndoc.advnam
amdapl: "", // 娣囶喗鏁奸悽瀹狀嚞娴滃搫鎮曠粔锟� .trnmod.trndoc.amdapl
},
},
mtabut: {
coninf: {
oitinf: {
......@@ -124,22 +116,6 @@ export default class Bftset {
pts: new Pts().data,
},
},
setmod: {
doccur: "", // document currency .setmod.doccur
redamt: "", // 閹碉絽鍣洪柌鎴︻杺 .setmod.redamt
docamt: "", // document amount .setmod.docamt
setamt: "", // 閹碉綀鍨傞崥搴濈帛濞嗛箖鍣炬0锟� .setmod.setamt
docamttyplab: "", // settled amount description as label .setmod.docamttyplab
retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
ref: "", // our reference .setmod.ref
dspflg: "", // Type of settlement .setmod.dspflg
xreflg: "", // Recalculate Rates .setmod.xreflg
setglg: {
labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab: "", // 娑撲紮鎷�'閿熻棄褰縇ABEL .setmod.zmqacclab
zmqacc: "", // 閼奉亷鎷�'閿熻棄灏稉浼欐嫹'閿熻棄褰� .setmod.zmqacc
},
aamset: {
utlamt: "", // 閸楁洘宓侀柌鎴︻杺 .aamset.utlamt
utlamt2: "", // 闂勫嫬濮為柌鎴︻杺 .aamset.utlamt2
......@@ -175,7 +151,9 @@ export default class Bftset {
ffttyp: "", // 缁傚繗鍨傚鐤祮閸楁牜琚崹锟� .bpdgrp.rec.ffttyp
},
},
pageId: "" // ctx閻ㄥ埍ey
pageId: "", // ctx閻ㄥ埍ey
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
}
}
}
\ 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>
<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>
<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">
</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>
<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>
</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="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<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>
</c-col>
<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>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bftcan/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">
<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-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-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<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-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bftcan/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/Bftcan/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="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input>
</el-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>
<c-col :span="12">
<el-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-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="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-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="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-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="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-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="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-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="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-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="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" placeholder="请输入保证金余额"></c-input>
</el-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="请选择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">
查询
</c-button>
</c-col>
<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="请选择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">
查询
</c-button>
</c-col>
<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">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</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/Bftcan/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-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="onSetmodDet">
细节
</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">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</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>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bftcan/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">
<!--PD000016 -->
<el-tab-pane label="内容" name="canp">
<m-canp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<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 Bftcan from "~/model/Bftcan";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Bftcan/Check";
import Default from "~/model/Bftcan/Default";
import Pattern from "~/model/Bftcan/Pattern";
import Canp from "./Canp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Bftcan",
components: {
"m-canp": Canp,
"m-engp": Engp,
"m-docpan": Docpan,
"m-limitbody": Limitbody,
"m-coninfp": Coninfp,
"m-setpan": Setpan,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "",
trnName: "bftcan",
model: new Bftcan().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入bftcan交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
......@@ -6,11 +6,11 @@
<c-col :span="20">
<el-form-item
label="参考号"
prop="dedgrp.rec.ownref"
prop="bfdgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.dedgrp.rec.ownref"
v-model="model.bfdgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
style="width: 95%"
......@@ -274,8 +274,8 @@
<!-- next part -->
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<c-istream-table :list="model.liaall.tenp" :columns="columns">
<c-col :span="24" style="margin-bottom:35px">
<c-istream-table :list="model.liaall.tenstm.rows || []" :columns="stmData.columns" :showSelection="true">
</c-istream-table>
</c-col>
......@@ -374,31 +374,41 @@
</c-col>
<c-col :span="24">
<c-table :data="model.bptbck.bptbckg" style="width: 100%">
<el-table-column prop="ownref" label="Reference" width="150px">
<el-table-column prop="ownref" label="Reference" width="195px">
</el-table-column>
<el-table-column prop="opncur" label="Cur" width="150px">
<el-table-column prop="opncur" label="Cur" width="195px">
</el-table-column>
<el-table-column prop="opnamt" label="Open amount" width="150px">
<el-table-column prop="opnamt" label="Open amount" width="195px">
</el-table-column>
<el-table-column prop="bckamt" label="Pay back now" width="150px">
<el-table-column prop="bckamt" label="Pay back now" width="195px">
</el-table-column>
</c-table>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<c-checkbox v-model="model.mtabut.clsflg" style="margin-left: 150px"
>闭卷</c-checkbox
>
<el-form-item label="" prop="clsflg">
<c-checkbox v-model="clsflg"
>闭卷</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="frepayflg">
<c-checkbox v-model="frepayflg"
>无偿放单</c-checkbox>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-checkbox
v-model="model.bfdgrp.rec.frepayflg"
style="margin-left: 150px"
>无偿放单</c-checkbox
>
</c-col>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
......@@ -422,16 +432,16 @@
</c-col>
<c-col :span="24">
<el-form-item label="福费廷转卖类型" prop="bpdgrp.rec.ffttyp">
<c-select
v-model="model.bpdgrp.rec.ffttyp"
style="width: 100%"
placeholder="请选择福费廷转卖类型"
disabled
>
</c-select>
<el-form-item label="SG000254" prop="bpdgrp.rec.ffttyp">
<c-input
v-model="model.bpdgrp.rec.ffttyp"
maxlength="40"
placeholder="请输入SG000254"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
......@@ -804,17 +814,38 @@ export default {
return {
stmData: {
columns: [
'1 1 "Type" 40',
'2 2 "Dbt" 48',
'3 3 "Cdt" 48',
'4 4 "Cur" 48',
'5 5 "Amt" 85 2 8 1 4',
'6 6 "Mat.Dat." 75 4 7 1',
'1 1 "Type" 130',
'2 2 "Dbt" 130',
'3 3 "Cdt" 130',
'4 4 "Cur" 130',
'5 5 "Amt" 130 2 8 1 4',
'6 6 "Mat.Dat." 130 4 7 1',
],
data: [],
},
};
},
computed:{
clsflg: {
get() {
return this.model.mtabut.clsflg === "C";
},
set(val) {
this.model.mtabut.clsflg = val ? "C" : "O";
},
},
frepayflg:{
get() {
return this.model.bfdgrp.rec.frepayflg === "O";
},
set(val) {
this.model.bfdgrp.rec.frepayflg = val ? "C" : "O";
},
},
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
methods: { ...Event },
created: function () {},
};
......
......@@ -5,7 +5,9 @@
<!--PD000034 -->
<el-tab-pane label="收款" name="setp">
<c-content>
<m-setp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
......@@ -97,8 +99,6 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
this.stmData.data = res.data.dblstm.rows;
}
else
{
......
......@@ -110,6 +110,7 @@ import Detame from "./Detame"
import Detsel from "./Detsel"
import Bftsnd from "./Bftsnd"
import Bftset from "./Bftset"
import Bftcan from "./Bftcan"
import Detdrv from "./Detdrv"
import Bftacc from "./Bftacc"
import Bftdcr from "./Bftdcr"
......@@ -259,6 +260,7 @@ const BusRouter = [
{ path: 'fctopn', component: Fctopn, name: 'Fctopn', meta: { title: '保证金收取' } },
{ path: 'bftcan', component: Bftcan, name: 'Bftcan', meta: { title: '卖方信用证单据注销' } },
{ path: 'bftsnd', component: Bftsnd, name: 'Bftsnd', meta: { title: '卖方信用证寄单' } },
{ path: 'bftset', component: Bftset, name: 'Bftset', meta: { title: '卖方信用证收款' } },
{ path: 'bftdrv', component: Bftdrv, name: 'Bftdrv', meta: { title: '卖方信用证单据修改单据金额' } },
......
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