Commit 8cf9b008 by liuxin

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 847b0423 9f04316f
......@@ -3620,7 +3620,7 @@ const CodeTable = {
{ label: "Advise", value: "FA" },
{ label: "Indirect (please issue)", value: "OC" },
],
seahndtyp: [
seahndtyp1: [
{ label: "Direct (we issue)", value: "OL" },
{ label: "Indirect (please issue)", value: "OC" },
{ label: "Advise with confirmation", value: "FI" },
......
import Utils from "~/utils"
/**
* Gitame Check规则
*/
let checkObj = {
"gidgrp.rec.giduil" :null,
"gitp.aamp.aammod.addamtflg" :null,
"gidgrp.ben.pts.adrblk" :null,
"gidgrp.blk.atxexptxt" :null,
"gidgrp.atb.pts.adrblk" :null,
"gidgrp.con.pts.adrblk" :null,
"gitp.liatxtcmodflg" :null,
"trnmod.swiadd.exptxt" :null,
"addbcb.gitamecho" :null,
"setmod.dspflg" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"trnmod.swiadd.amenbr" :null,
"addbcb.expdat" :null,
"gidgrp.rec.exptyp" :null,
"gidgrp.ctr.pts.extkey" :null,
"trnmod.swiadd.newliadat" :null,
"trnmod.swiadd.ameblk" :null,
"gidgrp.rec.liadat" :null,
"gidgrp.rec.sndto" :null,
"gidgrp.con.adrelc" :null,
"gidgrp.blk.liatxtc" :null,
"gitp.exptxtmodflg" :null,
"trnmod.swiadd.amedat" :null,
"gidgrp.rec.gtxinr" :null,
"gidgrp.rec.vrfdat" :null,
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"addbcb.pwtyp9" :null,
"gidgrp.rec.autrnwflg" :null,
"gitamep.ramrol" :null,
"gidgrp.rec.legfrm" :null,
"gidgrp.apl.pts.extkey" :null,
"trnmod.swiadd.newexpdat" :null,
"gidgrp.apl.namelc" :null,
"gidgrp.rec.liatypc" :null,
"gidgrp.atb.adrelc" :null,
"gidgrp.rec.revflg" :null,
"gidgrp.iss.adrelc" :null,
"gidgrp.rec.hndtyp" :null,
"gidgrp.adv.namelc" :null,
"addbcb.bcbtyp7" :null,
"gitp.swiftflg" :null,
"gidgrp.bdb.pts.extkey" :null,
"gidgrp.iss.pts.adrblk" :null,
"gidgrp.adv.pts.adrblk" :null,
"gidgrp.ctr.namelc" :null,
"gidgrp.blk.atxpreper" :null,
"trnmod.swiadd.liatxtc" :null,
"gidgrp.con.pts.extkey" :null,
"trnmod.swiadd.newamt" :null,
"gidgrp.bdb.adrelc" :null,
"gidgrp.ctr.adrelc" :null,
"gidgrp.con.namelc" :null,
"gidgrp.ben.namelc" :null,
"addbcb.litameadv" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.gidcxm.warran" :null,
"gidgrp.apl.pts.ref" :null,
"gidgrp.ctr.pts.adrblk" :null,
"addbcb.label5" :null,
"gidgrp.atb.namelc" :null,
"gidgrp.rec.orddat" :null,
"trnmod.swiadd.addamt" :null,
"gidgrp.rec.stacty" :null,
"setmod.redamt" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"trnmod.swiadd.purposame" :null,
"trnmod.swiadd.ameamt" :null,
"addbcb.ameadvrmk" :null,
"gidgrp.rec.inudat" :null,
"gidgrp.iss.pts.ref" :null,
"addbcb.preexpdat" :null,
"gidgrp.blk.feetxt" :null,
"addbcb.bccls2" :null,
"addbcb.bccls1" :null,
"addbcb.bccls4" :null,
"addbcb.bccls3" :null,
"setmod.docamt" :null,
"gitp.prepermodflg" :null,
"gidgrp.bdb.namelc" :null,
"gidgrp.blk.preper" :null,
"gidgrp.apl.adrelc" :null,
"trnmod.swiadd.addamtcovs20" :null,
"gidgrp.adv.adrelc" :null,
"gidgrp.blk.apprultxt" :null,
"gidgrp.iss.namelc" :null,
"gidgrp.adv.pts.extkey" :null,
"gidgrp.iss.pts.extkey" :null,
"gidgrp.ben.pts.extkey" :null,
"addbcb.gitamermk" :null,
"gidgrp.bdb.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Gitame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"gidgrp.blk.atxexptxt" :Utils.defaultFunction,
"gidgrp.blk.exptxt" :Utils.defaultFunction,
"gidgrp.rec.purpos" :Utils.defaultFunction,
"gidgrp.rec.atxinr" :Utils.defaultFunction,
"gidgrp.rec.secuilflg" :Utils.defaultFunction,
"gidgrp.cbs.max.cur" :Utils.defaultFunction,
"gidgrp.rec.fingua" :Utils.defaultFunction,
"gidgrp.con.pts.extkey" :Utils.defaultFunction,
"gidgrp.con.adrelc" :Utils.defaultFunction,
"gidgrp.con.namelc" :Utils.defaultFunction,
"gidgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.con.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.purposin" :Utils.defaultFunction,
"trnmod.swiadd.newexpdat" :Utils.defaultFunction,
"trnmod.swiadd.ameamt" :Utils.defaultFunction,
"gidgrp.rec.liatypc" :Utils.defaultFunction,
"gidgrp.blk.preper" :Utils.defaultFunction,
"gidgrp.blk.atxpreper" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"gidgrp.rec.expflg" :Utils.defaultFunction,
"gidgrp.adv.pts.extkey" :Utils.defaultFunction,
"gidgrp.adv.adrelc" :Utils.defaultFunction,
"gidgrp.adv.namelc" :Utils.defaultFunction,
"gidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gidgrp.rec.exptyp" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.swiadd.amemsgdonflg" :Utils.defaultFunction,
"trnmod.swiadd.purposame" :Utils.defaultFunction,
"gidgrp.rec.hndtyp" :Utils.defaultFunction,
"gidgrp.ghd.segtyp" :Utils.defaultFunction,
"oldgidgrp.cbs.max.amt" :Utils.defaultFunction,
"oldgidgrp.cbs.max.cur" :Utils.defaultFunction,
"gidgrp.rec.giduil" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gidgrp.cbs.max.amt" :Utils.defaultFunction,
"oldgidgrp.rec.liadat" :Utils.defaultFunction,
"gidgrp.rec.revflg" :Utils.defaultFunction,
"gitp.prepermodflg" :Utils.defaultFunction,
"gidgrp.rec.gtxinr" :Utils.defaultFunction,
"gitamep.ameaccflg" :Utils.defaultFunction,
"gitp.swiftflg" :Utils.defaultFunction,
"trnmod.swiadd.exptyp" :Utils.defaultFunction,
"gidgrp.apl.pts.extkey" :Utils.defaultFunction,
"gidgrp.apl.adrelc" :Utils.defaultFunction,
"gidgrp.apl.namelc" :Utils.defaultFunction,
"gidgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.atb.pts.extkey" :Utils.defaultFunction,
"gidgrp.ben.pts.extkey" :Utils.defaultFunction,
"trnmod.swiadd.liatypc" :Utils.defaultFunction,
"trnmod.swiadd.newliadat" :Utils.defaultFunction,
"gitamep.prtflg" :Utils.defaultFunction,
"gidgrp.apl.pts.adrblk" :Utils.defaultFunction,
"oldgidgrp.rec.exptyp" :Utils.defaultFunction,
"oldgidgrp.rec.expdat" :Utils.defaultFunction,
"trnmod.swiadd.addamt" :Utils.defaultFunction,
"gidgrp.bdb.pts.extkey" :Utils.defaultFunction,
"trnmod.swiadd.exptxt" :Utils.defaultFunction,
"gitp.exptxtmodflg" :Utils.defaultFunction,
"gidgrp.blk.liatxtc" :Utils.defaultFunction,
"gidgrp.blk.atxliatxtc" :Utils.defaultFunction,
"gidgrp.atb.adrelc" :Utils.defaultFunction,
"gidgrp.atb.namelc" :Utils.defaultFunction,
"gidgrp.atb.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.atb.pts.adrblk" :Utils.defaultFunction,
"trnmod.swiadd.addamtcovs20" :Utils.defaultFunction,
"gitp.usr.extkey" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"gidgrp.rec.legfrm" :Utils.defaultFunction,
"gidgrp.rec.vrfdat" :Utils.defaultFunction,
"gidgrp.iss.pts.extkey" :Utils.defaultFunction,
"gidgrp.iss.adrelc" :Utils.defaultFunction,
"gidgrp.iss.namelc" :Utils.defaultFunction,
"gidgrp.iss.dbfadrblkcn" :Utils.defaultFunction,
"gitp.inc760" :Utils.defaultFunction,
"oldgidgrp.rec.liatypc" :Utils.defaultFunction,
"trnmod.swiadd.addamtflg" :Utils.defaultFunction,
"trnmod.swiadd.addcur" :Utils.defaultFunction,
"gidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"gidgrp.blk.apprul" :Utils.defaultFunction,
"trnmod.swiadd.newcur" :Utils.defaultFunction,
"gidgrp.blk.trfcond" :Utils.defaultFunction,
"gidgrp.atb.pts.ref" :Utils.defaultFunction,
"gidgrp.rec.demand" :Utils.defaultFunction,
"gitamep.ametxtflg" :Utils.defaultFunction,
"gitamep.ametxt" :Utils.defaultFunction,
"gidgrp.rec.transfer" :Utils.defaultFunction,
"gidgrp.ctr.pts.adrblk" :Utils.defaultFunction,
"trnmod.swiadd.newamt" :Utils.defaultFunction,
"trnmod.swiadd.reqcan" :Utils.defaultFunction,
"gidgrp.blk.apprultxt" :Utils.defaultFunction,
"gidgrp.blk.feetxt" :Utils.defaultFunction,
"gidgrp.rec.autrnwflg" :Utils.defaultFunction,
"gidgrp.rec.opndat" :Utils.defaultFunction,
"gitp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"trnmod.swiadd.ameblk" :Utils.defaultFunction,
"gidgrp.rec.rmbflg" :Utils.defaultFunction,
"oldgidgrp.blk.exptxt" :Utils.defaultFunction,
"gidgrp.ctr.pts.extkey" :Utils.defaultFunction,
"addbcb.pwtyp8" :Utils.defaultFunction,
"addbcb.bcbtyp6" :Utils.defaultFunction,
"gidgrp.ctr.adrelc" :Utils.defaultFunction,
"gidgrp.ctr.namelc" :Utils.defaultFunction,
"gidgrp.ctr.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.rec.delori" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"gidgrp.bdb.adrelc" :Utils.defaultFunction,
"gidgrp.bdb.namelc" :Utils.defaultFunction,
"gidgrp.bdb.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.bdb.pts.adrblk" :Utils.defaultFunction,
"gitp.inccormsgflg" :Utils.defaultFunction,
"gidgrp.rec.fenlishi" :Utils.defaultFunction,
"gidgrp.ben.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.inudat" :Utils.defaultFunction,
"gidgrp.ben.adrelc" :Utils.defaultFunction,
"gidgrp.ben.namelc" :Utils.defaultFunction,
"gidgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"addbcb.bccls1" :Utils.defaultFunction,
"gidgrp.iss.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.chato" :Utils.defaultFunction,
"gidgrp.rec.liaflg" :Utils.defaultFunction,
"trnmod.swiadd.liatxtc" :Utils.defaultFunction,
"gitp.liatxtcmodflg" :Utils.defaultFunction,
"gitp.aplsupflg" :Utils.defaultFunction,
"gidgrp.rec.stacty" :Utils.defaultFunction,
"gitp.drpreflg" :Utils.defaultFunction,
"oldgidgrp.blk.liatxtc" :Utils.defaultFunction,
"gidgrp.rec.delto" :Utils.defaultFunction,
"gidgrp.rec.orddat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAmebutButtxmsel(){
let rtnmsg = await this.executeRule("amebut.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButgetref(){
let rtnmsg = await this.executeRule("gitp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIsspDet(){
let rtnmsg = await this.executeRule("issp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdvpDet(){
let rtnmsg = await this.executeRule("advp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpWbxs(){
let rtnmsg = await this.executeRule("gitp.wbxs")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpYptxy(){
let rtnmsg = await this.executeRule("gitp.yptxy")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifexptxt(){
let rtnmsg = await this.executeRule("gitp.butdifexptxt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhisexptxt(){
let rtnmsg = await this.executeRule("gitp.butdifhisexptxt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifliatxtc(){
let rtnmsg = await this.executeRule("gitp.butdifliatxtc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhisliatxtc(){
let rtnmsg = await this.executeRule("gitp.butdifhisliatxtc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onConpDet(){
let rtnmsg = await this.executeRule("conp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBdbpDet(){
let rtnmsg = await this.executeRule("bdbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCtrpDet(){
let rtnmsg = await this.executeRule("ctrp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAtbpDet(){
let rtnmsg = await this.executeRule("atbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChargiButtxmsel(){
let rtnmsg = await this.executeRule("chargi.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifpreper(){
let rtnmsg = await this.executeRule("gitp.butdifpreper")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhispreper(){
let rtnmsg = await this.executeRule("gitp.butdifhispreper")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButapy(){
let rtnmsg = await this.executeRule("mtdbut.butapy")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButcan(){
let rtnmsg = await this.executeRule("mtdbut.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -216,9 +216,23 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.payrol = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.curtxt1 = "";
this.model.infcon.nam = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.doctypcod = "";
this.model.infcon.godcod = "";
},
}
\ No newline at end of file
......@@ -206,9 +206,22 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.payrol = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.curtxt1 = "";
this.model.infcon.nam = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.doctypcod = "";
},
}
\ No newline at end of file
......@@ -272,30 +272,31 @@ export default {
async handleReset(formName) {
this.$refs[formName].resetFields();
},
// async handleSearch() {
// this.stmData.data = [];
// let opndatfrom = this.model.infcon.opndatfrom;
// if(!opndatfrom || opndatfrom == ''){
// this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
// return;
// }
// let opndatto = this.model.infcon.opndatto;
// if(!opndatto || opndatto == ''){
// this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
// return;
// }
// let rtnmsg = await this.executeRule("infbut.searow")
// if(rtnmsg.respCode == SUCCESS)
// {
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// },
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if(!opndatfrom || opndatfrom == ''){
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if(!opndatto || opndatto == ''){
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -208,23 +208,23 @@ export default {
"ledgrp.avb.namelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140"}
],
"ledgrp.blk.avbwthtxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ type: "string", required: false, message: "必输项" },
{ max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ type: "string",max: 999, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.adrelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
"ledgrp.blk.preper": [
{ required: true, message: "必输项" },
......
......@@ -158,7 +158,7 @@ export default {
};
},
methods: {
tabClick() {},
//tabClick() {},
},
created: async function () {
console.log("进入bdtcan交易");
......
......@@ -40,7 +40,6 @@
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="bodgrp.rec.nam">
<c-input
align="middle"
v-model="model.bodgrp.rec.nam"
maxlength="40"
disabled
......@@ -287,40 +286,6 @@
</el-form-item>
</c-col>
<!-- <c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
</el-form-item>
</c-col>
<c-col :span="24" style="margin-bottom: 30px;">
<c-table height="200px" style="text-align: center" :list="this.model.botp.docgrdm.docgrd || []"
:paginationShow="false" :border="true">
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1"></c-input>
</template>
</el-table-column>
<el-table-column label="2st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail2"></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.$index)" type="primary">删除</c-button>
</template>
</el-table-column>
</c-table>
</c-col> -->
<c-docpre
:model="model"
:argadr="{
......@@ -426,87 +391,16 @@ export default {
mixins: [commonProcess],
data() {
return {
// docgrd: {
// columns: [
// {
// title: "lst",
// width: "80px",
// dataIndex: "cmail1",
// show: "input",
// },
// {
// title: "2nd",
// width: "80px",
// dataIndex: "cmail2",
// show: "input",
// },
// {
// title: "Document",
// width: "320px",
// dataIndex: "docnam",
// show: "select",
// code: "codeTable",
// },
// ],
// urls: "botp.docgrdm.docgrd",
// },
invtyp: [{ label: "type1", value: "1" }],
// codeTable: [
// { label: "Airway Bills", value: "Airway Bills" },
// {
// label: "Beneficiary's Declaration",
// value: "Beneficiary's Declaration",
// },
// { label: "Bill of Lading Copies", value: "Bill of Lading Copies" },
// {
// label: "Bill of Lading Originals",
// value: "Bill of Lading Originals",
// },
// { label: "Certificate", value: "Certificate" },
// { label: "Certificate of Analysis", value: "Certificate of Analysis" },
// { label: "Certificate of Origin", value: "Certificate of Origin" },
// { label: "Certificate of Quality", value: "Certificate of Quality" },
// { label: "Certificate of Quantity", value: "Certificate of Quantity" },
// { label: "Commercial Invoice", value: "Commercial Invoice" },
// { label: "Courier Receipt", value: "Courier Receipt" },
// { label: "Draft", value: "Draft" },
// { label: "Export Licence", value: "Export Licence" },
// { label: "Fax Report", value: "Fax Report" },
// { label: "Inspection Cert", value: "Inspection Cert" },
// { label: "Insurance Policy", value: "Insurance Policy" },
// { label: "Packing List", value: "Packing List" },
// { label: "Shipment Advice", value: "Shipment Advice" },
// { label: "Weight List", value: "Weight List" },
// ],
// newValue: {
// id: 0,
// cmail1: "",
// cmail2: "",
// docnam: "",
// description: "",
// serialNum: "",
// tableName: "",
// tcddoc: "",
// },
// columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'],
}
},
methods: {
...Event,
// change() {
// this.model.bodgrp.rec.matdat = this.model.oldbodgrp.rec.matdat;
// },
// addTableValue(index) {
// var newTableValue = Object.assign({}, this.newValue);
// const serial = Utils.generateUUID();
// newTableValue.serialNum = serial;
// this.model.botp.docgrdm.docgrd.splice(index - 1, 0, newTableValue);
// },
// deleteTable(index) {
// this.model.botp.docgrdm.docgrd.splice(index, 1);
// },
// async docpre() {
// let rtnmsg = await this.executeDefault('bodgrp.blk.docpre')
// if (rtnmsg.respCode == SUCCESS) {
......@@ -518,17 +412,13 @@ export default {
// }
// },
},
// mounted() {
// this.change();
// console.log(this.model.bodgrp.rec.matdat);
// },
computed: {
flag() {
return this.model.bodgrp.drr.pts.adrelc == "";
},
},
created: function () {
console.log(this.root);
},
}
</script>
......
......@@ -201,12 +201,6 @@ export default {
},
methods:{
//tabClick(){}
// myTabClick(tab){
// this.tabClick(tab)
// /**
// * do it yourself
// **/
// }
},
created:async function(){
console.log("进入botset交易");
......
......@@ -303,8 +303,15 @@
v-model="model.bddgrp.rec.advtyp"
style="width:100%"
placeholder="请选择Type of Advice"
:code="advtyp"
></c-select>
>
<el-option
v-for="item in codes.advtyp0"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -465,11 +472,6 @@ export default {
{ label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" },
],
advtyp: [
{ label: "Advice of Discrepancy (MT750)", value: "750" },
{ label: "Advice of Payment (MT754)", value: "754" },
{ label: "Other", value: "oth" },
],
};
},
......
......@@ -150,8 +150,7 @@ export default {
}
},
methods:{
tabClick(){
}
//tabClick(){}
},
created:async function(){
console.log("进入ditdav交易");
......
<template>
<div class="eibs-tab">
<!-- SF002108 : Old Expiry Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002108')" prop="oldgidgrp.rec.exptyp">
<c-select v-model="model.oldgidgrp.rec.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002108')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002110 : Old Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002110')" prop="oldgidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002110')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002109 : Old Expiry Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002109')" prop="oldgidgrp.blk.exptxt">
<c-input type="textarea" v-model="model.oldgidgrp.blk.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002109')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002151 : Old Liability Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002151')" prop="oldgidgrp.rec.liatypc">
<c-select v-model="model.oldgidgrp.rec.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002151')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002152 : Old Liability -->
<c-col :span="12">
<el-form-item label="Liability until" prop="oldgidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.liadat" style="width:100%" :placeholder="$t('other.please_enter')+'Liability until'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002153 : Old Liability Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002153')" prop="oldgidgrp.blk.liatxtc">
<c-input type="textarea" v-model="model.oldgidgrp.blk.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002153')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002106 : New Expiry Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002106')" prop="trnmod.swiadd.exptyp">
<c-select v-model="model.trnmod.swiadd.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002106')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002105 : New Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002105')" prop="trnmod.swiadd.newexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002105')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002107 : New Expiry Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002107')" prop="trnmod.swiadd.exptxt">
<c-input type="textarea" v-model="model.trnmod.swiadd.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002107')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002154 : New Liability Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002154')" prop="trnmod.swiadd.liatypc">
<c-select v-model="model.trnmod.swiadd.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002154')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002155 : New Liability -->
<c-col :span="12">
<el-form-item label="New Liability Date" prop="trnmod.swiadd.newliadat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" :placeholder="$t('other.please_enter')+'New Liability Date'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002157 : New Liability Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002157')" prop="trnmod.swiadd.liatxtc">
<c-input type="textarea" v-model="model.trnmod.swiadd.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002157')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002132 : Old appr. Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002132')" prop="oldgidgrp.blk.dtaappexpdat">
<c-date-picker type="date" v-model="model.oldgidgrp.blk.dtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002132')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002133 : New appr. Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002133')" prop="trnmod.swiadd.newdtaappexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newdtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002133')"></c-date-picker>
</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/Gitame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF050116 : Guarantee Text -->
<c-col :span="12">
<c-form-item :label="$t('gitame.SF050116')" prop="oldgidgrp.blk.gidtxtc">
<c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050116')" ></c-input>
</c-form-item>
</c-col>
<!-- SF050117 : before this -->
<!-- SF050118 : Amendment -->
<!-- SF050119 : Amendments so Far -->
<c-col :span="12">
<c-form-item :label="$t('gitame.SF050119')" prop="oldgidgrp.blk.gidtxtamec">
<c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxtamec" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050119')" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000027 : 单据编号 -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('setmod.SF000031')" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+$t('setmod.SF000031')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000028 : 类型 -->
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" :placeholder="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000029')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButapy">
{{$t('mtdbut.CF000003')}}
</c-button>
</c-col>
<!-- SF000030 : 减少的金额 -->
<c-col :span="12">
<c-form-item :label="$t('setmod.SF000030')" prop="setmod.redamt">
<c-input v-model="model.setmod.redamt" :placeholder="$t('other.please_enter')+$t('setmod.SF000030')"></c-input>
</c-form-item>
</c-col>
<!-- SF000031 : 减少后的结算金额 -->
<c-col :span="12">
<c-form-item label="Reduced Amount to settle" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" :placeholder="$t('other.please_enter')+'Reduced Amount to settle'"></c-input>
</c-form-item>
</c-col>
<!-- SF000033 : 注释 -->
<c-col :span="12">
<c-form-item :label="$t('setmod.SF000033')" prop="setmod.redamttxt">
<c-input type="textarea" v-model="model.setmod.redamttxt" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('setmod.SF000033')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
{{$t('mtdbut.CF000004')}}
</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/Gitame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SG001294 : 是否SWIFT格式 -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SG001294')" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SG001294')">
</c-select>
</el-form-item>
</c-col>
<!-- S0001304 : 是否对外担保 -->
<c-col :span="12">
<el-form-item :label="$t('gitp.S0001256')" prop="gidgrp.rec.fingua">
<c-select v-model="model.gidgrp.rec.fingua" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001256')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select v-model="model.gidgrp.rec.cfaguatyp" style="width:100%" :placeholder="$t('other.please_enter')+'对外担保类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.cmtflg">{{$t('gitp.CG001233')}}</c-checkbox>
</c-col>
<!-- S0001305 : 担保类型 -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000859 : Delivery of Undertak. -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.delori">
<c-select v-model="model.gidgrp.rec.delori" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.deloritxt">
<c-input v-model="model.gidgrp.rec.deloritxt" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')"></c-input>
</c-form-item>
</c-col>
<!-- SF000863 : Charges Condition -->
<!-- SF000862 : Undertaking Send to -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000862')" prop="gidgrp.rec.sndto">
<c-select v-model="model.gidgrp.rec.sndto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000862')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
<c-select v-model="model.gidgrp.rec.chato" style="width:100%" :placeholder="$t('other.please_enter')+'Own Charges Borne by'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000860 : Deliv. To/Collection By -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000860')" prop="gidgrp.rec.delto">
<c-select v-model="model.gidgrp.rec.delto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000860')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000864 : Charges -->
<c-col :span="12">
<c-checkbox v-model="model.gitp.chargi.chkast">{{$t('gitp.CF001069')}}</c-checkbox>
</c-col>
<!-- SF000861 : Delivery to Address -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000861')" prop="gidgrp.blk.deltoadr">
<c-input type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000861')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt">
<c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel">
{{$t('gitp.CF001057')}}
</c-button>
</c-col>
<!-- SF000728 : Presentation Instr. -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.preper">
<c-input type="textarea" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.atxpreper">
<c-input type="textarea" v-model="model.gidgrp.blk.atxpreper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.prepermodflg">{{$t('gitp.CF001186')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkpreper">{{$t('gitp.CF001187')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifpreper">
{{$t('gitp.CF001188')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhispreper">
{{$t('gitp.CF001189')}}
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.transfer">{{$t('gitp.CF000884')}}</c-checkbox>
</c-col>
<!-- SF000885 : Transfer Conditions -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000885')" prop="gidgrp.blk.trfcond">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000885')" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitame/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">
<!--gitp PD001291 开立方式 -->
<el-tab-pane :label="$t('gitp.PD001291')" name="opnp">
<m-opnp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitamep PD002031 Amendment -->
<el-tab-pane :label="$t('gitamep.PD002031')" name="ameps20">
<m-ameps20 :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitamep PD002100 Amendment Dates -->
<el-tab-pane :label="$t('gitamep.PD002100')" name="amedat20">
<m-amedat20 :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000002 Overview -->
<el-tab-pane :label="$t('gitp.PD000002')" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000043 Parties -->
<el-tab-pane :label="$t('gitp.PD000043')" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000727 Presentation/ Delivery -->
<el-tab-pane :label="$t('gitp.PD000727')" name="preperp">
<m-preperp :model="model" :codes="codes"/>
</el-tab-pane>
<!--setmod PD000020 Settlement Details Panel -->
<el-tab-pane :label="$t('setmod.PD000020')" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitame PD050114 Seq. C: History -->
<el-tab-pane :label="$t('gitame.PD050114')" name="amephisc">
<m-amephisc :model="model" :codes="codes"/>
</el-tab-pane>
<!--addbcb PD000001 备查表 -->
<el-tab-pane :label="$t('addbcb.PD000001')" name="addbcb">
<m-addbcb :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 Gitame from "~/model/Gitame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Gitame/Check"
import Default from "~/model/Gitame/Default"
import Pattern from "~/model/Gitame/Pattern"
import Opnp from "./Opnp"
import Ameps20 from "./Ameps20"
import Amedat20 from "./Amedat20"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp"
import Preperp from "./Preperp"
import Detp from "./Detp"
import Amephisc from "./Amephisc"
import Addbcb from "./Addbcb"
export default {
name: "Gitame",
components:{
"m-opnp" : Opnp,
"m-ameps20" : Ameps20,
"m-amedat20" : Amedat20,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-preperp" : Preperp,
"m-detp" : Detp,
"m-amephisc" : Amephisc,
"m-addbcb" : Addbcb,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "gitame",
trnType: "",
model: new Gitame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入gitame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -1161,7 +1161,7 @@
label="Our Liability until"
prop="gidgrp.rec.liadat"
>
<c-date-picker :disabled="model.gidgrp.rec.liatypc=='OPEN'"
<c-date-picker :disabled="model.gidgrp.rec.liatypc=='OPEN'||model.gidgrp.rec.liatypc==''"
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
......
......@@ -191,7 +191,24 @@
</c-col>
</c-col>
</c-row>
<c-col :span="24">
<el-form-item label="Additional Parties" >
<c-edit-table :model="model" v-bind="ptsaddg" style="margin-left:-120px">
<el-table-column label="操作" >
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
>详情</el-button
>
</template>
</el-table-column>
</c-edit-table>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<span v-text="model.gitp.labapl" data-path=".gitp.labapl" > </span>
</c-col>
......@@ -452,7 +469,33 @@ export default {
mixins: [commonProcess],
data(){
return {
ptsaddg: {
columns: [
{
title: "Role",
width: "120px",
dataIndex: "rol",
show: "select",
},
{
title: "Party",
width: "180px",
dataIndex: "ptyextkey",
show: "input",
},
{
title: "Name of Party",
width: "250px",
dataIndex: "nam",
},
{
title: "Reference for Address",
width: "250px",
dataIndex: "ref",
},
],
urls: "gitp.ptsaddp.ptsaddg",
},
}
},
methods:{...Event},
......
......@@ -66,8 +66,6 @@
</c-col>
<c-col :span="8">
<el-form-item label="Role" prop="infcon.searol" style="width: 100%">
<!-- <c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择Role">
</c-select> -->
<c-select v-model="model.infcon.payrol" style="width: 100%" placeholder="请选择Role">
<el-option v-for="item in codes.payrol" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......
......@@ -327,7 +327,7 @@
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.seahndtyp"
v-for="item in codes.seahndtyp1"
:key="item.value"
:label="item.label"
:value="item.value"
......
......@@ -11,6 +11,7 @@
style="width: 100%"
placeholder="请选择指定银行"
:code="codes.avbwth"
@change="avbwthEvent"
>
</c-select>
</el-form-item>
......@@ -18,6 +19,7 @@
<c-col :span="24">
<c-ptap
v-if="model.ledgrp.rec.avbwth!='O'"
:model="model"
:argadr="{
title: '',
......@@ -392,6 +394,12 @@ export default {
},
methods: {
...Event,
avbwthEvent(){
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
this.model.ledgrp.avb.pts.extkey = ''
this.model.ledgrp.blk.avbwthtxt = ''
}
},
onSeainf(){},
avbbykeyEvent() {
if (this.model.ledgrp.rec.avbby == 'P') {
......
......@@ -11,6 +11,7 @@
style="width: 100%"
placeholder="请选择指定银行"
:code="codes.avbwth"
@change="avbwthEvent"
>
</c-select>
</el-form-item>
......@@ -18,6 +19,7 @@
<c-col :span="24">
<c-ptap
v-if="model.ledgrp.rec.avbwth!='O'"
:model="model"
:argadr="{
title: '',
......@@ -811,6 +813,12 @@ export default {
},
methods: {
...Event,
avbwthEvent(){
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
this.model.ledgrp.avb.pts.extkey = ''
this.model.ledgrp.blk.avbwthtxt = ''
}
},
avbbykeyEvent() {
if (this.model.ledgrp.rec.avbby == 'P') {
this.model.ledgrp.rec.tenmaxday = 0
......
......@@ -11,6 +11,7 @@
style="width: 100%"
placeholder="请选择指定银行"
:code="codes.avbwth"
@change="avbwthEvent"
>
</c-select>
</el-form-item>
......@@ -18,6 +19,7 @@
<c-col :span="24">
<c-ptap
v-if="model.ledgrp.rec.avbwth!='O'"
:model="model"
:argadr="{
title: '',
......@@ -390,6 +392,12 @@ export default {
},
methods: {
...Event,
avbwthEvent(){
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
this.model.ledgrp.avb.pts.extkey = ''
this.model.ledgrp.blk.avbwthtxt = ''
}
},
avbbykeyEvent() {
if (this.model.ledgrp.rec.avbby == 'P') {
this.model.ledgrp.rec.tenmaxday = 0
......
......@@ -11,6 +11,7 @@
style="width: 100%"
placeholder="请选择指定银行"
:code="codes.avbwth"
@change="avbwthEvent"
>
</c-select>
</el-form-item>
......@@ -18,6 +19,7 @@
<c-col :span="24">
<c-ptap
v-if="model.ledgrp.rec.avbwth!='O'"
:model="model"
:argadr="{
title: '指定银行',
......@@ -386,6 +388,12 @@ export default {
},
methods: {
...Event,
avbwthEvent(){
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
this.model.ledgrp.avb.pts.extkey = ''
this.model.ledgrp.blk.avbwthtxt = ''
}
},
avbbykeyEvent() {
if (this.model.ledgrp.rec.avbby == 'P') {
this.model.ledgrp.rec.tenmaxday = 0
......
......@@ -7,10 +7,11 @@
<c-col :span="24">
<el-form-item label="Available with" prop="ledgrp.rec.avbwth">
<c-select
v-model="avbFlag"
v-model="model.ledgrp.rec.avbwth"
style="width: 100%"
placeholder="Please select Available with"
:code="codes.avbwth"
@change="avbwthEvent"
>
</c-select>
</el-form-item>
......@@ -18,6 +19,7 @@
<c-col :span="24">
<c-ptap
v-if="model.ledgrp.rec.avbwth!='O'"
:model="model"
:argadr="{
title: '',
......@@ -327,18 +329,24 @@ export default {
},
methods: {
...Event,
avbwthEvent(){
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
this.model.ledgrp.avb.pts.extkey = ''
this.model.ledgrp.blk.avbwthtxt = ''
}
},
avbbykeyEvent() {
if (this.model.ledgrp.rec.avbby == "P") {
if (this.model.ledgrp.rec.avbby == 'P') {
this.model.ledgrp.rec.tenmaxday = 0;
this.model.ledgrp.blk.defdet = "";
this.model.ledgrp.blk.defdet = '';
}
if (
this.model.ledgrp.rec.avbby == "D" ||
this.model.ledgrp.rec.avbby == "M"
this.model.ledgrp.rec.avbby == 'D'||
this.model.ledgrp.rec.avbby == 'M'
) {
this.model.ledgrp.blk.defdet = ""; //汇票期限置空
this.model.ledgrp.drw.pts.extkey = ""; //付款人置空
this.model.ledgrp.drw.pts.adrblk = ""; //名称地址置空.pts.adrblk
this.model.ledgrp.blk.defdet = ''; //汇票期限置空
this.model.ledgrp.drw.pts.extkey = ''; //付款人置空
this.model.ledgrp.drw.pts.adrblk = ''; //名称地址置空.pts.adrblk
}
this.executeCheck("ledgrp.rec.avbby").then((res) => {
if (res.respCode == SUCCESS) {
......
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