Commit 60c04e19 by 373963566@qq.com

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 b2ce93e8 bc714b78
import Utils from "~/utils"
/**
* Dbbinf Check规则
*/
let checkObj = {
"recp.recgrp.dcl.paytype" :null,
"recp.recgrp.dcl.tc2amt" :null,
"recp.recgrp.dcl.tx2rem" :null,
"recp.recgrp.dcl.crtuser" :null,
"recp.recgrp.vrf.impdate" :null,
"recp.recgrp.bas.custnm" :null,
"recp.recgrp.vrf.invoino" :null,
"recp.recgrp.vrf.actiontype" :null,
"recp.recgrp.vrf.rptdate" :null,
"recp.recgrp.bas.custype" :null,
"recp.recgrp.bas.exrate" :null,
"recp.recgrp.bas.rptno" :null,
"recp.recgrp.bas.txccy" :null,
"recp.recgrp.bas.othamt" :null,
"recp.recgrp.bas.custcod" :null,
"recp.recgrp.dcl.txcode" :null,
"recp.recgrp.dcl.inptelc" :null,
"recp.recgrp.bas.othacc" :null,
"recp.recgrp.dcl.tc1amt" :null,
"recp.recgrp.bas.txamt" :null,
"recp.recgrp.vrf.inptelc" :null,
"recp.recgrp.bas.buscode" :null,
"recp.recgrp.dcl.actiontype" :null,
"recp.recgrp.bas.oppuser" :null,
"recp.recgrp.dcl.rptdate" :null,
"recp.recgrp.bas.actiontype" :null,
"recp.recgrp.vrf.contrno" :null,
"recp.recgrp.dcl.txcode2" :null,
"recp.recgrp.vrf.crtuser" :null,
"recp.recgrp.dcl.txrem" :null,
"recp.recgrp.bas.lcyacc" :null,
"recp.recgrp.bas.idcode" :null,
"recp.recgrp.vrf.cusmno" :null,
"recp.recgrp.dcl.isref" :null,
"recp.recgrp.bas.fcyamt" :null,
"recp.recgrp.bas.lcyamt" :null,
"recp.recgrp.bas.actiondesc" :null,
"recp.recgrp.dcl.country" :null,
"recp.recgrp.bas.fcyacc" :null,
"recp.recgrp.bas.methods" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbbinf Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recgrp.bas.methods" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recp.recgrp.bas.tmpref" :Utils.defaultFunction,
"recp.recgrp.bas.ownextkey" :Utils.defaultFunction,
"recp.recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"recp.recgrp.dcl.rptdate" :Utils.defaultFunction,
"recp.dclpp.acp" :Utils.defaultFunction,
"recp.recgrp.vrf.rptdate" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recp.recgrp.bas.custype" :Utils.defaultFunction,
"recp.recgrp.bas.rptno" :Utils.defaultFunction,
"recp.recgrp.bas.buscode" :Utils.defaultFunction,
"recp.recgrp.dcl.paytype" :Utils.defaultFunction,
"recp.recgrp.dcl.actiontype" :Utils.defaultFunction,
"recp.recgrp.dcl.crtuser" :Utils.defaultFunction,
"recp.recgrp.vrf.crtuser" :Utils.defaultFunction,
"recp.recgrp.bas.custcod" :Utils.defaultFunction,
"recp.recgrp.vrf.inptelc" :Utils.defaultFunction,
"recp.recgrp.dcl.inptelc" :Utils.defaultFunction,
"recp.recgrp.dcl.country" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutAdd(){
let rtnmsg = await this.executeRule("bopbut.add")
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 onButpExi(){
let rtnmsg = await this.executeRule("bopbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Sav(){
let rtnmsg = await this.executeRule("butp1.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Mod(){
let rtnmsg = await this.executeRule("butp1.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Chk(){
let rtnmsg = await this.executeRule("butp1.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Del(){
let rtnmsg = await this.executeRule("butp1.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Err(){
let rtnmsg = await this.executeRule("butp1.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Exi(){
let rtnmsg = await this.executeRule("butp1.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel1Selbut1(){
let rtnmsg = await this.executeRule("codsel1.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel1Selbut(){
let rtnmsg = await this.executeRule("codsel1.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel2Selbut(){
let rtnmsg = await this.executeRule("codsel2.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"ctlmod.dbl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"boptrn.bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recp.recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recp.recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recp.recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recp.recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recp.recgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.dcl.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recp.recgrp.dcl.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.dcl.actiontype":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recp.recgrp.dcl.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.dcl.ownextkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recp.recgrp.dcl.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recp.recgrp.dcl.country":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recp.recgrp.dcl.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recp.recgrp.dcl.tc1amt":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.dcl.txrem":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"recp.recgrp.dcl.tc2amt":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.dcl.txcode2":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recp.recgrp.dcl.tx2rem":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"recp.recgrp.dcl.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.dcl.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recp.recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.vrf.actiontype":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recp.recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.vrf.ownextkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recp.recgrp.vrf.impdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recp.recgrp.vrf.contrno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.cusmno":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recp.recgrp.vrf.invoino":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recp.recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recp.recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbbinf {
constructor() {
this.data = {
bopbut: {
boplabel: "", // 申报信息 .boptrn.bopbut.boplabel
acttyplab: "", // ACTTYP Label .boptrn.bopbut.acttyplab
basflg: "", // 基'⌒畔 .boptrn.bopbut.basflg
dclflg: "", // 申报信息 .boptrn.bopbut.dclflg
vrfflg: "", // 管理信息 .boptrn.bopbut.vrfflg
ackflg: "", // 申报无误 .boptrn.bopbut.ackflg
actiondesc: "", // 修改/删除原因 .boptrn.bopbut.actiondesc
acttyp: "", // 款项标志 .boptrn.bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
recp: {
baspp: {
cusnam: "", // .recp.baspp.cusnam
cornam: "", // .recp.baspp.cornam
corpnam: "", // .recp.baspp.corpnam
roptnam: "", // RoptNam .recp.baspp.roptnam
exratelab: "", // �'�汇/结汇汇率 .recp.baspp.exratelab
lcyamtlab: "", // �'�汇/结汇金额 .recp.baspp.lcyamtlab
acp: "", // 确认 .recp.baspp.acp
tmprefnew: "", // TMPREFLABEL .recp.baspp.tmprefnew
},
dclpp: {
paytype1: "", // 收款性�'� .recp.dclpp.paytype1
country1: "", // 收/付款人常驻国家/地区编码 .recp.dclpp.country1
isref1: "", // 是否出口核销项下收汇 .recp.dclpp.isref1
crtuser1: "", // 申报填报人 .recp.dclpp.crtuser1
inptelc1: "", // 申报填报人电话 .recp.dclpp.inptelc1
acp: "", // 确认 .recp.dclpp.acp
},
vrfpp: {
roptnam: "", // RoptNam .recp.vrfpp.roptnam
acp: "", // 确认 .recp.vrfpp.acp
},
},
recgrp: {
bas: {
tmpref: "", // �'时申报流�'号 .recp.recgrp.bas.tmpref
ownextkey: "", // 地区机构号 .recp.recgrp.bas.ownextkey
actiontype: "", // 操作类型 .recp.recgrp.bas.actiontype
rptno: "", // 申报号码 .recp.recgrp.bas.rptno
idcode: "", // 身份证件号码 .recp.recgrp.bas.idcode
lcyacc: "", // 人民币帐号/银行卡号 .recp.recgrp.bas.lcyacc
fcyamt: "", // 现汇金额 .recp.recgrp.bas.fcyamt
fcyacc: "", // 外汇帐号/银行卡号 .recp.recgrp.bas.fcyacc
othamt: "", // 其它金额 .recp.recgrp.bas.othamt
othacc: "", // 其它帐号/银行卡号 .recp.recgrp.bas.othacc
methods: "", // 结算方式 .recp.recgrp.bas.methods
buscode: "", // 银行业务编号 .recp.recgrp.bas.buscode
custype: "", // 类型 .recp.recgrp.bas.custype
actiondesc: "", // 操作类型 .recp.recgrp.bas.actiondesc
exrate: "", // �'�汇汇率 .recp.recgrp.bas.exrate
lcyamt: "", // �'�汇金额 .recp.recgrp.bas.lcyamt
custnm: "", // 汇款人名称 .recp.recgrp.bas.custnm
oppuser: "", // 收款人名称 .recp.recgrp.bas.oppuser
custcod: "", // 组织机构 .recp.recgrp.bas.custcod
txccy: "", // 汇款币种及金额 .recp.recgrp.bas.txccy
txamt: "", // 汇款币种及金额 .recp.recgrp.bas.txamt
},
dcl: {
tmpref: "", // 临时申报编号 .recp.recgrp.dcl.tmpref
ownextkey: "", // 地区机构号 .recp.recgrp.dcl.ownextkey
actiontype: "", // 操作类型 .recp.recgrp.dcl.actiontype
actiondesc: "", // 修改/删除原因 .recp.recgrp.dcl.actiondesc
rptno: "", // 申报号码 .recp.recgrp.dcl.rptno
paytype: "", // 付款类型 .recp.recgrp.dcl.paytype
tc1amt: "", // 相应金额1 .recp.recgrp.dcl.tc1amt
tc2amt: "", // 相应金额2 .recp.recgrp.dcl.tc2amt
tx2rem: "", // 交易附言2 .recp.recgrp.dcl.tx2rem
isref: "", // 是否进口核销项下收汇 .recp.recgrp.dcl.isref
crtuser: "", // 申请人 .recp.recgrp.dcl.crtuser
inptelc: "", // 申请人电话 .recp.recgrp.dcl.inptelc
rptdate: "", // 申报日期 .recp.recgrp.dcl.rptdate
txrem: "", // 交易附言1 .recp.recgrp.dcl.txrem
txcode: "", // 交易编码1 .recp.recgrp.dcl.txcode
txcode2: "", // 交易编码2 .recp.recgrp.dcl.txcode2
country: "", // 收款人常驻国家/地区编码 .recp.recgrp.dcl.country
},
vrf: {
contrno: "", // 合同号 .recp.recgrp.vrf.contrno
invoino: "", // 发票号 .recp.recgrp.vrf.invoino
regno: "", // 外汇局批件/备案表号 .recp.recgrp.vrf.regno
cusmno: "", // 报关单经营单位编码 .recp.recgrp.vrf.cusmno
tmpref: "", // 临时申报编号 .recp.recgrp.vrf.tmpref
ownextkey: "", // 地区机构号 .recp.recgrp.vrf.ownextkey
actiontype: "", // 操作类型 .recp.recgrp.vrf.actiontype
actiondesc: "", // 修改/删除原因 .recp.recgrp.vrf.actiondesc
rptno: "", // RoptNam .recp.recgrp.vrf.rptno
crtuser: "", // 填报人 .recp.recgrp.vrf.crtuser
inptelc: "", // 填报人电话 .recp.recgrp.vrf.inptelc
rptdate: "", // 申报日期 .recp.recgrp.vrf.rptdate
impdate: "", // 最迟装运日期 .recp.recgrp.vrf.impdate
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -4,45 +4,29 @@ import Utils from "~/utils"
* Dbeinf Check规则
*/
let checkObj = {
"recp.recgrp.vrf.tc1amt" :null,
"bopbut.ctlmod.wrkdbl.trdtyp" :null,
"recp.recgrp.vrf.impdate" :null,
"recp.recgrp.bas.custnm" :null,
"recp.recgrp.vrf.invoino" :null,
"recp.recgrp.vrf.actiontype" :null,
"recp.recgrp.vrf.txcode" :null,
"recp.recgrp.vrf.rptdate" :null,
"recp.recgrp.bas.custype" :null,
"recp.recgrp.vrf.country" :null,
"recp.recgrp.bas.exrate" :null,
"recp.recgrp.bas.oppacc" :null,
"recp.recgrp.bas.rptno" :null,
"recp.recgrp.bas.txccy" :null,
"recp.recgrp.bas.othamt" :null,
"recp.recgrp.vrf.payattr" :null,
"recp.recgrp.vrf.txcode2" :null,
"recp.recgrp.bas.custcod" :null,
"recp.recgrp.bas.othacc" :null,
"recp.recgrp.vrf.tc2amt" :null,
"recgrp.bas.othamt" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.custnm" :null,
"recgrp.bas.rptno" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.exrate" :null,
"recgrp.bas.oppacc" :null,
"bopbut.acttyp" :null,
"recp.recgrp.bas.txamt" :null,
"recp.recgrp.vrf.inptelc" :null,
"recp.recgrp.bas.buscode" :null,
"recp.recgrp.bas.oppuser" :null,
"recp.recgrp.bas.actiontype" :null,
"recp.recgrp.vrf.contrno" :null,
"recp.recgrp.vrf.crtuser" :null,
"recp.recgrp.bas.lcyacc" :null,
"recp.recgrp.bas.idcode" :null,
"recp.recgrp.vrf.paytype" :null,
"recp.recgrp.vrf.cusmno" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.bas.custype" :null,
"bopbut.paydat" :null,
"recp.recgrp.bas.fcyamt" :null,
"recp.recgrp.bas.lcyamt" :null,
"recp.recgrp.bas.actiondesc" :null,
"recp.recgrp.bas.fcyacc" :null,
"recp.recgrp.vrf.isref" :null,
"recp.recgrp.bas.methods" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
"recgrp.bas.methods" :null,
}
for (const key in checkObj) {
......
......@@ -6,21 +6,17 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.recgrp.bas.tmpref" :Utils.defaultFunction,
"recgrp.bas.tmpref" :Utils.defaultFunction,
"recgrp.bas.buscode" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recp.recgrp.bas.ownextkey" :Utils.defaultFunction,
"recp.recgrp.bas.custype" :Utils.defaultFunction,
"recp.recgrp.vrf.paytype" :Utils.defaultFunction,
"recp.recgrp.bas.rptno" :Utils.defaultFunction,
"recp.recgrp.bas.buscode" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"recp.recgrp.vrf.country" :Utils.defaultFunction,
"recp.recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -86,8 +86,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Sav(){
let rtnmsg = await this.executeRule("butp1.sav")
async onButpSav(){
let rtnmsg = await this.executeRule("butp.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -98,8 +98,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Mod(){
let rtnmsg = await this.executeRule("butp1.mod")
async onButpMod(){
let rtnmsg = await this.executeRule("butp.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -134,44 +134,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Chk(){
let rtnmsg = await this.executeRule("butp1.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Del(){
let rtnmsg = await this.executeRule("butp1.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Err(){
let rtnmsg = await this.executeRule("butp1.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Exi(){
let rtnmsg = await this.executeRule("butp1.exi")
async onButpChk(){
let rtnmsg = await this.executeRule("butp.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -182,8 +146,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel1Selbut(){
let rtnmsg = await this.executeRule("codsel1.selbut")
async onButpDel(){
let rtnmsg = await this.executeRule("butp.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -194,8 +158,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel2Selbut(){
let rtnmsg = await this.executeRule("codsel2.selbut")
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -206,8 +170,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel1Selbut1(){
let rtnmsg = await this.executeRule("codsel1.selbut1")
async onButpExi(){
let rtnmsg = await this.executeRule("butp.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -24,11 +24,11 @@ export default {
"recp.recgrp.bas.rptno":[
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.bas.tmpref":[
"recgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
......@@ -37,143 +37,69 @@ export default {
"recp.recgrp.bas.actiondesc":[
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.buscode":[
"recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.bas.custcod":[
"recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recp.recgrp.bas.custnm":[
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recp.recgrp.bas.oppuser":[
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recp.recgrp.bas.idcode":[
"recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.exrate":[
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recp.recgrp.bas.lcyamt":[
"recgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.lcyacc":[
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.fcyamt":[
"recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.fcyacc":[
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.othamt":[
"recgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.othacc":[
"recgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.txamt":[
"recgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.oppacc":[
"recgrp.bas.oppacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.vrf.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recp.recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.vrf.actiontype":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recp.recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.vrf.ownextkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recp.recgrp.vrf.tc1amt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recp.recgrp.vrf.tc2amt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.vrf.txcode2":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recp.recgrp.vrf.country":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recp.recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.impdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recp.recgrp.vrf.contrno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.invoino":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recp.recgrp.vrf.cusmno":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recp.recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recp.recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
}
\ No newline at end of file
......@@ -7,11 +7,6 @@ export default class Dbeinf{
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .bopbut.ctlmod.wrkdbl.trdtyp
},
},
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
......@@ -20,6 +15,11 @@ export default class Dbeinf{
paydat:"", // 收付汇日期 .bopbut.paydat
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
},
recp:{
baspp:{
cusnam:"", // .recp.baspp.cusnam
......@@ -31,58 +31,31 @@ export default class Dbeinf{
acp:"", // 确认 .recp.baspp.acp
tmprefnew:"", // TMPREFLABEL .recp.baspp.tmprefnew
},
recgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .recp.recgrp.bas.tmpref
ownextkey:"", // 地区机构号 .recp.recgrp.bas.ownextkey
actiontype:"", // 操作类型 .recp.recgrp.bas.actiontype
rptno:"", // 申报号码 .recp.recgrp.bas.rptno
idcode:"", // 身份证件号码 .recp.recgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .recp.recgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .recp.recgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .recp.recgrp.bas.fcyacc
othamt:"", // 其它金额 .recp.recgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .recp.recgrp.bas.othacc
methods:"", // 结算方式 .recp.recgrp.bas.methods
buscode:"", // 银行业务编号 .recp.recgrp.bas.buscode
custype:"", // 类型 .recp.recgrp.bas.custype
actiondesc:"", // 操作类型 .recp.recgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .recp.recgrp.bas.exrate
lcyamt:"", // �'�汇金额 .recp.recgrp.bas.lcyamt
custnm:"", // 汇款人名称 .recp.recgrp.bas.custnm
oppuser:"", // 收款人名称 .recp.recgrp.bas.oppuser
custcod:"", // 组织机构 .recp.recgrp.bas.custcod
txccy:"", // 汇款币种和金额 .recp.recgrp.bas.txccy
txamt:"", // 汇款币种和金额 .recp.recgrp.bas.txamt
oppacc:"", // 收款人账号 .recp.recgrp.bas.oppacc
},
vrf:{
tmpref:"", // 临时申报编号 .recp.recgrp.vrf.tmpref
ownextkey:"", // 地区机构号 .recp.recgrp.vrf.ownextkey
actiontype:"", // 操作类型 .recp.recgrp.vrf.actiontype
actiondesc:"", // 修改/删除原因 .recp.recgrp.vrf.actiondesc
rptno:"", // RoptNam .recp.recgrp.vrf.rptno
crtuser:"", // 填报人 .recp.recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recp.recgrp.vrf.inptelc
rptdate:"", // 申报日期 .recp.recgrp.vrf.rptdate
isref:"", // 是否进口核销项下付款 .recp.recgrp.vrf.isref
payattr:"", // 付汇性�'� .recp.recgrp.vrf.payattr
paytype:"", // 付款类型 .recp.recgrp.vrf.paytype
tc1amt:"", // 相应金额1 .recp.recgrp.vrf.tc1amt
tc2amt:"", // 相应金额2 .recp.recgrp.vrf.tc2amt
impdate:"", // 最迟装运日期 .recp.recgrp.vrf.impdate
contrno:"", // 合同号 .recp.recgrp.vrf.contrno
invoino:"", // 发票号 .recp.recgrp.vrf.invoino
cusmno:"", // 报关单经营单位编码 .recp.recgrp.vrf.cusmno
txcode:"", // 交易编码1 .recp.recgrp.vrf.txcode
txcode2:"", // 交易编码2 .recp.recgrp.vrf.txcode2
country:"", // 收款人常驻国家/地区编码 .recp.recgrp.vrf.country
regno:"", // 外汇局批件/备案表号 .recp.recgrp.vrf.regno
},
},
vrfpp:{
roptnam:"", // RoptNam .recp.vrfpp.roptnam
acp:"", // 确认 .recp.vrfpp.acp
},
recgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .recgrp.bas.tmpref
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiontype:"", // 操作类型 .recgrp.bas.actiontype
rptno:"", // 申报号码 .recgrp.bas.rptno
idcode:"", // 身份证件号码 .recgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .recgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .recgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .recgrp.bas.fcyacc
othamt:"", // 其它金额 .recgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .recgrp.bas.othacc
methods:"", // 结算方式 .recgrp.bas.methods
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 类型 .recgrp.bas.custype
actiondesc:"", // 操作类型 .recgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .recgrp.bas.exrate
lcyamt:"", // �'�汇金额 .recgrp.bas.lcyamt
custnm:"", // 汇款人名称 .recgrp.bas.custnm
oppuser:"", // 收款人名称 .recgrp.bas.oppuser
custcod:"", // 组织机构 .recgrp.bas.custcod
txccy:"", // 汇款币种和金额 .recgrp.bas.txccy
txamt:"", // 汇款币种和金额 .recgrp.bas.txamt
oppacc:"", // 收款人账号 .recgrp.bas.oppacc
},
},
pageId: "" // ctx的key
......
import Utils from "~/utils"
/**
* Dbfadd Check规则
*/
let checkObj = {
"recgrp.bas.othamt" :null,
"recgrp.bas.outchargeamt" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.lcbgno" :null,
"recgrp.bas.custnm" :null,
"recgrp.bas.rptno" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.actuamt" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.bas.tenor" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.bas.actuccy" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.bas.custype" :null,
"recgrp.bas.outchargeccy" :null,
"bopbut.paydat" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
"recgrp.bas.issdate" :null,
"recgrp.bas.methods" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbfadd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recgrp.bas.methods" :Utils.defaultFunction,
"recgrp.bas.tmpref" :Utils.defaultFunction,
"recgrp.bas.buscode" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onButpSav(){
let rtnmsg = await this.executeRule("butp.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)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpMod(){
let rtnmsg = await this.executeRule("butp.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpChk(){
let rtnmsg = await this.executeRule("butp.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpDel(){
let rtnmsg = await this.executeRule("butp.del")
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 onButpExi(){
let rtnmsg = await this.executeRule("butp.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpSav(){
let rtnmsg = await this.executeRule("butp.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpMod(){
let rtnmsg = await this.executeRule("butp.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpChk(){
let rtnmsg = await this.executeRule("butp.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpDel(){
let rtnmsg = await this.executeRule("butp.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutAdd(){
let rtnmsg = await this.executeRule("bopbut.add")
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 onButpExi(){
let rtnmsg = await this.executeRule("butp.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.actuamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.issdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.lcbgno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.bas.tenor":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"bopbut.paydat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbfadd{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // .recp.baspp.cusnam
cornam:"", // .recp.baspp.cornam
corpnam:"", // .recp.baspp.corpnam
roptnam:"", // RoptNam .recp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .recp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .recp.baspp.lcyamtlab
acp:"", // 确认 .recp.baspp.acp
tmprefnew:"", // TMPREFLABEL .recp.baspp.tmprefnew
},
},
recgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .recgrp.bas.tmpref
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiontype:"", // 操作类型 .recgrp.bas.actiontype
rptno:"", // 申报号码 .recgrp.bas.rptno
idcode:"", // 身份证件号码 .recgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .recgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .recgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .recgrp.bas.fcyacc
othamt:"", // 其它金额 .recgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .recgrp.bas.othacc
methods:"", // 结算方式 .recgrp.bas.methods
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 类型 .recgrp.bas.custype
actiondesc:"", // 操作类型 .recgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .recgrp.bas.exrate
lcyamt:"", // �'�汇金额 .recgrp.bas.lcyamt
custnm:"", // 收款人名称 .recgrp.bas.custnm
oppuser:"", // 付款人名称 .recgrp.bas.oppuser
custcod:"", // 组织机构 .recgrp.bas.custcod
txccy:"", // 付款币种及金额 .recgrp.bas.txccy
txamt:"", // 付款币种及金额 .recgrp.bas.txamt
actuccy:"", // 实际付款币种及金额 .recgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .recgrp.bas.actuamt
outchargeccy:"", // 扣费币种及金额 .recgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .recgrp.bas.outchargeamt
issdate:"", // 开证日期 .recgrp.bas.issdate
tenor:"", // 期限 .recgrp.bas.tenor
lcbgno:"", // 信用证/保函编号 .recgrp.bas.lcbgno
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
paydat:"", // 收付汇日期 .bopbut.paydat
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -4,46 +4,31 @@ import Utils from "~/utils"
* Dbfinf Check规则
*/
let checkObj = {
"recgrp.vrf.txcode2" :null,
"recgrp.bas.othamt" :null,
"recgrp.bas.outchargeamt" :null,
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.lcbgno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.tc2amt" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.bas.txccy" :null,
"recgrp.vrf.country" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.vrf.payattr" :null,
"recgrp.bas.actuamt" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.vrf.paytype" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.bas.tenor" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.vrf.contrno" :null,
"recgrp.bas.custcod" :null,
"recgrp.vrf.isref" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.vrf.invoino" :null,
"recgrp.bas.actuccy" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.tc1amt" :null,
"recgrp.vrf.impdate" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.bas.outchargeccy" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
"recgrp.bas.issdate" :null,
......
......@@ -15,11 +15,8 @@ export default {
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recgrp.vrf.country" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
......
......@@ -182,41 +182,5 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel1Selbut(){
let rtnmsg = await this.executeRule("codsel1.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel2Selbut(){
let rtnmsg = await this.executeRule("codsel2.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel1Selbut1(){
let rtnmsg = await this.executeRule("codsel1.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -115,80 +115,4 @@ export default {
{max: 10,message:"长度不能超过10"}
],
"recgrp.vrf.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiontype":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.ownextkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.vrf.tc1amt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.txcode2":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.tc2amt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.impdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.invoino":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.vrf.contrno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.contamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.billno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.country":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
}
\ No newline at end of file
......@@ -33,10 +33,6 @@ export default class Dbfinf{
acp:"", // 确认 .recp.baspp.acp
tmprefnew:"", // TMPREFLABEL .recp.baspp.tmprefnew
},
vrfpp:{
roptnam:"", // RoptNam .recp.vrfpp.roptnam
acp:"", // 确认 .recp.vrfpp.acp
},
},
recgrp:{
bas:{
......@@ -69,30 +65,6 @@ export default class Dbfinf{
tenor:"", // 期限 .recgrp.bas.tenor
lcbgno:"", // 信用证/保函编号 .recgrp.bas.lcbgno
},
vrf:{
tmpref:"", // 临时申报编号 .recgrp.vrf.tmpref
ownextkey:"", // 地区机构号 .recgrp.vrf.ownextkey
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 修改/删除原因 .recgrp.vrf.actiondesc
rptno:"", // RoptNam .recgrp.vrf.rptno
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
payattr:"", // 付汇性质 .recgrp.vrf.payattr
paytype:"", // 付款类型 .recgrp.vrf.paytype
tc1amt:"", // 相应金额1 .recgrp.vrf.tc1amt
tc2amt:"", // 相应金额2 .recgrp.vrf.tc2amt
impdate:"", // 最迟装运日期 .recgrp.vrf.impdate
contrno:"", // 合同号 .recgrp.vrf.contrno
invoino:"", // 发票号 .recgrp.vrf.invoino
billno:"", // 提运单号 .recgrp.vrf.billno
contamt:"", // 合同金额 .recgrp.vrf.contamt
txcode:"", // 交易编码1 .recgrp.vrf.txcode
txcode2:"", // 交易编码2 .recgrp.vrf.txcode2
country:"", // 收款人常驻国家/地区编码 .recgrp.vrf.country
isref:"", // 是否进口核销项下付款 .recgrp.vrf.isref
regno:"", // 外汇局批件/备案表号 .recgrp.vrf.regno
},
},
pageId: "" // ctx的key
}
......
import Utils from "~/utils"
/**
* Dbjadd Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.fcyccy" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.vrf.usetype" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.vrf.usedetail" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbjadd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.baspp.acp" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutAdd(){
let rtnmsg = await this.executeRule("bopbut.add")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.usedetail":[
{type: "string", required: true, message: "必输项"},
{max: 100,message:"长度不能超过100"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"ctlmod.dbl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbjadd{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
},
recgrp:{
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 结汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 人民币帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // 结汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 人民币收款人名称 .recgrp.bas.oppuser
custcod:"", // 结汇申请人组织机构代码 .recgrp.bas.custcod
exrate:"", // 汇率 .recgrp.bas.exrate
fcyccy:"", // 结汇币种及金额 .recgrp.bas.fcyccy
fcyamt:"", // 结汇币种及金额 .recgrp.bas.fcyamt
},
vrf:{
regno:"", // 交易编码 .recgrp.vrf.regno
usetype:"", // 结汇用途 .recgrp.vrf.usetype
usedetail:"", // 结汇详细用途 .recgrp.vrf.usedetail
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbjame Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.fcyccy" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.vrf.usetype" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.vrf.usedetail" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbjame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.baspp.acp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutAdd(){
let rtnmsg = await this.executeRule("bopbut.add")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.usedetail":[
{type: "string", required: true, message: "必输项"},
{max: 100,message:"长度不能超过100"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"ctlmod.dbl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbjame{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
},
recgrp:{
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 结汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 人民币帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // 结汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 人民币收款人名称 .recgrp.bas.oppuser
custcod:"", // 结汇申请人组织机构代码 .recgrp.bas.custcod
exrate:"", // 汇率 .recgrp.bas.exrate
fcyccy:"", // 结汇币种及金额 .recgrp.bas.fcyccy
fcyamt:"", // 结汇币种及金额 .recgrp.bas.fcyamt
},
vrf:{
regno:"", // 交易编码 .recgrp.vrf.regno
usetype:"", // 结汇用途 .recgrp.vrf.usetype
usedetail:"", // 结汇详细用途 .recgrp.vrf.usedetail
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbjdel Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.fcyccy" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.vrf.usetype" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.vrf.usedetail" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbjdel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.baspp.acp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutAdd(){
let rtnmsg = await this.executeRule("bopbut.add")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.usedetail":[
{type: "string", required: true, message: "必输项"},
{max: 100,message:"长度不能超过100"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"ctlmod.dbl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbjdel{
constructor () {
this.data = {
recgrp:{
vrf:{
regno:"", // 交易编码 .recgrp.vrf.regno
usetype:"", // 结汇用途 .recgrp.vrf.usetype
usedetail:"", // 结汇详细用途 .recgrp.vrf.usedetail
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 结汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 人民币帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // 结汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 人民币收款人名称 .recgrp.bas.oppuser
custcod:"", // 结汇申请人组织机构代码 .recgrp.bas.custcod
exrate:"", // 汇率 .recgrp.bas.exrate
fcyccy:"", // 结汇币种及金额 .recgrp.bas.fcyccy
fcyamt:"", // 结汇币种及金额 .recgrp.bas.fcyamt
},
},
recp:{
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbwadd Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.lcyccy" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbwadd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recgrp.bas.ownextkey" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutAdd(){
let rtnmsg = await this.executeRule("bopbut.add")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"ctlmod.dbl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbwadd{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
},
recgrp:{
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // �'�汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 外汇帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // �'�汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 外汇收款人名称 .recgrp.bas.oppuser
custcod:"", // �'�汇申请人组织机构代码 .recgrp.bas.custcod
lcyamt:"", // 购汇金额(人民币) .recgrp.bas.lcyamt
exrate:"", // 汇率 .recgrp.bas.exrate
lcyccy:"", // 购汇币种 .recgrp.bas.lcyccy
},
vrf:{
regno:"", // 外汇局批件号/备 .recgrp.vrf.regno
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbwame Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.lcyccy" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbwame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.baspp.acp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutAdd(){
let rtnmsg = await this.executeRule("bopbut.add")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"ctlmod.dbl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbwame{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
},
recgrp:{
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // �'�汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 外汇帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // �'�汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 外汇收款人名称 .recgrp.bas.oppuser
custcod:"", // �'�汇申请人组织机构代码 .recgrp.bas.custcod
lcyamt:"", // 购汇金额(人民币) .recgrp.bas.lcyamt
exrate:"", // 汇率 .recgrp.bas.exrate
lcyccy:"", // 购汇币种 .recgrp.bas.lcyccy
},
vrf:{
regno:"", // 外汇局批件号/备 .recgrp.vrf.regno
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbwdel Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.lcyccy" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbwdel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.baspp.acp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutAdd(){
let rtnmsg = await this.executeRule("bopbut.add")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"ctlmod.dbl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbwdel{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
},
recgrp:{
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // �'�汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 外汇帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // �'�汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 外汇收款人名称 .recgrp.bas.oppuser
custcod:"", // �'�汇申请人组织机构代码 .recgrp.bas.custcod
lcyamt:"", // 购汇金额(人民币) .recgrp.bas.lcyamt
exrate:"", // 汇率 .recgrp.bas.exrate
lcyccy:"", // 购汇币种 .recgrp.bas.lcyccy
},
vrf:{
regno:"", // 外汇局批件号/备 .recgrp.vrf.regno
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -109,7 +109,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单时放弃向代收行收取费用的权力" prop="bcdgrp.rec.waicolcod">
<el-form-item label-width="140px" label="交单时是否放弃向代收行收取费用的权力" prop="bcdgrp.rec.waicolcod">
<c-select disabled v-model="model.bcdgrp.rec.waicolcod" style="width:100%"
placeholder="请选择交单时是否放弃向代收行收取费用的权力">
<el-option v-for="item in codes.waicod" :key="item.value" :label="item.label"
......@@ -119,7 +119,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="放单时放弃向托收行收取费用的权力" prop="bcdgrp.rec.wairmtcod">
<el-form-item label-width="140px" label="放单时是否放弃向托收行收取费用的权力" prop="bcdgrp.rec.wairmtcod">
<c-select disabled v-model="model.bcdgrp.rec.wairmtcod" style="width:100%"
placeholder="请选择放单时是否放弃向托收行收取费用的权力">
<el-option v-for="item in codes.waicod" :key="item.value" :label="item.label"
......
<template>
<div class="eibs-tab">
<c-col :span="11">
<div class="eibs">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-form-item label="借记记账账号" prop="trnmod.cipmod.dafnzh">
<c-input
......@@ -248,7 +248,7 @@
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-form-item label="借记记账名称" prop="trnmod.cipmod.dafnmc">
<c-input
......
<template>
<div class="eibs-tab">
<!-- SG000227 : 收款直接参与者行号 -->
<c-col :span="12">
<div class="eibs">
<!-- ------------------左侧------------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-form-item :label="$t('trnmod.SG000227')" prop="trnmod.reconebch">
<c-input v-model="model.trnmod.reconebch" maxlength="35" :placeholder="$t('other.please_enter')+$t('trnmod.SG000227')"></c-input>
</c-form-item>
</c-col>
<!-- SG000228 : 收款直接参与者名称 -->
<c-col :span="12">
<c-form-item :label="$t('trnmod.SG000228')" prop="trnmod.reconebchnam">
<c-input type="textarea" v-model="model.trnmod.reconebchnam" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('trnmod.SG000228')" ></c-input>
<c-input v-model="model.trnmod.reconebch" maxlength="35" :placeholder="$t('other.please_enter')+$t('trnmod.SG000227')"></c-input>
</c-form-item>
</c-col>
<!-- SG000229 : 附言 -->
<c-col :span="12">
</c-col>
<c-col :span="24">
<c-form-item label="附言" prop="trnmod.commen">
<c-input type="textarea" v-model="model.trnmod.commen" maxlength="30" show-word-limit :placeholder="$t('other.please_enter')+'附言'" ></c-input>
<c-input type="textarea" v-model="model.trnmod.commen" maxlength="30" show-word-limit :placeholder="$t('other.please_enter')+'附言'" ></c-input>
</c-form-item>
</c-col>
<!-- SG000230 : 业务种类 -->
<c-col :span="12">
</c-col>
</c-col>
<!-- ------------------右侧------------------>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-form-item :label="$t('trnmod.SG000228')" prop="trnmod.reconebchnam">
<c-input type="textarea" v-model="model.trnmod.reconebchnam" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('trnmod.SG000228')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务种类" prop="trnmod.bustyp">
<c-select v-model="model.trnmod.bustyp"
:code="codes.bustyp"
style="width:100%" :placeholder="$t('other.please_enter')+'业务种类'">
</c-select>
<c-select v-model="model.trnmod.bustyp"
:code="codes.bustyp"
style="width:100%" :placeholder="$t('other.please_enter')+'业务种类'">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- SG000227 : 收款直接参与者行号 -->
<!-- <c-col :span="12" style="padding-right: 20px">-->
<!-- <c-form-item :label="$t('trnmod.SG000227')" prop="trnmod.reconebch">-->
<!-- <c-input v-model="model.trnmod.reconebch" maxlength="35" :placeholder="$t('other.please_enter')+$t('trnmod.SG000227')"></c-input>-->
<!-- </c-form-item>-->
<!-- </c-col>-->
<!-- &lt;!&ndash; SG000228 : 收款直接参与者名称 &ndash;&gt;-->
<!-- -->
<!-- <c-col :span="12" style="padding-left: 20px">-->
<!-- <c-form-item :label="$t('trnmod.SG000228')" prop="trnmod.reconebchnam">-->
<!-- <c-input type="textarea" v-model="model.trnmod.reconebchnam" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('trnmod.SG000228')" ></c-input>-->
<!-- </c-form-item>-->
<!-- </c-col>-->
<!-- &lt;!&ndash; SG000229 : 附言 &ndash;&gt;-->
<!-- -->
<!-- <c-col :span="12">-->
<!-- <c-form-item label="附言" prop="trnmod.commen">-->
<!-- <c-input type="textarea" v-model="model.trnmod.commen" maxlength="30" show-word-limit :placeholder="$t('other.please_enter')+'附言'" ></c-input>-->
<!-- </c-form-item>-->
<!-- </c-col>-->
<!-- &lt;!&ndash; SG000230 : 业务种类 &ndash;&gt;-->
<!-- -->
<!-- <c-col :span="12">-->
<!-- <el-form-item label="业务种类" prop="trnmod.bustyp">-->
<!-- <c-select v-model="model.trnmod.bustyp" -->
<!-- :code="codes.bustyp"-->
<!-- style="width:100%" :placeholder="$t('other.please_enter')+'业务种类'">-->
<!-- </c-select>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
</div>
</template>
<script>
......
......@@ -7,21 +7,25 @@
<m-wg :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="融资款项" name="rzkx" v-if="model.trtcre.crefinflg">
<!-- v-if="model.trtcre.crefinflg"-->
<el-collapse-item title="融资款项" name="rzkx" v-model="model.trtcre.crefinflg">
<m-rzkx :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="对外付款/承兑通知书-基础信息" name="basp"
v-if="(this.model.bopmod.basflg == 'X' && this.model.bopmod.szflg == '1')">
<!-- v-if="(this.model.bopmod.basflg == 'X' && this.model.bopmod.szflg == '1')"-->
<el-collapse-item title="对外付款/承兑通知书-基础信息" name="basp" v-if="(this.model.bopmod.basflg == 'X' && this.model.bopmod.szflg == '1')"
>
<!-- 当事人 -->
<m-basp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="境内付款/承兑通知书-基础信息" name="basp1"
v-if="(this.model.bopmod.basflg == 'X' && this.model.bopmod.szflg == '2')">
<!-- v-if="(this.model.bopmod.basflg == 'X' && this.model.bopmod.szflg == '2')"-->
<el-collapse-item title="境内付款/承兑通知书-基础信息" name="basp1" v-if="(this.model.bopmod.basflg == 'X' && this.model.bopmod.szflg == '2')"
>
<!-- 当事人 -->
<m-basp1 :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="model.trtcre.crefinflg"-->
<el-collapse-item title="定向收付" name="dxzfp" v-if="model.trtcre.crefinflg">
<!-- 货物 -->
<m-dxzfp :model="model" :codes="codes" />
......@@ -30,6 +34,7 @@
<!-- 单据 -->
<m-cnyp :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="model.cnybop.outflg == '1'"-->
<el-collapse-item title="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg == '1'">
<!-- 附加条款 -->
<m-outp :model="model" :codes="codes" />
......@@ -39,11 +44,13 @@
<m-cfactlp :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="model.trnmod.cmtflg=='P'"-->
<el-collapse-item title="Cips" name="cips" v-if="model.trnmod.cmtflg=='P'">
<!-- 货物 -->
<m-cips :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="model.trnmod.cmtflg=='P'"-->
<el-collapse-item title="Cips要素" name="cips2" v-if="model.trnmod.cmtflg=='P'">
<!-- 货物 -->
<m-cips2 :model="model" :codes="codes" />
......
<template>
<div class="eibs-tab">
<div class="eibs">
<!-- SG000148 : 收款账号 -->
<c-col :span="12">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-form-item label="收款人账号" prop="trtcre.trdgrp.rec.recaccount">
<c-input v-model="model.trtcre.trdgrp.rec.recaccount" maxlength="35" placeholder=""></c-input>
......@@ -16,19 +16,19 @@
</c-form-item>
</c-col>
<c-col :span="20">
<c-col :span="24">
<c-form-item label="收款人国别代码" prop="trtcre.trdgrp.rec.reccountrycode">
<c-fullbox>
<c-input v-model="model.trtcre.trdgrp.rec.reccountrycode" maxlength="3" placeholder=""
@keyup.enter.native="showGridPromptDialog('trtcre.trdgrp.rec.reccountrycode')"
@keyup.enter.native="showGridPromptDialog('trtcre.trdgrp.rec.reccountrycode')"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onRecctySelbut1">
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onRecctySelbut1">
</c-button>
</c-col>
<!-- SG000150 : 收款人国别代码 -->
<!-- SG000151 : 收款人国内地区码 -->
......@@ -45,9 +45,11 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctset/Event"
import T23E from "@/widget/SwfMessage/Tags/T23E";
export default {
inject: ['root'],
components: {T23E},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
......
<template>
<div>
<div class="eibs">
<!-- ------------------Left------------------>
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnyout.spk">
<c-input
......@@ -41,25 +41,24 @@
<c-col :span="24">
<el-form-item
label="收款人常驻国家/地区编号"
prop="cnybop.cnyout.spayercountrycode"
label="收款人常驻国家/地区编号"
prop="cnybop.cnyout.spayercountrycode"
>
<c-col :span="20">
<c-fullbox>
<c-input
v-model="model.cnybop.cnyout.spayercountrycode"
maxlength="3"
placeholder=""
@keyup.enter.native="
v-model="model.cnybop.cnyout.spayercountrycode"
maxlength="3"
placeholder=""
@keyup.enter.native="
showGridPromptDialog('cnybop.cnyout.spayercountrycode')
"
></c-input>
</c-col>
<c-col :span="4" style="text-align: right">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="
showGridPromptDialog(
'cnybop.outcty',
null,
......@@ -69,8 +68,9 @@
'doxpDialog'
)
"
></c-button>
</c-col>
></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
......@@ -190,7 +190,7 @@
</c-col>
<!-- ------------------Right------------------>
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item
label="银行业务编号"
......
......@@ -6,16 +6,19 @@
<m-bctsus :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="model.trtcre.crefinflg != ''"-->
<el-collapse-item title="创建融资" name="trtcrep" v-if="model.trtcre.crefinflg != ''">
<!-- 详情 -->
<m-trtcrep :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="model.trtcre.trtmod.finmod.dinjdm != '' && model.trtcre.crefinflg !=''"-->
<el-collapse-item title="定价系统" name="dinpan" v-if="model.trtcre.trtmod.finmod.dinjdm != '' && model.trtcre.crefinflg !=''">
<!-- 当事人 -->
<m-dinpan :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="model.dftcre.dfflag"-->
<el-collapse-item title="同业代付" name="dftcrep" v-if="model.dftcre.dfflag">
<!-- 货物 -->
<m-dftcrep :model="model" :codes="codes" />
......
<!--D,显示rz1-->
<template>
<div class="eibs-tab">
<div>
<c-col :span="24" style="height: 24px">
<el-form-item label="我行已将上述融资款项" class="messageLabel"></el-form-item>
<div class="eibs">
<c-col :span="24" style="height: 24px">
<el-form-item label="我行已将上述融资款项" label-width="150px" class="messageLabel"></el-form-item>
</c-col>
<!-- ------------------左部------------------>
<!-- <c-col :span="12" style="padding-right: 20px">-->
<!-- <c-col :span="24">-->
<!-- <c-form-item style="float: left">-->
<!-- <c-checkbox v-model="model.financ.rzkx1">贷记贵司指定账户</c-checkbox>-->
<!-- </c-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="24">-->
<!-- <c-form-item style="float: left">-->
<!-- <c-checkbox v-model="model.financ.rzkx2">支付进口信用证项下款项</c-checkbox>-->
<!-- </c-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="24">-->
<!-- <c-form-item style="float: left">-->
<!-- <c-checkbox v-model="model.financ.rzkx3">支付进口代收项下款项</c-checkbox>-->
<!-- </c-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="24">-->
<!-- <c-form-item style="float: left">-->
<!-- <c-checkbox v-model="model.financ.rzkx4">支付汇出汇款项下款项</c-checkbox>-->
<!-- </c-form-item>-->
<!-- </c-col>-->
<!-- </c-col>-->
<!-- &lt;!&ndash; &#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;右部&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&ndash;&gt;-->
<!-- <c-col :span="12" style="padding-left: 20px">-->
<!-- <c-col :span="24">-->
<!-- <el-form-item label="帐号:" prop="financ.acc" >-->
<!-- <c-input v-model="model.financ.acc" maxlength="40" placeholder="请输入帐号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="24">-->
<!-- <el-form-item label="业务编号" prop="financ.ref2">-->
<!-- <c-input v-model="model.financ.ref2" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="24">-->
<!-- <el-form-item label="业务编号" prop="financ.ref3">-->
<!-- <c-input v-model="model.financ.ref3" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="24">-->
<!-- <el-form-item label="业务编号" prop="financ.ref4">-->
<!-- <c-input v-model="model.financ.ref4" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!-- </c-col>-->
<div>
<!-- <c-col :span="24" style="height: 24px">-->
<!-- <el-form-item label="我行已将上述融资款项" class="messageLabel"></el-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="24" style="height: 0px">-->
<!-- <el-divider></el-divider>-->
<!-- </c-col>-->
<!-- <br><br>-->
<c-row>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx1">贷记贵司指定账户</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="帐号:" prop="financ.acc" >
<c-input v-model="model.financ.acc" maxlength="40" placeholder="请输入帐号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx2">支付进口信用证项下款项</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="业务编号" prop="financ.ref2">
<c-input v-model="model.financ.ref2" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx3">支付进口代收项下款项</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="业务编号" prop="financ.ref3">
<c-input v-model="model.financ.ref3" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx4">支付汇出汇款项下款项</c-checkbox>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
<c-col :span="12">
<el-form-item label="业务编号" prop="financ.ref4">
<c-input v-model="model.financ.ref4" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
</el-form-item>
</c-col>
<br><br>
<c-row>
<c-col :span="12">
<c-checkbox v-model="model.financ.rzkx1">贷记贵司指定账户</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="帐号:" prop="financ.acc" >
<c-input v-model="model.financ.acc" maxlength="40" placeholder="请输入帐号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<c-checkbox v-model="model.financ.rzkx2">支付进口信用证项下款项</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="业务编号" prop="financ.ref2">
<c-input v-model="model.financ.ref2" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<c-checkbox v-model="model.financ.rzkx3">支付进口代收项下款项</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="业务编号" prop="financ.ref3">
<c-input v-model="model.financ.ref3" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<c-checkbox v-model="model.financ.rzkx4">支付汇出汇款项下款项</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="业务编号" prop="financ.ref4">
<c-input v-model="model.financ.ref4" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
</el-form-item>
</c-col>
</c-row>
</c-row>
</div>
</div>
</div>
</template>
<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