Commit d3c64c2e by wangna

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 3387c1bb 9faefb18
export default {
"betp.ledget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
{ max: 16, message: "长度不能超过16" }
],
"ledgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
......@@ -18,7 +18,8 @@ export default {
"ledgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"betp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
......
......@@ -72,32 +72,11 @@ export default class Betacc {
utlamt2: "", // 附加金额 .aamset.utlamt2
},
snadat: "", // 发送索偿电日期 .snadat
mtabut: {
coninf: {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat: "", // 执行日期 .mtabut.coninf.conexedat
usr: {
extkey: "", // User ID .mtabut.coninf.usr.extkey
},
},
},
pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
mtabut: new Pub().data.Mtabut
}
}
}
\ No newline at end of file
......@@ -12,29 +12,41 @@ let checkObj = {
"bopmod.dbagrp.bas.outchargeamt" :null,
"bopmod.dbdgrp.bas.fcyacc" :null,
"bopmod.dbagrp.bas.fcyamt" :null,
"cnybop.cnyinc.sbalancemode" :null,
"bopmod.dbdgrp.bas.buscode" :null,
"bopmod.dbdgrp.bas.inchargeamt" :null,
"bopmod.dbdgrp.bas.idcode" :null,
"cnybop.cnyinc.spayercountrycode" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"bopmod.dbdgrp.bas.custnm" :null,
"bopmod.dbagrp.bas.exrate" :null,
"setmod.dspflg" :null,
"bopmod.dbdgrp.bas.txamt" :null,
"bopmod.dbagrp.bas.txccy" :null,
"cnybop.cnyinc.frecordamt" :null,
"bedgrp.rec.frepayflg" :null,
"cnybop.cnyinc.dpayeedate" :null,
"cnybop.cnyinc.sbankorgcode" :null,
"bopmod.dbagrp.bas.custcod" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null,
"cnybop.saddword" :null,
"bopmod.dbdgrp.bas.fcyamt" :null,
"cnybop.cnyinc.sorilevyno" :null,
"cnybop.cnyinc.sbanktrano" :null,
"bopmod.dbagrp.bas.txamt" :null,
"bopmod.dbdgrp.bas.methods" :null,
"bopmod.dbdgrp.bas.exrate" :null,
"cnybop.cnyinc.iaccountperiod" :null,
"cnybop.spayeename" :null,
"bopmod.dbagrp.bas.buscode" :null,
"lendoc.account" :null,
"bopmod.dbagrp.bas.othamt" :null,
"bopmod.dbagrp.bas.actiondesc" :null,
"cnybop.cnyinc.cpayeeattr" :null,
"bopmod.dbdgrp.bas.oppuser" :null,
"bopmod.dbdgrp.bas.othamt" :null,
"cnybop.cnyinc.spayeeorgcode" :null,
"bopmod.dbdgrp.bas.custype" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"bopmod.dbagrp.bas.outchargeccy" :null,
......@@ -42,11 +54,15 @@ let checkObj = {
"bedgrp.apl.pts.nam" :null,
"bopmod.dbagrp.bas.actiontype" :null,
"liaall.limmod.ecifno" :null,
"cnybop.incscale" :null,
"bopmod.dbdgrp.bas.rptno" :null,
"cnybop.cnyinc.sswiftbic" :null,
"bopmod.szflg" :null,
"bopmod.dbdgrp.bas.actiontype" :null,
"cnybop.cnyinc.fpayeeamt" :null,
"bopmod.dbdgrp.bas.lcyamt" :null,
"cnybop.traflg" :null,
"cnybop.sbankname" :null,
"bopmod.dbagrp.bas.inchargeccy" :null,
"bopmod.dbagrp.bas.custnm" :null,
"bopmod.dbdgrp.bas.othacc" :null,
......@@ -56,6 +72,8 @@ let checkObj = {
"setmod.redamt" :null,
"aamset.utlamt2" :null,
"bopmod.dbagrp.bas.custype" :null,
"cnybop.cnyinc.ftotalamt" :null,
"cnybop.cnyinc.spayeecny" :null,
"bopmod.dbdgrp.bas.txccy" :null,
"bopmod.dbdgrp.bas.custcod" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
......@@ -66,6 +84,7 @@ let checkObj = {
"bopmod.dbagrp.bas.idcode" :null,
"bopmod.dbagrp.bas.othacc" :null,
"mtabut.coninf.conexedat" :null,
"cnybop.spayername" :null,
"bopmod.dbagrp.bas.lcyamt" :null,
"bopmod.dbagrp.bas.inchargeamt" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
......@@ -73,6 +92,7 @@ let checkObj = {
"bopmod.ownextkey" :null,
"setmod.docamt" :null,
"bopmod.acttyp" :null,
"cnybop.cnyinc.cpayeraccttyp" :null,
"bedgrp.iss.pts.nam" :null,
"bopmod.dbdgrp.bas.actiondesc" :null,
"mtabut.clsflg" :null,
......
......@@ -27,17 +27,23 @@ export default {
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custcod" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custype" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bopmod.dbagrp.bas.tmpref" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"cnybop.cnyinc.spayercountrycode" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.rptno" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bopmod.dbagrp.bas.ownextkey" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
......@@ -50,6 +56,7 @@ export default {
"bedgrp.cbs.max.amt" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.rec.docsta" :Utils.defaultFunction,
"bopmod.dbagrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.ownextkey" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"bedgrp.cbs.opn2.cur" :Utils.defaultFunction,
......
......@@ -194,6 +194,90 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBaspp1Getreftmp(){
let rtnmsg = await this.executeRule("baspp1.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBaspp1Getref(){
let rtnmsg = await this.executeRule("baspp1.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
......@@ -206,6 +290,18 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
......@@ -230,6 +326,18 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
......@@ -242,8 +350,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBaspp1Getreftmp(){
let rtnmsg = await this.executeRule("baspp1.getreftmp")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -254,8 +362,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBaspp1Getref(){
let rtnmsg = await this.executeRule("baspp1.getref")
async onIncctySelbut1(){
let rtnmsg = await this.executeRule("inccty.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -486,7 +486,118 @@ export default {
"bopmod.dbagrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"cnybop.cnyinc.spk":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"cnybop.cnyinc.sbanktrano":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cnybop.sbankname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.sbankorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cnybop.cnyinc.spayeeacct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.cnyinc.spayeeorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cnybop.spayeename":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.spayercountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.spayername":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.sswiftbic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyinc.smidtransbank":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyinc.spayeracct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.incscale":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"cnybop.cnyinc.dpayeedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnybop.cnyinc.fprepayeeamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.iaccountperiod":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.cnyinc.ftotalamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.sorilevyno":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"cnybop.cnyinc.fpayeeamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fonshoreamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fcustomsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.foffshoreamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.frecordamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fnogoodsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.saddword":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
......
......@@ -139,7 +139,7 @@ export default class Betset {
},
},
dbagrp:{
bas:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbagrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbagrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbagrp.bas.actiontype
......@@ -174,6 +174,37 @@ export default class Betset {
outflg: "", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg: "", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg: "", // 是否报送跨境人民币2122表 .cnybop.vouflg
cnyinc:{
spk:"", // 业务主键 .cnybop.cnyinc.spk
sbankorgcode:"", // 银行机构代码 .cnybop.cnyinc.sbankorgcode
spayeeorgcode:"", // 收款人机构代码 .cnybop.cnyinc.spayeeorgcode
sswiftbic:"", // 付款行SWIFT BIC .cnybop.cnyinc.sswiftbic
spayeracct:"", // 清算(结算)账户账号 .cnybop.cnyinc.spayeracct
smidtransbank:"", // 中�'转汇行 .cnybop.cnyinc.smidtransbank
dpayeedate:"", // 收款日期 .cnybop.cnyinc.dpayeedate
sbalancemode:"", // 结算方式 .cnybop.cnyinc.sbalancemode
sorilevyno:"", // 原申报号码 .cnybop.cnyinc.sorilevyno
sbanktrano:"", // 银行业务编号 .cnybop.cnyinc.sbanktrano
fpayeeamt:"", // 货物贸易收款金额 .cnybop.cnyinc.fpayeeamt
fcustomsamt:"", // 已报关收款金额 .cnybop.cnyinc.fcustomsamt
frecordamt:"", // 已备案收款金额 .cnybop.cnyinc.frecordamt
fprepayeeamt:"", // 预收款金额 .cnybop.cnyinc.fprepayeeamt
iaccountperiod:"", // 结�'�期 .cnybop.cnyinc.iaccountperiod
fonshoreamt:"", // 无货物报关进出境物流货物金额 .cnybop.cnyinc.fonshoreamt
foffshoreamt:"", // 无货物报关离岸转手买卖金额 .cnybop.cnyinc.foffshoreamt
fnogoodsamt:"", // 无货物报关其他金额 .cnybop.cnyinc.fnogoodsamt
cpayeeattr:"", // 收款人属性 .cnybop.cnyinc.cpayeeattr
cpayeraccttyp:"", // 清算(结算)帐户类型 .cnybop.cnyinc.cpayeraccttyp
spayercountrycode:"", // 付款人常驻国家(地区)代码 .cnybop.cnyinc.spayercountrycode
spayeecny:"", // 收款币种 .cnybop.cnyinc.spayeecny
spayeeacct:"", // 收款人账号 .cnybop.cnyinc.spayeeacct
ftotalamt:"", // 原币金额 .cnybop.cnyinc.ftotalamt
},
spayeename:"", // 收款人名称 .cnybop.spayeename
spayername:"", // 付款人名称 .cnybop.spayername
saddword:"", // 交易附言 .cnybop.saddword
sbankname:"", // 银行机构名称 .cnybop.sbankname
incscale:"", // INCSCALE .cnybop.incscale
},
bpdgrp: {
bas:{
......
......@@ -215,7 +215,6 @@ export default {
"cptp.pyeadr":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"cpdgrp.rec.amt71f":[
......
import Utils from "~/utils"
/**
* Cptbat Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cptbat Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"newnam" :Utils.defaultFunction,
"opetye" :Utils.defaultFunction,
"filpth" :Utils.defaultFunction,
"opefil" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onOpnfil(){
let rtnmsg = await this.executeRule("opnfil")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onUpload(){
let rtnmsg = await this.executeRule("upload")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onReadfil(){
let rtnmsg = await this.executeRule("readfil")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDel(){
let rtnmsg = await this.executeRule("del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExt(){
let rtnmsg = await this.executeRule("ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"filstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"filpth":[
{type: "string", required: false, message: "必输项"},
{max: 45,message:"长度不能超过45"}
],
"newnam":[
{type: "string", required: false, message: "必输项"},
{max: 45,message:"长度不能超过45"}
],
"opefil":[
{type: "string", required: false, message: "必输项"},
{max: 62,message:"长度不能超过62"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Cptbat{
constructor () {
this.data = {
car:"", // .car
filstm:"", // .filstm
filpth:"", // 本地文件路径 .filpth
newnam:"", // 上传文件名 .newnam
opetye:"", // 操作选择 .opetye
opefil:"", // 解析文件路径 .opefil
flg:"", // 删除首行上传 .flg
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -7,6 +7,11 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
......
......@@ -7,6 +7,11 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
......
......@@ -4,21 +4,34 @@ import Utils from "~/utils"
* Letcan Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"rmbclm.rmbrmb.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"rmbclm.acwacw.pts.extkey" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"rmbclm.acwacw.pts.adrblk" :null,
"setmod.dspflg" :null,
"letp0.recget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"sndmsg" :null,
"rmbclm.bebbeb.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"rmbclm.acwacw.namelc" :null,
"mtabut.coninf.conexedat" :null,
"rmbclm.bebbeb.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"rmbclm.rmbrmb.pts.adrblk" :null,
"letcanf.strinf" :null,
"setmod.docamt" :null,
"rmbclm.rmbrmb.adrelc" :null,
"rmbclm.bebbeb.pts.adrblk" :null,
"rmbclm.acwacw.adrelc" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
}
for (const key in checkObj) {
......
......@@ -15,6 +15,10 @@ export default {
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.adrelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.namelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
......@@ -22,6 +26,18 @@ export default {
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"rmbclm.acwacw.pts.extkey" :Utils.defaultFunction,
"rmbclm.acwacw.adrelc" :Utils.defaultFunction,
"rmbclm.acwacw.namelc" :Utils.defaultFunction,
"rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction,
"rmbclm.bebbeb.adrelc" :Utils.defaultFunction,
"rmbclm.bebbeb.namelc" :Utils.defaultFunction,
"rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
......@@ -33,5 +49,8 @@ export default {
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"ledgrp.cbs.opn1.amt" :Utils.defaultFunction,
"ledgrp.rec.expdat" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"rmbclm.rmbrol" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -84,6 +84,36 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 1750,message:"长度不能超过1750"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[
......@@ -99,13 +129,118 @@ export default {
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"rmbclm.rmbrmb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbrmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.rmbrmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"rmbclm.rmbrmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwacw.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.acwacw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"rmbclm.acwacw.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebbeb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.bebbeb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"rmbclm.bebbeb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
......@@ -149,14 +284,6 @@ export default {
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......@@ -170,8 +297,6 @@ export default {
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -221,10 +346,6 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
......
......@@ -23,6 +23,9 @@ export default class Letcan{
cnftxt:"", // Confirmation text .letp0.cnftxt
},
ledgrp:{
rmb:{
rolsetflg:"", //判断页面MT 742 Reimbursement Clain显现的条件 .ledgrp.rmb.rolsetflg
},
rec:{
ownref:"", // Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
......@@ -80,6 +83,52 @@ export default class Letcan{
// setfel:[]
// }
// },
rmbclm:{
rmbrmb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.rmbrmb.namelc
adrelc:"", // 地址 .rmbclm.rmbrmb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.rmbrmb.dbfadrblkcn
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.rmbp.ptsget.sdamod.dadsnd
},
},
},
acwacw:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.acwacw.namelc
adrelc:"", // 地址 .rmbclm.acwacw.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.acwacw.dbfadrblkcn
},
acwp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.acwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.acwp.ptsget.sdamod.dadsnd
},
},
},
bebbeb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.bebbeb.namelc
adrelc:"", // 地址 .rmbclm.bebbeb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.bebbeb.dbfadrblkcn
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.bebp.ptsget.sdamod.dadsnd
},
},
},
rmbrol:"", // 偿付行 .rmbclm.rmbrol
valdat:"", // value date .rmbclm.valdat
},
// mtabut:{
// coninf:{
// oitinf:{
......
......@@ -7,6 +7,12 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
......
......@@ -206,7 +206,7 @@ export default {
],
"ledgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"letp.avbp.ptsget.sdamod.dadsnd":[
......@@ -231,7 +231,7 @@ export default {
{max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.dbfadrblkcn":[
......@@ -258,16 +258,16 @@ export default {
],
"ledgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 105,message:"长度不能超过105"}
],
......@@ -289,7 +289,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"ledgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.drw.dbfadrblkcn":[
......@@ -494,7 +494,7 @@ export default {
],
"ledgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
......@@ -502,7 +502,7 @@ export default {
"ledgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 780,message:"长度不能超过780"}
],
......@@ -586,12 +586,12 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"ledgrp.blk.spcrcb":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
"ledgrp.blk.spcben":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
......
......@@ -486,7 +486,7 @@ export default {
],
"ledgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
......@@ -494,7 +494,7 @@ export default {
"ledgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
......@@ -646,12 +646,12 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"ledgrp.blk.spcben":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
"ledgrp.blk.spcrcb":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
......
......@@ -19,14 +19,10 @@ let checkObj = {
"btdgrp.prb.pts.extkey" :null,
"btdgrp.be1.pts.nam" :null,
"btdgrp.blk.intdis" :null,
"setmod.redamt" :null,
"bttp.prbp.ptsget.sdamod.dadsnd" :null,
"btdgrp.rec.orddatbe2" :null,
"bttp.futhndflg" :null,
"bttp.ltdget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null,
"btdgrp.rec.doctypcod" :null,
"bttp.recget.sdamod.dadsnd" :null,
"setmod.docamt" :null,
"btdgrp.cbs.max.amt" :null,
"btdgrp.be2.pts.nam" :null,
......
......@@ -7,47 +7,46 @@ import Utils from "~/utils/index"
export default {
"btdgrp.blk.docdis" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.blk.matper" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.rec.matdat" :Utils.defaultFunction,
"btdgrp.rec.doctypcod" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"btdgrp.cbs.max2.amt" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.blk.matper" :Utils.defaultFunction,
"btdgrp.rec.matdat" :Utils.defaultFunction,
"btdgrp.rec.doctypcod" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.avbby" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe2" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"btdgrp.blk.docdisflg" :Utils.defaultFunction,
"ltdgrp.rec.shpdat" :Utils.defaultFunction,
"ltdgrp.rec.expdat" :Utils.defaultFunction,
"ltdgrp.rec.utlnbr" :Utils.defaultFunction,
"btdgrp.rec.shpdat" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe2" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"ltdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"btdgrp.blk.docdisflg" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -98,30 +98,6 @@ export default {
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: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -243,22 +243,6 @@ export default {
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.redamttxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
......
......@@ -128,31 +128,17 @@ export default class Lttdck{
},
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
redamt:"", // 减少的金额 .setmod.redamt
setamt:"", // 减少后的结算金额 .setmod.setamt
redamttxt:"", // 注释 .setmod.redamttxt
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
},
mtabut:{
coninf:{
......
......@@ -693,7 +693,7 @@ export default {
],
"cnybop.cnylib.sforeigncountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{type: "string",max: 999,message:"长度不能超过3"}
],
"cnybop.cnylib.doccurdate":[
......
......@@ -2,7 +2,28 @@ export default class Trnmod {
constructor() {
this.data = {
hvpmod:{
agnamedl:"", //.hvpmod.agnamedl
agnamedl:"", //.trnmod.hvpmod.agnamedl
agencydl:"", //.trnmod.hvpmod.agencydl
feecod:"", //.trnmod.hvpmod.feecod
feesen:"", //.trnmod.hvpmod.feesen
feecom:"", //.trnmod.hvpmod.feecom
skrmc2:"", //.trnmod.hvpmod.skrmc2
skrmc3:"", //.trnmod.hvpmod.skrmc3
skrdz2:"", //.trnmod.hvpmod.skrdz2
skrdz3:"", //.trnmod.hvpmod.skrdz3
skrdz4:"", //.trnmod.hvpmod.skrdz4
skrdz5:"", //.trnmod.hvpmod.skrdz5
skrzh2:"", //.trnmod.hvpmod.skrzh2
agname2:"", //.trnmod.hvpmod.agname2
agency2:"", //.trnmod.hvpmod.agency2
fecomm:"", //.trnmod.hvpmod.fecomm
fkrmc2:"", //.trnmod.hvpmod.fkrmc2
fkrmc3:"", //.trnmod.hvpmod.fkrmc3
fkrdz2:"", //.trnmod.hvpmod.fkrdz2
fkrdz3:"", //.trnmod.hvpmod.fkrdz3
fkrdz4:"", //.trnmod.hvpmod.fkrdz4
fkrdz5:"", //.trnmod.hvpmod.fkrdz5
fkrzh2:"", //.trnmod.hvpmod.fkrzh2
},
reconebchnam:"", // 收款直接参与者名称 .trnmod.reconebchnam
reconebch:"", // 收款直接参与者行号 .trnmod.reconebch
......
import Utils from "~/utils"
/**
* Sptcpt Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Sptcpt Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"usfmod.usr.extkey" :Utils.defaultFunction,
"usfmod.flt" :Utils.defaultFunction,
"chkinc" :Utils.defaultFunction,
"usfmod.selusg" :Utils.defaultFunction,
"usfmod.selusgset" :Utils.defaultFunction,
"chkaut" :Utils.defaultFunction,
"inidatfro" :Utils.defaultFunction,
"selobj" :Utils.defaultFunction,
"chkdzt" :Utils.defaultFunction,
"incpay" :Utils.defaultFunction,
"chkpen" :Utils.defaultFunction,
"seltxt" :Utils.defaultFunction,
"sptstm" :Utils.defaultFunction,
"outpay" :Utils.defaultFunction,
"chkeco" :Utils.defaultFunction,
"chkcan" :Utils.defaultFunction,
"chkbat" :Utils.defaultFunction,
"ecpay" :Utils.defaultFunction,
"inidattil" :Utils.defaultFunction,
"chkcor" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onUsfmodShwflt(){
let rtnmsg = await this.executeRule("usfmod.shwflt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onFsds(){
let rtnmsg = await this.executeRule("fsds")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onFspt(){
let rtnmsg = await this.executeRule("fspt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onFszt(){
let rtnmsg = await this.executeRule("fszt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onReturnhx(){
let rtnmsg = await this.executeRule("returnhx")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"selobj":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"seltxt":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
"inidattil":[
{type: "date", required: false, message: "输入正确的日期"}
],
"usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"sptstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"remark":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Sptcpt{
constructor () {
this.data = {
chkinc:"", // Incoming .chkinc
chkpen:"", // Pending .chkpen
chkcor:"", // Correction .chkcor
chkaut:"", // Automatic .chkaut
selobj:"", // Reference .selobj
seltxt:"", // Selection Name .seltxt
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
sptstm:"", // List of SPT records .sptstm
chkdzt:"", // E-Trade .chkdzt
lremark:"", // 退回附言 .lremark
inidatfro:"", // Date of entry of Transaction .inidatfro
inidattil:"", // Date of entry of Transaction until .inidattil
outpay:"", // Outgoing Payment .outpay
incpay:"", // Incoming Payment .incpay
chkcan:"", // 归档 .chkcan
chkbat:"", // 批量 .chkbat
remark:"", // 退回附言 .remark
ecpay:"", // 三方收汇 .ecpay
chkeco:"", // 三方付汇 .chkeco
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -41,5 +41,18 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
this.model.usfmod.flt = ""
this.model.atp.cod = ""
this.model.atptxt = ""
this.model.usfmod.selusg = ""
this.model.usfmod.usr.extkey = ""
this.model.sta = ""
this.model.selobj = ""
this.model.seltxt = ""
this.model.usr.extkey = ""
this.model.inidatfro = ""
this.model.inidattil = ""
}
}
\ No newline at end of file
......@@ -227,7 +227,7 @@
</el-form-item>
</c-col>
<c-col :span="24" class="bctdav_bctp_bctovw_cheak">
<c-checkbox v-model="model.bcdgrp.rec.focflg" @change="frepayflgDefault"
<c-checkbox v-model="focflg" @change="focflgDefault"
>Free of Payment</c-checkbox
>
</c-col>
......@@ -254,7 +254,7 @@
</c-col>
<c-col :span="12" class="bctdav_bctp_bctovw_cheak">
<c-checkbox :disabled="model.bcdgrp.rec.focflg=='X'" v-model="model.trtcre.crefinflg"
<c-checkbox :disabled="model.bcdgrp.rec.focflg=='X'" v-model="crefinflg"
@change="crefinflgChange"
>Create Financing</c-checkbox
>
......@@ -265,7 +265,7 @@
</c-col>
<c-col :span="24" class="bctdav_bctp_bctovw_cheak">
<c-checkbox true-label="C" v-model="model.mtabut.clsflg" @change="clsflgOtherDefault"
<c-checkbox true-label="C" v-model="clsflg" @change="clsflgOtherDefault"
>Close Contract</c-checkbox
>
</c-col>
......@@ -423,7 +423,7 @@ export default {
crefinflg: {
get() {
if (this.model.bddgrp.rec.frepayflg == 'X') {
if (this.model.bcdgrp.rec.focflg == 'X') {
return false;
}else{
return this.model.trtcre.crefinflg != ''
......@@ -438,7 +438,7 @@ export default {
}
},
clsflg: {
clsflg: {
get() {
return this.model.mtabut.clsflg=='C';
},
......@@ -446,41 +446,50 @@ export default {
this.model.mtabut.clsflg = val ? "C" : "O"
}
},
frepayflg: {
focflg: {
get() {
return this.model.bddgrp.rec.frepayflg != ''
return this.model.bcdgrp.rec.focflg != ''
},
set(val) {
if (this.model.bddgrp.rec.frepayflg == 'X' ) {
if (this.model.bcdgrp.rec.focflg == 'X' ) {
this.model.trtcre.crefinflg = ''
this.model.trnmod.cmtflg="O"
this.model.trnmod.cmtflg='O'
}else{
this.model.trnmod.cmtflg=''
}
this.model.bddgrp.rec.frepayflg = val ? "X" : ""
}
},
dfflag: {
get() {
return this.model.dftcre.dfflag != ''
},
set(val) {
this.model.dftcre.dfflag = val ? "X" : ""
this.model.bcdgrp.rec.focflg = val ? "X" : ""
}
},
// dfflag: {
// get() {
// return this.model.dftcre.dfflag != ''
// },
// set(val) {
// this.model.dftcre.dfflag = val ? "X" : ""
// }
// },
},
methods: {
...Event,
frepayflgDefault(){
focflgDefault(){
this.executeDefault("trnmod.cmtflg").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
async crefinflgChange() {
let rtnmsg = await this.executeRule("trtcre.crefinflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
// async crefinflgChange() {
// let rtnmsg = await this.executeRule("trtcre.crefinflg");
// if (rtnmsg.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// }
// },
crefinflgChange(){
this.executeRule("trtcre.crefinflg").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
clsflgOtherDefault(){
this.executeDefault("mtabut.clsflg").then((res) => {
......@@ -526,28 +535,35 @@ export default {
},
watch: {
// "model.bcdgrp.rec.focflg": {
// immediate:true,
// handler(val,oldval){
// if(this.model.mtabut.clsflg=="C") {
// if(this.model.bcdgrp.rec.focflg==""){
// this.model.bcdgrp.rec.docsta="C"
// }else if(this.model.bcdgrp.rec.focflg=="X"){
// this.model.bcdgrp.rec.docsta="E"
// }
// }
// if(this.model.mtabut.clsflg==""){
// if(this.model.bcdgrp.rec.focflg=="X"){
// this.model.bcdgrp.rec.docsta="D"
// } else if(this.model.bcdgrp.rec.focflg==""){
// if(this.model.bcdgrp.rec.doctypcod=="A"||this.model.bcdgrp.rec.doctypcod=="D"||this.model.bcdgrp.rec.doctypcod=="M"){
// this.model.bcdgrp.rec.docsta="C"
// }
// }
// }
// }
// },
// "focflg":{
// immediate: true,
// handler(val, oldVal) {
// if(this.model.focflg=="X"){
// this.model.trnmod.cmtflg="O"
// }
// }
// },
"bcdgrp.rec.doctypcod":{
immediate: true,
handler(val, oldVal) {
if(this.bcdgrp.rec.predat!=''){
this.model.bcdgrp.rec.docsta="A"
}else if(this.bcdgrp.rec.opndat!=''){
this.model.bcdgrp.rec.docsta="B"
}
else if(this.model.bcdgrp.rec.doctypcod=="A"||this.model.bcdgrp.rec.doctypcod=="D"||this.model.bcdgrp.rec.doctypcod=="M"){
this.model.bcdgrp.rec.docsta="C"
}
}
},
"model.trnmod.cmtflg":{
immediate: true,
handler(val, oldVal) {
if(this.model.trnmod.cmtflg=="P"){
this.model.trnmod.swftyp="CIV"
}
}
},
"model.bctp.ischktyp": {
immediate: true,
......
......@@ -431,9 +431,7 @@
v-model="model.dftcre.dfdgrp.dff.pts.ref"
maxlength="16"
placeholder="请输入代付行"
@keyup.enter.native="
showGridPromptDialog('dftcre.dfdgrp.dff.pts.ref')
"
>
></c-input>
</el-form-item>
......@@ -449,6 +447,9 @@
v-model="model.dftcre.dfdgrp.dff.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('dftcre.dfdgrp.dff.pts.extkey')
"
></c-input>
</el-form-item>
</c-col>
......@@ -460,7 +461,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="名称" prop="dftcre.dfdgrp.dff.namelc">
<el-form-item label="名称" prop="dftcre.dfdgrp.dff.namelc" v-show="false">
<c-input
type="textarea"
v-model="model.dftcre.dfdgrp.dff.namelc"
......@@ -477,12 +478,13 @@
<el-form-item
label="地址"
prop="dftcre.dfdgrp.dff.adrelc"
v-show="false"
>
<c-input
type="textarea"
v-model="model.dftcre.dfdgrp.dff.adrelc"
v-model="model.dftcre.dfdgrp.dff.pts.adrblk"
maxlength="35"
:rows="5"
show-word-limit
placeholder="请输入地址"
></c-input>
......
......@@ -272,7 +272,8 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -206,7 +206,7 @@
style="width: 100%"
placeholder="Please select Document Status"
disabled
:code="codes.docsta1"
:code="codes.docsta"
>
</c-select>
</el-form-item>
......
......@@ -8,7 +8,6 @@
v-model="model.cnybop.cnyflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2101表"
disabled
>
<el-option
v-for="item in codes.cnyflg"
......
<template>
<div class="eibs-tab">
<!--===============左 =================== -->
<el-col :span="11">
<c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnylic.spk">
<c-input
disabled
v-model="model.cnybop.cnyinc.spk"
maxlength="20"
placeholder="请输入业务主键"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构代码" prop="cnybop.cnyinc.sbankorgcode">
<c-input
disabled
v-model="model.cnybop.cnyinc.sbankorgcode"
maxlength="12"
placeholder="请输入银行机构代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务属性" prop="cnybop.cnyinc.stransattr">
<c-select
v-model="model.cnybop.cnyinc.stransattr"
style="width: 100%"
placeholder="请选择业务属性"
:code="codes.stransattr"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="境外对手行代码"
prop="cnybop.cnyinc.sforbankswiftbic"
>
<c-input
v-model="model.cnybop.cnyinc.sforbankswiftbic"
maxlength="11"
placeholder="请输入境外对手行代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境内企业机构代码" prop="cnybop.cnyinc.sorgcode">
<c-input
v-model="model.cnybop.cnyinc.sorgcode"
maxlength="18"
placeholder="请输入境内企业机构代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="境外企业国别地区代码"
prop="cnybop.cnyinc.sforeigncountrycode"
>
<c-fullbox>
<c-input
v-model="model.cnybop.cnyinc.sforeigncountrycode"
maxlength="3"
placeholder="请输入境外企业国别地区代码"
@keyup.enter.native="eventFunction('cnybop.cnyinc.sforeigncountrycode')"
></c-input>
<template slot="footer">
<!-- @click="showGridPromptDialog('cnybop.libcty.selbut1',null,null,{TXT:'cnybop.cnyinc.sforeigncountrycode'},{TXT:false},'doxpDialog')" -->
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('cnybop.libcty.selbut1', null, null,{TXT:
'cnybop.cnyinc.sforeigncountrycode'}, {TXT: false},'doxpDialog')"
>
?
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务到期日" prop="cnybop.cnyinc.denddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnyinc.denddate"
style="width: 100%"
placeholder="请选择业务到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="币种" prop="cnybop.cnyinc.currencycode">
<c-select
v-model="model.cnybop.cnyinc.currencycode"
style="width: 100%"
placeholder="请选择币种"
:code="codes.currencycode"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限条件" prop="cnybop.cnyinc.stermtype">
<c-select
v-model="model.cnybop.cnyinc.stermtype"
style="width: 100%"
placeholder="请选择期限条件"
:code="codes.stermtype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑日期" prop="cnybop.cnyinc.dexchangedate">
<c-date-picker
type="date"
v-model="model.cnybop.cnyinc.dexchangedate"
style="width: 100%"
placeholder="请选择承兑日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑到期日" prop="cnybop.cnyinc.dexchangeenddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnyinc.dexchangeenddate"
style="width: 100%"
placeholder="请选择承兑到期日"
></c-date-picker>
</el-form-item>
</c-col>
</el-col>
<!-- ===============右 ===========================-->
<el-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="银行业务编号" prop="cnybop.cnyinc.sbanktrano">
<c-input
disabled
v-model="model.cnybop.cnyinc.sbanktrano"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构名称" prop="cnybop.sbankname">
<c-input
disabled
v-model="model.cnybop.sbankname"
maxlength="80"
placeholder="请输入银行机构名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务类型" prop="cnybop.cnyinc.stranstype">
<c-select
v-model="model.cnybop.cnyinc.stranstype"
style="width: 100%"
placeholder="请选择业务类型"
:code="codes.stranstype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境内企业名称" prop="cnybop.sorgname">
<c-input
v-model="model.cnybop.sorgname"
maxlength="80"
placeholder="请输入境内企业名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境外企业名称" prop="cnybop.sforeignorgname">
<c-input
v-model="model.cnybop.sforeignorgname"
maxlength="80"
placeholder="请输入境外企业名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务发生日期" prop="cnybop.cnyinc.doccurdate">
<c-date-picker
type="date"
v-model="model.cnybop.cnyinc.doccurdate"
style="width: 100%"
placeholder="请选择业务发生日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证到期日" prop="cnybop.cnyinc.dcreditenddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnyinc.dcreditenddate"
style="width: 100%"
placeholder="请选择信用证到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="金额" prop="cnybop.cnyinc.famt">
<c-input
v-model="model.cnybop.cnyinc.famt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑金额" prop="cnybop.fexchangeamt">
<c-input
v-model="model.cnybop.fexchangeamt"
maxlength="20"
placeholder="请输入承兑金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易附言" prop="cnybop.saddwordlib">
<c-input
v-model="model.cnybop.saddwordlib"
maxlength="80"
placeholder="请输入交易附言"
></c-input>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -397,11 +397,11 @@
</c-col>
<c-col :span="24">
<el-form-item label="福费转卖类型" prop="bpdgrp.rec.ffttyp">
<el-form-item label="福费转卖类型" prop="bpdgrp.rec.ffttyp">
<c-input
v-model="model.bpdgrp.rec.ffttyp"
maxlength="40"
placeholder="请输入福费转卖类型"
placeholder="请输入福费转卖类型"
disabled
>
<el-option
......
......@@ -42,7 +42,7 @@
:disabled="!(this.model.bopmod.szflg == '1')"
>
<el-option
v-for="item in codes.acttyp0"
v-for="item in codes.acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -59,7 +59,7 @@
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey1"
:disabled="this.model.bopmod.szflg == '3'"
:disabled="!(this.model.bopmod.szflg == '1'||this.model.bopmod.szflg == '2')"
>
</c-select>
</el-form-item>
......@@ -76,6 +76,7 @@
placeholder="请选择国外银行扣费(涉外收入申报专用)"
disabled
style="width: 100%"
>
<el-option
v-for="item in codes.curtxt1"
......@@ -91,6 +92,7 @@
<el-form-item label="" label-width="5px" prop="bopmod.outchargeamt">
<c-input
v-model="model.bopmod.outchargeamt"
class="m-input-currency"
placeholder="请输入国外银行扣费(涉外收入申报专用)"
:disabled="
!(
......
......@@ -81,6 +81,11 @@
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--cnybop PD000001 2101跨境收入信息 -->
<el-tab-pane label="2101跨境收入信息" name="incp" v-if="model.cnybop.cnyflg=='1'">
<m-incp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
......@@ -106,6 +111,7 @@ import Wg from "./Wg"
import Cnyp from "./Cnyp"
import Basp from "./Basp"
import Basp1 from "./Basp1"
import Incp from "./Incp"
import Glepan from "~/views/Public/Glepan";
import Doctre from "~/views/Public/Doctre"
import Engp from "~/views/Public/Engp";
......@@ -131,6 +137,7 @@ export default {
"m-cnyp" : Cnyp,
"m-basp" : Basp,
"m-basp1" : Basp1,
"m-incp" : Incp,
},
provide() {
return {
......
......@@ -196,6 +196,8 @@ import Cnysel from "./Cnysel"
import Cptrel from "./Cptrel"
import Cptcan from "./Cptcan"
import Cptrep from "./Cptrep"
import Cptbat from "./Cptbat"
import Sptcpt from "./Sptcpt"
import Getcan from "./Getcan"
import Gitcan from "./Gitcan"
......@@ -422,6 +424,8 @@ const BusRouter = [
{ path: 'Cptrel', component: Cptrel, name: 'Cptrel', meta: { title: '汇款复核与查询' } },
{ path: 'Cptcan', component: Cptcan, name: 'Cptcan', meta: { title: '汇款注销' } },
{ path: 'Cptrep', component: Cptrep, name: 'Cptrep', meta: { title: '挂账解付' } },
{ path: 'Cptbat', component: Cptbat, name: 'Cptbat', meta: { title: '批量汇款' } },
{ path: 'Sptcpt', component: Sptcpt, name: 'Sptcpt', meta: { title: '批量汇款' } },
// { path: 'trtrcl', component: Trtrcl, name: 'Trtrcl', meta: { title: '进口融资索汇' }},
{ path: 'trtset', component: Trtset, name: 'Trtset', meta: { title: '进口融资还款' } },
......
<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 label="明细业务总笔数" prop="trnmod.cipmod.mxywbs">
<c-input v-model="model.trnmod.cipmod.mxywbs" 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 label="发起直接参与者行号" prop="trnmod.cipmod.fqzyhh">
<c-input v-model="model.trnmod.cipmod.fqzyhh" maxlength="35" 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>
<c-col :span="12">
<el-form-item label="明细业务总金额" prop="trnmod.cipmod.mxywje">
<c-input v-model="model.trnmod.cipmod.mxywje" placeholder="请输入明细业务总金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="接收直接参与者行号" prop="trnmod.cipmod.jszyhh">
<c-input v-model="model.trnmod.cipmod.jszyhh" maxlength="35" placeholder="请输入接收直接参与者行号"></c-input>
</el-form-item>
</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 label="明细业务标识号" prop="trnmod.cipmod.mxywsh">
<c-input v-model="model.trnmod.cipmod.mxywsh" maxlength="35" placeholder="请输入明细业务标识号"></c-input>
</el-form-item>
</c-col>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdck/Event"
import Event from "~/model/Infcld/Event"
export default {
inject: ['root'],
......
......@@ -74,14 +74,6 @@
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--
<el-tab-pane label="境内汇款申请书-基础信息" name="dbe" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg" >
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane label="境外汇款申请书-基础信息" name="dbb" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg" >
<m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane>
-->
<el-tab-pane label="境外汇款申请书-基础信息" name="basp3" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='1'">
<m-basp3 :model="model" :codes="codes"/>
......@@ -92,6 +84,45 @@
</el-tab-pane>
<el-tab-pane label="跨境支付" name="secpan" v-if="model.cpdgrp.rec.swftyp=='HVP'||
model.cpdgrp.rec.swftyp=='HVQ'||
model.cpdgrp.rec.swftyp=='HVR'||
model.cpdgrp.rec.swftyp=='BEP'||
model.cpdgrp.rec.swftyp=='BEQ'||
model.cpdgrp.rec.swftyp=='BES'
">
<c-content>
<m-secpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="CIPS" name="cips" v-if="model.cpdgrp.rec.swftyp=='CIU' ||
model.cpdgrp.rec.swftyp=='CIV' ||
model.cpdgrp.rec.swftyp=='CIW' ">
<c-content>
<m-cips :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="CIPS2.0" name="cips2" v-if="model.cpdgrp.rec.swftyp=='CIU' ||
model.cpdgrp.rec.swftyp=='CIV' ||
model.cpdgrp.rec.swftyp=='CIW' ">
<c-content>
<m-cips2 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="CIPS2.0" name="cips3" v-if="model.cpdgrp.rec.swftyp=='CIU' ||
model.cpdgrp.rec.swftyp=='CIV' ||
model.cpdgrp.rec.swftyp=='CIW' ">
<c-content>
<m-cips3 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -125,9 +156,6 @@ import Docpan2 from "./Docpan2";
import Pattern from "~/model/Cptadv/Pattern";
import Default from "~/model/Cptadv/Default";
import Check from "~/model/Cptadv/Check";
// import Setpan from "./Setpan";
// import Coninfp from "./Coninfp";
// import Docpan from "./Docpan";
import Sbxx from "./Sbxx";
import Incp from "./Incp";
import Basp from "./Basp"
......@@ -140,6 +168,11 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Ptap from "~/views/Public/Ptap";
import Secpan from "./Secpan"
import Cips from "./Cips"
import Cips2 from "./Cips2"
import Cips3 from "./Cips3"
export default {
name: "Cptadv",
components: {
......@@ -155,6 +188,10 @@ export default {
"m-incp": Incp,
"m-basp": Basp,
"m-basp3": Basp3,
"m-secpan" : Secpan,
"m-cips": Cips,
"m-cips2": Cips2,
"m-cips3": Cips3,
},
provide() {
return {
......
<template>
<div class="eibs-tab">
<c-col :span="9">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
>
</c-istream-table>
</c-col>
<c-col :span="9" :offset="1">
<c-col :span="24">
<el-form-item label="操作选择" prop="opetye">
<c-select v-model="model.opetye" style="width: 100%">
<el-option
v-for="item in opetye"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="本地文件路径" prop="flpth">
<c-input v-model="model.flpth" style="width:100%" placeholder="请输入本地文件路径" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="上传文件名" prop="newnam">
<c-input v-model="model.newnam" style="width:100%" :disabled="model.opetye !== '1'"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注意:上传文件若包含表头系统将无法解析</span>
</c-col>
<c-col :span="24">
<el-form-item label="删除首行上传">
<c-checkbox v-model="model.flg" :disabled="model.opetye !== '1'"></c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="解析文件名" prop="opefil">
<c-input v-model="model.opefil" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="4" :offset="1">
<c-col :span="24">
<c-button type="primary" disabled>文件预览</c-button>
</c-col>
<c-col><br/></c-col>
<c-col :span="24">
<c-button type="primary" :disabled="model.newnam === ''">文件上传</c-button>
</c-col>
<c-col><br/></c-col>
<c-col :span="24">
<c-button type="primary" disabled>文件解析</c-button>
</c-col>
<c-col><br/></c-col>
<c-col :span="24">
<c-button type="primary" disabled>文件删除</c-button>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-form-item label="" prop="filstm">
<c-input v-model="model.filstm" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
S0000020 : 操作选择
<c-col :span="12">
<el-form-item :label="$t('cptbat.S0000020')" prop="opetye">
<c-select v-model="model.opetye" style="width:100%" :placeholder="$t('other.please_enter')+$t('cptbat.S0000020')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOpnfil">
{{$t('cptbat.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUpload">
{{$t('cptbat.C0000022')}}
</c-button>
</c-col>
S0000023 : 文件解析
<c-col :span="12">
<c-button size="small" type="primary" @click="onReadfil">
{{$t('cptbat.C0000024')}}
</c-button>
</c-col>
S0000005 : 本地文件路径
<c-col :span="12">
<c-form-item :label="$t('cptbat.S0000005')" prop="filpth">
<c-input v-model="model.filpth" maxlength="45" :placeholder="$t('other.please_enter')+$t('cptbat.S0000005')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onDel">
{{$t('cptbat.C0000027')}}
</c-button>
</c-col>
S0000006 : 上传文件名
<c-col :span="12">
<c-form-item :label="$t('cptbat.S0000006')" prop="newnam">
<c-input v-model="model.newnam" maxlength="45" :placeholder="$t('other.please_enter')+$t('cptbat.S0000006')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.car" data-path=".car" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.flg">{{$t('cptbat.C0000026')}}</c-checkbox>
</c-col>
S0000021 : 解析文件名
<c-col :span="12">
<c-form-item label="解析文件路径" prop="opefil">
<c-input v-model="model.opefil" maxlength="62" :placeholder="$t('other.please_enter')+'解析文件路径'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onExt">
{{$t('cptbat.C0000014')}}
</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/Cptbat/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
opetye:[
{label:"文件上传",value:"1"},
{label:"文件解析",value:"2"},
{label:"已解析文件",value:"3"},
],
stmData: {
columns: [
'0 1 "批量文件列表" 500'
// '0 1 "业务编号" 110',
// '1 2 "币种" 110',
// '2 3 "金额" 120 2 8:1 2 5',
// '3 4 "收款人名称" 250',
// '4 5 "付款人名称" 250',
// '5 6 "业务发生日期" 150 20 30 1',
// { index: 6, position: 7, width: 100, pattern: "code", label: "复核状态" ,"code":"relsta"},
],
data: [],
},
}
},
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">
<!--cptbat PD000001 主界面 -->
<el-tab-pane label="主界面" name="fpanel">
<m-fpanel :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 Cptbat from "~/model/Cptbat"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Cptbat/Check"
import Default from "~/model/Cptbat/Default"
import Pattern from "~/model/Cptbat/Pattern"
import Fpanel from "./Fpanel"
export default {
name: "Cptbat",
components:{
"m-fpanel" : Fpanel,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "fpanel",
trnName: "cptbat",
trnType: "",
model: new Cptbat().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cptbat交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -8,7 +8,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litsel from "~/model/Ditsel"
import Litsel from "~/model/Litsel"
import commonProcess from "~/mixin/commonProcess"
......@@ -20,8 +20,8 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'ditsel',
model:new Litsel().data,
trnName:'litsel',
model:new Litsel().data,
navcode:[
// {code:"",label:"",isDis:"",title:""},
],
......
......@@ -476,7 +476,7 @@
ref="childs"
:ownref="ownref"
trnCode="letsel"
ownrefPath="ledgrp"
ownrefPath="ltdgrp"
tabIndex="9"
:model="letselModel"
@onChoose="onChoose"
......@@ -662,7 +662,7 @@ export default {
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
async getLetSelInfo(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
......@@ -684,11 +684,11 @@ export default {
this.$refs[refId].doClose();
},
toLetnot() {
this.$router.history.push("/business/letnot");
},
toLetopn() {
this.$router.history.push("/business/letopn");
// toLttnot() {
// this.$router.history.push("/business/lttnot");
// },
toLttopn() {
this.$router.history.push("/business/lttopn");
},
// handleReset: function () {
......
<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>
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<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-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<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-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<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-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<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-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<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-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<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-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdck/Event"
import Event from "~/model/Letcan/Event"
export default {
inject: ['root'],
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
<c-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" :placeholder="$t('other.please_enter')+'Booking stream to Display'"></c-input>
</c-form-item>
</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/Lttdck/Event"
import Event from "~/model/Letcan/Event"
export default {
inject: ['root'],
......
......@@ -66,6 +66,14 @@
</c-content>
</el-tab-pane>
<!--letcan PD000023 MT 742 Reimbursement Claim -->
<el-tab-pane label="MT 742 Reimbursement Claim" name="rcldetp"
v-if="model.ledgrp.rmb.rolsetflg=='Y'">
<c-content>
<m-rcldetp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 Completion附言-->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
......@@ -133,6 +141,7 @@ import Canp from './Canp'
import Engp from "~/views/Public/Engp";
import Setpan from '~/views/Public/Setpan';
import Glepan from "~/views/Public/Glepan";
import Rcldetp from "./Rcldetp";
import Coninfp from '~/views/Public/Coninfp'
import Docpan from '~/views/Public/Docpan'
import Doctre from '~/views/Public/Doctre'
......@@ -145,6 +154,7 @@ export default {
'm-engp': Engp,
'm-setpan': Setpan,
'm-glepan': Glepan,
'm-rcldetp':Rcldetp,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
......
......@@ -27,13 +27,15 @@
</c-col>
<c-col :span="24" class="letnot_adcp_cheak">
<c-checkbox v-model="model.ledgrp.rec.spcbenflg">
<c-checkbox v-model="model.ledgrp.rec.spcbenflg"
:disabled="model.ledgrp.blk.spcben!=''">
受益人特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="24" class="letnot_adcp_cheak">
<c-checkbox v-model="model.ledgrp.rec.spcrcbflg">
<c-checkbox v-model="model.ledgrp.rec.spcrcbflg"
:disabled="model.ledgrp.blk.spcrcb!=''">
收款银行特殊付款条款</c-checkbox
>
</c-col>
......
......@@ -11,7 +11,6 @@
style="width: 100%"
placeholder="请选择指定银行"
:code="codes.avbwth"
@change="avbwthEvent"
>
</c-select>
</el-form-item>
......@@ -37,7 +36,25 @@
<!-- 名称地址 -->
<c-col :span="24">
<el-form-item label="" prop="ledgrp.blk.avbwthtxt">
<el-form-item
label=""
prop="ledgrp.avb.pts.adrblk"
v-if="model.ledgrp.rec.avbwth != 'O'"
>
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入Address Block"
:disabled="model.ledgrp.rec.avbwth!=''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.blk.avbwthtxt"
v-if="model.ledgrp.rec.avbwth == 'O'">
<c-input
type="textarea"
:rows="3"
......@@ -45,21 +62,9 @@
maxlength="140"
show-word-limit
placeholder="请输入名称地址"
:disabled="model.ledgrp.rec.avbwth!='O'"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.avb.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col> -->
<!-- 信用证兑付方式 Available by-->
<c-col :span="24">
......@@ -69,7 +74,6 @@
style="width: 100%"
placeholder="请选择兑付方式"
:code="codes.avbby0"
@change="avbbykeyEvent"
>
</c-select>
</el-form-item>
......@@ -131,6 +135,7 @@
:onlySearch="false"
@onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
:disabledExtkey="blkDftatFlag"
:disabled="blkDftatFlag"
>
</c-ptap>
......@@ -392,30 +397,30 @@ 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
this.model.ledgrp.blk.defdet = ''
}
if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
// 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
// this.model.ledgrp.blk.defdet = ''
// }
// if (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) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
// }
// this.executeCheck('ledgrp.rec.avbby').then((res) => {
// if (res.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, res.data)
// }
// })
// },
},
created: function () {},
computed: {
......@@ -423,7 +428,8 @@ export default {
get() {
return (
this.model.ledgrp.rec.avbwth == 'A' ||
this.model.ledgrp.rec.avbwth == 'S'
this.model.ledgrp.rec.avbwth == 'S' ||
this.model.ledgrp.rec.avbwth == ''
)
},
},
......
......@@ -43,7 +43,7 @@
style="width: 100%"
placeholder="第二通知行确认指令"
:code="codes.cnfflg1"
disabled
:disabled="model.ledgrp.a2b.pts.extkey==''"
>
</c-select>
</el-form-item>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButapy">
确定
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="减少的金额" prop="setmod.redamt">
<c-input v-model="model.setmod.redamt" placeholder="请输入减少的金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="减少后的结算金额" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" placeholder="请输入减少后的结算金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="注释" prop="setmod.redamttxt">
<c-input type="textarea" v-model="model.setmod.redamttxt" maxlength="35" show-word-limit placeholder="请输入注释" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
取消
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<div style="height: 300px; width: 100%; border: 1px #ebeef5 solid">
<el-tree
:data="data"
:props="defaultProps"
@node-click="handleNodeClick"
></el-tree>
</div>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-col :span="4">
<el-form-item
label="关联单据"
v-show="isShow1 || isShow2"
></el-form-item>
<el-form-item
label=""
v-show="!(isShow1 || isShow2)"
></el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="">
<c-checkbox v-model="isShow1">显示收到的信息</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="8" :offset="2">
<el-form-item label="">
<c-checkbox v-model="isShow2">显示以前发出的信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="22" :offset="1">
<c-table
:border="true"
:list="data1"
style="width:80%,text-align:center"
v-show="isShow1 || isShow2"
>
<el-table-column label="类型" width="auto"></el-table-column>
<el-table-column label="单据" width="auto"></el-table-column>
<el-table-column label="Cre.TRN" width="auto"></el-table-column>
<el-table-column label="日期" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
</c-table>
</c-col>
</c-col>
<c-col :span="6" :offset="1">
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButshw"
style="width: 100px"
>
Show
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButadd"
style="width: 100px"
>
Details
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButnew"
style="width: 100px"
>
Add New
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButattto"
style="width: 100px"
>
Attach to
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
icon="el-icon-delete"
@click="onTrndocButdel"
style="width: 100px"
>
Delete
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButatt"
style="width: 100px"
>
Attach
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onSeainf"
style="width: 100px"
>
i
</c-button>
</c-col>
</c-col>
</c-col>
<!--c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input
v-model="model.trnmod.trndoc.doctrestm"
placeholder="请输入Document tree"
></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="3">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwinc"
>Show Incoming Messages</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwout"
>Show Outgoing Messages</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwoutint">
Outgoing
</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input
v-model="model.trnmod.trndoc.condocstm"
placeholder="请输入Connected Documents"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input
v-model="model.trnmod.trndoc.rcvatt.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col-->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttdck/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
data1: [],
isShow1: false,
isShow2: false,
data: [
{
label: "Internal",
children: [{ label: "'Free Message' via Letter" }],
},
],
};
},
methods: { ...Event },
handleNodeClick() {},
defaultProps() {},
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/Lttdck/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="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000049 -->
<el-tab-pane label="Documents Received" name="utlp1">
<m-utlp1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000296 -->
<el-tab-pane label="Discr./Instr" name="dscinsp">
<m-dscinsp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Engagement" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000020 -->
<el-tab-pane label="Settlement Details" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Message" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--lttdck PD000049 Documents Received -->
<el-tab-pane label="Documents Received" name="utlp1">
<c-content>
<m-utlp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--bttp PD000296 Discr./Instr. -->
<el-tab-pane label="Discr./Instr." name="dscinsp">
<m-dscinsp :model="model" :codes="codes" />
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Lttdck from "~/model/Lttdck"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Lttdck/Check"
import Default from "~/model/Lttdck/Default"
import Pattern from "~/model/Lttdck/Pattern"
import Utlp1 from "./Utlp1"
import Dscinsp from "./Dscinsp"
import Engp from "~/views/Public/Engp"
import Detp from "./Detp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Lttdck from "~/model/Lttdck";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Lttdck/Check";
import Default from "~/model/Lttdck/Default";
import Pattern from "~/model/Lttdck/Pattern";
import Utlp1 from "./Utlp1";
import Dscinsp from "./Dscinsp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default {
components:{
"m-utlp1" : Utlp1,
"m-dscinsp" : Dscinsp,
"m-engp" : Engp,
"m-detp" : Detp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "utlp1",
trnName: "lttdck",
model: new Lttdck().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
name: "Lttdck",
components: {
"m-utlp1": Utlp1,
"m-dscinsp": Dscinsp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "utlp1",
trnName: "lttdck",
trnType: "",
model: new Lttdck().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入lttdck交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入lttdck交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -61,7 +61,7 @@
<c-col :span="24">
<el-form-item
label="境外企业国别地区代码"
label="境外企业国别地区代码"
prop="cnybop.cnylib.sforeigncountrycode"
>
<c-fullbox>
......@@ -77,7 +77,7 @@
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('cnybop.libcty.selbut1', null, null,{TXT:
@click="showGridPromptDialog('cnybop.libcty.selbut1', null, null,{COD:
'cnybop.cnylib.sforeigncountrycode'}, {TXT: false},'doxpDialog')"
>
?
......@@ -103,7 +103,7 @@
v-model="model.cnybop.cnylib.currencycode"
style="width: 100%"
placeholder="请选择币种"
:code="codes.currencycode"
:code="codes.gitopn_cur"
>
</c-select>
</el-form-item>
......
<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">
<!--sptcpt PD000042 Menu -->
<el-tab-pane label="Menu" name="menu">
<m-menu :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 Sptcpt from "~/model/Sptcpt"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Sptcpt/Check"
import Default from "~/model/Sptcpt/Default"
import Pattern from "~/model/Sptcpt/Pattern"
import Menu from "./Menu"
export default {
name: "Sptcpt",
components:{
"m-menu" : Menu,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "menu",
trnName: "sptcpt",
trnType: "",
model: new Sptcpt().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入sptcpt交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<el-dialog
:visible.sync="initdialog"
:title="'交易列表'"
append-to-body
:before-close="beforeClose"
@opened="opened"
>
<div class="m-list-btns">
<div class="busnavbar">
<div class="busnavbar-items">
<c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
@click.native="onRelease()"
title="Release">
Release
</c-button>
<c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
@click.native="onRepair()"
title="Repair">
Repair
</c-button>
<c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
@click.native="onReject()"
title="Reject">
Reject
</c-button>
</div>
</div>
</div>
</el-dialog>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import _ from "~/utils/Lodash"
export default {
props: {
ownref: {
required: true,
},
},
components: {},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
initdialog: false,
};
},
methods: {
//各入口按钮请求
async onRelease(){
console.log("onRelease:"+this.ownref)
let rtnmsg = await this.executeRule(`sptrel.relrow`);
},
async onRepair(){
},
async onReject(){
},
async onNarBtnClick(code, i) {
this.model.cfgfil[`subtrn${i}`] = code;
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
getIndex(module) {
for (let i = 1; i <= 12; i++) {
var temp = this.model.cfgfil[`subtxt${i}`];
if (module == temp) {
return i;
}
}
return 1;
},
opened() {
},
beforeClose() {
this.navcode = [];
this.initdialog = false;
},
},
};
</script>
<style>
</style>
......@@ -114,6 +114,24 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Status" prop="sta">
<c-select
v-model="model.sta"
style="width: 100%"
placeholder="请选择Status"
>
<el-option
v-for="item in this.sta"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ============右========= -->
......@@ -129,7 +147,6 @@
</c-col>
<c-col :span="24">
<c-col :span="11" >
<el-form-item label="Name" prop="seltxt">
<c-input
v-model="model.seltxt"
......@@ -138,8 +155,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="12" :offset="1">
<c-col :span="24">
<el-form-item label="Entered by" label-width="20%" prop="usr.extkey">
<c-input
v-model="model.usr.extkey"
......@@ -150,8 +166,6 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Between" prop="inidatfro">
......@@ -176,22 +190,7 @@
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Status" prop="sta">
<c-select
v-model="model.sta"
style="width: 100%"
placeholder="请选择Status"
>
<el-option
v-for="item in codes.sta"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -380,7 +379,7 @@
placeholder="请选择Status"
>
<el-option
v-for="item in codes.sta"
v-for="item in this.sta"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -446,21 +445,28 @@
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="alert(111)"
>
detail
</c-button>
<template slot-scope="scope">
<c-button
style="margin-left: -7"
size="small"
type="primary"
@click="alert(scope.row['Reference'])"
>
详情
</c-button>
<c-button
style="margin-left: 10"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" >11</m-busbtn>
</div>
</template>
<script>
......@@ -468,33 +474,43 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptrel/Event";
import BusNavbar from "./BusNavbar";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data() {
return {
sta:[
{ label: 'All', value: '' },
{ label: 'Branch Release', value: 'CMC' },
{ label: 'Branch Register', value: 'CMP' },
{ label: 'Branch Repair', value: 'CMR' },
{ label: 'Center Repair', value: 'CTR' },
],
stmData: {
columns: [
'5 1 "TRN" ',
'6 2:2 "Reference" ',
'7 2:1 "Name" ',
'8 3 "Created" ',
'9 4:1 "Status" ',
'4 5:1 "By User" ',
'11 6:1 "Details" ',
// 'P "COLORED" TRUE',
// 'P "VERTLINES" TRUE',
// 'P "HORZLINES" TRUE',
// 'P "MULTISELECT" true'
'7 3:1 "Name" ',
'8 4 "Created" ',
{index:9,position:5,width:150,pattern:'code',label:'Status',code:'sptrelstatus'},
'4 6:1 "By User" ',
],
data: [],
},
};
},
methods: { ...Event },
methods: { ...Event,
async getButtons(ownref){
this.ownref = ownref
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
},
created: function () {},
};
</script>
......
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