Commit 2b155b69 by Wuyuqiu

dbcadd、dbdadd页面布局

parent 5d50a672
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
......@@ -223,7 +223,12 @@ 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"
......@@ -487,7 +492,12 @@ 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: '外汇账户内结汇(删除)' } },
......
......@@ -30,6 +30,7 @@
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
>
</c-select>
</el-form-item>
......@@ -118,7 +119,7 @@
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择付款币种及金额"
:code="codes.curtxt"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
......@@ -139,7 +140,7 @@
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种及金额"
:code="codes.curtxt"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
......@@ -207,25 +208,26 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构" prop="recgrp.bas.custcod">
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构"
<el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-fullbox>
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
disabled
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;"
>确认</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<br />
</c-col>
<c-col :span="24">
<br />
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.recp.baspp.acp" disabled :checked="true"
>确认</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="购汇汇率" prop="recgrp.bas.exrate">
......@@ -270,7 +272,7 @@
v-model="model.recgrp.bas.outchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
:code="codes.curtxt"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
......
......@@ -18,7 +18,9 @@
>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane label="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane label="对外付款/承兑通知书-基础信息" name="basp" v-if="model.bopbut.basflg">
......
<template>
<div class="eibs-tab">
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
:code="codes.actiontype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择类型"
:code="codes.custype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇金额" prop="recgrp.bas.lcyamt">
<c-input
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它金额" prop="recgrp.bas.othamt">
<c-input
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="付款币种及金额" prop="recgrp.bas.txccy">
<c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择付款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.txamt"
placeholder="请输入付款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="实付款币种及金额" prop="recgrp.bas.actuccy">
<c-select
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-date-picker
type="date"
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!----------右边------------>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="修改/删除原因" prop="recgrp.bas.actiondesc">
<c-input
type="textarea"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入操作类型"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-select
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-fullbox>
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
disabled
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;"
>确认</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc">
<c-input
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入人民币帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外汇帐号/银行卡号" prop="recgrp.bas.fcyacc">
<c-input
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入外汇帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它帐号/银行卡号" prop="recgrp.bas.othacc">
<c-input
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入其它帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy">
<c-select
v-model="model.recgrp.bas.outchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label=""
prop="recgrp.bas.outchargeamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.outchargeamt"
placeholder="请输入扣费币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input
v-model="model.recgrp.bas.tenor"
placeholder="请输入期限"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbcame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000001 : 临时申报编号 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000001')" prop="recgrp.dcl.tmpref">
<c-input v-model="model.recgrp.dcl.tmpref" maxlength="16" :placeholder="$t('other.please_enter')+$t('dclpp.S0000001')"></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 申报号码 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000005')" prop="recgrp.dcl.rptno">
<c-input v-model="model.recgrp.dcl.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('dclpp.S0000005')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 操作类型 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000003')" prop="recgrp.dcl.actiontype">
<c-input v-model="model.recgrp.dcl.actiontype" maxlength="1" :placeholder="$t('other.please_enter')+$t('dclpp.S0000003')"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000004')" prop="recgrp.dcl.actiondesc">
<c-input type="textarea" v-model="model.recgrp.dcl.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+$t('dclpp.S0000004')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 地区机构号 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000002')" prop="recgrp.dcl.ownextkey">
<c-input v-model="model.recgrp.dcl.ownextkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('dclpp.S0000002')"></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 申报日期 -->
<c-col :span="12">
<el-form-item :label="$t('dclpp.S0000018')" prop="recgrp.dcl.rptdate">
<c-date-picker type="date" v-model="model.recgrp.dcl.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('dclpp.S0000018')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.dclpp.isref1" data-path=".recp.dclpp.isref1" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="是否进口核销项下收汇" prop="recgrp.dcl.isref">
<c-select v-model="model.recgrp.dcl.isref" style="width:100%" :placeholder="$t('other.please_enter')+'是否进口核销项下收汇'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="收款人常驻国家/地区编码" prop="recgrp.dcl.country">
<c-input v-model="model.recgrp.dcl.country" 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="onCodsel1Selbut1">
{{$t('codsel.C0000005')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.recp.dclpp.paytype1" data-path=".recp.dclpp.paytype1" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="付款类型" prop="recgrp.dcl.paytype">
<c-select v-model="model.recgrp.dcl.paytype" style="width:100%" :placeholder="$t('other.please_enter')+'付款类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.dclpp.country1" data-path=".recp.dclpp.country1" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.dclpp.acp">{{$t('dclpp.C0000029')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="交易编码1" prop="recgrp.dcl.txcode">
<c-input v-model="model.recgrp.dcl.txcode" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodsel1Selbut">
{{$t('codsel.C0000002')}}
</c-button>
</c-col>
<!-- S0000033 : 交易编码1 -->
<!-- S0000009 : 相应金额1 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000009')" prop="recgrp.dcl.tc1amt">
<c-input v-model="model.recgrp.dcl.tc1amt" :placeholder="$t('other.please_enter')+$t('dclpp.S0000009')"></c-input>
</c-form-item>
</c-col>
<!-- S0000031 : 交易附言1 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000031')" prop="recgrp.dcl.txrem">
<c-input v-model="model.recgrp.dcl.txrem" maxlength="50" :placeholder="$t('other.please_enter')+$t('dclpp.S0000031')"></c-input>
</c-form-item>
</c-col>
<!-- S0000013 : 相应金额2 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000013')" prop="recgrp.dcl.tc2amt">
<c-input v-model="model.recgrp.dcl.tc2amt" :placeholder="$t('other.please_enter')+$t('dclpp.S0000013')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="交易编码2" prop="recgrp.dcl.txcode2">
<c-input v-model="model.recgrp.dcl.txcode2" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码2'"></c-input>
</c-form-item>
</c-col>
<!-- S0000032 : 交易编码2 -->
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodsel2Selbut">
{{$t('codsel.C0000002')}}
</c-button>
</c-col>
<!-- S0000014 : 交易附言2 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000014')" prop="recgrp.dcl.tx2rem">
<c-input v-model="model.recgrp.dcl.tx2rem" maxlength="50" :placeholder="$t('other.please_enter')+$t('dclpp.S0000014')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.dclpp.crtuser1" data-path=".recp.dclpp.crtuser1" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="联系人" prop="recgrp.dcl.crtuser">
<c-input v-model="model.recgrp.dcl.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+'联系人'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.dclpp.inptelc1" data-path=".recp.dclpp.inptelc1" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="联系人电话" prop="recgrp.dcl.inptelc">
<c-input v-model="model.recgrp.dcl.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+'联系人电话'"></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/Dbcame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat">
<c-date-picker type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbcame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000001')" prop="recgrp.vrf.tmpref">
<c-input v-model="model.recgrp.vrf.tmpref" maxlength="16" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000001')"></c-input>
</c-form-item>
</c-col>
<!-- S0000001 : 临时申报编号 -->
<!-- S0000018 : RoptNam -->
<c-col :span="12">
<span v-text="model.recp.vrfpp.roptnam" data-path=".recp.vrfpp.roptnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000018')" prop="recgrp.vrf.rptno">
<c-input v-model="model.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000018')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 操作类型 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000003')" prop="recgrp.vrf.actiontype">
<c-input v-model="model.recgrp.vrf.actiontype" maxlength="1" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000003')"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000004')" prop="recgrp.vrf.actiondesc">
<c-input type="textarea" v-model="model.recgrp.vrf.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+$t('vrfpp.S0000004')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 地区机构号 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000002')" prop="recgrp.vrf.ownextkey">
<c-input v-model="model.recgrp.vrf.ownextkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000002')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('vrfpp.C0000017')}}</c-checkbox>
</c-col>
<!-- S0000056 : 合同号 -->
<c-col :span="12">
<c-form-item :label="$t('dbcp.S0000056')" prop="recgrp.vrf.contrno">
<c-input v-model="model.recgrp.vrf.contrno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbcp.S0000056')"></c-input>
</c-form-item>
</c-col>
<!-- S0000059 : 合同金额 -->
<c-col :span="12">
<c-form-item :label="$t('dbcp.S0000059')" prop="recgrp.vrf.contamt">
<c-input v-model="model.recgrp.vrf.contamt" :placeholder="$t('other.please_enter')+$t('dbcp.S0000059')"></c-input>
</c-form-item>
</c-col>
<!-- S0000058 : 提运单号 -->
<c-col :span="12">
<c-form-item :label="$t('dbcp.S0000058')" prop="recgrp.vrf.billno">
<c-input v-model="model.recgrp.vrf.billno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbcp.S0000058')"></c-input>
</c-form-item>
</c-col>
<!-- S0000060 : 外汇局批件/备案表号 -->
<c-col :span="12">
<c-form-item :label="$t('dbcp.S0000060')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbcp.S0000060')"></c-input>
</c-form-item>
</c-col>
<!-- S0000057 : 最迟装运日期 -->
<c-col :span="12">
<el-form-item :label="$t('dbcp.S0000057')" prop="recgrp.vrf.impdate">
<c-date-picker type="date" v-model="model.recgrp.vrf.impdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbcp.S0000057')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000055 : 发票号 -->
<c-col :span="12">
<c-form-item :label="$t('dbcp.S0000055')" prop="recgrp.vrf.invoino">
<c-input v-model="model.recgrp.vrf.invoino" maxlength="35" :placeholder="$t('other.please_enter')+$t('dbcp.S0000055')"></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : 申报日期 -->
<c-col :span="12">
<el-form-item :label="$t('vrfpp.S0000015')" prop="recgrp.vrf.rptdate">
<c-date-picker type="date" v-model="model.recgrp.vrf.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000015')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000013 : 填报人 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000013')" prop="recgrp.vrf.crtuser">
<c-input v-model="model.recgrp.vrf.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000013')"></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 填报人电话 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000014')" prop="recgrp.vrf.inptelc">
<c-input v-model="model.recgrp.vrf.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000014')"></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/Dbcame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane :label="$t('dbcp.PD000000')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000001 对外付款/承兑通知书-申报信息 -->
<el-tab-pane :label="$t('dbcp.PD000001')" name="dclp">
<m-dclp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000002 对外付款/承兑通知书-核销信息 -->
<el-tab-pane :label="$t('dbcp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbcame from "~/model/Dbcame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbcame/Check"
import Default from "~/model/Dbcame/Default"
import Pattern from "~/model/Dbcame/Pattern"
import Selection from "./Selection"
import Basp from "./Basp"
import Dclp from "./Dclp"
import Vrfp from "./Vrfp"
export default {
name: "Dbcame",
components:{
"m-selection" : Selection,
"m-basp" : Basp,
"m-dclp" : Dclp,
"m-vrfp" : Vrfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbcame",
trnType: "",
model: new Dbcame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbcame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
:code="codes.actiontype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择类型"
:code="codes.custype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇金额" prop="recgrp.bas.lcyamt">
<c-input
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它金额" prop="recgrp.bas.othamt">
<c-input
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="付款币种及金额" prop="recgrp.bas.txccy">
<c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择付款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.txamt"
placeholder="请输入付款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="实付款币种及金额" prop="recgrp.bas.actuccy">
<c-select
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-date-picker
type="date"
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!----------右边------------>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="修改/删除原因" prop="recgrp.bas.actiondesc">
<c-input
type="textarea"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入操作类型"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-select
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-fullbox>
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
disabled
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;"
>确认</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc">
<c-input
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入人民币帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外汇帐号/银行卡号" prop="recgrp.bas.fcyacc">
<c-input
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入外汇帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它帐号/银行卡号" prop="recgrp.bas.othacc">
<c-input
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入其它帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy">
<c-select
v-model="model.recgrp.bas.outchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label=""
prop="recgrp.bas.outchargeamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.outchargeamt"
placeholder="请输入扣费币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input
v-model="model.recgrp.bas.tenor"
placeholder="请输入期限"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbcdel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000001 : 临时申报编号 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000001')" prop="recp.recgrp.dcl.tmpref">
<c-input v-model="model.recp.recgrp.dcl.tmpref" maxlength="16" :placeholder="$t('other.please_enter')+$t('dclpp.S0000001')"></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 申报号码 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000005')" prop="recp.recgrp.dcl.rptno">
<c-input v-model="model.recp.recgrp.dcl.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('dclpp.S0000005')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 操作类型 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000003')" prop="recp.recgrp.dcl.actiontype">
<c-input v-model="model.recp.recgrp.dcl.actiontype" maxlength="1" :placeholder="$t('other.please_enter')+$t('dclpp.S0000003')"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000004')" prop="recp.recgrp.dcl.actiondesc">
<c-input type="textarea" v-model="model.recp.recgrp.dcl.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+$t('dclpp.S0000004')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 地区机构号 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000002')" prop="recp.recgrp.dcl.ownextkey">
<c-input v-model="model.recp.recgrp.dcl.ownextkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('dclpp.S0000002')"></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 申报日期 -->
<c-col :span="12">
<el-form-item :label="$t('dclpp.S0000018')" prop="recp.recgrp.dcl.rptdate">
<c-date-picker type="date" v-model="model.recp.recgrp.dcl.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('dclpp.S0000018')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.dclpp.isref1" data-path=".recp.dclpp.isref1" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="是否进口核销项下收汇" prop="recp.recgrp.dcl.isref">
<c-select v-model="model.recp.recgrp.dcl.isref" style="width:100%" :placeholder="$t('other.please_enter')+'是否进口核销项下收汇'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="收款人常驻国家/地区编码" prop="recp.recgrp.dcl.country">
<c-input v-model="model.recp.recgrp.dcl.country" 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="onCodsel1Selbut1">
{{$t('codsel.C0000005')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.recp.dclpp.paytype1" data-path=".recp.dclpp.paytype1" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="付款类型" prop="recp.recgrp.dcl.paytype">
<c-select v-model="model.recp.recgrp.dcl.paytype" style="width:100%" :placeholder="$t('other.please_enter')+'付款类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.dclpp.country1" data-path=".recp.dclpp.country1" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.dclpp.acp">{{$t('dclpp.C0000029')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="交易编码1" prop="recp.recgrp.dcl.txcode">
<c-input v-model="model.recp.recgrp.dcl.txcode" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodsel1Selbut">
{{$t('codsel.C0000002')}}
</c-button>
</c-col>
<!-- S0000033 : 交易编码1 -->
<!-- S0000009 : 相应金额1 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000009')" prop="recp.recgrp.dcl.tc1amt">
<c-input v-model="model.recp.recgrp.dcl.tc1amt" :placeholder="$t('other.please_enter')+$t('dclpp.S0000009')"></c-input>
</c-form-item>
</c-col>
<!-- S0000031 : 交易附言1 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000031')" prop="recp.recgrp.dcl.txrem">
<c-input v-model="model.recp.recgrp.dcl.txrem" maxlength="50" :placeholder="$t('other.please_enter')+$t('dclpp.S0000031')"></c-input>
</c-form-item>
</c-col>
<!-- S0000013 : 相应金额2 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000013')" prop="recp.recgrp.dcl.tc2amt">
<c-input v-model="model.recp.recgrp.dcl.tc2amt" :placeholder="$t('other.please_enter')+$t('dclpp.S0000013')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="交易编码2" prop="recp.recgrp.dcl.txcode2">
<c-input v-model="model.recp.recgrp.dcl.txcode2" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码2'"></c-input>
</c-form-item>
</c-col>
<!-- S0000032 : 交易编码2 -->
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodsel2Selbut">
{{$t('codsel.C0000002')}}
</c-button>
</c-col>
<!-- S0000014 : 交易附言2 -->
<c-col :span="12">
<c-form-item :label="$t('dclpp.S0000014')" prop="recp.recgrp.dcl.tx2rem">
<c-input v-model="model.recp.recgrp.dcl.tx2rem" maxlength="50" :placeholder="$t('other.please_enter')+$t('dclpp.S0000014')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.dclpp.crtuser1" data-path=".recp.dclpp.crtuser1" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="联系人" prop="recp.recgrp.dcl.crtuser">
<c-input v-model="model.recp.recgrp.dcl.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+'联系人'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.dclpp.inptelc1" data-path=".recp.dclpp.inptelc1" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="联系人电话" prop="recp.recgrp.dcl.inptelc">
<c-input v-model="model.recp.recgrp.dcl.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+'联系人电话'"></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/Dbcdel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<el-form-item :label="$t('bopbut.S0000015')" prop="bopbut.paydat">
<c-date-picker type="date" v-model="model.bopbut.paydat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="易类型" prop="bopbut.ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.bopbut.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onButpDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpExi">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbcdel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000001')" prop="recp.recgrp.vrf.tmpref">
<c-input v-model="model.recp.recgrp.vrf.tmpref" maxlength="16" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000001')"></c-input>
</c-form-item>
</c-col>
<!-- S0000001 : 临时申报编号 -->
<!-- S0000018 : RoptNam -->
<c-col :span="12">
<span v-text="model.recp.vrfpp.roptnam" data-path=".recp.vrfpp.roptnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000018')" prop="recp.recgrp.vrf.rptno">
<c-input v-model="model.recp.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000018')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 操作类型 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000003')" prop="recp.recgrp.vrf.actiontype">
<c-input v-model="model.recp.recgrp.vrf.actiontype" maxlength="1" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000003')"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000004')" prop="recp.recgrp.vrf.actiondesc">
<c-input type="textarea" v-model="model.recp.recgrp.vrf.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+$t('vrfpp.S0000004')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 地区机构号 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000002')" prop="recp.recgrp.vrf.ownextkey">
<c-input v-model="model.recp.recgrp.vrf.ownextkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000002')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('vrfpp.C0000017')}}</c-checkbox>
</c-col>
<!-- S0000056 : 合同号 -->
<c-col :span="12">
<c-form-item :label="$t('dbcp.S0000056')" prop="recp.recgrp.vrf.contrno">
<c-input v-model="model.recp.recgrp.vrf.contrno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbcp.S0000056')"></c-input>
</c-form-item>
</c-col>
<!-- S0000059 : 合同金额 -->
<c-col :span="12">
<c-form-item :label="$t('dbcp.S0000059')" prop="recp.recgrp.vrf.contamt">
<c-input v-model="model.recp.recgrp.vrf.contamt" :placeholder="$t('other.please_enter')+$t('dbcp.S0000059')"></c-input>
</c-form-item>
</c-col>
<!-- S0000058 : 提运单号 -->
<c-col :span="12">
<c-form-item :label="$t('dbcp.S0000058')" prop="recp.recgrp.vrf.billno">
<c-input v-model="model.recp.recgrp.vrf.billno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbcp.S0000058')"></c-input>
</c-form-item>
</c-col>
<!-- S0000060 : 外汇局批件/备案表号 -->
<c-col :span="12">
<c-form-item :label="$t('dbcp.S0000060')" prop="recp.recgrp.vrf.regno">
<c-input v-model="model.recp.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbcp.S0000060')"></c-input>
</c-form-item>
</c-col>
<!-- S0000057 : 最迟装运日期 -->
<c-col :span="12">
<el-form-item :label="$t('dbcp.S0000057')" prop="recp.recgrp.vrf.impdate">
<c-date-picker type="date" v-model="model.recp.recgrp.vrf.impdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbcp.S0000057')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000055 : 发票号 -->
<c-col :span="12">
<c-form-item :label="$t('dbcp.S0000055')" prop="recp.recgrp.vrf.invoino">
<c-input v-model="model.recp.recgrp.vrf.invoino" maxlength="35" :placeholder="$t('other.please_enter')+$t('dbcp.S0000055')"></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : 申报日期 -->
<c-col :span="12">
<el-form-item :label="$t('vrfpp.S0000015')" prop="recp.recgrp.vrf.rptdate">
<c-date-picker type="date" v-model="model.recp.recgrp.vrf.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000015')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000013 : 填报人 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000013')" prop="recp.recgrp.vrf.crtuser">
<c-input v-model="model.recp.recgrp.vrf.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000013')"></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 填报人电话 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000014')" prop="recp.recgrp.vrf.inptelc">
<c-input v-model="model.recp.recgrp.vrf.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000014')"></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/Dbcdel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane :label="$t('dbcp.PD000000')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000001 对外付款/承兑通知书-申报信息 -->
<el-tab-pane :label="$t('dbcp.PD000001')" name="dclp">
<m-dclp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000002 对外付款/承兑通知书-核销信息 -->
<el-tab-pane :label="$t('dbcp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbcdel from "~/model/Dbcdel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbcdel/Check"
import Default from "~/model/Dbcdel/Default"
import Pattern from "~/model/Dbcdel/Pattern"
import Selection from "./Selection"
import Basp from "./Basp"
import Dclp from "./Dclp"
import Vrfp from "./Vrfp"
export default {
name: "Dbcdel",
components:{
"m-selection" : Selection,
"m-basp" : Basp,
"m-dclp" : Dclp,
"m-vrfp" : Vrfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbcdel",
trnType: "",
model: new Dbcdel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbcdel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -4,12 +4,23 @@
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
<c-fullbox>
<c-input
v-model="model.recgrp.bas.rptno"
placeholder="请输入申报号码"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
:disabled="model.recgrp.bas.rptno!=''"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -65,6 +76,7 @@
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -77,6 +89,7 @@
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -96,6 +109,7 @@
<c-input
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -104,6 +118,7 @@
<c-input
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -112,6 +127,7 @@
<c-input
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -122,7 +138,7 @@
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择付款币种及金额"
:code="codes.curtxt"
:code="codes.curtxt1"
disabled
>
</c-select>
......@@ -152,7 +168,7 @@
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种及金额"
:code="codes.curtxt"
:code="codes.curtxt1"
disabled
>
</c-select>
......@@ -227,29 +243,26 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构" prop="recgrp.bas.custcod">
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构"
disabled
<el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-fullbox>
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
disabled
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;"
>确认</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<br />
</c-col>
<c-col :span="24">
<br />
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
:checked="true"
>确认</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="购汇汇率" prop="recgrp.bas.exrate">
......@@ -304,7 +317,7 @@
v-model="model.recgrp.bas.outchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
:code="codes.curtxt"
:code="codes.curtxt1"
disabled
>
</c-select>
......
......@@ -13,12 +13,15 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox v-model="model.bopbut.basflg" >基础数据</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox
disabled :checked="true"
v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
......@@ -153,6 +156,16 @@ export default {
data() {
return {};
},
computed:{
basflg: {
get() {
return this.model.opbut.basflg === "X";
},
set(val) {
this.model.opbut.basflg = val ? "X" : "";
},
},
},
methods: { ...Event },
created: function () {},
};
......
<template>
<div class="eibs-tab">
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
:code="codes.actiontype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择类型"
:code="codes.custype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇金额" prop="recgrp.bas.lcyamt">
<c-input
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它金额" prop="recgrp.bas.othamt">
<c-input
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="付款币种及金额" prop="recgrp.bas.txccy">
<c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择付款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.txamt"
placeholder="请输入付款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="实付款币种及金额" prop="recgrp.bas.actuccy">
<c-select
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-date-picker
type="date"
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!----------右边------------>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="修改/删除原因" prop="recgrp.bas.actiondesc">
<c-input
type="textarea"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入操作类型"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-select
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-fullbox>
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
disabled
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;"
>确认</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc">
<c-input
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入人民币帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外汇帐号/银行卡号" prop="recgrp.bas.fcyacc">
<c-input
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入外汇帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它帐号/银行卡号" prop="recgrp.bas.othacc">
<c-input
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入其它帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy">
<c-select
v-model="model.recgrp.bas.outchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label=""
prop="recgrp.bas.outchargeamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.outchargeamt"
placeholder="请输入扣费币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input
v-model="model.recgrp.bas.tenor"
placeholder="请输入期限"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbdadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat">
<c-date-picker type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbdadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000001')" prop="recp.vrfpp.tmpref">
<c-input v-model="model.recp.vrfpp.tmpref" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000001')"></c-input>
</c-form-item>
</c-col>
<!-- S0000001 : 临时申报编号 -->
<!-- S0000018 : RoptNam -->
<c-col :span="12">
<span v-text="model.recp.vrfpp.roptnam" data-path=".recp.vrfpp.roptnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000018')" prop="recgrp.vrf.rptno">
<c-input v-model="model.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000018')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 操作类型 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000003')" prop="recgrp.vrf.actiontype">
<c-input v-model="model.recgrp.vrf.actiontype" maxlength="1" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000003')"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000004')" prop="recgrp.vrf.actiondesc">
<c-input type="textarea" v-model="model.recgrp.vrf.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+$t('vrfpp.S0000004')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 地区机构号 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000002')" prop="recgrp.vrf.ownextkey">
<c-input v-model="model.recgrp.vrf.ownextkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000002')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('vrfpp.C0000017')}}</c-checkbox>
</c-col>
<!-- S0000051 : 境内收汇类型 -->
<c-col :span="12">
<el-form-item :label="$t('dbdp.S0000051')" prop="recgrp.vrf.payattr">
<c-select v-model="model.recgrp.vrf.payattr" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbdp.S0000051')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000052 : 收款性质 -->
<c-col :span="12">
<el-form-item :label="$t('dbdp.S0000052')" prop="recgrp.vrf.paytype">
<c-select v-model="model.recgrp.vrf.paytype" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbdp.S0000052')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('dbdp.S0000050')" prop="recgrp.vrf.isref">
<c-select v-model="model.recgrp.vrf.isref" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbdp.S0000050')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000050 : 是否出口核销项下收汇 -->
<!-- S0000060 : 收汇总金额中用于出口核销的金额 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000060')" prop="recgrp.vrf.chkamt">
<c-input v-model="model.recgrp.vrf.chkamt" :placeholder="$t('other.please_enter')+$t('dbdp.S0000060')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="交易编码1" prop="recgrp.vrf.txcode">
<c-input v-model="model.recgrp.vrf.txcode" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodsel1Selbut">
{{$t('codsel.C0000002')}}
</c-button>
</c-col>
<!-- S0000053 : 交易编码1 -->
<!-- S0000054 : 相应金额1 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000053')" prop="recgrp.vrf.tc1amt">
<c-input v-model="model.recgrp.vrf.tc1amt" :placeholder="$t('other.please_enter')+$t('dbdp.S0000053')"></c-input>
</c-form-item>
</c-col>
<!-- S0000055 : 交易附言1 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000055')" prop="recgrp.vrf.txrem">
<c-input v-model="model.recgrp.vrf.txrem" maxlength="50" :placeholder="$t('other.please_enter')+$t('dbdp.S0000055')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="交易编码2" prop="recgrp.vrf.txcode2">
<c-input v-model="model.recgrp.vrf.txcode2" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码2'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodsel2Selbut">
{{$t('codsel.C0000002')}}
</c-button>
</c-col>
<!-- S0000056 : 交易编码2 -->
<!-- S0000057 : 相应金额2 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000056')" prop="recgrp.vrf.tc2amt">
<c-input v-model="model.recgrp.vrf.tc2amt" :placeholder="$t('other.please_enter')+$t('dbdp.S0000056')"></c-input>
</c-form-item>
</c-col>
<!-- S0000058 : 交易附言2 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000058')" prop="recgrp.vrf.tx2rem">
<c-input v-model="model.recgrp.vrf.tx2rem" maxlength="50" :placeholder="$t('other.please_enter')+$t('dbdp.S0000058')"></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : 申报日期 -->
<c-col :span="12">
<el-form-item :label="$t('vrfpp.S0000015')" prop="recgrp.vrf.rptdate">
<c-date-picker type="date" v-model="model.recgrp.vrf.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000015')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000013 : 填报人 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000013')" prop="recgrp.vrf.crtuser">
<c-input v-model="model.recgrp.vrf.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000013')"></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 填报人电话 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000014')" prop="recgrp.vrf.inptelc">
<c-input v-model="model.recgrp.vrf.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000014')"></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/Dbdadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="境内收入申报单(新建)">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane label="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane
label="对外付款/承兑通知书-基础信息"
name="basp"
v-if="model.bopbut.basflg"
>
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Dbdadd from "~/model/Dbdadd";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Dbdadd/Check";
import Default from "~/model/Dbdadd/Default";
import Pattern from "~/model/Dbdadd/Pattern";
import Basp from "./Basp";
import Selection from "./Selection";
import Vrfp from "./Vrfp";
export default {
name: "Dbdadd",
components: {
"m-basp": Basp,
"m-selection": Selection,
"m-vrfp": Vrfp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
trnName: "dbdadd",
model: new Dbdadd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入dbdadd交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
:code="codes.actiontype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择类型"
:code="codes.custype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇金额" prop="recgrp.bas.lcyamt">
<c-input
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它金额" prop="recgrp.bas.othamt">
<c-input
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="付款币种及金额" prop="recgrp.bas.txccy">
<c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择付款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.txamt"
placeholder="请输入付款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="实付款币种及金额" prop="recgrp.bas.actuccy">
<c-select
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-date-picker
type="date"
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!----------右边------------>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="修改/删除原因" prop="recgrp.bas.actiondesc">
<c-input
type="textarea"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入操作类型"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-select
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-fullbox>
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
disabled
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;"
>确认</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc">
<c-input
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入人民币帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外汇帐号/银行卡号" prop="recgrp.bas.fcyacc">
<c-input
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入外汇帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它帐号/银行卡号" prop="recgrp.bas.othacc">
<c-input
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入其它帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy">
<c-select
v-model="model.recgrp.bas.outchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label=""
prop="recgrp.bas.outchargeamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.outchargeamt"
placeholder="请输入扣费币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input
v-model="model.recgrp.bas.tenor"
placeholder="请输入期限"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbdame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat">
<c-date-picker type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbdame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000001')" prop="recp.vrfpp.tmpref">
<c-input v-model="model.recp.vrfpp.tmpref" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000001')"></c-input>
</c-form-item>
</c-col>
<!-- S0000001 : 临时申报编号 -->
<!-- S0000018 : RoptNam -->
<c-col :span="12">
<span v-text="model.recp.vrfpp.roptnam" data-path=".recp.vrfpp.roptnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000018')" prop="recgrp.vrf.rptno">
<c-input v-model="model.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000018')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 操作类型 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000003')" prop="recgrp.vrf.actiontype">
<c-input v-model="model.recgrp.vrf.actiontype" maxlength="1" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000003')"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000004')" prop="recgrp.vrf.actiondesc">
<c-input type="textarea" v-model="model.recgrp.vrf.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+$t('vrfpp.S0000004')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 地区机构号 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000002')" prop="recgrp.vrf.ownextkey">
<c-input v-model="model.recgrp.vrf.ownextkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000002')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('vrfpp.C0000017')}}</c-checkbox>
</c-col>
<!-- S0000051 : 境内收汇类型 -->
<c-col :span="12">
<el-form-item :label="$t('dbdp.S0000051')" prop="recgrp.vrf.payattr">
<c-select v-model="model.recgrp.vrf.payattr" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbdp.S0000051')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000052 : 收款性质 -->
<c-col :span="12">
<el-form-item :label="$t('dbdp.S0000052')" prop="recgrp.vrf.paytype">
<c-select v-model="model.recgrp.vrf.paytype" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbdp.S0000052')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('dbdp.S0000050')" prop="recgrp.vrf.isref">
<c-select v-model="model.recgrp.vrf.isref" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbdp.S0000050')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000050 : 是否出口核销项下收汇 -->
<!-- S0000060 : 收汇总金额中用于出口核销的金额 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000060')" prop="recgrp.vrf.chkamt">
<c-input v-model="model.recgrp.vrf.chkamt" :placeholder="$t('other.please_enter')+$t('dbdp.S0000060')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="交易编码1" prop="recgrp.vrf.txcode">
<c-input v-model="model.recgrp.vrf.txcode" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodsel1Selbut">
{{$t('codsel.C0000002')}}
</c-button>
</c-col>
<!-- S0000053 : 交易编码1 -->
<!-- S0000054 : 相应金额1 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000053')" prop="recgrp.vrf.tc1amt">
<c-input v-model="model.recgrp.vrf.tc1amt" :placeholder="$t('other.please_enter')+$t('dbdp.S0000053')"></c-input>
</c-form-item>
</c-col>
<!-- S0000055 : 交易附言1 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000055')" prop="recgrp.vrf.txrem">
<c-input v-model="model.recgrp.vrf.txrem" maxlength="50" :placeholder="$t('other.please_enter')+$t('dbdp.S0000055')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="交易编码2" prop="recgrp.vrf.txcode2">
<c-input v-model="model.recgrp.vrf.txcode2" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码2'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodsel2Selbut">
{{$t('codsel.C0000002')}}
</c-button>
</c-col>
<!-- S0000056 : 交易编码2 -->
<!-- S0000057 : 相应金额2 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000056')" prop="recgrp.vrf.tc2amt">
<c-input v-model="model.recgrp.vrf.tc2amt" :placeholder="$t('other.please_enter')+$t('dbdp.S0000056')"></c-input>
</c-form-item>
</c-col>
<!-- S0000058 : 交易附言2 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000058')" prop="recgrp.vrf.tx2rem">
<c-input v-model="model.recgrp.vrf.tx2rem" maxlength="50" :placeholder="$t('other.please_enter')+$t('dbdp.S0000058')"></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : 申报日期 -->
<c-col :span="12">
<el-form-item :label="$t('vrfpp.S0000015')" prop="recgrp.vrf.rptdate">
<c-date-picker type="date" v-model="model.recgrp.vrf.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000015')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000013 : 填报人 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000013')" prop="recgrp.vrf.crtuser">
<c-input v-model="model.recgrp.vrf.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000013')"></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 填报人电话 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000014')" prop="recgrp.vrf.inptelc">
<c-input v-model="model.recgrp.vrf.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000014')"></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/Dbdame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane :label="$t('dbdp.PD000000')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbdp PD000002 境内收入申报单-管理信息 -->
<el-tab-pane :label="$t('dbdp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbdame from "~/model/Dbdame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbdame/Check"
import Default from "~/model/Dbdame/Default"
import Pattern from "~/model/Dbdame/Pattern"
import Basp from "./Basp"
import Vrfp from "./Vrfp"
import Selection from "./Selection"
export default {
name: "Dbdame",
components:{
"m-basp" : Basp,
"m-vrfp" : Vrfp,
"m-selection" : Selection,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbdame",
trnType: "",
model: new Dbdame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbdame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
:code="codes.actiontype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择类型"
:code="codes.custype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇金额" prop="recgrp.bas.lcyamt">
<c-input
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它金额" prop="recgrp.bas.othamt">
<c-input
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="付款币种及金额" prop="recgrp.bas.txccy">
<c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择付款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.txamt"
placeholder="请输入付款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="实付款币种及金额" prop="recgrp.bas.actuccy">
<c-select
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-date-picker
type="date"
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!----------右边------------>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="修改/删除原因" prop="recgrp.bas.actiondesc">
<c-input
type="textarea"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入操作类型"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-select
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-fullbox>
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
disabled
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;"
>确认</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc">
<c-input
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入人民币帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外汇帐号/银行卡号" prop="recgrp.bas.fcyacc">
<c-input
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入外汇帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它帐号/银行卡号" prop="recgrp.bas.othacc">
<c-input
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入其它帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy">
<c-select
v-model="model.recgrp.bas.outchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label=""
prop="recgrp.bas.outchargeamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.outchargeamt"
placeholder="请输入扣费币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input
v-model="model.recgrp.bas.tenor"
placeholder="请输入期限"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbddel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat">
<c-date-picker type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbddel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000001')" prop="recp.vrfpp.tmpref">
<c-input v-model="model.recp.vrfpp.tmpref" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000001')"></c-input>
</c-form-item>
</c-col>
<!-- S0000001 : 临时申报编号 -->
<!-- S0000018 : RoptNam -->
<c-col :span="12">
<span v-text="model.recp.vrfpp.roptnam" data-path=".recp.vrfpp.roptnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000018')" prop="recgrp.vrf.rptno">
<c-input v-model="model.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000018')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 操作类型 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000003')" prop="recgrp.vrf.actiontype">
<c-input v-model="model.recgrp.vrf.actiontype" maxlength="1" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000003')"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000004')" prop="recgrp.vrf.actiondesc">
<c-input type="textarea" v-model="model.recgrp.vrf.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+$t('vrfpp.S0000004')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 地区机构号 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000002')" prop="recgrp.vrf.ownextkey">
<c-input v-model="model.recgrp.vrf.ownextkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000002')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('vrfpp.C0000017')}}</c-checkbox>
</c-col>
<!-- S0000051 : 境内收汇类型 -->
<c-col :span="12">
<el-form-item :label="$t('dbdp.S0000051')" prop="recgrp.vrf.payattr">
<c-select v-model="model.recgrp.vrf.payattr" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbdp.S0000051')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000052 : 收款性质 -->
<c-col :span="12">
<el-form-item :label="$t('dbdp.S0000052')" prop="recgrp.vrf.paytype">
<c-select v-model="model.recgrp.vrf.paytype" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbdp.S0000052')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('dbdp.S0000050')" prop="recgrp.vrf.isref">
<c-select v-model="model.recgrp.vrf.isref" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbdp.S0000050')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000050 : 是否出口核销项下收汇 -->
<!-- S0000060 : 收汇总金额中用于出口核销的金额 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000060')" prop="recgrp.vrf.chkamt">
<c-input v-model="model.recgrp.vrf.chkamt" :placeholder="$t('other.please_enter')+$t('dbdp.S0000060')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="交易编码1" prop="recgrp.vrf.txcode">
<c-input v-model="model.recgrp.vrf.txcode" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodsel1Selbut">
{{$t('codsel.C0000002')}}
</c-button>
</c-col>
<!-- S0000053 : 交易编码1 -->
<!-- S0000054 : 相应金额1 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000053')" prop="recgrp.vrf.tc1amt">
<c-input v-model="model.recgrp.vrf.tc1amt" :placeholder="$t('other.please_enter')+$t('dbdp.S0000053')"></c-input>
</c-form-item>
</c-col>
<!-- S0000055 : 交易附言1 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000055')" prop="recgrp.vrf.txrem">
<c-input v-model="model.recgrp.vrf.txrem" maxlength="50" :placeholder="$t('other.please_enter')+$t('dbdp.S0000055')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="交易编码2" prop="recgrp.vrf.txcode2">
<c-input v-model="model.recgrp.vrf.txcode2" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码2'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodsel2Selbut">
{{$t('codsel.C0000002')}}
</c-button>
</c-col>
<!-- S0000056 : 交易编码2 -->
<!-- S0000057 : 相应金额2 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000056')" prop="recgrp.vrf.tc2amt">
<c-input v-model="model.recgrp.vrf.tc2amt" :placeholder="$t('other.please_enter')+$t('dbdp.S0000056')"></c-input>
</c-form-item>
</c-col>
<!-- S0000058 : 交易附言2 -->
<c-col :span="12">
<c-form-item :label="$t('dbdp.S0000058')" prop="recgrp.vrf.tx2rem">
<c-input v-model="model.recgrp.vrf.tx2rem" maxlength="50" :placeholder="$t('other.please_enter')+$t('dbdp.S0000058')"></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : 申报日期 -->
<c-col :span="12">
<el-form-item :label="$t('vrfpp.S0000015')" prop="recgrp.vrf.rptdate">
<c-date-picker type="date" v-model="model.recgrp.vrf.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000015')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000013 : 填报人 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000013')" prop="recgrp.vrf.crtuser">
<c-input v-model="model.recgrp.vrf.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000013')"></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 填报人电话 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000014')" prop="recgrp.vrf.inptelc">
<c-input v-model="model.recgrp.vrf.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000014')"></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/Dbddel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane :label="$t('dbdp.PD000000')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbdp PD000002 境内收入申报单-管理信息 -->
<el-tab-pane :label="$t('dbdp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbddel from "~/model/Dbddel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbddel/Check"
import Default from "~/model/Dbddel/Default"
import Pattern from "~/model/Dbddel/Pattern"
import Basp from "./Basp"
import Vrfp from "./Vrfp"
import Selection from "./Selection"
export default {
name: "Dbddel",
components:{
"m-basp" : Basp,
"m-vrfp" : Vrfp,
"m-selection" : Selection,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbddel",
trnType: "",
model: new Dbddel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbddel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -4,12 +4,23 @@
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
<c-fullbox>
<c-input
v-model="model.recgrp.bas.rptno"
placeholder="请输入申报号码"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
:disabled="model.recgrp.bas.rptno!=''"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -65,6 +76,7 @@
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -77,6 +89,7 @@
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -96,6 +109,7 @@
<c-input
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -104,6 +118,7 @@
<c-input
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -112,6 +127,7 @@
<c-input
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -122,7 +138,7 @@
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择付款币种及金额"
:code="codes.curtxt"
:code="codes.curtxt1"
disabled
>
</c-select>
......@@ -152,7 +168,7 @@
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种及金额"
:code="codes.curtxt"
:code="codes.curtxt1"
disabled
>
</c-select>
......@@ -227,29 +243,26 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构" prop="recgrp.bas.custcod">
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构"
disabled
<el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-fullbox>
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
disabled
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;"
>确认</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<br />
</c-col>
<c-col :span="24">
<br />
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
:checked="true"
>确认</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="购汇汇率" prop="recgrp.bas.exrate">
......@@ -304,7 +317,7 @@
v-model="model.recgrp.bas.outchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
:code="codes.curtxt"
:code="codes.curtxt1"
disabled
>
</c-select>
......
......@@ -15,7 +15,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox v-model="model.bopbut.basflg" disabled>基础数据</c-checkbox>
<c-checkbox v-model="model.bopbut.basflg" disabled :checked="true">基础数据</c-checkbox>
</el-form-item>
</c-col>
......
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