Commit d424dae6 by Wuyuqiu

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

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 828ceb4f ebc5efe8
<template>
<div class="eContainer-table-block">
<el-table
ref="table"
:data="data"
style="width: 100%"
class="eContainer-table"
:header-cell-style="{
background: 'rgb(235, 235, 235)',
color: 'rgb(51, 51, 51)',
}"
:highlight-current-row="true"
:border="true"
max-height="380"
>
<c-table-column
v-for="(item, key) in columns"
:key="key"
:prop="item.prop"
:label="item.label"
:width="item.width"
sortable
>
<template v-slot="{ scope }">
<span>{{ scope.row[item.prop] }}</span>
</template>
</c-table-column>
<slot></slot>
</el-table>
<c-col :span="24">
<el-pagination
class="eContainer-pagination"
layout="prev, pager, next, jumper, ->, sizes, total"
:page-sizes="pageSizes"
:page-size="pageSize"
:current-page="pageNumber"
:total="total"
@size-change="sizeChange"
@current-change="currentChange"
></el-pagination>
</c-col>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
/**
* 后端分页的 Table 组件
*/
export default {
props: {
columns: {
type: Array,
default: () => {
return [];
},
},
data: {
type: Array,
default: () => {
return [];
},
},
pageNumber: {
type: Number,
default: 1,
},
pageSize: {
type: Number,
default: 1,
},
total: {
type: Number,
default: 0,
},
},
data() {
return {
pageSizes: [5, 10, 20, 30, 40, 50, 100],
codes: {
...CodeTable,
},
};
},
mounted() {},
methods: {
sizeChange(size) {
this.$emit("queryFunc", this.pageNumber, size);
},
currentChange(currentPage) {
this.$emit("queryFunc", currentPage, this.pageSize);
},
},
};
</script>
<style scoped>
</style>
\ No newline at end of file
......@@ -53,6 +53,8 @@ import Fullbox from "./Fullbox"
import CompareTable from "./CompareTable"
import InputXml from "./InputXml.vue"
import PagingTable from "./PagingTable.vue";
export default {
install(Vue) {
Vue.component("c-page", c_page)
......@@ -106,5 +108,6 @@ export default {
Vue.component("c-fullbox", Fullbox)
Vue.component("c-compare-table", CompareTable)
Vue.component("c-input-xml", InputXml)
Vue.component("c-paging-table", PagingTable)
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbbadd Check规则
*/
let checkObj = {
"recgrp.bas.othamt" :null,
"recgrp.bas.actiontype" :null,
"recgrp.dcl.paytype" :null,
"recgrp.vrf.cusmno" :null,
"recgrp.bas.custnm" :null,
"recgrp.dcl.tx2rem" :null,
"recgrp.vrf.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.dcl.txrem" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.vrf.contrno" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.dcl.txcode2" :null,
"recgrp.vrf.invoino" :null,
"recgrp.dcl.isref" :null,
"recgrp.dcl.txcode" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.impdate" :null,
"recgrp.dcl.tc2amt" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.dcl.country" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :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
/**
* Dbbadd 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.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,
"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 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 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.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.impdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.contrno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.cusmno":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.vrf.invoino":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbbadd{
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
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
},
vrf:{
contrno:"", // 合同号 .recgrp.vrf.contrno
invoino:"", // 发票号 .recgrp.vrf.invoino
regno:"", // 外汇局批件/备案表号 .recgrp.vrf.regno
cusmno:"", // 报关单经营单位编码 .recgrp.vrf.cusmno
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
impdate:"", // 最迟装运日期 .recgrp.vrf.impdate
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbbame Check规则
*/
let checkObj = {
"recgrp.bas.othamt" :null,
"recgrp.bas.actiontype" :null,
"recgrp.dcl.paytype" :null,
"recgrp.vrf.cusmno" :null,
"recgrp.bas.custnm" :null,
"recgrp.dcl.tx2rem" :null,
"recgrp.vrf.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.dcl.txrem" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.vrf.contrno" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.dcl.txcode2" :null,
"recgrp.vrf.invoino" :null,
"recgrp.dcl.isref" :null,
"recgrp.dcl.txcode" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.impdate" :null,
"recgrp.dcl.tc2amt" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.dcl.country" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :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
/**
* Dbbame 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,
"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.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.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 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 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.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.impdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.contrno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.cusmno":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.vrf.invoino":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbbame{
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
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
},
vrf:{
contrno:"", // 合同号 .recgrp.vrf.contrno
invoino:"", // 发票号 .recgrp.vrf.invoino
regno:"", // 外汇局批件/备案表号 .recgrp.vrf.regno
cusmno:"", // 报关单经营单位编码 .recgrp.vrf.cusmno
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
impdate:"", // 最迟装运日期 .recgrp.vrf.impdate
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbbdel Check规则
*/
let checkObj = {
"recgrp.bas.othamt" :null,
"recgrp.bas.actiontype" :null,
"recgrp.dcl.paytype" :null,
"recgrp.vrf.cusmno" :null,
"recgrp.bas.custnm" :null,
"recgrp.dcl.tx2rem" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"recgrp.dcl.tc1amt" :null,
"recgrp.dcl.crtuser" :null,
"recgrp.dcl.rptdate" :null,
"recgrp.dcl.inptelc" :null,
"recgrp.dcl.txrem" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.vrf.contrno" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.dcl.txcode2" :null,
"recgrp.vrf.invoino" :null,
"recgrp.dcl.isref" :null,
"recgrp.dcl.txcode" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.impdate" :null,
"recgrp.dcl.tc2amt" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.dcl.country" :null,
"bopbut.paydat" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :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
/**
* Dbbdel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"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,
"bopbut.basflg" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recgrp.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 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 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 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 onButpChk(){
let rtnmsg = await this.executeRule("butp.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpDel(){
let rtnmsg = await this.executeRule("butp.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpExi(){
let rtnmsg = await this.executeRule("butp.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async 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"}
],
"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.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.impdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.contrno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.cusmno":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.vrf.invoino":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbbdel{
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
paydat:"", // 收付汇日期 .bopbut.paydat
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
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
},
vrf:{
contrno:"", // 合同号 .recgrp.vrf.contrno
invoino:"", // 发票号 .recgrp.vrf.invoino
regno:"", // 外汇局批件/备案表号 .recgrp.vrf.regno
cusmno:"", // 报关单经营单位编码 .recgrp.vrf.cusmno
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
impdate:"", // 最迟装运日期 .recgrp.vrf.impdate
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -22,6 +22,7 @@ export default class Dbcinf{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
recp:{
baspp:{
cusnam:"", // .recp.baspp.cusnam
......
......@@ -55,7 +55,7 @@ export const routes = [
},
{ path: "/review", component: Layout, children: ReviewRouter },
{ path: "/business", component: Layout, children: BusRouter },
{ path: "/static", component: Layout, children: StaticsRouter },
{ path: "/statics", component: Layout, children: StaticsRouter },
{ path: "/display", component: Display, children: DisplayRouter },
{ path: "/login", component: Login, name: "Login" },
{ path: "/docpan", component: () => import("../views/Docpan"), children: DocRouter },
......
......@@ -20,5 +20,14 @@ export function deleteById(inr) {
return Api.post(`/test/pty/deleteById?inr=${inr}`)
}
export function addAdrData(inr, data) {
return Api.post(`/test/pty/addAdrData?inr=${inr}`, data)
}
export function updateAdrData(inr, data) {
return Api.post(`/test/pty/updateAdrData?inr=${inr}`, data)
}
export function deleteAdrData(data) {
return Api.post(`/test/pty/deleteAdrData`, data)
}
......@@ -152,6 +152,12 @@ export default class Utils {
return output.join('');
}
/**
* 执行checkAll之后根据返回的错误信息定位
* @param {Object} fieldErrors 错误信息
* @param {Array} formFields 表单字段
* @returns El-Tab实例
*/
static positioningErrorMsg(fieldErrors, formFields) {
if (Object.keys(fieldErrors).length === 0) {
return null;
......@@ -189,7 +195,60 @@ export default class Utils {
}
if (firstErrorTab) {
const tabs = firstErrorTab.$parent
tabs.value = firstErrorTab.name
tabs.currentName = firstErrorTab.name
}
if (collapsePanel && collapsePanel.collapse.activeNames.indexOf(collapsePanel.name) < 0) {
collapsePanel.collapse.activeNames.push(collapsePanel.name)
}
setTimeout(() => {
// 滚动到指定节点
firstErrorItem.$el.scrollIntoView({
// 值有start,center,end,nearest,当前显示在视图区域中间
block: 'center',
// 值有auto、instant,smooth,缓动动画(当前是慢速的)
behavior: 'smooth'
})
}, 0)
}
return firstErrorTab;
}
/**
* 表单自身的validate方法执行后,错误提示定位
* @param {Array} formFields 表单字段
* @returns El-Tab实例
*/
static formValidateTips(formFields) {
let firstErrorItem = null
// 顺序
for (let i = 0; i < formFields.length; i++) {
const field = formFields[i];
if (field.validateState === 'error') {
firstErrorItem = field
break;
}
}
let firstErrorTab = null, collapsePanel = null
if (firstErrorItem) {
let parentVC = firstErrorItem
while(!firstErrorTab) {
const vcName = parentVC.$options.componentName
// 没有Tabs的表单
if (vcName === "ElForm") {
break;
}
if (vcName === "ElTabPane") {
firstErrorTab = parentVC
break;
}
if (vcName === "ElCollapseItem") {
collapsePanel = parentVC;
}
parentVC = parentVC.$parent;
}
if (firstErrorTab) {
const tabs = firstErrorTab.$parent
tabs.currentName = firstErrorTab.name
}
if (collapsePanel && collapsePanel.collapse.activeNames.indexOf(collapsePanel.name) < 0) {
collapsePanel.collapse.activeNames.push(collapsePanel.name)
......
......@@ -152,6 +152,7 @@ export default {
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
activeNames: ["engp"],
};
},
methods: {},
......
......@@ -221,6 +221,9 @@ import Dbiusr from "./Dbiusr"
import Dbibch from "./Dbibch"
import Infact from "./Infact"
import Dbbinf from "./Dbbinf"
import Dbbadd from "./Dbbadd"
import Dbbame from "./Dbbame"
import Dbbdel from "./Dbbdel"
import Dbcinf from "./Dbcinf"
import Dbcadd from "./Dbcadd"
import Dbcame from "./Dbcame"
......@@ -501,7 +504,10 @@ const BusRouter = [
{ path: 'Dbibch', component: Dbibch, name: 'Dbibch', meta: { title: 'Dbibch' } },
{ path: 'Ordrel', component: Ordrel, name: 'Ordrel', meta: { title: 'Ordrel' } },
{ path: 'Infact', component: Infact, name: 'Infact', meta: { title: '账户' } },
{ path: 'Dbbinf', component: Dbbinf, name: 'Dbbinf', meta: { title: '境外汇款申请书' } },
{ path: 'Dbbinf', component: Dbbinf, name: 'Dbbinf', meta: { title: '境外汇款申请书(查询)' } },
{ path: 'Dbbadd', component: Dbbadd, name: 'Dbbadd', meta: { title: '境外汇款申请书(新建)' } },
{ path: 'Dbbame', component: Dbbame, name: 'Dbbame', meta: { title: '境外汇款申请书(修改)' } },
{ path: 'Dbbdel', component: Dbbdel, name: 'Dbbdel', 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: '对外付款/承兑通知书(修改)' } },
......
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<c-list-search @form-search="handleSearch">
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px"
size="small">
......@@ -27,7 +27,8 @@
</c-col>
<c-col :span="8">
<el-form-item label="申报类型" prop="cfaquep.cfatyp" style="width: 100%">
<c-select v-model="model.cfaquep.cfatyp" style="width:100%" placeholder="请选择申报类型">
<c-select v-model="model.cfaquep.cfatyp" style="width: 100%" placeholder="请选择申报类型"
:code="codes.cfatyp1">
</c-select>
</el-form-item>
</c-col>
......@@ -41,26 +42,30 @@
</c-col>
<c-col :span="8">
<c-form-item label="查询日期类型" prop="cfaquep.dattyp" style="width: 100%">
<c-input v-model="model.cfaquep.dattyp" maxlength="1" placeholder="请选择查询日期类型">
</c-input>
<c-select v-model="model.cfaquep.dattyp" maxlength="1" style="width: 100%"
placeholder="请选择查询日期类型" :code="codes.dattyp">
</c-select>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="笔数" prop="cfaquep.sum" style="width: 100%">
<c-input v-model="model.cfaquep.sum" placeholder="请输入笔数">
<c-input v-model="model.cfaquep.sum" placeholder="请输入笔数" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务所属行" prop="cfaquep.ownextkey" style="width: 100%">
<c-select v-model="model.cfaquep.ownextkey" style="width:100%" placeholder="请选择业务所属行">
<c-select v-model="model.cfaquep.ownextkey" style="width:100%" placeholder="请选择业务所属行"
:code="codes.ownextkey4">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="业务情况" prop="cfaquep.staflg" style="width: 100%">
<c-input v-model="model.cfaquep.staflg" maxlength="1" placeholder="请选择业务情况"></c-input>
<c-select v-model="model.cfaquep.staflg" maxlength="1" style="width: 100%"
placeholder="请选择业务情况" :code="codes.staflg1">
</c-select>
</c-form-item>
</c-col>
</el-row>
......@@ -78,28 +83,12 @@
</template>
<template slot-scope="scope">
<!-- 申请一个弹出主键放在插槽,加工已渲染的数据 -->
<el-popover placement="top-start" title="历史信息" width="800" trigger="click"
:ref="'popover_' + scope.row.IDX">
<div style=" text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)" />
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small"
@click="display(scope.row['INR'])">
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button style="margin-left: 0" size="small"
@click="getTrnInfo(scope.$index, scope.row)" slot="reference">
详情
</c-button>
</el-popover>
<c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)"
slot="reference">
详情
</c-button>
<c-button style="margin-left: 5px" size="small" type="primary"
@click="getButtons(scope.row['业务参考号'])">
@click="getButtons(scope.row['申报号码'])">
处理
</c-button>
</template>
......@@ -198,6 +187,7 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cfasel/Event"
import Utils from "~/utils";
export default {
inject: ['root'],
......@@ -208,14 +198,16 @@ export default {
stmData: {
columns: [
"0 1 \"业务流水\" 100 1 0:2 1 ",
"2 2 \"申报号码\" 180 1 0:0 1 ",
"2 2 \"申报号码\" 200 1 0:0 1 ",
"3 3 \"业务参考号\" 150 1 0:0 1 ",
"4 4 \"柜员\" 100 1 0:2 1 ",
"5 5 \"日期\" 150 4 7:2 1 ",
"6 6 \"申报类型\" 120 1 0:2 1 CFATYP",
// "6 6 \"申报类型\" 120 1 0:2 1 CFATYP",
{ index: 6, position: 6, width: 120, pattern: 'code', label: '申报类型', code: this.codes.cfatyp1 },
"7 7 \"信息类型\" 100 1 0:2 1 ",
"8 8 \"操作类型\" 100 1 0:2 1 ",
"9 9 \"状态\" 80 1 20:0 1 TransCFASTA",
// "9 9 \"状态\" 80 1 20:0 1 TransCFASTA",
{ index: 9, position: 9, width: 80, pattern: 'code', label: '状态', code: this.codes.staflg1 },
],
data: [],
},
......@@ -235,18 +227,51 @@ export default {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
let rtnmsg = await this.executeRule("serbut")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.eblstm.rows;
// this.updateModel(rtnmsg.data);
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
console.log(this.stmData.data);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async getTrnInfo(idx, row) {
// this.model.infcon.objinr = row["INR"];
// this.model.bodgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
// console.log(row);
// console.log(row.申报类型);
// let url = row.申报类型.toLowerCase() + "inf";
// this.$router.history.push("/business/" + url);
console.log(row);
let business = row.申报类型.toLowerCase() + "inf";
let viewurl = "/business/" + business;
const selIds = [idx + 1];
const selDst = "eblstm" //列表对应后台模型中的stream
let params = { selDst, selIds };
console.log(params);
this.executeRule("dtlbut", params).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {} });
} else {
const h = this.$createElement;
const msg = res.respMsg || '请求执行失败!'
this.$notify.error({ title: '错误', message: h('p', { style: 'word-break:break-all;' }, msg) })
}
});
// let rtnmsg = await this.executeDefault("dtlbut");
// // if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// console.log(this.trnData.data);
// }
}
},
created: function () {
......
......@@ -55,6 +55,7 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
......
<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="请选择地区机构号"
disabled
>
</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="请输入银行业务编号"
disabled
></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"
disabled
>
</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="请输入身份证件号码"
disabled
></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.curtxt"
disabled
>
</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="请输入汇款币种及金额"
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"
disabled
>
</c-select>
</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
></c-input>
</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">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
disabled
></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="请输入人民币帐号/银行卡号"
disabled
></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="请输入外汇帐号/银行卡号"
disabled
></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="请输入其它帐号/银行卡号"
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/Dbbadd/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/Dbbadd/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" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请输入收付汇日期"
disabled
></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>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请输入款项去向"
disabled
:code="codes.acttyp"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- <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/Dbbadd/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/Dbbadd/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="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="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbbp 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>
<!--dbbp PD000001 境外汇款申请书-申报信息 -->
<!-- <el-tab-pane :label="$t('dbbp.PD000001')" name="dclp">
<m-dclp :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--dbbp PD000002 境外汇款申请书-核销专用信息 -->
<!-- <el-tab-pane :label="$t('dbbp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</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 Dbbadd from "~/model/Dbbadd"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbbadd/Check"
import Default from "~/model/Dbbadd/Default"
import Pattern from "~/model/Dbbadd/Pattern"
import Selection from "./Selection"
import Basp from "./Basp"
import Dclp from "./Dclp"
import Vrfp from "./Vrfp"
export default {
name: "Dbbadd",
components:{
"m-selection" : Selection,
"m-basp" : Basp,
"m-dclp" : Dclp,
"m-vrfp" : Vrfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "selection",
trnName: "dbbadd",
trnType: "",
model: new Dbbadd().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("进入dbbadd交易");
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="请选择地区机构号"
disabled
>
</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="请输入银行业务编号"
disabled
></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"
disabled
>
</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="请输入身份证件号码"
disabled
></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.curtxt"
disabled
>
</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="请输入汇款币种及金额"
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"
disabled
>
</c-select>
</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
></c-input>
</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">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
disabled
></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="请输入人民币帐号/银行卡号"
disabled
></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="请输入外汇帐号/银行卡号"
disabled
></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="请输入其它帐号/银行卡号"
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/Dbbame/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/Dbbame/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" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请输入收付汇日期"
disabled
></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>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请输入款项去向"
disabled
:code="codes.acttyp"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- <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/Dbbame/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/Dbbame/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="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="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbbp 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>
<!--dbbp PD000001 境外汇款申请书-申报信息 -->
<!-- <el-tab-pane :label="$t('dbbp.PD000001')" name="dclp">
<m-dclp :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--dbbp PD000002 境外汇款申请书-核销专用信息 -->
<!-- <el-tab-pane :label="$t('dbbp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</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 Dbbame from "~/model/Dbbame"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbbame/Check"
import Default from "~/model/Dbbame/Default"
import Pattern from "~/model/Dbbame/Pattern"
import Selection from "./Selection"
import Basp from "./Basp"
import Dclp from "./Dclp"
import Vrfp from "./Vrfp"
export default {
name: "Dbbame",
components:{
"m-selection" : Selection,
"m-basp" : Basp,
"m-dclp" : Dclp,
"m-vrfp" : Vrfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "selection",
trnName: "dbbame",
trnType: "",
model: new Dbbame().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("进入dbbame交易");
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="请选择地区机构号"
disabled
>
</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="请输入银行业务编号"
disabled
></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"
disabled
>
</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="请输入身份证件号码"
disabled
></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.curtxt"
disabled
>
</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="请输入汇款币种及金额"
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"
disabled
>
</c-select>
</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
></c-input>
</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">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
disabled
></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="请输入人民币帐号/银行卡号"
disabled
></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="请输入外汇帐号/银行卡号"
disabled
></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="请输入其它帐号/银行卡号"
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/Dbbdel/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/Dbbdel/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" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请输入收付汇日期"
disabled
></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>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请输入款项去向"
disabled
:code="codes.acttyp"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- <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/Dbbdel/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/Dbbdel/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="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="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbbp 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>
<!--dbbp PD000001 境外汇款申请书-申报信息 -->
<!-- <el-tab-pane :label="$t('dbbp.PD000001')" name="dclp">
<m-dclp :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--dbbp PD000002 境外汇款申请书-核销专用信息 -->
<!-- <el-tab-pane :label="$t('dbbp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</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 Dbbdel from "~/model/Dbbdel"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbbdel/Check"
import Default from "~/model/Dbbdel/Default"
import Pattern from "~/model/Dbbdel/Pattern"
import Selection from "./Selection"
import Basp from "./Basp"
import Dclp from "./Dclp"
import Vrfp from "./Vrfp"
export default {
name: "Dbbdel",
components:{
"m-selection" : Selection,
"m-basp" : Basp,
"m-dclp" : Dclp,
"m-vrfp" : Vrfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "selection",
trnName: "dbbdel",
trnType: "",
model: new Dbbdel().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("进入dbbdel交易");
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>
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