Commit fd7a692b by jianglong

新增DBAINF

parent c1e16207
import Utils from "~/utils"
/**
* Dbainf Check规则
*/
let checkObj = {
"recgrp.bas.othamt" :null,
"recgrp.bas.outchargeamt" :null,
"recgrp.dcl.paytype" :null,
"recgrp.bas.custnm" :null,
"recgrp.dcl.tx2rem" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.vrf.chkamt" :null,
"recgrp.dcl.txrem" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.vrf.payattr" :null,
"recgrp.bas.inchargeamt" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.dcl.txcode2" :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.actiontype" :null,
"recgrp.bas.rptno" :null,
"recgrp.dcl.tc1amt" :null,
"recgrp.dcl.crtuser" :null,
"recgrp.dcl.rptdate" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.dcl.inptelc" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.vrf.chkprtd" :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.dcl.isref" :null,
"recgrp.dcl.txcode" :null,
"recgrp.bas.buscode" :null,
"recgrp.dcl.tc2amt" :null,
"recgrp.bas.custype" :null,
"recgrp.bas.inchargeccy" :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
/**
* Dbainf 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,
"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.payattr" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recgrp.dcl.paytype" :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.ackflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
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 onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.del")
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 onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
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 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.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"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.dcl.billno":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"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.osamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.vrf.chkamt":[
{type: "number", required: false, message: "必输项"} ],
"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 Dbainf{
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
inchargeccy:"", // 国内银行扣费 .recgrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .recgrp.bas.inchargeamt
outchargeamt:"", // 国外银行扣费 .recgrp.bas.outchargeamt
outchargeccy:"", // 国外银行扣费 .recgrp.bas.outchargeccy
txccy:"", // 收入款币种及金额 .recgrp.bas.txccy
txamt:"", // 收入款币种及金额 .recgrp.bas.txamt
},
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
billno:"", // 外债编号 .recgrp.dcl.billno
},
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
chkprtd:"", // 已出具出口收汇核销专用联 .recgrp.vrf.chkprtd
payattr:"", // 收汇类型 .recgrp.vrf.payattr
chkamt:"", // 收汇总金额中用于出口核销的金额 .recgrp.vrf.chkamt
osamt:"", // 余款金额 .recgrp.vrf.osamt
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -8,6 +8,7 @@ import Cptato from "./Cptato"
import Diasel from "./Diasel"
import Bopsel from "./Bopsel"
import Boprcv from "./Boprcv"
import Dbainf from "./Dbainf"
import Ditame from "./Ditame"
import Ditcan from "./Ditcan"
import Ditsel from "./Ditsel"
......@@ -289,6 +290,7 @@ const BusRouter = [
{ path: 'diasel', component: Diasel, name: 'Diasel', meta: { title: '备忘录选择交易' } },
{ path: 'bopsel', component: Bopsel, name: 'Bopsel', meta: { title: '待申报列表' } },
{ path: 'boprcv', component: Boprcv, name: 'Boprcv', meta: { title: '申报回执查询' } },
{ path: 'dbainf', component: Dbainf, name: 'Dbainf', meta: { title: '新增涉外收入申报单' } },
{ path: 'ditame', component: Ditame, name: 'Ditame', meta: { title: '信用证修改' } },
{ path: 'ditcan', component: Ditcan, name: 'Ditcan', meta: { title: '信用证注销' } },
......
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<!-- -----左边----- -->
<c-col :span="12" style="padding-right:20px">
<!-- S0000001 : 临时申报编号 -->
<c-col :span="24">
<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>
<!-- S0000003 : 操作类型 -->
<c-col :span="24">
<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>
<!-- S0000002 : 地区机构号 -->
<c-col :span="24">
<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="24">
<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="24">
<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="24">
<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-button size="small" type="primary" icon="el-icon-search" @click="onCodsel1Selbut1">
{{$t('codsel.C0000002')}}
</c-button>
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodsel1Selbut">
{{$t('codsel.C0000002')}}
</c-button>-->
</c-form-item>
</c-col>
<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>
</c-col>
<c-col :span="24">
<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>
<c-col :span="24">
<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-button size="small" type="primary" icon="el-icon-search" @click="onCodsel2Selbut">
{{$t('codsel.C0000002')}}
</c-button>-->
</c-form-item>
</c-col>
<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>
<c-col :span="24">
<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>
<!-- -----右边----- -->
<c-col :span="12" style="padding-left:20px">
<!-- S0000005 : 申报号码 -->
<c-col :span="24">
<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>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="24">
<fullbox>
<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>
</fullbox>
</c-col>
<c-col :span="24">
<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="24">
<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="24">
<el-form-item label-width="120px" prop="recp.dclpp.acp">
<c-checkbox style="float:left" v-model="model.recp.dclpp.acp">{{$t('dclpp.C0000029')}}</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<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-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>
<c-col :span="24">
<c-form-item :label="$t('dbap.S0000048')" prop="recgrp.dcl.billno">
<c-input v-model="model.recgrp.dcl.billno" maxlength="50" :placeholder="$t('other.please_enter')+$t('dbap.S0000048')"></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbainf/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">
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker disabled type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" placeholder="收付汇日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款项来源" prop="bopbut.acttyp">
<c-select disabled v-model="model.bopbut.acttyp" style="width:100%" placeholder="款项来源">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="">
<c-fullbox>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.basflg"
style="float: left; text-align: center"
>基础信息</c-checkbox
>
</template>
</c-col>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.dclflg"
style="float: left; text-align: center"
>申报信息</c-checkbox
>
</template>
</c-col>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.vrfflg"
style="float: left; text-align: center"
>管理信息</c-checkbox
>
</template>
</c-col>
</c-fullbox>
</el-form-item>
</c-col>
</c-col >
<c-col :span="12">
</c-col >
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbainf/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-row>
<c-col :span="24">
<!-- -----左边----- -->
<c-col :span="12" style="padding-right:20px">
<c-col :span="24">
<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>
<!-- S0000003 : 操作类型 -->
<c-col :span="24">
<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>
<!-- S0000002 : 地区机构号 -->
<c-col :span="24">
<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>
<!-- S0000052 : 收汇类型 -->
<c-col :span="24">
<el-form-item :label="$t('dbap.S0000052')" prop="recgrp.vrf.payattr">
<c-select v-model="model.recgrp.vrf.payattr" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbap.S0000052')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('dbap.S0000050')" prop="recgrp.vrf.osamt">
<c-input v-model="model.recgrp.vrf.osamt" :placeholder="$t('other.please_enter')+$t('dbap.S0000050')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('dbap.S0000049')" prop="recgrp.vrf.chkprtd">
<c-select v-model="model.recgrp.vrf.chkprtd" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbap.S0000049')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000053 : 收汇总金额中用于出口核销的金额 -->
<c-col :span="24">
<c-form-item :label="$t('dbap.S0000053')" prop="recgrp.vrf.chkamt">
<c-input v-model="model.recgrp.vrf.chkamt" :placeholder="$t('other.please_enter')+$t('dbap.S0000053')"></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- -----右边----- -->
<c-col :span="12" style="padding-left:20px">
<c-col :span="24">
<c-form-item label="申报编号" prop="recgrp.vrf.rptno">
<c-input v-model="model.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+'申报编号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="24">
<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>
<c-col :span="24">
<c-form-item label-width="120px">
<c-checkbox style="float:left;" v-model="model.recp.vrfpp.acp">{{$t('vrfpp.C0000017')}}</c-checkbox>
</c-form-item>
</c-col>
<!--出口收汇核销单号码 -->
<c-col :span="24">
<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="24">
<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="24">
<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>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbainf/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>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane label="基础信息" name="basp">
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbap PD000001 涉外收入申报单-申报信息 -->
<el-tab-pane label="申报信息" name="dclp">
<c-content>
<m-dclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbap PD000002 核销专用联(境外收入)-核销信息 -->
<el-tab-pane label="核销信息" name="vrfp">
<c-content>
<m-vrfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbainf from "~/model/Dbainf"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbainf/Check"
import Default from "~/model/Dbainf/Default"
import Pattern from "~/model/Dbainf/Pattern"
import Selection from "./Selection"
import Basp from "./Basp"
import Dclp from "./Dclp"
import Vrfp from "./Vrfp"
export default {
name: "Dbainf",
components: {
"m-selection": Selection,
"m-basp": Basp,
"m-dclp": Dclp,
"m-vrfp": Vrfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
trnName: "dbainf",
trnType: "",
model: new Dbainf().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入dbainf交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
}
}
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment