Commit 33b83068 by zhengxiaokui
parents b60da57f 5fae7a01
......@@ -139,6 +139,9 @@ export default {
}
it["IDX"] = i;
it['INR'] = items[0];
if(it['INR'].length < 8){
it['INR'] = items[1];
}
it.srcStr = d;
arr.push(it);
}
......@@ -149,7 +152,7 @@ export default {
return {
currentPage: 1,
pageSizes: [5, 10, 20, 30, 40, 50, 100],
pageSize: 5,
pageSize: 10,
};
},
methods: {
......
......@@ -41,9 +41,9 @@ export default {
return arr.map(item=>{
let itemArr = item.split("\t")
if(itemArr.length > 1)
return {label:itemArr[0]+"\t"+itemArr[1],value:itemArr[0]}
return {label:item,value:itemArr[0]}
else
return {label:itemArr[0],value:itemArr[1]}
return {label:itemArr[0],value:itemArr[0]}
})
},
showBackendErrors(fieldErrors){
......
......@@ -15,19 +15,25 @@ export default {
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel')
});
} else{
this.$notify({
title: "失败",
message: "保存失败",
type: "error",
});
if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(fieldErrors)
}else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
}
this.$notify({
title: "错误",
message: "检核失败!",
type: "error",
});
}
else{
this.$notify({
title: "失败",
message: "保存失败",
type: "error",
});
}
},
// 表单暂存
......@@ -57,7 +63,16 @@ export default {
if (result.respCode == SUCCESS) {
const fieldErrors = result.fieldErrors;
this.updateModel(result.data);
if(fieldErrors && Object.keys(fieldErrors).length == 0){
this.$notify({
title: "成功",
message: "校验成功",
type: "success",
});
reutrn
}
const tab = this.showBackendErrors(fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
......@@ -72,5 +87,80 @@ export default {
this.$notify.error({ title: "错误", message: result.respMsg });
}
},
async handlePass(data) {
debugger;
this.$confirm('您确定复核该笔交易?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(
async ()=>{
let idxInt = parseInt(data.idx);
const selIds = [idxInt+1]; //rowno选中行
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
this.declareParams.trnName = "trnrel";
console.log(this);
this.model.pageId = data.pageId;
let rtnmsg = await this.executeRule("relrow", params)
if (rtnmsg.respCode == SUCCESS) {
debugger;
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if(!fieldErrorsFlag){
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey+':'+errorMsgVal;
this.$notify.error({title: '错误',message: '复核失败!错误信息['+errorMsg+']'});
}else{
this.$notify({
title: '成功',
message: '复核成功',
type: 'success'
});
debugger;
// const that = this.root;
// that.executeRule("searow").then(res => {
// //TODO 处理数据逻辑
// that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
// this.model.trncorco.trnstm = res.data.trncorco_trnstm;
// })
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel')
})
}
}
else {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if(!fieldErrorsFlag){
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey+':'+errorMsgVal;
}else if(rtnmsg.respMsg){
errorMsg = rtnmsg.respMsg;
}
this.$notify.error({title: '错误',message: '复核失败!错误信息['+errorMsg+']'});
}
}
)
},
},
};
import Utils from "~/utils"
/**
* Bdtset Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bddgrp.rec.frepayflg" :null,
"fkhnum" :null,
"fkr" :null,
"bddgrp.rec.paytyp" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"bddgrp.cbs.max.amt" :null,
"bddgrp.prb.pts.extkey" :null,
"liaall.liaccv.totcovamt" :null,
"bddgrp.apl.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"bddgrp.rec.clrmtd" :null,
"skr" :null,
"bddgrp.prb.pts.nam" :null,
"bddgrp.prb.pts.bankno" :null,
"fkhnam" :null,
"bddgrp.prb.pts.jigomc" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"bddgrp.blk.setrmk" :null,
"liaall.limmod.ownref" :null,
"skhnum" :null,
"liaall.limmod.ecifno" :null,
"fkzh" :null,
"bddgrp.prb.pts.ref" :null,
"khh" :null,
"liaall.tenstm" :null,
"setmod.redamt" :null,
"bddgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bddgrp.prb.pts.dizhii" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"setmod.docamt" :null,
"skzh" :null,
"liaall.liaccv.cshpct" :null,
"liaall.liaccv.relcshpct" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Bdtset Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bptbck.dscbckcur" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"dftcre.dfflag" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bddgrp.rec.frepayflg" :Utils.defaultFunction,
"bddgrp.prb.pts.extkey" :Utils.defaultFunction,
"paypsb" :Utils.defaultFunction,
"bddgrp.prb.pts.ref" :Utils.defaultFunction,
"trtcre.crefinflg" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bddgrp.rec.ownref" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"bddgrp.rec.skhhh" :Utils.defaultFunction,
"bddgrp.ben.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"bddgrp.rec.stadat" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"didgrp.rec.ownref" :Utils.defaultFunction,
"bddgrp.rec.docprbrol" :Utils.defaultFunction,
"bddgrp.cbs.max.amt" :Utils.defaultFunction,
"bddgrp.rec.docflg" :Utils.defaultFunction,
"bddgrp.cbs.max.cur" :Utils.defaultFunction,
"didgrp.rec.expdat" :Utils.defaultFunction,
"didgrp.cbs.opn1.amt" :Utils.defaultFunction,
"bddgrp.apl.pts.nam" :Utils.defaultFunction,
"bddgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"bddgrp.rec.rcvdat" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"bddgrp.prb.pts.nam" :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 onLiaccvAdd(){
let rtnmsg = await this.executeRule("liaccv.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaccvDel(){
let rtnmsg = await this.executeRule("liaccv.del")
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 onChange(){
let rtnmsg = await this.executeRule("change")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Bdtset{
constructor () {
this.data = {
liaall:{
tenstm:"", // Tenor Stream .liaall.tenstm
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
liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur
totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
addinf:"", // Additional Information .liaall.liaccv.addinf
cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
},
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
},
},
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
setamt:"", // 扣费后付款金额 .setmod.setamt
redamt:"", // 扣减金额 .setmod.redamt
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:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
trtcre:{
crefinflg:"", // Create Financing .trtcre.crefinflg
},
paypsb:"", // Unpaid by Applicant .paypsb
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
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
},
},
},
bddgrp:{
rec:{
frepayflg:"", // Free of Payment Flag .bddgrp.rec.frepayflg
docprbrol:"", // Presented by .bddgrp.rec.docprbrol
ownref:"", // 单据参考号 .bddgrp.rec.ownref
nam:"", // Name of Bill Contract .bddgrp.rec.nam
rcvdat:"", // 到单日期 .bddgrp.rec.rcvdat
docflg:"", // 单据类型 .bddgrp.rec.docflg
docsta:"", // 单据状态 .bddgrp.rec.docsta
matdat:"", // Maturity Date .bddgrp.rec.matdat
tenmaxday:"", // 单据到期日 .bddgrp.rec.tenmaxday
stadat:"", // Start Date .bddgrp.rec.stadat
clrmtd:"", // 清算方式 .bddgrp.rec.clrmtd
paytyp:"", // 付款类型 .bddgrp.rec.paytyp
skzh:"", // 收款银行�'�号 .bddgrp.rec.skzh
skmc:"", // 收款银行�'�户名称 .bddgrp.rec.skmc
skhhh:"", // 收款银行开户行行号 .bddgrp.rec.skhhh
skhmc:"", // 收款银行开户行名称 .bddgrp.rec.skhmc
},
cbs:{
max:{
cur:"", // 单据金额 .bddgrp.cbs.max.cur
amt:"", // 单据金额 .bddgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .bddgrp.cbs.opn1.cur
amt:"", // Balance .bddgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
},
blk:{
setrmk:"", // 备注 .bddgrp.blk.setrmk
},
},
bptbck:{
bptbckg:[], // .bptbck.bptbckg
dscbckcur:"", // currency discount paid back .bptbck.dscbckcur
},
didgrp:{
rec:{
ownref:"", // 信用证参考号 .didgrp.rec.ownref
expdat:"", // Date of Expiry .didgrp.rec.expdat
},
cbs:{
opn1:{
cur:"", // Currency .didgrp.cbs.opn1.cur
amt:"", // Balance .didgrp.cbs.opn1.amt
},
},
},
bdtp:{
didget:{
sdamod:{
seainf:"", // .bdtp.didget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.didget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bdtp.recget.sdamod.dadsnd
seainf:"", // .bdtp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .bdtp.matp.mattxtlab
},
},
dftcre:{
dfflag:"", // 同业代付 .dftcre.dfflag
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
},
},
fkr:"", // 付款人: .fkr
fkzh:"", // 付款账号: .fkzh
qxr:"", // 起息日: .qxr
skr:"", // 收款人: .skr
skzh:"", // 收款账号: .skzh
jdhbh:"", // 附言: .jdhbh
xyzbh:"", // 信用证编号: .xyzbh
khh:"", // 收款行行名: .khh
skhnum:"", // 收款行行号: .skhnum
fkhnum:"", // 付款行行号: .fkhnum
fkhnam:"", // 付款行行名: .fkhnam
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "~/model/Public";
export default class Bttdck{
constructor () {
......@@ -40,11 +41,11 @@ export default class Bttdck{
},
},
docgrdmbe1:{
docdsclab:"", // Label of document description .bttp.docgrdmbe1.docdsclab
docdsclab:"123", // Label of document description .bttp.docgrdmbe1.docdsclab
docgrd:[], // .bttp.docgrdmbe1.docgrd
},
docgrdmbe2:{
docdsclab:"", // Label of document description .bttp.docgrdmbe2.docdsclab
docdsclab:"321", // Label of document description .bttp.docgrdmbe2.docdsclab
docgrd:[], // .bttp.docgrdmbe2.docgrd
},
futhndflg:"", // further handling .bttp.futhndflg
......@@ -151,68 +152,10 @@ export default class Bttdck{
dbfadrblkcn:"", // Chinese address .btdgrp.rmt.dbfadrblkcn
},
},
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
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
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
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "~/model/Public";
export default class Lttdav{
constructor () {
......@@ -21,6 +22,12 @@ export default class Lttdav{
adrelc:"", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn
},
prp:{
pts:new Pts().data,
namelc:"", // 名称 .btdgrp.prb.namelc
adrelc:"", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn
},
be1:{
pts:new Pts().data,
},
......@@ -104,71 +111,10 @@ export default class Lttdav{
},
avbnam:"", // Available with .ltdgrp.avbnam
},
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
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
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
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
......
......@@ -86,8 +86,19 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRelrow(idx,row) {
async onHandle(idx,row) {
let viewurl = "/review/ditopn";
let pageId = this.model.pageId;
debugger;
this.$router.push({path:viewurl,query:{routeParams: {process: "1", commitFlag: "1"},trn:row['INR'],idx:idx,pageId:pageId}});
},
async onRelrow(idx) {
this.$confirm('您确定复核该笔交易?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
......@@ -97,6 +108,9 @@ export default {
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
debugger;
let initRtnmsg = await this.init();
if(initRtnmsg.respCode == SUCCESS){
let rtnmsg = await this.executeRule("relrow", params)
if (rtnmsg.respCode == SUCCESS) {
......@@ -143,10 +157,14 @@ export default {
}
this.$notify.error({title: '错误',message: '复核失败!错误信息['+errorMsg+']'});
}
})
}
})
},
sleep(ms) {
return new Promise((resolve, reject) => {
setTimeout(() => {
......@@ -338,7 +356,7 @@ export default {
// this.model.trncorco.trnstm = res.data.trncorco_trnstm;
// })
// }
const res = await this.executeDefault("searow")
const res = await this.executeRule("searow")
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
this.model.trncorco.trnstm = res.data.trncorco_trnstm;
if(res.data.trncorco_trnstm.rows.length == 0){
......
......@@ -44,7 +44,6 @@
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
...
</c-button>
</c-col>
<c-col :span="24">
......
......@@ -88,14 +88,14 @@
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item label="Instructions for Second Mail" prop="bcdgrp.blk.colinssnm">
<el-form-item label="Instructions for Second Mail" style="width: 100%" prop="bcdgrp.blk.colinssnm">
<c-input type="textarea" v-model="model.bcdgrp.blk.colinssnm" maxlength="60" show-word-limit
placeholder="请输入Instructions for Second Mail"></c-input>
style="width: 95%" placeholder="请输入Instructions for Second Mail"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinssnmButtxmsel">
...
<c-col :span="1">
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"
@click="onColinssnmButtxmsel">
</c-button>
</c-col>
<c-col :span="24">
......
......@@ -44,7 +44,6 @@
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
...
</c-button>
</c-col>
<c-col :span="24">
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="应付保证金金额" prop="liaall.liaccv.concur">
<c-input v-model="model.liaall.liaccv.concur" maxlength="3" placeholder="请输入应付保证金金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.newamt">
<c-input v-model="model.liaall.liaccv.newamt" placeholder="请输入合同金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<c-input v-model="model.liaall.liaccv.newresamt" placeholder="请输入Reserved Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金实收比例" prop="liaall.liaccv.relcshpct">
<c-input v-model="model.liaall.liaccv.relcshpct" placeholder="请输入保证金实收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.gleflg">Create gle flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="reserve amount based percent" prop="liaall.liaccv.pctresamt">
<c-input v-model="model.liaall.liaccv.pctresamt" placeholder="请输入reserve amount based percent"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.chgcurflg">Change currency flag</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaccvAdd">
Add
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
Del
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="金额总和" prop="liaall.liaccv.totcovamt">
<c-input v-model="model.liaall.liaccv.totcovamt" placeholder="请输入金额总和"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Information " prop="liaall.liaccv.addinf">
<c-input type="textarea" v-model="model.liaall.liaccv.addinf" maxlength="70" show-word-limit placeholder="请输入Additional Information " ></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/Bdtset/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>
<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/Bdtset/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/Bdtset/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/Bdtset/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="付款人:" prop="fkr">
<c-input v-model="model.fkr" maxlength="40" placeholder="请输入付款人:"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="付款账号:" prop="fkzh">
<c-input v-model="model.fkzh" maxlength="40" placeholder="请输入付款账号:"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="付款行行名:" prop="fkhnam">
<c-input v-model="model.fkhnam" maxlength="40" placeholder="请输入付款行行名:"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款银行�'�户名称" prop="bddgrp.rec.skmc">
<c-input type="textarea" v-model="model.bddgrp.rec.skmc" maxlength="40" show-word-limit placeholder="请输入收款银行�'�户名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="付款行行号:" prop="fkhnum">
<c-input v-model="model.fkhnum" maxlength="35" placeholder="请输入付款行行号:"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="起息日:" prop="qxr">
<c-date-picker type="date" v-model="model.qxr" style="width:100%" placeholder="请选择起息日:"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款银行�'�号" prop="bddgrp.rec.skzh">
<c-input v-model="model.bddgrp.rec.skzh" maxlength="35" placeholder="请输入收款银行�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款人:" prop="skr">
<c-input v-model="model.skr" maxlength="40" placeholder="请输入收款人:"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款账号:" prop="skzh">
<c-input v-model="model.skzh" maxlength="40" placeholder="请输入收款账号:"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款银行开户行名称" prop="bddgrp.rec.skhmc">
<c-input type="textarea" v-model="model.bddgrp.rec.skhmc" maxlength="40" show-word-limit placeholder="请输入收款银行开户行名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款行行名:" prop="khh">
<c-input v-model="model.khh" maxlength="40" placeholder="请输入收款行行名:"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款行行号:" prop="skhnum">
<c-input v-model="model.skhnum" maxlength="35" placeholder="请输入收款行行号:"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款银行开户行行号" prop="bddgrp.rec.skhhh">
<c-input v-model="model.bddgrp.rec.skhhh" maxlength="20" placeholder="请输入收款银行开户行行号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附言:" prop="jdhbh">
<c-input v-model="model.jdhbh" maxlength="40" placeholder="请输入附言:"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证编号:" prop="xyzbh">
<c-input v-model="model.xyzbh" maxlength="40" placeholder="请输入信用证编号:"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onChange">
替换
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="付款类型" prop="bddgrp.rec.paytyp">
<c-select v-model="model.bddgrp.rec.paytyp" style="width:100%" placeholder="请选择付款类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="清算方式" prop="bddgrp.rec.clrmtd">
<c-select v-model="model.bddgrp.rec.clrmtd" style="width:100%" placeholder="请选择清算方式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="备注" prop="bddgrp.blk.setrmk">
<c-input type="textarea" v-model="model.bddgrp.blk.setrmk" maxlength="65" show-word-limit 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/Bdtset/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="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></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/Bdtset/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/Bdtset/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="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/Bdtset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bdtset/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="tabClick">
<!--PD000005 -->
<el-tab-pane label="PD000005" name="utlp">
<m-utlp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="PD000027" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="PD000529" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000066 -->
<el-tab-pane label="PD000066" name="fktj">
<m-fktj :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD001139 -->
<el-tab-pane label="PD001139" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" 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 Bdtset from "~/model/Bdtset"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Bdtset/Check"
import Default from "~/model/Bdtset/Default"
import Pattern from "~/model/Bdtset/Pattern"
import Utlp from "./Utlp"
import Engp from "./Engp"
import Ccvpan from "./Ccvpan"
import Setpan from "./Setpan"
import Glepan from "./Glepan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Fktj from "./Fktj"
import Shisuan from "./Shisuan"
import Limitbody from "./Limitbody"
export default {
name: "Bdtset",
components:{
"m-utlp" : Utlp,
"m-engp" : Engp,
"m-ccvpan" : Ccvpan,
"m-setpan" : Setpan,
"m-glepan" : Glepan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-fktj" : Fktj,
"m-shisuan" : Shisuan,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "bdtset",
model: new Bdtset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bdtset交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -61,7 +61,7 @@
<c-col :span="1">
<c-checkbox v-model="model.bttp.aammod.addamtflg">Add. Amount</c-checkbox>
</c-col>
<c-col :span="10" offset="3">
<c-col :span="10" offset="1">
<el-form-item label="1st Beneficiary Ref." prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary"></c-input>
</el-form-item>
......@@ -108,7 +108,7 @@
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" placeholder="请输入Document Type"></c-input>
</el-form-item>
</c-col>
<c-col :span="10" offset="4">
<c-col :span="10" offset="2">
<el-form-item label="2nd Beneficiary Ref." prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入2nd Beneficiary"></c-input>
</el-form-item>
......@@ -135,7 +135,7 @@
</el-form-item>
</c-col>
<c-col :span="10" offset="6">
<c-col :span="10" offset="4">
<el-form-item label="Presenting Bank Ref." prop="btdgrp.prb.pts.ref">
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Presenting Bank"></c-input>
</el-form-item>
......@@ -334,28 +334,30 @@
</c-col>>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="18" :offset="8">
<c-col :span="18">
<el-form-item label="Date of Receipt (1st Ben.)" prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%" placeholder="请选择Date of Receipt (1st Ben.)"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="18" :offset="8">
<c-col :span="18">
<el-form-item label="Order Date (1st Ben.)" prop="btdgrp.rec.orddatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.orddatbe1" style="width:100%" placeholder="请选择Order Date (1st Ben.)"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="18" :offset="12">
<c-col :span="17" :offset="10">
<c-checkbox v-model="model.btdgrp.rec.dscinsflg">Enter Docs, Discrep. and Instructions</c-checkbox>
</c-col>
<c-col :span="12" :offset="12">
<c-col :span="24">
<c-ptap5
:model="model"
:argadr="{
fieldtit: 'Payee for',
title: '1st Ben-Side',
grp: 'btdgrp',
rol: 'prp',
field: 'docprbrolbe1',
}"
:disabled="true"
@onSeainf="onSeainf"
......@@ -373,7 +375,7 @@
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdck/Event"
import Ptap5 from "~/views/Public/Ptap";
import Ptap5 from "~/views/Public/PtapWithRole";
export default {
components: { "c-ptap5": Ptap5 },
......
<template>
<div class="eibs-tab">
<c-col :span="14">
<el-row>
<c-col :span="12">
<c-col :span="20">
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" v-model="model.btdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
<c-input type="textarea" v-model="model.btdgrp.blk.docdis"
maxlength="50"
show-word-limit
:disabled="model.btdgrp.blk.docdisflg ? false : true"
placeholder="请输入Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<c-col :span="20">
<el-form-item label="Internal Discrepancies" prop="btdgrp.blk.intdis">
<c-input type="textarea" v-model="model.btdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onIntdisButtxmsel">
...
</c-button>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<c-col :span="20">
<el-form-item label="Comments and Conclusions" prop="btdgrp.blk.comcon">
<c-input type="textarea" v-model="model.btdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onComconButtxmsel">
...
</c-button>
......@@ -41,19 +43,27 @@
</el-row>
<el-row>
<c-col :span="12">
<c-col :span="20">
<el-form-item label="Settlement Instructions transaction field" prop="btdgrp.blk.setinsbt">
<c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions transaction field" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
...
</c-button>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<c-col :span="22" :offset="2">
<c-istream-table
:list="model.bttp.docgrdmbe1.docgrd"
:columns="columns1"
>
</c-istream-table>
</c-col>
<!--
<c-col :span="23" :offset="1">
<div class="e-table-wrapper">
<el-table
:data="model.bttp.docgrdmbe1.docgrd"
......@@ -71,21 +81,24 @@
<el-table-column
prop="bttp.docgrdmbe1.docgrd.docnam"
label="Document"
width="80">
width="120">
</el-table-column>
</el-table>
</div>
</c-col>
<c-col :span="12">
<el-form-item label="further handling" prop="bttp.futhndflg">
<c-select v-model="model.bttp.futhndflg" style="width:100%" placeholder="请选择further handling">
</c-select>
</el-form-item>
</c-col>
-->
</el-row>
<el-row>
<c-col :span="24">
<c-col :span="22" :offset="2">
<c-istream-table
:list="model.bttp.docgrdmbe2.docgrd"
:columns="columns2"
>
</c-istream-table>
</c-col>
<!--
<c-col :span="23" :offset="1">
<div class="e-table-wrapper">
<el-table
:data="model.bttp.docgrdmbe2.docgrd"
......@@ -104,12 +117,32 @@
<el-table-column
prop="bttp.docgrdmbe2.docgrd.docnam"
label="Document"
width="80">
width="120">
</el-table-column>
</el-table>
</div>
</c-col>
-->
</el-row>
</c-col>
<c-col :span="9" :offset="1">
<c-col :span="20" :offset="3">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">Discrepancies modified</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="Further Handling" prop="bttp.futhndflg">
<c-select v-model="model.bttp.futhndflg" style="width:100%" placeholder="请选择further handling">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document set Status" prop="bttp.futhndflg">
<c-select v-model="model.btdgrp.rec.docsta" style="width:100%" placeholder="请选择further handling">
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -128,8 +161,9 @@ export default {
mixins: [CommonProcess],
data(){
return {
}
columns1: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 400'],
columns2: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 400'],
};
},
methods:{...Event},
created:function(){
......
......@@ -6,42 +6,58 @@
<!--PD000003 -->
<el-tab-pane label="Docs. received" name="drv">
<c-content>
<m-drv :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000296 -->
<el-tab-pane label="Discr./Instr." name="dscinsp">
<c-content>
<m-dscinsp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000282 -->
<el-tab-pane label="Advice of Discrepancy" name="mt750p">
<el-tab-pane label="Advice of Discrepancy" v-if="model.btdgrp.rec.advtyp=='750'" name="mt750p">
<c-content>
<m-mt750p :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000268 -->
<el-tab-pane label="Advice of Payment" name="mt754p">
<el-tab-pane label="Advice of Payment" v-if="model.btdgrp.rec.advtyp=='754'" name="mt754p">
<c-content>
<m-mt754p :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -94,7 +110,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
codes: {...CodeTable
},
}
},
......@@ -107,6 +123,7 @@ export default {
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
}
......
......@@ -43,6 +43,11 @@ import Bctame from "./Bctame"
import Infcur from "./Infcur"
import Infbed from "./Infbed"
import Letcan from "./Letcan"
import Lttdav from "./Lttdav"
import Bttdck from "./Bttdck"
import Ccttra from "./Ccttra"
import Cctdcr from "./Cctdcr"
//光大添加
import Brtlat from "./Brtlat"
import Litopn from "./Litopn"
......@@ -79,6 +84,7 @@ import Cltset from "./Cltset"
import Clttra from "./Clttra"
import Bdtcan from "./Bdtcan"
import Ditdla from "./Ditdla"
import Bdtset from "./Bdtset"
/**
......@@ -98,9 +104,9 @@ const BusRouter = [
{ path: 'ditsel', component: Ditsel, name: 'Ditsel', meta: { title: '信用证查询' } },
{ path: 'ditopn', component: Ditopn, name: 'Ditopn', meta: { title: (tag) => { return tag.path.startsWith("/review") ? "复核:" : '买方信用证开立' } } },
{ path: 'infdid', component: Infdid, name: 'Infdid', meta: { title: '信用证查询' } },
{ path: 'ditdck', component: Ditdck, name: 'Ditdck', meta: { title: '信用证到单' } },
{ path: 'ditopn', component: Ditopn, name: 'Ditopn', meta: { title: '买方信用证开立' } },
// 例
{ path: 'ditopn/:inr', component: Ditopn, name: 'DitopnInr', meta: { title: (tag) => { return '买方信用证开立-' + tag.params.inr } } },
{ path: 'ditopn/:inr', component: Ditopn, name: 'DitopnInr', meta: { title: (params) => { return '买方信用证开立-' + params.inr } } },
{ path: 'office', component: Office, name: 'Office', meta: { title: 'Office' } },
{ path: 'sptsel', component: Sptsel, name: 'Sptsel', meta: { title: '待办任务' } },
{ path: 'sptbrk', component: Sptbrk, name: 'Sptbrk', meta: { title: '草稿箱' } },
......@@ -123,13 +129,8 @@ const BusRouter = [
{ path: 'switsk', component: Switsk, name: 'Switsk', meta: { title: 'Switsk' } },
{ path: 'infusr', component: Infusr, name: 'Infusr', meta: { title: '用户信息' } },
{ path: 'infcpd', component: Infcpd, name: 'Infcpd', meta: { title: '汇款查询' } },
{ path: 'bctdav', component: Bctdav, name: 'Bctdav', meta: { title: '进口代收到单通知' } },
{ path: 'bctacc', component: Bctacc, name: 'Bctacc', meta: { title: '进口代收承兑' } },
{ path: 'bctrad', component: Bctrad, name: 'Bctrad', meta: { title: '进口代收二次收单' } },
{ path: 'bctdor', component: Bctdor, name: 'Bctdor', meta: { title: '进口代收拒付' } },
{ path: 'bctset', component: Bctset, name: 'Bctset', meta: { title: '进口代收付款' } },
{ path: 'bctcan', component: Bctcan, name: 'Bctcan', meta: { title: '进口代收闭卷' } },
{ path: 'bctame', component: Bctame, name: 'Bctame', meta: { title: '进口代收修改' } },
{ path: 'bctdav', component: Bctdav, name: 'Bctdav', meta: { title: '进口代收' } },
{ path: 'bctacc', component: Bctacc, name: 'Bctacc', meta: { title: 'Bctacc' } },
{ path: 'infcur', component: Infcur, name: 'Infcur', meta: { title: 'Infcur' } },
{ path: 'infbed', component: Infbed, name: 'Infbed', meta: { title: '出口信用证单据查询' } },
{ path: 'letcan', component: Letcan, name: 'Letcan', meta: { title: '出口信用证注销' } },
......@@ -148,25 +149,9 @@ const BusRouter = [
{ path: 'lttopn', component: Lttopn, name: 'Lttopn', meta: { title: '转让证开立' } },
  { path: 'lttame', component: Lttame, name: 'Lttame', meta: { title: '转让证修改' } },
  { path: 'lttcan', component: Lttcan, name: 'Lttcan', meta: { title: '转让证注销' } },
{ path: 'bttsnd', component: Bttsnd, name: 'Bttsnd', meta: { title: '转让证单据寄单' } },
{ path: 'bttdrv', component: Bttdrv, name: 'Bttdrv', meta: { title: '转让修改单据金额' } },
{ path: 'bttdcr', component: Bttdcr, name: 'Bttdcr', meta: { title: '转让证单据拒单' } },
{path:'bttcan',component:Bttcan, name: 'Bttcan', meta: { title: '转让信用证单据注销' }},
{path:'bttacc',component:Bttacc, name: 'Bttacc', meta: { title: '转让信用证单据承兑' }},
{ path: 'botdav', component: Botdav, name: 'Botdav', meta: { title: '出口托收寄单' } },
{ path: 'botame', component: Botame, name: 'Botame', meta: { title: '出口托收修改' } },
{ path: 'botdcr', component: Botdcr, name: 'Botdcr', meta: { title: '出口托收拒付/不符点' } },
{ path: 'botset', component: Botset, name: 'Botset', meta: { title: '出口托收收汇' } },
{ path: 'botcan', component: Botcan, name: 'Botcan', meta: { title: '出口托收闭卷' } },
{ path: 'inffec', component: Botset, name: 'Inffec', meta: { title: '费用条件查询' } },
{ path: 'inffee', component: Inffee, name: 'Inffee', meta: { title: '费用管理' } },
{ path: 'infptm', component: Botset, name: 'Infptm', meta: { title: '客户BIC查询' } },
{path: 'infbcd', component: Infbcd, name: 'Infbcd', meta: { title: '进口代收查询' } },
{ path: 'cltdav', component: Cltdav, name: 'Cltdav', meta: { title: '打包托收开立' } },
{ path: 'cltset', component: Cltset, name: 'Cltset', meta: { title: '打包托收解包' } },
{ path: 'clttra', component: Clttra, name: 'Clttra', meta: { title: '打包托收催收' } },
{ path: 'bdtcan', component: Bdtcan, name: 'Bdtcan', meta: { title: '买方信用证单据注销' } },
{ path: 'ditdla', component: Ditdla, name: 'Ditdla', meta: { title: '买方信用证减额接受' } }
]
export default BusRouter
\ No newline at end of file
......@@ -179,13 +179,7 @@
<c-col>
&nbsp;
</c-col>
<c-col>
&nbsp;
</c-col>
<c-col>
&nbsp;
</c-col>
<c-col :span="20" offset="6">
<c-col :span="15" offset="10" >
<c-checkbox v-model="model.mtabut.clsflg">Close Flag</c-checkbox>
</c-col>
......
......@@ -94,6 +94,7 @@ export default {
{
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -94,6 +94,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
else
......
......@@ -331,7 +331,20 @@
</c-col>
<c-col :span="11">
<el-form-item label="报文类型" label-width="80px">
<c-select v-model="model.ditp.msgtyp" placeholder="请选择报文类型" disabled>
<c-select
v-if="model.didgrp.rec.elcflg == 'N'"
v-model="model.ditp.msgtyp" placeholder="请选择报文类型" disabled>
<el-option
v-for="item in codes.msgtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<c-select
v-else
v-model="model.ditp.msgtyp" placeholder="请选择报文类型">
<el-option
v-for="item in codes.msgtyp"
:key="item.value"
......
......@@ -331,14 +331,9 @@
</c-col>
<c-col :span="11">
<el-form-item label="报文类型" label-width="80px">
<c-select v-model="model.ditp.msgtyp" placeholder="请选择报文类型" disabled>
<el-option
v-for="item in codes.msgtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
<c-select v-model="model.ditp.msgtyp" placeholder="请选择报文类型"
:code="getValues('ditp.msgtyp')"
:disabled="model.didgrp.rec.elcflg!='Y'">
</c-select>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<c-col :span="14">
<el-row>
<c-col :span="20">
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" v-model="model.btdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
<c-input type="textarea" v-model="model.btdgrp.blk.docdis"
maxlength="50"
show-word-limit
:disabled="model.btdgrp.blk.docdisflg ? false : true"
placeholder="请输入Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onIntdisButtxmsel">
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
</el-row>
<el-row>
<c-col :span="20">
<el-form-item label="Internal Discrepancies" prop="btdgrp.blk.intdis">
<c-input type="textarea" v-model="model.btdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onComconButtxmsel">
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onIntdisButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
</el-row>
<el-row>
<c-col :span="20">
<el-form-item label="Comments and Conclusions" prop="btdgrp.blk.comcon">
<c-input type="textarea" v-model="model.btdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onComconButtxmsel">
...
</c-button>
</c-col>
</el-row>
<c-col :span="12">
<el-row>
<c-col :span="20">
<el-form-item label="Settlement Instructions transaction field" prop="btdgrp.blk.setinsbt">
<c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions transaction field" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.bttp.docgrdmbe1.docdsclab" data-path=".bttp.docgrdmbe1.docdsclab" > </span>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="further handling" prop="bttp.futhndflg">
<c-select v-model="model.bttp.futhndflg" style="width:100%" placeholder="请选择further handling">
</c-select>
</el-form-item>
</el-row>
<el-row>
<c-col :span="22" :offset="2">
<c-istream-table
:list="model.bttp.docgrdmbe1.docgrd"
:columns="columns1"
>
</c-istream-table>
</c-col>
<c-col :span="24">
<!--
<c-col :span="23" :offset="1">
<div class="e-table-wrapper">
<el-table
:data="model.bttp.docgrdmbe1.docgrd"
style="width: 100%"
>
style="width: 50%">
<el-table-column
prop="bttp.docgrdmbe1.docgrd.cmail1"
label="1st"
width="54">
</el-table-column>
<el-table-column
prop="bttp.docgrdmbe1.docgrd.cmail2"
label="2nd"
width="54">
</el-table-column>
<el-table-column
prop="bttp.docgrdmbe1.docgrd.docnam"
label="Document"
width="120">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.bttp_docgrdmbe1_docgrd.total">
</el-pagination>
</div>
</c-col>
<c-col :span="12">
<span v-text="model.bttp.docgrdmbe2.docdsclab" data-path=".bttp.docgrdmbe2.docdsclab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"></c-input>
</el-form-item>
-->
</el-row>
<el-row>
<c-col :span="22" :offset="2">
<c-istream-table
:list="model.bttp.docgrdmbe2.docgrd"
:columns="columns2"
>
</c-istream-table>
</c-col>
<c-col :span="24">
<!--
<c-col :span="23" :offset="1">
<div class="e-table-wrapper">
<el-table
:data="model.bttp.docgrdmbe2.docgrd"
style="width: 100%"
style="width: 50%"
>
<el-table-column
prop="bttp.docgrdmbe2.docgrd.cmail1"
label="1st"
width="54">
</el-table-column>
<el-table-column
prop="bttp.docgrdmbe2.docgrd.cmail2"
label="2nd"
width="54">
</el-table-column>
<el-table-column
prop="bttp.docgrdmbe2.docgrd.docnam"
label="Document"
width="120">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.bttp_docgrdmbe2_docgrd.total">
</el-pagination>
</div>
</c-col>
-->
</el-row>
</c-col>
<c-col :span="9" :offset="1">
<c-col :span="20" :offset="3">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">Discrepancies modified</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="Further Handling" prop="bttp.futhndflg">
<c-select v-model="model.bttp.futhndflg" style="width:100%" placeholder="请选择further handling">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document set Status" prop="bttp.futhndflg">
<c-select v-model="model.btdgrp.rec.docsta" style="width:100%" placeholder="请选择further handling">
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
import Event from "~/model/Bttdck/Event"
export default {
components: { },
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
columns1: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 400'],
columns2: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 400'],
};
},
methods:{...Event},
created:function(){
......
<template>
<div class="eibs-tab">
<el-row>
<c-col :span="6">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select disabled v-model="model.btdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.btdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="Document Amount"
></c-input-currency>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="6">
<el-form-item label="Claim Add Amt" prop="btdgrp.cbs.max2.cur">
<c-select disabled v-model="model.btdgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.max2.amt">
<c-input-currency
v-model="model.btdgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="Additional Amount"
></c-input-currency>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="Charges Deducted" prop="btdgrp.blk.chaded">
<c-input type="textarea" style="overflow-y:hidden" v-model="model.btdgrp.blk.chaded" maxlength="190" rows="6" cols="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="Charges Added" prop="btdgrp.blk.chaadd">
<c-input type="textarea" style="overflow-y:hidden" v-model="model.btdgrp.blk.chaadd" maxlength="190" rows="6" cols="35" show-word-limit placeholder="请输入Charges Added" ></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="6">
<el-form-item label="Amount to be paid" prop="btdgrp.rec.totcur">
<c-select disabled v-model="model.btdgrp.rec.totcur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" style="text-align: left"
label-width="20px" prop="btdgrp.rec.totamt">
<c-input-currency
v-model="model.btdgrp.rec.totamt"
style="text-align: left; width: 100%"
placeholder="Amount to be paid"
></c-input-currency>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="8" >
<el-form-item label="Account with Bank">
<c-input placeholder="" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="7" >
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onSndpDet" disabled>
Details
</c-button>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-input
type="textarea"
placeholder=""
maxlength="140"
show-word-limit
rows="4"
disable
style="width: 90%"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<c-col >
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" style="overflow-y:hidden" rows="7" cols="50" v-model="model.btdgrp.blk.docdis" maxlength="3500" placeholder="请输入Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" offset="8">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
</c-col>
</el-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdck/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="11">
<el-row>
<c-col :span="12">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select disabled v-model="model.btdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.max.amt">
<c-input-currency
v-model="model.btdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="Document Amount">
</c-input-currency>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="Claim Add Amt" prop="btdgrp.cbs.opn2.cur">
<c-select disabled v-model="model.btdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.max2.amt">
<c-input-currency
v-model="model.btdgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="Additional Amount"
></c-input-currency>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="24">
<el-form-item label="Charges Deducted" prop="btdgrp.blk.chaded">
<c-input type="textarea" style="overflow-y:hidden" v-model="model.btdgrp.blk.chaded" rows="6" cols="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="24">
<el-form-item label="Charges Added" prop="btdgrp.blk.chaadd">
<c-input type="textarea" style="overflow-y:hidden" v-model="model.btdgrp.blk.chaadd" rows="6" cols="35" show-word-limit placeholder="请输入Charges Added" ></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="Total Amount Claimed" prop="btdgrp.rec.totcur">
<c-select disabled v-model="model.btdgrp.rec.totcur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" style="text-align: left"
label-width="20px" prop="btdgrp.rec.totamt">
<c-input-currency
v-model="model.btdgrp.rec.totamt"
style="text-align: left; width: 100%"
placeholder="Amount to be paid"
></c-input-currency>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="18" >
<el-form-item label="Reimbursing Bank">
<c-input placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="6" >
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onSndpDet" disabled>
Details
</c-button>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
placeholder=""
maxlength="140"
show-word-limit
rows="4"
style="width: 90%"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="18" >
<el-form-item label="Account with Bank">
<c-input placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="4" >
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onSndpDet" disabled>
Details
</c-button>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-input
type="textarea"
placeholder=""
maxlength="140"
show-word-limit
rows="4"
style="width: 90%"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="18">
<el-form-item label="Date to be Paid" prop="btdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.totdat" style="width:100%" placeholder="请选择Date to be Paid"></c-date-picker>
</el-form-item>
</c-col>
</el-row>
</c-col>
<!--==========================右边==========================-->
<c-col :span="12" offset="1">
<c-col :span="24">
<el-form-item prop="btdgrp.blk.nartxt77a">
<span slot="label" label-position="top" style="color: #f56c6c;font-size: 14px;vertical-align: top;">Narrative Tag77A of MT754</span>
<c-input type="textarea" v-model="model.btdgrp.blk.nartxt77a" maxlength="700" rows="20" cols="35" placeholder="请输入Narrative Tag77A of MT754" ></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -4,43 +4,57 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000045 -->
<el-tab-pane label="PD000045" name="davp">
<el-tab-pane label="Advice Received" name="davp">
<c-content>
<m-davp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000296 -->
<el-tab-pane label="PD000296" name="dscinsp">
<el-tab-pane label="Discr./Instr." name="dscinsp">
<c-content>
<m-dscinsp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="PD000027" name="engp">
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="setpan">
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="glepan">
<el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="coninfp">
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="PD000529" name="docpan">
<el-tab-pane label="Documents" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="PD000546" name="doctre">
<el-tab-pane label="Attachment" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -56,14 +70,16 @@ import Default from "~/model/Lttdav/Default"
import Pattern from "~/model/Lttdav/Pattern"
import Davp from "./Davp"
import Dscinsp from "./Dscinsp"
import Engp from "./Engp"
import Setpan from "./Setpan"
import Glepan from "./Glepan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp"
import Coninfp from "~/views/Public/Coninfp"
export default {
components:{
"m-davp" : Davp,
......@@ -83,7 +99,7 @@ export default {
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "davp",
trnName: "lttdav",
model: new Lttdav().data,
checkRules: Check,
......@@ -104,7 +120,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
else
{
......
......@@ -373,7 +373,7 @@ export default {
stmData: {
columns: [
'4 1 "交易代码" 70 ',
'5 2 "业务编号" 230',
'5 2 "业务编号" 270',
'6 3 "交易名称" 140',
'1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA',
'17 5 "报文类型" 100',
......
......@@ -401,28 +401,37 @@
fixed="right"
prop="display"
label="操作"
width="200px"
width="230px"
>
<template slot-scope="scope">
<!-- <a :href="`/#/display/${scope.row['10'].toLowerCase()}?trn=${scope.row['1']}`" target="_blank" >显示快照</a>-->
<!-- <a href="javascript:void(0)" @click="display(scope.$index, scope.row)"
>显示快照</a
> -->
<c-button
<!-- <c-button
style="margin-left: 0"
size="small"
type="primary"
@click="display(scope.$index, scope.row)"
>
快照
</c-button>
</c-button> -->
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onRelrow(scope.$index,scope.row)"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onRelrow(scope.$index)"
>
复核
......@@ -433,7 +442,7 @@
type="primary"
>
退回
流程记录
</c-button>
......
......@@ -38,7 +38,7 @@ export default {
// { inifrm: "sptsel", ininam: "待办任务", pntmiu: "0" },
// { inifrm: "trnrel", ininam: "复核任务", pntmiu: "0" },
// { inifrm: "diasel", ininam: "备忘录选择交易", pntmiu: "0" },
{ inifrm: "1", ininam: "汇款", pntmiu: "" },
{ inifrm: "1", ininam: "汇款业务", pntmiu: "" },
{ inifrm: "infcpd", ininam: "汇款查询", pntmiu: "1" },
{ inifrm: "cptopn", ininam: "汇出汇款", pntmiu: "1" },
{ inifrm: "cptadv", ininam: "汇入汇款", pntmiu: "1" },
......@@ -86,21 +86,30 @@ export default {
{ inifrm: "botdcr", ininam: "出口托收拒付/不符点", pntmiu: "6" },
{ inifrm: "botset", ininam: "出口托收收汇", pntmiu: "6" },
{ inifrm: "botcan", ininam: "出口托收闭卷", pntmiu: "6" },
{ inifrm: "7", ininam: "静态参数管理", pntmiu: "" },
{ inifrm: "7", ininam: "转让证", pntmiu: "" },
{ inifrm: "lttopn", ininam: "转让证开立", pntmiu: "7" },
{ inifrm: "lttame", ininam: "转让证修改", pntmiu: "7" },
{ inifrm: "lttcan", ininam: "转让证注销", pntmiu: "7" },
{ inifrm: "bttsnd", ininam: "转让证单据寄单", pntmiu: "7" },
{ inifrm: "bttdrv", ininam: "转让证修改单据金额", pntmiu: "7" },
{ inifrm: "bttdcr", ininam: "转让证单据拒单", pntmiu: "7" },
{ inifrm: "8", ininam: "打包托收", pntmiu: "" },
{ inifrm: "cltdav", ininam: "打包托收开立", pntmiu: "8" },
{ inifrm: "clttra", ininam: "打包托收催收", pntmiu: "8" },
{ inifrm: "cltset", ininam: "打包托收解包", pntmiu: "8" },
{ inifrm: "9", ininam: "参数管理", pntmiu: "" },
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "9" },
{ inifrm: "7", ininam: "静态参数管理", pntmiu: "", },
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "7" },
{ inifrm: "8", ininam: "转让证", pntmiu: "" },
{ inifrm: "8",ininam: "转让证", pntmiu: "" },
{ inifrm: "lttopn", ininam: "转让证开立", pntmiu: "8" },
{ inifrm: "lttame", ininam: "转让证修改", pntmiu: "8" },
{ inifrm: "lttcan", ininam: "转让证注销", pntmiu: "8" },
{ inifrm: "bttsnd", ininam: "转让证单据寄单", pntmiu: "8" },
{ inifrm: "bttdrv", ininam: "转让证修改单据金额", pntmiu: "8" },
{ inifrm: "bttdcr", ininam: "转让证单据拒单", pntmiu: "8" },
{ inifrm: "9", ininam: "打包托收", pntmiu: "" },
{ inifrm: "cltdav", ininam: "打包托收开立", pntmiu: "9" },
{ inifrm: "clttra", ininam: "打包托收催收", pntmiu: "9" },
{ inifrm: "cltset", ininam: "打包托收解包", pntmiu: "9" },
{ inifrm: "lttdav", ininam: "转让信用证单据第一受益人换单", pntmiu: "8" },
{ inifrm: "bttdck", ininam: "转让信用证通知到单", pntmiu: "8" },
{ inifrm: "9",ininam: "光票托收", pntmiu: "" },
{ inifrm: "ccttra", ininam: "光票托收催收", pntmiu: "9" },
{ inifrm: "cctdcr", ininam: "光票托收退票", pntmiu: "9" },
],
menus: [],
};
......
<template>
<div class="eibs-tab">
<c-col :span="17" offset="9">
<el-form-item
:label="`${argadr.fieldtit}`"
label-position="left"
label-width="120px"
:prop="`${argadr.grp}.rec.${argadr.field}`"
>
<c-select
v-model="model[argadr.grp].rec[argadr.field]"
:placeholder="'Select Party'"
></c-select>
</el-form-item>
</c-col>
<c-col :span="17" v-if="!noRef" offset="7">
<el-form-item
:label="`${argadr.title}`"
:prop="`${argadr.grp}.${argadr.rol}.pts.ref`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.ref"
:placeholder="'请输入' + argadr.title + '参考号'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-input
style="width: 95%"
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
@change="valueChange"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
class="searchButton"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
></c-button>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button
style="margin:0 0"
class="detailsButton"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t('buttons.details') }}
</c-button>
<!-- </el-form-item> -->
</c-col>
<template v-if="!onlySearch">
<c-col v-if="isAdrblk" :span="24">
<el-form-item
label=""
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入名称地址"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<template v-else>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}名称`"
:prop="`${argadr.grp}.${argadr.rol}.namelc`"
>
<c-input
type="textarea"
v-model="model[argadr.grp][argadr.rol].namelc"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
:rows="2"
maxlength="35"
show-word-limit
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}地址`"
:prop="`${argadr.grp}.${argadr.rol}.adrelc`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].adrelc"
:placeholder="'请输入' + argadr.title + '地址'"
:disabled="disabled"
maxlength="35"
show-word-limit
></c-input>
</el-form-item>
</c-col>
</template>
</template>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
// 机构信息模块
export default {
inject: ["root"],
mixins: [CommonProcess],
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
rol: "", //角色
grp: "", //所属模块
};
},
},
disabled: {
//名称地址是否灰显
type: Boolean,
default: false,
},
isAdrblk: {
//名称地址是否为大字段
type: Boolean,
default: true,
},
onlySearch: {
//是否只展示extkey
type: Boolean,
default: false,
},
noRef: {
//无需参考号
type: Boolean,
default: false,
},
},
data() {
return {
data: [],
};
},
watch: {},
methods: {
onSeainf(data) {
this.$emit("onSeainf", data);
},
onAplpDet() {
this.$emit("onAplpDet");
},
valueChange() {
if (this.onlySearch) return;
// this.showGridPromptDialog(
// `${this.argadr.grp}.${this.argadr.rol}.pts.extkey`
// );
},
},
created: function () {},
};
</script>
<style>
.searchButton {
text-align: center;
/* margin: 0 10px; */
margin-right: 10px;
padding: 0 10px;
}
.detailsButton {
margin-left: 10px;
}
.el-form-item__label-wrap{
margin-left: 0px !important;
}
</style>
......@@ -340,12 +340,15 @@ export default {
}
},
async handlePass() {
console.log(this.remark)
let data = {}
if (this.process == '1' || this.process == '2' || this.process == '4') {
// 复核通过需要传递参数:复核意见和tips
// 通过 - 清空tips
data = {
pageId: this.$route.query.pageId,
idx: this.$route.query.idx,
remark: this.remark,
tips: [] //this.$store.state.Status.highlights
}
......
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