Commit e16ad4b2 by liuxin
parents 2e9a554a fe095e48
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -14,6 +14,8 @@ export default {
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel')
//修改待复核界面刷新状态为需要刷新
this.$store.commit("setLoadingFreshReview", true)
});
}else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors)
......@@ -48,6 +50,8 @@ export default {
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'sptbrk')
//修改草稿箱界面刷新状态为需要刷新
this.$store.commit("setLoadingFreshPending", true)
});
} else {
this.$notify({
......
import Utils from "~/utils"
/**
* Cptati Check规则
*/
let checkObj = {
"attp.sysno" :null,
"attp.feetyp" :null,
"cpdgrp.orc.pts.extkey" :null,
"attp.orcadr" :null,
"cpdgrp.pye.namelc" :null,
"attp.pyeadr" :null,
"attp.swftyp" :null,
"attp.pyenam" :null,
"attp.bustyp" :null,
"setmod.dspflg" :null,
"cpdgrp.orc.adrelc" :null,
"cpdgrp.pye.pts.extkey" :null,
"attp.orcnam" :null,
"cpdgrp.pye.pts.adrblk" :null,
"cpdgrp.rec.trntyp" :null,
"cpdgrp.pye.adrelc" :null,
"cpdgrp.rec.valdat" :null,
"attp.country" :null,
"attp.payuil" :null,
"cpdgrp.rec.paytype" :null,
"cpdgrp.orc.pts.adrblk" :null,
"attp.resbch" :null,
"bopmod.szflg" :null,
"cpdgrp.orc.namelc" :null,
"cpdgrp.cbs.nom1.amt" :null,
"cpdgrp.cbs.max.amt" :null,
"cpdgrp.rec.pyeact" :null,
"bopmod.basflg" :null,
"mtabut.coninf.conexedat" :null,
"cpdgrp.cbs.max.cur" :null,
"attp.resbchnam" :null,
"bopmod.ownextkey" :null,
"setmod.docamt" :null,
"attp.acctyp" :null,
"bopmod.acttyp" :null,
"attp.sndbchnam" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cptati Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cpdgrp.pye.pts.adrblk" :Utils.defaultFunction,
"attp.payuil" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"cpdgrp.cbs.max.amt" :Utils.defaultFunction,
"cpdgrp.cbs.max.cur" :Utils.defaultFunction,
"cpdgrp.rec.othbch" :Utils.defaultFunction,
"cpdgrp.orc.pts.extkey" :Utils.defaultFunction,
"attp.feetyp" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"cpdgrp.orc.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.orc.adrelc" :Utils.defaultFunction,
"cpdgrp.orc.namelc" :Utils.defaultFunction,
"cpdgrp.orc.dbfadrblkcn" :Utils.defaultFunction,
"cpdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"attp.xnggbh" :Utils.defaultFunction,
"cpdgrp.pye.pts.extkey" :Utils.defaultFunction,
"attp.swftyp" :Utils.defaultFunction,
"cpdgrp.rec.trntyp" :Utils.defaultFunction,
"cpdgrp.pye.adrelc" :Utils.defaultFunction,
"cpdgrp.pye.namelc" :Utils.defaultFunction,
"cpdgrp.pye.dbfadrblkcn" :Utils.defaultFunction,
"cpdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"attp.paycountcode" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"cpdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"attp.country" :Utils.defaultFunction,
"attp.sndbchnam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"attp.resbchnam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAttpGetref(){
let rtnmsg = await this.executeRule("attp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAttpSelbut1(){
let rtnmsg = await this.executeRule("attp.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAttpSelbut(){
let rtnmsg = await this.executeRule("attp.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAttpSerpty(){
let rtnmsg = await this.executeRule("attp.serpty")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOrcpDet(){
let rtnmsg = await this.executeRule("orcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPyepDet(){
let rtnmsg = await this.executeRule("pyep.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"attp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"attp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cpdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"cpdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"attp.country":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"attp.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpdgrp.rec.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpdgrp.rec.othbch":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"attp.xnggbh":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"attp.sysno":[
{type: "string", required: false, message: "必输项"},
{max: 21,message:"长度不能超过21"}
],
"attp.paycountcode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"attp.orcnam":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.resbchnam":[
{type: "string", required: false, message: "必输项"},
{max: 42,message:"长度不能超过42"}
],
"attp.resbch":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"attp.orcadr":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.pyenam":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.sndbchnam":[
{type: "string", required: false, message: "必输项"},
{max: 42,message:"长度不能超过42"}
],
"attp.sndbch":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"attp.pyeadr":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"cpdgrp.rec.orcact":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rec.pyeact":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"attp.orcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"attp.pyep.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cpdgrp.orc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"attp.orcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cpdgrp.pye.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"attp.pyep.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cpdgrp.orc.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pye.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.orc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.orc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pye.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pye.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.orc.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pye.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"bopmod.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Cptati{
constructor () {
this.data = {
attp:{
shktyp:"", // static text 收汇款对象 .attp.shktyp
opndatlab:"", // 日期标签 .attp.opndatlab
xnglab:"", // 相关参考号 .attp.xnglab
recget:{
sdamod:{
seainf:"", // .attp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .attp.recget.sdamod.dadsnd
},
},
sndlab:"", // SND Rol Lable .attp.sndlab
pyep:{
ptsget:{
sdamod:{
seainf:"", // .attp.pyep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .attp.pyep.ptsget.sdamod.dadsnd
},
},
},
resbch:"", // 接收行BIC .attp.resbch
resbchnam:"", // 接收行名称 .attp.resbchnam
sndbchnam:"", // 发报行名称 .attp.sndbchnam
sndbch:"", // 发报行BIC .attp.sndbch
orcp:{
ptsget:{
sdamod:{
seainf:"", // .attp.orcp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .attp.orcp.ptsget.sdamod.dadsnd
},
},
},
orcadr:"", // 汇款人地址 .attp.orcadr
orcnam:"", // 汇款人名称 .attp.orcnam
pyenam:"", // 收款人名称 .attp.pyenam
pyeadr:"", // 收款人地址 .attp.pyeadr
payuil:"", // Uil Payment .attp.payuil
opndat:"", // 起息日期 .attp.opndat
bustyp:"", // 业务种类 .attp.bustyp
acctyp:"", // 汇款人账户性质 .attp.acctyp
swftyp:"", // 报文类型 .attp.swftyp
feetyp:"", // �'�用类型 .attp.feetyp
sysno:"", // 清算编号 .attp.sysno
xnggbh:"", // 相关参考号 .attp.xnggbh
country:"", // 付款人常驻国家/地区编码 .attp.country
paycountcode:"", // 收款人常驻国家/地区代码 .attp.paycountcode
},
cpdgrp:{
rec:{
ownref:"", // 业务编号 .cpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .cpdgrp.rec.nam
pyeact:"", // 收款人帐号 .cpdgrp.rec.pyeact
orcact:"", // 汇款人帐号 .cpdgrp.rec.orcact
trntyp:"", // 汇款性�'� .cpdgrp.rec.trntyp
paytype:"", // 汇款方式 .cpdgrp.rec.paytype
gors:"", // 收款对象 .cpdgrp.rec.gors
clityp:"", // 客户类型 .cpdgrp.rec.clityp
othbch:"", // 所属行 .cpdgrp.rec.othbch
valdat:"", // Value Date .cpdgrp.rec.valdat
tsnflg:"", // 同名划转标志 .cpdgrp.rec.tsnflg
},
pye:{
pts:new Pts().data,
namelc:"", // 名称 .cpdgrp.pye.namelc
adrelc:"", // 地址 .cpdgrp.pye.adrelc
dbfadrblkcn:"", // Chinese address .cpdgrp.pye.dbfadrblkcn
},
orc:{
pts:new Pts().data,
namelc:"", // 名称 .cpdgrp.orc.namelc
adrelc:"", // 地址 .cpdgrp.orc.adrelc
dbfadrblkcn:"", // Chinese address .cpdgrp.orc.dbfadrblkcn
},
cbs:{
nom1:{
cur:"", // 汇款金额 .cpdgrp.cbs.nom1.cur
amt:"", // 汇款金额 .cpdgrp.cbs.nom1.amt
},
max:{
cur:"", // 汇款金额 .cpdgrp.cbs.max.cur
amt:"", // 汇款金额 .cpdgrp.cbs.max.amt
},
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
bopmod:{
szflg:"", // 申报类型 .bopmod.szflg
basflg:"", // 基础数据 .bopmod.basflg
dclflg:"", // 申报数据 .bopmod.dclflg
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
outchargeccy:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy
outchargeamt:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt
acttyp:"", // 款项来源 .bopmod.acttyp
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Cptato Check规则
*/
let checkObj = {
"attp.feetyp" :null,
"cpdgrp.orc.pts.extkey" :null,
"attp.orcadr" :null,
"cpdgrp.pye.namelc" :null,
"attp.pyeadr" :null,
"attp.swftyp" :null,
"attp.pyenam" :null,
"attp.bustyp" :null,
"setmod.dspflg" :null,
"cpdgrp.orc.adrelc" :null,
"cpdgrp.pye.pts.extkey" :null,
"attp.orcnam" :null,
"cpdgrp.pye.pts.adrblk" :null,
"cpdgrp.rec.trntyp" :null,
"attp.paycountcode" :null,
"cpdgrp.pye.adrelc" :null,
"cpdgrp.rec.valdat" :null,
"attp.payuil" :null,
"cpdgrp.rec.paytype" :null,
"cpdgrp.cbs.nom1.cur" :null,
"cpdgrp.orc.pts.adrblk" :null,
"cpdgrp.rec.ischktyp" :null,
"attp.resbch" :null,
"bopmod.szflg" :null,
"cpdgrp.orc.namelc" :null,
"cpdgrp.cbs.nom1.amt" :null,
"cpdgrp.cbs.max.amt" :null,
"cpdgrp.rec.pyeact" :null,
"cpdgrp.rec.orcact" :null,
"bopmod.basflg" :null,
"mtabut.coninf.conexedat" :null,
"cpdgrp.cbs.max.cur" :null,
"attp.resbchnam" :null,
"cpdgrp.rec.prechkdat" :null,
"bopmod.ownextkey" :null,
"setmod.docamt" :null,
"attp.acctyp" :null,
"bopmod.acttyp" :null,
"attp.sndbchnam" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cptato Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cpdgrp.pye.pts.adrblk" :Utils.defaultFunction,
"attp.payuil" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"cpdgrp.cbs.max.amt" :Utils.defaultFunction,
"cpdgrp.cbs.max.cur" :Utils.defaultFunction,
"cpdgrp.rec.othbch" :Utils.defaultFunction,
"cpdgrp.orc.pts.extkey" :Utils.defaultFunction,
"attp.feetyp" :Utils.defaultFunction,
"cpdgrp.orc.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.orc.adrelc" :Utils.defaultFunction,
"cpdgrp.orc.namelc" :Utils.defaultFunction,
"cpdgrp.orc.dbfadrblkcn" :Utils.defaultFunction,
"cpdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"cpdgrp.rec.ischktyp" :Utils.defaultFunction,
"attp.xnggbh" :Utils.defaultFunction,
"cpdgrp.pye.pts.extkey" :Utils.defaultFunction,
"attp.swftyp" :Utils.defaultFunction,
"cpdgrp.rec.trntyp" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction,
"cpdgrp.pye.adrelc" :Utils.defaultFunction,
"cpdgrp.pye.namelc" :Utils.defaultFunction,
"cpdgrp.pye.dbfadrblkcn" :Utils.defaultFunction,
"cpdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"attp.paycountcode" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"cpdgrp.rec.paytype" :Utils.defaultFunction,
"cpdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"attp.country" :Utils.defaultFunction,
"attp.sndbchnam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"attp.resbchnam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAttpGetref(){
let rtnmsg = await this.executeRule("attp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAttpSelbut1(){
let rtnmsg = await this.executeRule("attp.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAttpSelbut(){
let rtnmsg = await this.executeRule("attp.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAttpSerpty(){
let rtnmsg = await this.executeRule("attp.serpty")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOrcpDet(){
let rtnmsg = await this.executeRule("orcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPyepDet(){
let rtnmsg = await this.executeRule("pyep.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"attp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"attp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cpdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"cpdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cpdgrp.rec.prechkdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"attp.country":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"attp.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpdgrp.rec.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpdgrp.rec.othbch":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"attp.xnggbh":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"attp.sysno":[
{type: "string", required: false, message: "必输项"},
{max: 21,message:"长度不能超过21"}
],
"attp.paycountcode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"attp.orcnam":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.resbchnam":[
{type: "string", required: false, message: "必输项"},
{max: 42,message:"长度不能超过42"}
],
"attp.resbch":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"attp.orcadr":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.pyenam":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.sndbchnam":[
{type: "string", required: false, message: "必输项"},
{max: 42,message:"长度不能超过42"}
],
"attp.sndbch":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"attp.pyeadr":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"cpdgrp.rec.orcact":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rec.pyeact":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"attp.orcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"attp.pyep.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cpdgrp.orc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"attp.orcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cpdgrp.pye.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"attp.pyep.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cpdgrp.orc.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pye.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.orc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.orc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pye.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pye.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.orc.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pye.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Cptato{
constructor () {
this.data = {
attp:{
shktyp:"", // static text 收汇款对象 .attp.shktyp
opndatlab:"", // 日期标签 .attp.opndatlab
xnglab:"", // 相关参考号 .attp.xnglab
recget:{
sdamod:{
seainf:"", // .attp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .attp.recget.sdamod.dadsnd
},
},
sndlab:"", // SND Rol Lable .attp.sndlab
pyep:{
ptsget:{
sdamod:{
seainf:"", // .attp.pyep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .attp.pyep.ptsget.sdamod.dadsnd
},
},
},
resbch:"", // 接收行BIC .attp.resbch
resbchnam:"", // 接收行名称 .attp.resbchnam
sndbchnam:"", // 发报行名称 .attp.sndbchnam
sndbch:"", // 发报行BIC .attp.sndbch
orcp:{
ptsget:{
sdamod:{
seainf:"", // .attp.orcp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .attp.orcp.ptsget.sdamod.dadsnd
},
},
},
orcadr:"", // 汇款人地址 .attp.orcadr
orcnam:"", // 汇款人名称 .attp.orcnam
pyenam:"", // 收款人名称 .attp.pyenam
pyeadr:"", // 收款人地址 .attp.pyeadr
payuil:"", // Uil Payment .attp.payuil
opndat:"", // 起息日期 .attp.opndat
bustyp:"", // 业务种类 .attp.bustyp
acctyp:"", // 汇款人账户性质 .attp.acctyp
swftyp:"", // 报文类型 .attp.swftyp
feetyp:"", // �'�用类型 .attp.feetyp
sysno:"", // 清算编号 .attp.sysno
xnggbh:"", // 相关参考号 .attp.xnggbh
country:"", // 付款人常驻国家/地区编码 .attp.country
paycountcode:"", // 收款人常驻国家/地区代码 .attp.paycountcode
},
cpdgrp:{
rec:{
ownref:"", // 业务编号 .cpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .cpdgrp.rec.nam
pyeact:"", // 收款人帐号 .cpdgrp.rec.pyeact
orcact:"", // 汇款人帐号 .cpdgrp.rec.orcact
trntyp:"", // 汇款性�'� .cpdgrp.rec.trntyp
paytype:"", // 汇款方式 .cpdgrp.rec.paytype
gors:"", // 收款对象 .cpdgrp.rec.gors
clityp:"", // 客户类型 .cpdgrp.rec.clityp
othbch:"", // 所属行 .cpdgrp.rec.othbch
valdat:"", // Value Date .cpdgrp.rec.valdat
tsnflg:"", // 同名划转标志 .cpdgrp.rec.tsnflg
prechkdat:"", // PRECHKDAT .cpdgrp.rec.prechkdat
ischktyp:"", // 是否需要核验 .cpdgrp.rec.ischktyp
},
pye:{
pts:new Pts().data,
namelc:"", // 名称 .cpdgrp.pye.namelc
adrelc:"", // 地址 .cpdgrp.pye.adrelc
dbfadrblkcn:"", // Chinese address .cpdgrp.pye.dbfadrblkcn
},
orc:{
pts:new Pts().data,
namelc:"", // 名称 .cpdgrp.orc.namelc
adrelc:"", // 地址 .cpdgrp.orc.adrelc
dbfadrblkcn:"", // Chinese address .cpdgrp.orc.dbfadrblkcn
},
cbs:{
nom1:{
cur:"", // 汇款金额 .cpdgrp.cbs.nom1.cur
amt:"", // 汇款金额 .cpdgrp.cbs.nom1.amt
},
max:{
cur:"", // 汇款金额 .cpdgrp.cbs.max.cur
amt:"", // 汇款金额 .cpdgrp.cbs.max.amt
},
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
bopmod:{
szflg:"", // 申报类型 .bopmod.szflg
basflg:"", // 基础数据 .bopmod.basflg
dclflg:"", // 申报数据 .bopmod.dclflg
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -397,7 +397,7 @@ function defaultDidgrpAplPtsAdrblk() {
}
function defaultDidgrpRecLcrtyp(rule, value, callback) {
const that = this;
that.executeDefault("didgrp.rec.lcrtyp").then(res => {
that.executeRule("didgrp.rec.lcrtyp").then(res => {
//TODO
callback()
})
......
......@@ -567,6 +567,10 @@ export default {
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"liaall.limmod.limpts.nonrevflg1": [
{ type: "string", required: true, message: "必输项" },
{ max: 10, message: "长度不能超过10" }
],
"liaall.limmod.othp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
......
......@@ -111,6 +111,7 @@ export default class Infdid{
fenctg:"", // 是否可议付 .didgrp.rec.fenctg
bdflg:"", // 是否可保兑 .didgrp.rec.bdflg
lcrtyp:"", // Form of Documentary Credit .didgrp.rec.lcrtyp
inr:"",
},
cbs:{
nom1:{
......
import Utils from "~/utils"
/**
* Prffld 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
/**
* Prffld Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Utils from "~/utils"
/**
* Prt 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
/**
* Prt Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Utils from "~/utils"
/**
* Ptsgrd 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
/**
* Ptsgrd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Utils from "~/utils"
/**
* Srslst 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
/**
* Srslst Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Utils from "~/utils"
/**
* Srvprtfg 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
/**
* Srvprtfg Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Utils from "~/utils"
/**
* Trncor 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
/**
* Trncor Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
export default {
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Trncor{
constructor () {
this.data = {
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -20,7 +20,9 @@ const Status = {
// 校验
check: false,
// 暂存
stash: false
stash: false,
freshReview: false,
freshPending: false,
},
taskListTabVal: '',
taskList: {
......@@ -84,6 +86,12 @@ const Status = {
setLoadingCheck(state, value) {
state.loading.check = value;
},
setLoadingFreshReview(state, value) {
state.loading.freshReview = value;
},
setLoadingFreshPending(state, value) {
state.loading.freshPending = value;
},
setLoadingStash(state, value) {
state.loading.stash = value;
},
......
import Cptadv from "./Cptadv"
import Cptopn from "./Cptopn"
import Cptati from "./Cptati"
import Cptato from "./Cptato"
import Diasel from "./Diasel"
import Bopsel from "./Bopsel"
import Ditame from "./Ditame"
......@@ -145,6 +147,8 @@ const BusRouter = [
{ path: 'bdteus', component: Bdteus, name: 'Bdteus', meta: { title: '方信用证单据展期' } },
{ path: 'cptadv', component: Cptadv, name: 'Cptadv', meta: { title: '汇入汇款' } },
{ path: 'cptopn', component: Cptopn, name: 'Cptopn', meta: { title: '汇出汇款' } },
{ path: 'cptati', component: Cptati, name: 'Cptati', meta: { title: '境内外币汇入汇款' } },
{ path: 'cptato', component: Cptato, name: 'Cptato', meta: { title: '境内外币汇出汇款' } },
{ path: 'diasel', component: Diasel, name: 'Diasel', meta: { title: '备忘录选择交易' } },
{ path: 'bopsel', component: Bopsel, name: 'Bopsel', meta: { title: '待申报列表' } },
{ path: 'ditame', component: Ditame, name: 'Ditame', meta: { title: '信用证修改' } },
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptati/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptati/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference">
<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">
<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">
<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">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自贸区主账号">
<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/Cptati/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="款项来源" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项来源">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy">
<c-select v-model="model.bopmod.outchargeccy" style="width:100%" placeholder="请选择国外银行扣费(涉外收入申报专用)">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeamt">
<c-input v-model="model.bopmod.outchargeamt" 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/Cptati/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="境内外币汇入汇款">
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
size="small"
>
<c-tabs ref="elment" :value="tabVal" type="card" @tab-click="tabClick">
<el-tab-pane label="Overview" name="opnp1">
<!--PD000020 -->
<c-content>
<m-opnp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="账务" name="setpan">
<!--PD000006 -->
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="报文及面函" name="docpan">
<!--PD000000 -->
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="外管信息" name="wg">
<!--PD000546 -->
<m-wg :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Cptati from "~/model/Cptati";
import CommonProcess from "~/mixin/CommonProcess";
import Pattern from "~/model/Cptati/Pattern";
import Opnp1 from "./Opnp1";
import Wg from "./Wg";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Ptap from "~/views/Public/Ptap";
export default {
name: "Cptati",
components:{
"m-opnp1": Opnp1,
"m-setpan": Setpan,
"m-docpan": Docpan,
"m-coninfp": Coninfp,
"m-wg": Wg,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "opnp1",
trnName: "cptati",
model: new Cptati().data,
rules: Pattern,
codes: { ...CodeTable },
};
},
methods: {},
created: async function () {
console.log("进入cptati交易");
// let rtnmsg = await Api.post("cptati/init",{params:{}});
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptato/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptato/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference">
<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">
<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">
<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">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自贸区主账号">
<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/Cptato/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="款项去向" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项去向">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</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/Cptato/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="境内外币汇出汇款">
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
size="small"
>
<c-tabs ref="elment" :value="tabVal" type="card" @tab-click="tabClick">
<el-tab-pane label="Overview" name="opnp1">
<!--PD000020 -->
<c-content>
<m-opnp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="账务" name="setpan">
<!--PD000006 -->
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="报文及面函" name="docpan">
<!--PD000000 -->
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="外管信息" name="wg">
<!--PD000546 -->
<m-wg :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Cptato from "~/model/Cptato";
import CommonProcess from "~/mixin/CommonProcess";
import Pattern from "~/model/Cptato/Pattern";
import Opnp1 from "./Opnp1";
import Wg from "./Wg";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
export default {
name: "Cptato",
components:{
"m-opnp1" : Opnp1,
"m-setpan" : Setpan,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
"m-wg" : Wg,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "opnp1",
trnName: "cptato",
model: new Cptato().data,
rules: Pattern,
codes: { ...CodeTable },
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入cptato交易");
// let rtnmsg = await Api.post("cptato/init",{params:{}});
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
......@@ -14,7 +14,7 @@
<c-col :span="24">
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday">
<c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:100%" maxlength="3"></c-input>
<c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:100%" maxlength="3" @keyup.enter.native="defaultFunction('didgrp.rec.tenmaxday', model.didgrp.rec.tenmaxday)"></c-input>
</el-form-item>
</c-col>
......
......@@ -529,6 +529,7 @@
v-model="model.didgrp.apl.pts.extact"
style="width: 100%"
placeholder="请选择External Account"
:code="getValues('didgrp.apl.pts.extact')"
>
</c-select>
</el-form-item>
......
......@@ -302,12 +302,12 @@ export default {
'7 4 "Party Number" 133',
'8 5 "Applicant" 133',
'9 6 "PTA NO." 0',
'10 7 "Party Number" 133',
'10 7 "Party Number1" 133',
'11 8 "Beneficiary" 133',
'12 9 "Beneficiary CN" 133',
'13 10 "Party Number" 133',
'13 10 "Party Number2" 133',
'14 11 "Issuing Bank" 133',
'15 12 "Party Number" 133',
'15 12 "Party Number3" 133',
'16 13 "Purchasing bank" 133',
'17 17 "Cur" 0',
'18 19 "Doc.Amount" 0',
......
......@@ -29,6 +29,7 @@
v-model="model.mtabut.coninf.oitinf.oit.inflev"
disabled
placeholder="请选择Infotext Level"
style="width: 100%"
:code="inflev"
>
</c-select>
......@@ -58,6 +59,7 @@
>
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
style="width: 100%"
disabled
placeholder="请选择Infotext Level"
:code="inflev"
......@@ -66,18 +68,18 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="11">
<c-col :span="15">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 50%"
style="width: 100%"
placeholder="请选择执行日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="7" :offset="5">
<c-col :span="7" :offset="1">
<el-form-item label="Send for Release to" prop="mtabut.coninf.usr.extkey">
<c-input
v-model="model.mtabut.coninf.usr.extkey"
......
......@@ -11,7 +11,7 @@
</el-form-item>
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" >
<c-input disabled v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:17%" maxlength="3"></c-input>
<c-input disabled v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:100%" maxlength="3"></c-input>
</el-form-item>
<el-form-item label="远期付款指示" prop="didgrp.blk.defdet">
......@@ -39,8 +39,8 @@
</el-form-item>
<el-form-item label="货物运输/交货/服务方式" prop="didgrp.rec.tratyp">
<c-col :span="10">
<c-select v-model="model.didgrp.rec.tratyp" style="width:90%" placeholder="请选择" @change="recTratypChange" disabled>
<c-col :span="24">
<c-select v-model="model.didgrp.rec.tratyp" style="width:100%" placeholder="请选择" @change="recTratypChange" disabled>
<el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -78,14 +78,14 @@
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="分批装运货物" prop="didgrp.rec.shppar">
<c-select v-model="model.didgrp.rec.shppar" style="width:50%" placeholder="请选择" disabled>
<c-select v-model="model.didgrp.rec.shppar" style="width:100%" placeholder="请选择" disabled>
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务" prop="didgrp.rec.fqzytgfw">
<c-select v-model="model.didgrp.rec.fqzytgfw" placeholder="请选择" disabled style="width:50%">
<c-select v-model="model.didgrp.rec.fqzytgfw" placeholder="请选择" disabled style="width:100%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
......@@ -96,7 +96,7 @@
</el-form-item>
<el-form-item label="转运" prop="didgrp.rec.shptrs">
<c-select v-model="model.didgrp.rec.shptrs" style="width:50%" placeholder="请选择" disabled>
<c-select v-model="model.didgrp.rec.shptrs" style="width:100%" placeholder="请选择" disabled>
<el-option label="不允许" value="禁止"></el-option>
<el-option label="允许" value="允许"></el-option>
</c-select>
......
......@@ -56,6 +56,7 @@
</el-form-item> -->
<c-ptapdome
:disabledJigomc="true"
:disabledBankno="true"
:disabledDizhii="true"
:model="model"
:argadr="{
......@@ -157,9 +158,9 @@
></c-input>
</el-form-item> -->
<c-ptapdome
:disabledBankno="model.didgrp.rec.fenctg != 'Y'"
:disabledJigomc="true"
:disabledDizhii="model.didgrp.rec.fenctg != 'Y'"
:disabledBankno="true"
:disabledDizhii="true"
:model="model"
:argadr="{
title: '议付行',
......@@ -216,9 +217,9 @@
></c-input>
</el-form-item> -->
<c-ptapdome
:disabledBankno="model.didgrp.rec.lcrtyp != 'IT'"
:disabledJigomc="true"
:disabledDizhii="model.didgrp.rec.lcrtyp != 'IT'"
:disabledBankno="true"
:disabledDizhii="true"
:model="model"
:argadr="{
title: '转让行',
......@@ -270,8 +271,8 @@
></c-input>
</el-form-item> -->
<c-ptapdome
:disabledBankno="true"
:disabledJigomc="true"
:disabledBankno="true"
:disabledDizhii="true"
:model="model"
:argadr="{
......@@ -356,9 +357,9 @@
></c-input>
</el-form-item> -->
<c-ptapdome
:disabledBankno="model.didgrp.rec.bdflg != 'Y'"
:disabledJigomc="true"
:disabledDizhii="model.didgrp.rec.bdflg != 'Y'"
:disabledBankno="true"
:disabledDizhii="true"
:model="model"
:argadr="{
title: '保兑行',
......@@ -396,6 +397,8 @@
</el-form-item> -->
<c-ptapdome
:disabledJigomc="true"
:disabledBankno="true"
:disabledDizhii="true"
:model="model"
:argadr="{
title: '申请行',
......@@ -441,7 +444,7 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
import PtapDome from "./PtapDome";
import PtapDome from "~/views/Public/PtapDome";
export default {
components: { "c-ptapdome": PtapDome },
......
......@@ -302,7 +302,7 @@
<!-- <el-row> -->
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="150px">
<el-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot="header">
<c-col :span="11" style="text-align: left"
><span>操作</span></c-col
......@@ -371,14 +371,14 @@
处理
</c-button>
<!-- <c-button
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getDitSelInfo(scope.$index, scope.row)"
>
info
</c-button> -->
</c-button>
</template>
</el-table-column>
</c-istream-table>
......@@ -651,31 +651,27 @@ export default {
this.initdialog = false
} ,
async getDitSelInfo(idx,row){
//TD中选中行触发
var params = {selDst:"infbut.dspstm",selIds:[idx+1]}
let rtnmsg = await this.executeRule("infbut.dspstm", params);
console.log(rtnmsg);
if(rtnmsg.respCode = SUCCESS){
this.updateModel(rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params = {selDst:"infbut.dsp",selIds:[idx+1]}
let rtnmsgNew = await this.executeRule("infbut.dsp", params);
if(rtnmsgNew.respCode = SUCCESS){
console.log(rtnmsgNew);
this.updateModel(rtnmsgNew.data);
// Utils.copyValueFromVO(this.model, rtnmsgNew.data);
params = {selDst:"infcon.dsp",selIds:[idx+1]}
let rtnmsgObjinr = await this.executeDefault("infcon.objinr",params);
if(rtnmsgObjinr.respCode = SUCCESS){
this.updateModel(rtnmsgObjinr.data);
// Utils.copyValueFromVO(this.model, rtnmsgObjinr.data);
// // let rtnmsgOitset = await this.executeDefault("mtabut.coninf.oitset.oit",params);
let rtnmsgOitset = await this.executeDefault("mtabut.coninf.oitset.oit");
// // if(rtnmsgOitset.respCode = SUCCESS){
// // Utils.copyValueFromVO(this.model, rtnmsgOitset.data);
if(rtnmsgOitset.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsgOitset.data);
// // }
}
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
......
<template>
<div class="eibs-tab">
<c-row>
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="11">
<c-col :span="20">
<el-form-item
label="信用证号码"
prop="didgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.didgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
style="width: 95%"
disabled
></c-input>
<c-fullbox>
<c-input
v-model="model.didgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin:0px 10px 0 10;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
disabled
@click="onDitpButgetref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="1" style="text-align: right"> -->
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="3" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 0"
size="small"
type="primary"
disabled
@click="onDitpButgetref"
>
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
<!-- </c-col> -->
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="didgrp.rec.nam">
......@@ -61,34 +53,33 @@
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="20">
<c-col :span="24">
<el-form-item
label="所属客户经理"
prop="recpan.usr.extkey"
style="width: 100%"
>
<c-input
style="width: 95%"
v-model="model.recpan.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
disabled
></c-input>
<c-fullbox>
<c-input
v-model="model.recpan.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left:10px;padding: 0 10px;"
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
disabled
></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="17px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
disabled
></c-button>
<!-- </el-form-item> -->
</c-col>
<!-- <c-col>
&nbsp;
......@@ -139,25 +130,29 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
<c-input
v-model="model.didgrp.rec.nomtop"
maxlength="9"
style="width: 48%"
placeholder="请输入Amount Tolerance - Positive"
disabled
></c-input>
<c-col :span="13">
<c-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
<c-input
v-model="model.didgrp.rec.nomtop"
maxlength="9"
style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="1" style="text-align:center">
<label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label>
</c-col>
<c-col :span="10">
<c-input
v-model="model.didgrp.rec.nomton"
maxlength="9"
style="width: 48%"
placeholder="请输入Amount Tolerance - Negative"
disabled
v-model="model.didgrp.rec.nomton"
maxlength="9"
style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12" style="text-align: left">
<el-form-item
......@@ -242,21 +237,18 @@
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="开证日期" prop="didgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.opndat"
value-format="yyyy-MM-dd"
style="width: 95%"
style="width: 100%"
placeholder="请选择Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item
v-if="model.didgrp.rec.mytype == 'H'"
label="最迟货物装运日"
......@@ -266,7 +258,7 @@
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 95%"
style="width: 100%"
placeholder="请选择Date"
disabled
></c-date-picker>
......@@ -280,7 +272,7 @@
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 95%"
style="width: 100%"
placeholder="请选择Date"
disabled
></c-date-picker>
......@@ -294,27 +286,24 @@
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 95%"
style="width: 100%"
placeholder="请选择"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="有效日期" prop="didgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.expdat"
value-format="yyyy-MM-dd"
style="width: 95%"
style="width: 100%"
placeholder="请选择Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="有效地点" prop="didgrp.rec.expplc">
<c-input
......@@ -348,6 +337,7 @@
<el-form-item label="报文类型" label-width="80px">
<c-select v-model="model.recpan.msgtyp" placeholder="请选择报文类型"
:code="getValues('recpan.msgtyp')"
style="width: 100%"
disabled />
</el-form-item>
</c-col>
......@@ -787,6 +777,7 @@
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
......@@ -827,15 +818,15 @@ export default {
},
},
created: function () {
console.log(this.root);
// console.log(this.root);
},
computed: {
flag() {
return this.model.didgrp.apl.pts.extkey == "";
},
// flag() {
// return this.model.didgrp.apl.pts.extkey == "";
// },
},
watch: {
declareParams() {},
// declareParams() {},
},
};
</script>
<template>
<div class="eibs-tab">
<div>
<c-col v-if="!noRef" :span="24">
<el-form-item
<c-form-item
:label="`${argadr.title}参考号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.ref`"
>
......@@ -10,55 +10,49 @@
:placeholder="'请输入' + argadr.title + '参考号'"
disabled
></c-input>
</el-form-item>
</c-form-item>
</c-col>
<c-col :span="20">
<c-col :span="24">
<el-form-item
:label="`${argadr.title}ID`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-input
style="width: 95%"
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
@change="valueChange"
disabled
></c-input>
<c-fullbox>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
disabled
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
disabled
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
disabled
>
{{ $t('buttons.details') }}
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
class="searchButton"
size="small"
type="primary"
icon="el-icon-search"
disabled
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
>
</c-button>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button
style="margin:0 0"
class="detailsButton"
size="small"
type="primary"
disabled
@click="onAplpDet"
>
{{ $t('buttons.details') }}
</c-button>
<!-- </el-form-item> -->
</c-col>
<template v-if="!onlySearch">
<c-col v-if="isAdrblk" :span="24">
<el-form-item
......@@ -72,7 +66,7 @@
maxlength="35"
show-word-limit
placeholder="请输入名称地址"
:disabled="disabled"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -86,7 +80,7 @@
type="textarea"
v-model="model[argadr.grp][argadr.rol].namelc"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
disabled
:rows="2"
maxlength="35"
show-word-limit
......@@ -104,7 +98,7 @@
:rows="2"
v-model="model[argadr.grp][argadr.rol].adrelc"
:placeholder="'请输入' + argadr.title + '地址'"
:disabled="disabled"
disabled
maxlength="35"
show-word-limit
></c-input>
......@@ -186,14 +180,4 @@ export default {
};
</script>
<style>
.searchButton {
text-align: center;
/* margin: 0 10px; */
margin-right: 10px;
padding: 0 10px;
}
.detailsButton {
margin-left: 10px;
}
</style>
......@@ -21,7 +21,6 @@
show-word-limit
placeholder="请输入声明"
:rows="15"
disabled
></c-input>
</el-form-item>
</c-col>
......
<template>
<div class="eContainer">
<div class="eContainer" style="height:90%">
<div style="padding:0 15px">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="110px" label-position="right" size="small" :validate-on-rule-change="false">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="110px"
label-position="right"
size="small"
:validate-on-rule-change="false">
<!--PD000006 -->
......@@ -14,12 +21,16 @@
<c-tabs v-model="tabVal" v-show="showPanel" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane label="基本信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000452 -->
<el-tab-pane label="其他当事人" name="detp1">
<c-content>
<m-detp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000077 -->
......@@ -98,9 +109,19 @@
<el-tab-pane label="声明" name="stament">
<m-stament :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<c-button
v-show="showPanel"
style="margin-left: 75%;bottom: 10%;position:sticky"
size="small"
@click="goBack()">
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
返回
</c-button>
</div>
</template>
<script>
......@@ -208,7 +229,10 @@ export default {
async updateShowPanel(value) {
this.showPanel = value;
this.initPanel(value);
}
},
goBack(){
this.showPanel = false;
},
},
created:async function(){
......
......@@ -34,9 +34,6 @@ export default {
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
computed: {
},
data(){
return {
tabVal: "menu",
......@@ -62,7 +59,26 @@ export default {
this.$refs.Menu.sptfndHandleSearch();
// that.$refs.Menu.stmData.columns = res.data.sptstm.rows;
})
}
},
computed: {
reload: function(){
return this.$store.state.Status.loading.freshPending;
}
},
watch:{
reload: function(val, oldVal){
if(val){
const that = this;
that.init(that.model).then((res) => {
that.model = Utils.copyValueFromVO(that.model, res.data);
//请求草稿箱数据
this.$refs.Menu.sptfndHandleSearch();
//刷新页面后重置刷新状态为不刷新
this.$store.commit("setLoadingFreshPending", false)
});
}
},
},
}
</script>
<style>
......
......@@ -68,7 +68,7 @@ export default {
"m-inftrnps": Inftrnps,
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
computed: {},
// computed: {},
provide() {
return {
root: this,
......@@ -87,19 +87,44 @@ export default {
bchtyp: CodeTable.bchtyp,
usrsort: CodeTable.usrsort,
},
// reload:false,
};
},
methods: {},
mounted: async function () {
console.log("进入trnrel交易");
created() {
const that = this;
that.init(that.model).then((res) => {
//TODO 处理数据逻辑
that.init(that.model).then((res) => {
//TODO 处理数据逻辑
that.model = Utils.copyValueFromVO(that.model, res.data);
// that.$refs.inftrnps.stmData.columns=res.data.trncorco_trnstm.rows
this.$refs.inftrnps.handleSearch();
});
that.model = Utils.copyValueFromVO(that.model, res.data);
// that.$refs.inftrnps.stmData.columns=res.data.trncorco_trnstm.rows
this.$refs.inftrnps.handleSearch();
});
},
methods: {
},
computed: {
reload: function(){
return this.$store.state.Status.loading.freshReview;
}
},
watch:{
reload: function(val, oldVal){
if(val){
const that = this;
that.init(that.model).then((res) => {
//TODO 处理数据逻辑
that.model = Utils.copyValueFromVO(that.model, res.data);
// that.$refs.inftrnps.stmData.columns=res.data.trncorco_trnstm.rows
this.$refs.inftrnps.handleSearch();
//刷新页面后重置刷新状态为不刷新
this.$store.commit("setLoadingFreshReview", false)
});
}
},
},
};
</script>
......
......@@ -91,7 +91,9 @@ export default {
name: "TaskList",
created() {},
methods: {
tabClick(tab) {},
tabClick(tab) {
this.$store.commit("setTaskListTabVal", tab.name)
},
},
components: {
"t-sptsel": Sptsel,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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