Commit 8687b6af by wangna

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

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 243692b3 59d69c30
......@@ -1669,6 +1669,12 @@ const CodeTable = {
{ label: "非居民企业账户之间资金划转", value: "2" },
{ label: "境外同业跨境现钞支取", value: "4" },
],
relation: [
{ label: "对方是境外联属机构,即双方有共同母公司,但相互持有表决权<10%或相互不持有表决权", value: "3" },
{ label: "对方是境外直接投资企业,即10%及以上的境外分支机构、子机构、联营机构或合营机构", value: "2" },
{ label: "对方是境外直接投资者,即持有本机构/被代理居民机构/委托人表决权≥10%", value: "1" },
{ label: "对方与本机构/被代理居民机构/委托人无关联关系、关系未知,或两机构均处于中国境内", value: "4" },
],
camttranstype: [
{ label: "同名划转", value: "1" },
{ label: "国际结算", value: "2" },
......@@ -1764,6 +1770,13 @@ const CodeTable = {
{ label: "国内外汇贷款(出口)", value: "F" },
{ label: "国内外汇贷款(进口)", value: "E" },
],
cfatyp1: [
{ label: "全部", value: "ALL" },
{ label: "外债海外代付", value: "EAD" },
{ label: "外债远期信用证(含即期单证相符)", value: "EAF" },
{ label: "对外担保", value: "EBA" },
{ label: "国内外汇贷款", value: "ECA" },
],
chadet: [
{ label: "其他", value: "O" },
{ label: "我们的费用由国外承担", value: "B" },
......@@ -1990,8 +2003,8 @@ const CodeTable = {
{ label: "2111跨境支出信息", value: "2" },
{ label: "2107境外主体之间资金划转", value: "4" },
{ label: "2106银行跟单结算及表外融资业务", value: "3" },
{ label: "全部", value: "6" },
{ label: "2101跨境收入信息", value: "1" },
{ label: "全部", value: "6" },
],
codtyp: [
{ label: "常量", value: "CONST" },
......@@ -4847,6 +4860,11 @@ const CodeTable = {
{ label: "08350012 中国光大银行北京分行", value: "08350012" },
{ label: "08357113 LM ADD", value: "08357113" },
],
ownextkey4: [
{ label: "<全部>", value: "<ALL>" },
{ label: "08350012 中国光大银行北京分行", value: "08350012" },
{ label: "08357113 LM ADD", value: "08357113" },
],
ownexttyp: [
{ label: "手工录入", value: "OE" },
{ label: "分行", value: "OB" },
......@@ -5863,6 +5881,14 @@ const CodeTable = {
{ label: "正在配置", value: "C" },
{ label: "从未启动", value: "" },
],
// sta1: [
// { label: "待发送", value: "W" },
// { label: "已发送", value: "S" },
// { label: "已撤销", value: "D" },
// { label: "已删除", value: "G" },
// { label: "已作废", value: "P" },
// { label: "待修改", value: "E" },
// ],
staflg: [
{ label: "待申报", value: "0" },
{ label: "待修改", value: "E" },
......@@ -5874,6 +5900,14 @@ const CodeTable = {
{ label: "已删除", value: "G" },
{ label: "待确认", value: "P" },
],
staflg1: [
{ label: "全部", value: "" },
{ label: "待发送", value: "W" },
{ label: "已发送", value: "S" },
{ label: "已撤销", value: "D" },
{ label: "已删除", value: "G" },
{ label: "已修改", value: "E" },
],
statisticsort: [
{ label: "按收益汇总", value: "f" },
{ label: "国内信用证保证金和额度", value: "m" },
......
......@@ -5,6 +5,7 @@ import Utils from "~/utils"
*/
let checkObj = {
"cnytyp" :null,
"cnyselp.cnylib.sforeigncountrycode" :null,
}
for (const key in checkObj) {
......
......@@ -7,9 +7,10 @@ import Utils from "~/utils/index"
export default {
"frmdat" :Utils.defaultFunction,
"cnystm" :Utils.defaultFunction,
"ownextkey" :Utils.defaultFunction,
"cnytyp" :Utils.defaultFunction,
"tildat" :Utils.defaultFunction,
"cnyselp.cnylib.sforeigncountrycode" :Utils.defaultFunction,
"cnystm" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -61,5 +61,53 @@ export default {
this.model.tildat = ""
this.model.ownextkey = ""
this.stmData.data = ""
}
},
async onButprt(){
let rtnmsg = await this.executeRule("butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDtlbut(){
let rtnmsg = await this.executeRule("dtlbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExi(){
let rtnmsg = await this.executeRule("exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLibctySelbut1(){
let rtnmsg = await this.executeRule("libcty.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -19,4 +19,73 @@ export default {
],
"cnyselp.cnylib.spk":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"cnyselp.cnylib.sbanktrano":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cnyselp.cnylib.sbankorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cnyselp.sbankname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnyselp.cnylib.sforbankswiftbic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnyselp.sorgname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnyselp.cnylib.sorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cnyselp.sforeignorgname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnyselp.cnylib.sforeigncountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnyselp.cnylib.doccurdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnyselp.cnylib.denddate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnyselp.cnylib.dcreditenddate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnyselp.cnylib.famt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnyselp.cnylib.dexchangedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnyselp.cnylib.fexchangeamt":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"cnyselp.cnylib.dexchangeenddate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnyselp.saddwordlib":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
}
\ No newline at end of file
......@@ -10,6 +10,31 @@ export default class Cnysel{
tildat:"", // Until .tildat
ownextkey:"", // Initial Code .ownextkey
cnystm:"", // Selection .cnystm
cnyselp:{
cnylib:{
spk:"", // 业务主键 .cnyselp.cnylib.spk
sbankorgcode:"", // 银行机构代码 .cnyselp.cnylib.sbankorgcode
stransattr:"", // 业务属性 .cnyselp.cnylib.stransattr
stranstype:"", // 业务类型 .cnyselp.cnylib.stranstype
sforbankswiftbic:"", // 境外对手行代码 .cnyselp.cnylib.sforbankswiftbic
sorgcode:"", // 境内企业机构代码 .cnyselp.cnylib.sorgcode
sforeigncountrycode:"", // 境外企业国别地区代码 .cnyselp.cnylib.sforeigncountrycode
doccurdate:"", // 业务发生日期 .cnyselp.cnylib.doccurdate
denddate:"", // 业务到期日 .cnyselp.cnylib.denddate
dcreditenddate:"", // 信用证到期日 .cnyselp.cnylib.dcreditenddate
famt:"", // 金额 .cnyselp.cnylib.famt
dexchangedate:"", // 承兑日期 .cnyselp.cnylib.dexchangedate
fexchangeamt:"", // 承兑金额 .cnyselp.cnylib.fexchangeamt
dexchangeenddate:"", // 承兑到期日 .cnyselp.cnylib.dexchangeenddate
sbanktrano:"", // 银行业务编号 .cnyselp.cnylib.sbanktrano
stermtype:"", // 期限条件 .cnyselp.cnylib.stermtype
currencycode:"", // 币种 .cnyselp.cnylib.currencycode
},
sorgname:"", // 境内企业名称 .cnyselp.sorgname
sforeignorgname:"", // 境外企业名称 .cnyselp.sforeignorgname
saddwordlib:"", // 交易附言 .cnyselp.saddwordlib
sbankname:"", // 银行机构名称 .cnyselp.sbankname
},
pageId: "" // ctx的key
}
}
......
import Utils from "~/utils"
/**
* Dbcame Check规则
*/
let checkObj = {
"recgrp.bas.othamt" :null,
"recgrp.bas.outchargeamt" :null,
"recgrp.bas.lcbgno" :null,
"recgrp.dcl.paytype" :null,
"recgrp.bas.custnm" :null,
"recgrp.dcl.tx2rem" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.dcl.txrem" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.actuamt" :null,
"recgrp.vrf.contrno" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.dcl.txcode2" :null,
"recgrp.bas.actuccy" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.outchargeccy" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.dcl.country" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
"recgrp.bas.issdate" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.rptno" :null,
"recgrp.dcl.tc1amt" :null,
"recgrp.dcl.rptdate" :null,
"recgrp.dcl.crtuser" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.dcl.inptelc" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :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.vrf.invoino" :null,
"recgrp.dcl.isref" :null,
"recgrp.dcl.txcode" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.impdate" :null,
"recgrp.dcl.tc2amt" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.dcl.actiontype" :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
/**
* Dbcame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recgrp.bas.methods" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.tmpref" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"recgrp.dcl.rptdate" :Utils.defaultFunction,
"recp.dclpp.acp" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"recgrp.bas.buscode" :Utils.defaultFunction,
"recgrp.vrf.inptelc" :Utils.defaultFunction,
"recgrp.dcl.inptelc" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recgrp.dcl.crtuser" :Utils.defaultFunction,
"recgrp.vrf.crtuser" :Utils.defaultFunction,
"recgrp.dcl.actiontype" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.dcl.country" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
"bopbut.acttyp" :Utils.defaultFunction,
"recgrp.bas.oppuser" :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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
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 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 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 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: "输入正确的日期"}
],
"bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"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"}
],
"recgrp.dcl.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.dcl.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.dcl.actiontype":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.dcl.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.dcl.ownextkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.dcl.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.dcl.country":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.dcl.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.dcl.tc1amt":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.dcl.txrem":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"recgrp.dcl.tc2amt":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.dcl.txcode2":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.dcl.tx2rem":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"recgrp.dcl.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.dcl.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"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.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.impdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.invoino":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"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
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbcame{
constructor () {
this.data = {
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
},
},
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:"", // �'时申报流�'号 .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
actuccy:"", // 实际付款币种及金额 .recgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .recgrp.bas.actuamt
lcbgno:"", // 信用证/保函编号 .recgrp.bas.lcbgno
issdate:"", // 开证日期 .recgrp.bas.issdate
tenor:"", // 期限 .recgrp.bas.tenor
txccy:"", // 付款币种及金额 .recgrp.bas.txccy
txamt:"", // 付款币种及金额 .recgrp.bas.txamt
outchargeccy:"", // 扣费币种及金额 .recgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .recgrp.bas.outchargeamt
},
dcl:{
tmpref:"", // 临时申报编号 .recgrp.dcl.tmpref
ownextkey:"", // 地区机构号 .recgrp.dcl.ownextkey
actiontype:"", // 操作类型 .recgrp.dcl.actiontype
actiondesc:"", // 修改/删除原因 .recgrp.dcl.actiondesc
rptno:"", // 申报号码 .recgrp.dcl.rptno
paytype:"", // 付款类型 .recgrp.dcl.paytype
tc1amt:"", // 相应金额1 .recgrp.dcl.tc1amt
tc2amt:"", // 相应金额2 .recgrp.dcl.tc2amt
tx2rem:"", // 交易附言2 .recgrp.dcl.tx2rem
isref:"", // 是否进口核销项下收汇 .recgrp.dcl.isref
crtuser:"", // 联系人 .recgrp.dcl.crtuser
inptelc:"", // 联系人电话 .recgrp.dcl.inptelc
rptdate:"", // 申报日期 .recgrp.dcl.rptdate
txrem:"", // 交易附言1 .recgrp.dcl.txrem
txcode:"", // 交易编码1 .recgrp.dcl.txcode
txcode2:"", // 交易编码2 .recgrp.dcl.txcode2
country:"", // 收款人常驻国家/地区编码 .recgrp.dcl.country
},
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
invoino:"", // 发票号 .recgrp.vrf.invoino
contrno:"", // 合同号 .recgrp.vrf.contrno
impdate:"", // 最迟装运日期 .recgrp.vrf.impdate
billno:"", // 提运单号 .recgrp.vrf.billno
contamt:"", // 合同金额 .recgrp.vrf.contamt
regno:"", // 外汇局批件/备案表号 .recgrp.vrf.regno
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbcdel Check规则
*/
let checkObj = {
"recp.recgrp.bas.actuamt" :null,
"recp.recgrp.dcl.paytype" :null,
"bopbut.ctlmod.wrkdbl.trdtyp" :null,
"recp.recgrp.dcl.tx2rem" :null,
"recp.recgrp.vrf.impdate" :null,
"recp.recgrp.bas.custnm" :null,
"recp.recgrp.vrf.invoino" :null,
"recp.recgrp.bas.rptno" :null,
"recp.recgrp.bas.othamt" :null,
"recp.recgrp.bas.custcod" :null,
"recp.recgrp.dcl.tc1amt" :null,
"recp.recgrp.vrf.inptelc" :null,
"recp.recgrp.dcl.actiontype" :null,
"recp.recgrp.bas.oppuser" :null,
"recp.recgrp.bas.lcbgno" :null,
"recp.recgrp.bas.actiontype" :null,
"recp.recgrp.vrf.contrno" :null,
"recp.recgrp.dcl.txcode2" :null,
"recp.recgrp.dcl.txrem" :null,
"recp.recgrp.bas.actuccy" :null,
"recp.recgrp.bas.issdate" :null,
"bopbut.paydat" :null,
"recp.recgrp.dcl.isref" :null,
"recp.recgrp.bas.fcyamt" :null,
"recp.recgrp.bas.lcyamt" :null,
"recp.recgrp.dcl.country" :null,
"recp.recgrp.dcl.tc2amt" :null,
"recp.recgrp.dcl.crtuser" :null,
"recp.recgrp.bas.outchargeamt" :null,
"recp.recgrp.vrf.actiontype" :null,
"recp.recgrp.vrf.rptdate" :null,
"recp.recgrp.bas.custype" :null,
"recp.recgrp.bas.exrate" :null,
"recp.recgrp.bas.txccy" :null,
"recp.recgrp.dcl.inptelc" :null,
"recp.recgrp.dcl.txcode" :null,
"recp.recgrp.bas.othacc" :null,
"bopbut.acttyp" :null,
"recp.recgrp.bas.txamt" :null,
"recp.recgrp.bas.buscode" :null,
"recp.recgrp.dcl.rptdate" :null,
"recp.recgrp.vrf.crtuser" :null,
"recp.recgrp.bas.lcyacc" :null,
"recp.recgrp.bas.idcode" :null,
"recp.recgrp.bas.outchargeccy" :null,
"recp.recgrp.bas.actiondesc" :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
/**
* Dbcdel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"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,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recp.recgrp.bas.custype" :Utils.defaultFunction,
"recp.recgrp.bas.rptno" :Utils.defaultFunction,
"recp.recgrp.bas.methods" :Utils.defaultFunction,
"recp.recgrp.bas.buscode" :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,
"bopbut.ackflg" :Utils.defaultFunction,
"recp.recgrp.dcl.country" :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 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: '服务请求失败!'});
}
},
async onButp1Sav(){
let rtnmsg = await this.executeRule("butp1.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 onButp1Mod(){
let rtnmsg = await this.executeRule("butp1.mod")
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 {
"bopbut.paydat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"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.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.actuamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.issdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recp.recgrp.bas.lcbgno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.bas.tenor":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"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.contrno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.contamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.vrf.billno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"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.invoino":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"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 Dbcdel{
constructor () {
this.data = {
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
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
paydat:"", // 收付汇日期 .bopbut.paydat
acttyp:"", // 款项标志 .bopbut.acttyp
},
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:"", // �'时申报流�'号 .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
actuccy:"", // 实际付款币种及金额 .recp.recgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .recp.recgrp.bas.actuamt
lcbgno:"", // 信用证/保函编号 .recp.recgrp.bas.lcbgno
issdate:"", // 开证日期 .recp.recgrp.bas.issdate
tenor:"", // 期限 .recp.recgrp.bas.tenor
txccy:"", // 付款币种及金额 .recp.recgrp.bas.txccy
txamt:"", // 付款币种及金额 .recp.recgrp.bas.txamt
outchargeccy:"", // 扣费币种及金额 .recp.recgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .recp.recgrp.bas.outchargeamt
},
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:{
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
invoino:"", // 发票号 .recp.recgrp.vrf.invoino
contrno:"", // 合同号 .recp.recgrp.vrf.contrno
impdate:"", // 最迟装运日期 .recp.recgrp.vrf.impdate
billno:"", // 提运单号 .recp.recgrp.vrf.billno
contamt:"", // 合同金额 .recp.recgrp.vrf.contamt
regno:"", // 外汇局批件/备案表号 .recp.recgrp.vrf.regno
},
},
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
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbdadd Check规则
*/
let checkObj = {
"recgrp.vrf.txcode2" :null,
"recgrp.bas.othamt" :null,
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.tc2amt" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"recgrp.vrf.chkamt" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.vrf.payattr" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.vrf.paytype" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.inchargeamt" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.vrf.isref" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.vrf.txrem" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.tc1amt" :null,
"recgrp.vrf.tx2rem" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.bas.inchargeccy" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :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
/**
* Dbdadd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.tmpref" :Utils.defaultFunction,
"recgrp.bas.buscode" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"bopbut.ackflg" :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 onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.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 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 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: '服务请求失败!'});
}
},
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 {
"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.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"ctlmod.dbl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.vrfpp.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"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.chkamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.tc1amt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.txrem":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"recgrp.vrf.txcode2":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.tc2amt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.tx2rem":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"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
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbdadd{
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
},
vrfpp:{
roptnam:"", // RoptNam .recp.vrfpp.roptnam
tmpref:"", // 临时申报编号 .recp.vrfpp.tmpref
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
inchargeccy:"", // 国内银行扣费 .recgrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .recgrp.bas.inchargeamt
txccy:"", // 收入款币种及金额 .recgrp.bas.txccy
txamt:"", // 收入款币种及金额 .recgrp.bas.txamt
},
vrf:{
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
txrem:"", // 交易附言1 .recgrp.vrf.txrem
tc2amt:"", // 交易编码2 .recgrp.vrf.tc2amt
tx2rem:"", // 交易附言2 .recgrp.vrf.tx2rem
chkamt:"", // 收汇总金额中用于出口核销的金额 .recgrp.vrf.chkamt
isref:"", // 是否出口核销项下收汇 .recgrp.vrf.isref
txcode:"", // 交易编码1 .recgrp.vrf.txcode
txcode2:"", // 交易编码2 .recgrp.vrf.txcode2
},
},
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"
/**
* Dbdame Check规则
*/
let checkObj = {
"recgrp.vrf.txcode2" :null,
"recgrp.bas.othamt" :null,
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.tc2amt" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"recgrp.vrf.chkamt" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.vrf.payattr" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.vrf.paytype" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.inchargeamt" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.vrf.isref" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.vrf.txrem" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.tc1amt" :null,
"recgrp.vrf.tx2rem" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.bas.inchargeccy" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :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
/**
* Dbdame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.tmpref" :Utils.defaultFunction,
"recgrp.bas.buscode" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recp.vrfpp.acp" :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 onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.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 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 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 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.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.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.vrfpp.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"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.chkamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.tc1amt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.txrem":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"recgrp.vrf.txcode2":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.tc2amt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.tx2rem":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"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 Dbdame{
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
},
vrfpp:{
roptnam:"", // RoptNam .recp.vrfpp.roptnam
tmpref:"", // 临时申报编号 .recp.vrfpp.tmpref
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
inchargeccy:"", // 国内银行扣费 .recgrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .recgrp.bas.inchargeamt
txccy:"", // 收入款币种及金额 .recgrp.bas.txccy
txamt:"", // 收入款币种及金额 .recgrp.bas.txamt
},
vrf:{
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
txrem:"", // 交易附言1 .recgrp.vrf.txrem
tc2amt:"", // 交易编码2 .recgrp.vrf.tc2amt
tx2rem:"", // 交易附言2 .recgrp.vrf.tx2rem
chkamt:"", // 收汇总金额中用于出口核销的金额 .recgrp.vrf.chkamt
isref:"", // 是否出口核销项下收汇 .recgrp.vrf.isref
txcode:"", // 交易编码1 .recgrp.vrf.txcode
txcode2:"", // 交易编码2 .recgrp.vrf.txcode2
},
},
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"
/**
* Dbddel Check规则
*/
let checkObj = {
"recgrp.vrf.txcode2" :null,
"recgrp.bas.othamt" :null,
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.tc2amt" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"recgrp.vrf.chkamt" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.vrf.payattr" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.vrf.paytype" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.inchargeamt" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.vrf.isref" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.vrf.txrem" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.tc1amt" :null,
"recgrp.vrf.tx2rem" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.bas.inchargeccy" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :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
/**
* Dbddel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.tmpref" :Utils.defaultFunction,
"recgrp.bas.buscode" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"bopbut.ackflg" :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 onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.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 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 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 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.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.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.vrfpp.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"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.chkamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.tc1amt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.txrem":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"recgrp.vrf.txcode2":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.tc2amt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.tx2rem":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"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 Dbddel{
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
},
vrfpp:{
roptnam:"", // RoptNam .recp.vrfpp.roptnam
tmpref:"", // 临时申报编号 .recp.vrfpp.tmpref
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
inchargeccy:"", // 国内银行扣费 .recgrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .recgrp.bas.inchargeamt
txccy:"", // 收入款币种及金额 .recgrp.bas.txccy
txamt:"", // 收入款币种及金额 .recgrp.bas.txamt
},
vrf:{
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
txrem:"", // 交易附言1 .recgrp.vrf.txrem
tc2amt:"", // 交易编码2 .recgrp.vrf.tc2amt
tx2rem:"", // 交易附言2 .recgrp.vrf.tx2rem
chkamt:"", // 收汇总金额中用于出口核销的金额 .recgrp.vrf.chkamt
isref:"", // 是否出口核销项下收汇 .recgrp.vrf.isref
txcode:"", // 交易编码1 .recgrp.vrf.txcode
txcode2:"", // 交易编码2 .recgrp.vrf.txcode2
},
},
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"
/**
* Eadadd Check规则
*/
let checkObj = {
"recgrp.bas.appname" :null,
"recgrp.bas.crehqcode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.creditorname" :null,
"recgrp.bas.actiontype" :null,
"eblmod.ebl.resamt" :null,
"recgrp.bas.anninrate" :null,
"recgrp.bas.contractcurr" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.creditornamen" :null,
"recgrp.bas.valuedate" :null,
"recgrp.bas.creditorcode" :null,
"cfabut.newvrf" :null,
"recgrp.bas.debtype" :null,
"recgrp.bas.opercode" :null,
"recgrp.bas.appcode" :null,
"recgrp.bas.creditortype" :null,
"recgrp.bas.exdebtcode" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.floatrate" :null,
"recgrp.bas.spapfeboindex" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.relation" :null,
"recgrp.bas.contractamount" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Eadadd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfabut.basflg" :Utils.defaultFunction,
"cfabut.vrfflg" :Utils.defaultFunction,
"cfabut.dclflg" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recp.pubp.acp" :Utils.defaultFunction,
"recgrp.bas.creditortype" :Utils.defaultFunction,
"recgrp.bas.opercode" :Utils.defaultFunction,
"cfabut.ownextkey" :Utils.defaultFunction,
"recgrp.bas.crehqcode" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutMod(){
let rtnmsg = await this.executeRule("cfabut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutDel(){
let rtnmsg = await this.executeRule("cfabut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselOperselbut(){
let rtnmsg = await this.executeRule("cousel.operselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"eblmod.ebl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"eblmod.ebl.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cfabut.newdcl":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cfabut.newvrf":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.bas.exdebtcode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.contractamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.anninrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"recgrp.bas.creditorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditornamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.crehqcode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.opercode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.appcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.inltcabuscode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.appname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Eadadd{
constructor () {
this.data = {
cfabut:{
vrflab:"", // DCLFLG LABEL .cfabut.vrflab
dcllab:"", // DCLFLG LABEL .cfabut.dcllab
basflg:"", // 签约信息 .cfabut.basflg
dclflg:"", // 变动信息 .cfabut.dclflg
ownextkey:"", // 业务所属机构 .cfabut.ownextkey
newdclnum:"", // 新增DCL数目 .cfabut.newdclnum
newvrfnum:"", // 新增VRF数目 .cfabut.newvrfnum
addnew:"", // 新增接口数据 .cfabut.addnew
newdcl:"", // DCL数目 .cfabut.newdcl
newvrf:"", // VRF数目 .cfabut.newvrf
vrfflg:"", // 履约信息 .cfabut.vrfflg
},
eblmod:{
ebl:{
reldat:"", // 授权日期 .eblmod.ebl.reldat
resamt:"", // 代付还代利息 .eblmod.ebl.resamt
},
},
recgrp:{
bas:{
appname:"", // 申请人名称 .recgrp.bas.appname
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
creditortype:"", // 债权人类型代码 .recgrp.bas.creditortype
creditorname:"", // 债权人中文名称 .recgrp.bas.creditorname
creditornamen:"", // 债权人英文名称 .recgrp.bas.creditornamen
crehqcode:"", // 债权人总部所在国家(地区)代码 .recgrp.bas.crehqcode
opercode:"", // 债权人经营地所在国家(地区)代码 .recgrp.bas.opercode
exdebtcode:"", // 外债编号 .recgrp.bas.exdebtcode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
debtype:"", // 债务类型 .recgrp.bas.debtype
valuedate:"", // 起息日 .recgrp.bas.valuedate
contractcurr:"", // 签约金额 .recgrp.bas.contractcurr
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
maturity:"", // 到期日 .recgrp.bas.maturity
spapfeboindex:"", // 是否不纳入跨境融资风险加权余额计算 .recgrp.bas.spapfeboindex
contractamount:"", // 签约金额 .recgrp.bas.contractamount
anninrate:"", // 年化利率值 .recgrp.bas.anninrate
floatrate:"", // 是否浮动利率 .recgrp.bas.floatrate
appcode:"", // 申请人代码 .recgrp.bas.appcode
inltcabuscode:"", // 信用证承兑业务参号 .recgrp.bas.inltcabuscode
remark:"", // 备注 .recgrp.bas.remark
relation:"", // 对方与本机构的关系 .recgrp.bas.relation
},
},
recp:{
pubp:{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
changeno: ""
}
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Eadame Check规则
*/
let checkObj = {
"recgrp.bas.appname" :null,
"recgrp.bas.crehqcode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.creditorname" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.anninrate" :null,
"recgrp.bas.contractcurr" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.creditornamen" :null,
"recgrp.bas.valuedate" :null,
"recgrp.bas.creditorcode" :null,
"cfabut.newvrf" :null,
"recgrp.bas.debtype" :null,
"recgrp.bas.opercode" :null,
"recgrp.bas.appcode" :null,
"recgrp.bas.creditortype" :null,
"recgrp.bas.exdebtcode" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.floatrate" :null,
"recgrp.bas.spapfeboindex" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.relation" :null,
"recgrp.bas.contractamount" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Eadame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfabut.basflg" :Utils.defaultFunction,
"cfabut.vrfflg" :Utils.defaultFunction,
"cfabut.dclflg" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recp.pubp.acp" :Utils.defaultFunction,
"recgrp.bas.creditortype" :Utils.defaultFunction,
"recgrp.bas.opercode" :Utils.defaultFunction,
"recgrp.bas.crehqcode" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutMod(){
let rtnmsg = await this.executeRule("cfabut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutDel(){
let rtnmsg = await this.executeRule("cfabut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselOperselbut(){
let rtnmsg = await this.executeRule("cousel.operselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"eblmod.ebl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"eblmod.ebl.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cfabut.newdcl":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cfabut.newvrf":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.bas.exdebtcode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.contractamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.anninrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"recgrp.bas.creditorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditornamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.crehqcode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.opercode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.appcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.inltcabuscode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.appname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Eadame{
constructor () {
this.data = {
cfabut:{
vrflab:"", // DCLFLG LABEL .cfabut.vrflab
dcllab:"", // DCLFLG LABEL .cfabut.dcllab
basflg:"", // 签约信息 .cfabut.basflg
dclflg:"", // 变动信息 .cfabut.dclflg
ownextkey:"", // 业务所属机构 .cfabut.ownextkey
newdclnum:"", // 新增DCL数目 .cfabut.newdclnum
newvrfnum:"", // 新增VRF数目 .cfabut.newvrfnum
addnew:"", // 新增接口数据 .cfabut.addnew
newdcl:"", // DCL数目 .cfabut.newdcl
newvrf:"", // VRF数目 .cfabut.newvrf
vrfflg:"", // 履约信息 .cfabut.vrfflg
},
eblmod:{
ebl:{
reldat:"", // 授权日期 .eblmod.ebl.reldat
resamt:"", // 代付还代利息 .eblmod.ebl.resamt
},
},
recgrp:{
bas:{
appname:"", // 申请人名称 .recgrp.bas.appname
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
creditortype:"", // 债权人类型代码 .recgrp.bas.creditortype
creditorname:"", // 债权人中文名称 .recgrp.bas.creditorname
creditornamen:"", // 债权人英文名称 .recgrp.bas.creditornamen
crehqcode:"", // 债权人总部所在国家(地区)代码 .recgrp.bas.crehqcode
opercode:"", // 债权人经营地所在国家(地区)代码 .recgrp.bas.opercode
exdebtcode:"", // 外债编号 .recgrp.bas.exdebtcode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
debtype:"", // 债务类型 .recgrp.bas.debtype
valuedate:"", // 起息日 .recgrp.bas.valuedate
contractcurr:"", // 签约金额 .recgrp.bas.contractcurr
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
maturity:"", // 到期日 .recgrp.bas.maturity
spapfeboindex:"", // 是否不纳入跨境融资风险加权余额计算 .recgrp.bas.spapfeboindex
contractamount:"", // 签约金额 .recgrp.bas.contractamount
anninrate:"", // 年化利率值 .recgrp.bas.anninrate
floatrate:"", // 是否浮动利率 .recgrp.bas.floatrate
appcode:"", // 申请人代码 .recgrp.bas.appcode
inltcabuscode:"", // 信用证承兑业务参号 .recgrp.bas.inltcabuscode
remark:"", // 备注 .recgrp.bas.remark
relation:"", // 对方与本机构的关系 .recgrp.bas.relation
},
},
recp:{
pubp:{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: ""
}
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Eadinf Check规则
*/
let checkObj = {
"recgrp.bas.appname" :null,
"recgrp.bas.crehqcode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.creditorname" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.anninrate" :null,
"recgrp.bas.contractcurr" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.creditornamen" :null,
"recgrp.bas.valuedate" :null,
"recgrp.bas.creditorcode" :null,
"cfabut.newvrf" :null,
"recgrp.bas.debtype" :null,
"recgrp.bas.opercode" :null,
"recgrp.bas.appcode" :null,
"recgrp.bas.creditortype" :null,
"recgrp.bas.exdebtcode" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.floatrate" :null,
"recgrp.bas.spapfeboindex" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.relation" :null,
"recgrp.bas.contractamount" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Eadinf Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfabut.dclflg" :Utils.defaultFunction,
"cfabut.basflg" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recp.pubp.acp" :Utils.defaultFunction,
"recgrp.bas.creditortype" :Utils.defaultFunction,
"recgrp.bas.opercode" :Utils.defaultFunction,
"recgrp.bas.crehqcode" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutMod(){
let rtnmsg = await this.executeRule("cfabut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutDel(){
let rtnmsg = await this.executeRule("cfabut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselOperselbut(){
let rtnmsg = await this.executeRule("cousel.operselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"eblmod.ebl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"eblmod.ebl.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cfabut.newdcl":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cfabut.newvrf":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.bas.exdebtcode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.contractamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.anninrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"recgrp.bas.creditorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditornamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.crehqcode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.opercode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.appcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.inltcabuscode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.appname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Eadinf{
constructor () {
this.data = {
cfabut:{
vrflab:"", // DCLFLG LABEL .cfabut.vrflab
dcllab:"", // DCLFLG LABEL .cfabut.dcllab
basflg:"", // 签约信息 .cfabut.basflg
dclflg:"", // 变动信息 .cfabut.dclflg
ownextkey:"", // 业务所属机构 .cfabut.ownextkey
newdclnum:"", // 新增DCL数目 .cfabut.newdclnum
newvrfnum:"", // 新增VRF数目 .cfabut.newvrfnum
addnew:"", // 新增接口数据 .cfabut.addnew
newdcl:"", // DCL数目 .cfabut.newdcl
newvrf:"", // VRF数目 .cfabut.newvrf
vrfflg:"", // 履约信息 .cfabut.vrfflg
},
eblmod:{
ebl:{
reldat:"", // 授权日期 .eblmod.ebl.reldat
resamt:"", // 代付还代利息 .eblmod.ebl.resamt
},
},
recgrp:{
bas:{
appname:"", // 申请人名称 .recgrp.bas.appname
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
creditortype:"", // 债权人类型代码 .recgrp.bas.creditortype
creditorname:"", // 债权人中文名称 .recgrp.bas.creditorname
creditornamen:"", // 债权人英文名称 .recgrp.bas.creditornamen
crehqcode:"", // 债权人总部所在国家(地区)代码 .recgrp.bas.crehqcode
opercode:"", // 债权人经营地所在国家(地区)代码 .recgrp.bas.opercode
exdebtcode:"", // 外债编号 .recgrp.bas.exdebtcode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
debtype:"", // 债务类型 .recgrp.bas.debtype
valuedate:"", // 起息日 .recgrp.bas.valuedate
contractcurr:"", // 签约金额 .recgrp.bas.contractcurr
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
maturity:"", // 到期日 .recgrp.bas.maturity
spapfeboindex:"", // 是否不纳入跨境融资风险加权余额计算 .recgrp.bas.spapfeboindex
contractamount:"", // 签约金额 .recgrp.bas.contractamount
anninrate:"", // 年化利率值 .recgrp.bas.anninrate
floatrate:"", // 是否浮动利率 .recgrp.bas.floatrate
appcode:"", // 申请人代码 .recgrp.bas.appcode
inltcabuscode:"", // 信用证承兑业务参号 .recgrp.bas.inltcabuscode
remark:"", // 备注 .recgrp.bas.remark
relation:"", // 对方与本机构的关系 .recgrp.bas.relation
},
},
recp:{
pubp:{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: "",
sta: ""
}
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -24,6 +24,15 @@ export default class Ebaadd{
},
},
recp:{
dclp:{
exguarancode:"",
actiontype:"",
wabachandate:"",
basere:"",
remark:"",
actiondesc:"",
acp:"",
},
pubp:{
bencodwarn:"", // BENCODE WARNING .recp.pubp.bencodwarn
guedcodwarn:"", // GUEDCODE WARNING .recp.pubp.guedcodwarn
......
......@@ -223,7 +223,13 @@ import Infact from "./Infact"
import Dbbinf from "./Dbbinf"
import Dbcinf from "./Dbcinf"
import Dbcadd from "./Dbcadd"
import Dbcame from "./Dbcame"
import Dbcdel from "./Dbcdel"
import Dbdinf from "./Dbdinf"
import Dbdadd from "./Dbdadd"
import Dbdame from "./Dbdame"
import Dbddel from "./Dbddel"
import Cfasel from "./Cfasel"
import Dbjadd from "./Dbjadd"
import Dbjdel from "./Dbjdel"
......@@ -233,6 +239,9 @@ import Dbwadd from "./Dbwadd"
import Dbwdel from "./Dbwdel"
import Dbwame from "./Dbwame"
import Dbwinf from "./Dbwinf"
import Eadadd from "./Eadadd"
import Eadinf from "./Eadinf"
import Eadame from "./Eadame"
import Ebaadd from "./Ebaadd"
import Ebaame from "./Ebaame"
......@@ -487,7 +496,13 @@ const BusRouter = [
{ path: 'Dbbinf', component: Dbbinf, name: 'Dbbinf', meta: { title: '境外汇款申请书' } },
{ path: 'Dbcinf', component: Dbcinf, name: 'Dbcinf', meta: { title: '对外付款/承兑通知书(查询)' } },
{ path: 'Dbcadd', component: Dbcadd, name: 'Dbcadd', meta: { title: '对外付款/承兑通知书(新建)' } },
{ path: 'Dbcame', component: Dbcame, name: 'Dbcame', meta: { title: '对外付款/承兑通知书(修改)' } },
{ path: 'Dbcdel', component: Dbcdel, name: 'Dbcdel', meta: { title: '对外付款/承兑通知书(删除)' } },
{ path: 'Dbdinf', component: Dbdinf, name: 'Dbdinf', meta: { title: '境内收入申报单(查询)' } },
{ path: 'Dbdadd', component: Dbdadd, name: 'Dbdadd', meta: { title: '境内收入申报单(新建)' } },
{ path: 'Dbdame', component: Dbdame, name: 'Dbdame', meta: { title: '境内收入申报单(修改)' } },
{ path: 'Dbddel', component: Dbddel, name: 'Dbddel', meta: { title: '境内收入申报单(删除)' } },
{ path: 'Cfasel', component: Cfasel, name: 'Cfasel', meta: { title: '申报查询入口' } },
{ path: 'Dbjadd', component: Dbjadd, name: 'Dbjadd', meta: { title: '外汇账户内结汇(新建)' } },
{ path: 'Dbjdel', component: Dbjdel, name: 'Dbjdel', meta: { title: '外汇账户内结汇(删除)' } },
......@@ -498,6 +513,9 @@ const BusRouter = [
{ path: 'Dbwame', component: Dbwame, name: 'Dbwame', meta: { title: '外汇账户内购汇(修改)' } },
{ path: 'Dbwinf', component: Dbwinf, name: 'Dbwinf', meta: { title: '外汇账户内购汇(查询)' } },
{ path: 'Eadadd', component: Eadadd, name: 'Eadadd', meta: { title: '增 -- 外债海外代付' } },
{ path: 'Eadinf', component: Eadinf, name: 'Eadinf', meta: { title: '查 -- 外债海外代付' } },
{ path: 'Eadame', component: Eadame, name: 'Eadame', meta: { title: '改 -- 外债海外代付' } },
{ path: 'Ebaadd', component: Ebaadd, name: 'Ebaadd', meta: { title: '增 -- 对外担保' } },
{ path: 'Ebaame', component: Ebaame, name: 'Ebaame', meta: { title: '改 -- 对外担保' } },
{ path: 'Ebadel', component: Ebadel, name: 'Ebadel', meta: { title: '删 -- 对外担保' } },
......
<template>
<div class="eibs-tab">
<!-- S0000048 : 业务主键 -->
<c-col :span="12">
<c-form-item :label="$t('cnyselp.S0000048')" prop="cnyselp.cnylib.spk">
<c-input v-model="model.cnyselp.cnylib.spk" maxlength="20" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000048')"></c-input>
</c-form-item>
</c-col>
<!-- S0000065 : 银行业务编号 -->
<c-col :span="12">
<c-form-item label="银行业务编号" prop="cnyselp.cnylib.sbanktrano">
<c-input v-model="model.cnyselp.cnylib.sbanktrano" maxlength="22" :placeholder="$t('other.please_enter')+'银行业务编号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000049 : 银行机构代码 -->
<c-col :span="12">
<c-form-item :label="$t('cnyselp.S0000049')" prop="cnyselp.cnylib.sbankorgcode">
<c-input v-model="model.cnyselp.cnylib.sbankorgcode" maxlength="12" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000049')"></c-input>
</c-form-item>
</c-col>
<!-- S0000067 : 银行机构名称 -->
<c-col :span="12">
<c-form-item :label="$t('cnyselp.S0000067')" prop="cnyselp.sbankname">
<c-input v-model="model.cnyselp.sbankname" maxlength="80" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000067')"></c-input>
</c-form-item>
</c-col>
<!-- S0000050 : 业务属性 -->
<c-col :span="12">
<el-form-item :label="$t('cnyselp.S0000050')" prop="cnyselp.cnylib.stransattr">
<c-select v-model="model.cnyselp.cnylib.stransattr" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000050')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000051 : 业务类型 -->
<c-col :span="12">
<el-form-item :label="$t('cnyselp.S0000051')" prop="cnyselp.cnylib.stranstype">
<c-select v-model="model.cnyselp.cnylib.stranstype" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000051')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000052 : 境外对手行代码 -->
<c-col :span="12">
<c-form-item :label="$t('cnyselp.S0000052')" prop="cnyselp.cnylib.sforbankswiftbic">
<c-input v-model="model.cnyselp.cnylib.sforbankswiftbic" maxlength="11" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000052')"></c-input>
</c-form-item>
</c-col>
<!-- S0000053 : 境内企业名称 -->
<c-col :span="12">
<c-form-item :label="$t('cnyselp.S0000053')" prop="cnyselp.sorgname">
<c-input v-model="model.cnyselp.sorgname" maxlength="80" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000053')"></c-input>
</c-form-item>
</c-col>
<!-- S0000054 : 境内企业机构代码 -->
<c-col :span="12">
<c-form-item :label="$t('cnyselp.S0000054')" prop="cnyselp.cnylib.sorgcode">
<c-input v-model="model.cnyselp.cnylib.sorgcode" maxlength="18" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000054')"></c-input>
</c-form-item>
</c-col>
<!-- S0000055 : 境外企业名称 -->
<c-col :span="12">
<c-form-item :label="$t('cnyselp.S0000055')" prop="cnyselp.sforeignorgname">
<c-input v-model="model.cnyselp.sforeignorgname" maxlength="80" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000055')"></c-input>
</c-form-item>
</c-col>
<!-- S0000056 : 境外企业国别地区代码 -->
<c-col :span="12">
<c-form-item label="境外企业国别地区代码" prop="cnyselp.cnylib.sforeigncountrycode">
<c-input v-model="model.cnyselp.cnylib.sforeigncountrycode" maxlength="3" :placeholder="$t('other.please_enter')+'境外企业国别地区代码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLibctySelbut1">
{{$t('codcny.C0000005')}}
</c-button>
</c-col>
<!-- S0000057 : 业务发生日期 -->
<c-col :span="12">
<el-form-item :label="$t('cnyselp.S0000057')" prop="cnyselp.cnylib.doccurdate">
<c-date-picker type="date" v-model="model.cnyselp.cnylib.doccurdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000057')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000058 : 业务到期日 -->
<c-col :span="12">
<el-form-item :label="$t('cnyselp.S0000058')" prop="cnyselp.cnylib.denddate">
<c-date-picker type="date" v-model="model.cnyselp.cnylib.denddate" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000058')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000059 : 信用证到期日 -->
<c-col :span="12">
<el-form-item :label="$t('cnyselp.S0000059')" prop="cnyselp.cnylib.dcreditenddate">
<c-date-picker type="date" v-model="model.cnyselp.cnylib.dcreditenddate" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000059')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000145 : 币种 -->
<c-col :span="12">
<el-form-item :label="$t('cnyselp.S0000145')" prop="cnyselp.cnylib.currencycode">
<c-select v-model="model.cnyselp.cnylib.currencycode" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000145')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000060 : 金额 -->
<c-col :span="12">
<c-form-item label="金额" prop="cnyselp.cnylib.famt">
<c-input v-model="model.cnyselp.cnylib.famt" :placeholder="$t('other.please_enter')+'金额'"></c-input>
</c-form-item>
</c-col>
<!-- S0000061 : 期限条件 -->
<c-col :span="12">
<el-form-item :label="$t('cnyselp.S0000061')" prop="cnyselp.cnylib.stermtype">
<c-select v-model="model.cnyselp.cnylib.stermtype" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000061')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000062 : 承兑日期 -->
<c-col :span="12">
<el-form-item :label="$t('cnyselp.S0000062')" prop="cnyselp.cnylib.dexchangedate">
<c-date-picker type="date" v-model="model.cnyselp.cnylib.dexchangedate" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000062')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000063 : 承兑金额 -->
<c-col :span="12">
<c-form-item :label="$t('cnyselp.S0000063')" prop="cnyselp.cnylib.fexchangeamt">
<c-input v-model="model.cnyselp.cnylib.fexchangeamt" maxlength="20" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000063')"></c-input>
</c-form-item>
</c-col>
<!-- S0000064 : 承兑到期日 -->
<c-col :span="12">
<el-form-item :label="$t('cnyselp.S0000064')" prop="cnyselp.cnylib.dexchangeenddate">
<c-date-picker type="date" v-model="model.cnyselp.cnylib.dexchangeenddate" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000064')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000066 : 交易附言 -->
<c-col :span="12">
<c-form-item :label="$t('cnyselp.S0000066')" prop="cnyselp.saddwordlib">
<c-input v-model="model.cnyselp.saddwordlib" maxlength="80" :placeholder="$t('other.please_enter')+$t('cnyselp.S0000066')"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cnysel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- ===================左边================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="申报类型" prop="cnytyp">
<c-select
v-model="model.cnytyp"
style="width: 100%"
placeholder="请选择申报类型"
>
<el-option
v-for="item in codes.cnytyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
<!-- ===================左边================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="申报类型" prop="cnytyp">
<c-select v-model="model.cnytyp" style="width: 100%" placeholder="请选择申报类型">
<el-option v-for="item in codes.cnytyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务编号" prop="ownref">
<c-input v-model="model.ownref" maxlength="20" placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =====================右边=========================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="业务编号" prop="ownref">
<c-input
v-model="model.ownref"
maxlength="20"
placeholder="请输入业务编号"
></c-input>
<el-form-item label="日期" prop="frmdat">
<c-col :span="24">
<c-col :span="11">
<c-date-picker type="date" v-model="model.frmdat" style="width: 100%" placeholder="请选择日期"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align:center">-</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.tildat" style="width: 100%" placeholder="请选择日期"></c-date-picker>
</c-col>
</c-col>
</el-form-item>
</c-col>
</c-col>
<!-- =====================右边=========================== -->
<c-col :span="11" :offset="1">
<el-form-item label="日期" prop="frmdat">
<c-col :span="24">
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.frmdat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align:center">-</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.tildat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
<el-form-item label="业务所属行" prop="ownextkey">
<c-select v-model="model.ownextkey" style="width: 100%" placeholder="请选择业务所属行">
<el-option v-for="item in ownextkey" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-form-item>
<c-col :span="24">
<el-form-item label="业务所属行" prop="ownextkey">
<c-select
v-model="model.ownextkey"
style="width: 100%"
placeholder="请选择业务所属行"
>
<el-option
v-for="item in ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-list-search>
<!-- ======================底部============================ -->
......@@ -85,18 +53,18 @@
<c-input v-model="model.cnystm" placeholder="请输入Selection"></c-input>
</el-form-item>
</c-col> -->
<c-istream-table-noOperate
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<el-table-column fixed="right" prop="op" width="auto">
<template slot="header">
<!-- <c-col :span="11" style="text-align: center"></c-col> -->
<c-col :span="11" style="text-align: center">操作</c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template>
</el-table-column>
</c-istream-table-noOperate>
<template slot-scope="scope">
<c-button size="small" @click="getTrnInfo(scope.$index, scope.row)" slot="reference" :disabled="model.cnytyp == '6'">
详情</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</div>
......@@ -109,21 +77,18 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cnysel/Event";
import IStreamTableNoOperate from "./IStreamTable.vue";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
components: {
"c-istream-table-noOperate": IStreamTableNoOperate
},
data() {
return {
ownextkey:[
{label:"<ALL>",value:"<ALL>"},
{label:"00000047 中国光大银行北京分部",value:"00000047"},
{label:"00001047 LM ADD",value:"00001047"},
ownextkey: [
{ label: "<ALL>", value: "<ALL>" },
{ label: "00000047 中国光大银行北京分部", value: "00000047" },
{ label: "00001047 LM ADD", value: "00001047" },
],
stmData: {
columns: [
......@@ -133,16 +98,41 @@ export default {
'3 4 "收款人名称" 250',
'4 5 "付款人名称" 250',
'5 6 "业务发生日期" 150 20 30 1',
{ index: 6, position: 7, width: 100, pattern: "code", label: "复核状态" ,"code":"relsta"},
{ index: 6, position: 7, width: 100, pattern: "code", label: "复核状态", "code": "relsta" },
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
// inject: {
// tabVal: "root.tabVal"
// },
methods: {
...Event,
async getTrnInfo(idx, row) {
// this.model.infcon.objinr = row["INR"];
// this.model.bodgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
console.log(row);
console.log(this.tabVal);
this.tabVal = "litp";
// tabVal: "selp",
// console.log(row.申报类型);
// let url = row.申报类型.toLowerCase() + "inf";
// this.$router.history.push("/business/" + url);
// let rtnmsg = await this.executeDefault("dtlbut");
// // if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// console.log(this.trnData.data);
// }
}
},
created: function () { },
};
</script>
<style>
</style>
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