Commit ee869f9c by zhouqian

Merge branch 'development-202206' into 'development-202206'

Development 202206

See merge request zhouqian/vue-gjjs!2
parents 6ead5f36 f14d0132
......@@ -4,8 +4,8 @@
"author": "psbc",
"private": true,
"scripts": {
"build:prod": "node --max_old_space_size=102400 node_modules/@vue/cli-service/bin/vue-cli-service.js build",
"serve": "node --max_old_space_size=102400 node_modules/@vue/cli-service/bin/vue-cli-service.js serve --open"
"start": "node --max_old_space_size=4096 node_modules/@vue/cli-service/bin/vue-cli-service.js serve",
"build": "node --max_old_space_size=4096 node_modules/@vue/cli-service/bin/vue-cli-service.js build"
},
"dependencies": {
"async-validator": "^3.5.2",
......
<template>
<el-input ref="input" :id="id" type="textarea"
:cols="cols"
:rows="rows"
v-bind="attrs" v-bind:disabled="isDisable"
:value="value"
@input="onInput($event,value)"
>
<template v-slot:suffix>
<slot name="suffix"></slot>
</template>
</el-input>
</template>
<script>
const SP_STR = "✌";
const SP_CHAR=SP_STR.charCodeAt(0);
const LINE_CHAR="\n"
const SWIFT_CHARS = " \r'()+,-./01234567890:?ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
const SWIFTZ_CHARS = " \r!\"#%&'()+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz{";
const CHARSET = ["","",SWIFT_CHARS,SWIFTZ_CHARS]
export default {
props: {
value: {
type: [String, Number],
default: undefined
},
disabled: {
type: Boolean,
default: false
},
id: {
type: String,
default: undefined
},
cols:{
type:Number,
default:1
},
rows:{
type:Number,
default:1
},
chsbit:{
type:Number,
default:2
},
charmod:{
type:Number,
default:0 //0任意模式,1英文模式,2 swift模式 3 swiftz模式
}
},
computed: {
model: {
get () {
return this.value
},
set (newVal) {
newVal = this.formatVal(newVal);
console.log(newVal)
this.$emit('input', newVal)
setTimeout(()=>{
this.setCursorPosition(this.$position)
},0)
}
},
mode () {
return this.$store.state.Status.mode
},
isDisable: {
get () {
return this.mode === 'display' || this.disabled
}
},
highlight () {
return this.$store.state.Status.highlights.indexOf(this.id) !== -1
},
highlightChanges () {
return this.$store.state.Status.highlightChanges.indexOf(this.id) !== -1
},
attrs(){
if(this.mode === 'display' || this.disabled)
{
let {placeholder,...rest} = this.$attrs
return rest
}
return this.$attrs
}
},
methods:{
formatVal(oriVal){
let val = oriVal;
if(!val){
return val;
}
let position = this.getCursorPosition();
val = val.substring(0,position)+SP_STR+val.substring(position)
let arr = val.split(/\r?\n|\r/g);
let arrNew = [];
arr.forEach(line=>{
let lineArr = this.formatLine(line);
arrNew.push(...lineArr);
});
if(arrNew.length > this.rows){
let obj = this.getTextarea();
//内容已经输满了
if(obj.selectionStart == obj.selectionEnd && oriVal.length == this.value.length+1){
this.$position = position - 1;
return this.value;
}
arrNew = arrNew.slice(0,this.rows);
}
let result = arrNew.join(LINE_CHAR);
position = result.indexOf(SP_STR);
result = result.substring(0,position)+result.substring(position+1);
this.$position = position
return result;
},
formatLine(val){
if(!val){
return [""];
}
if(val == SP_STR){
return [SP_STR]
}
let valCopy = val;
let newVal = [];
while(valCopy && valCopy!=SP_STR){
let length = 0;
let i=0;
let spCnt =0;
let autoLine = "";
for(; i<valCopy.length && i<this.cols+spCnt && length<this.cols; i++) {
var c = valCopy.charCodeAt(i);
let cStr = valCopy.charAt(i);
if(c == SP_CHAR){
spCnt++;
autoLine+=SP_STR;
continue;
}
else if ((c >= 0x0001 && c <= 0x007e) || ( c >= 0xff60 && c <= 0xff9f )){
//判断字符集
if(this.charmod>1 && CHARSET[this.charmod].indexOf(cStr)==-1){
spCnt++;
//非法字符集
continue;
}
length ++;
autoLine+=cStr;
}
else if(length <= this.cols - this.chsbit){
//中文字符
if(this.charmod){
spCnt++;
//非法字符集
continue;
}
length += this.chsbit;
autoLine+=cStr;
}
else{
break;
}
}
//autoLine = valCopy.substring(0,i);
newVal.push(autoLine);
valCopy = valCopy.substring(i);
}
//不要丢失光标
if(valCopy == SP_STR){
newVal[newVal.length - 1] = newVal[newVal.length - 1]+SP_STR;
}
return newVal;
},
getTextarea(){
return this.$refs.input.$el.children[0];
},
getCursorPosition(){
let obj = this.getTextarea();
let position = obj.selectionStart
return position;
},
setCursorPosition(position){
let obj = this.getTextarea();
if(obj.createTextRange) {
var tr = obj.createTextRange();
tr.collapse(true);
tr.moveStart('character', position);
tr.select();
}
else if (obj.setSelectionRange)
obj.setSelectionRange(position, position);
},
onInput(newVal){
let extraCnt = 0;
if(this.value && newVal.length == this.value.length -1 ){
let obj = this.getTextarea();
if(obj.selectionStart == obj.selectionEnd && obj.selectionStart<newVal.length && this.value.charAt(obj.selectionStart)=="\n"){
//删除中间换行符,额外再筛除一个字符,避免被重新格式化
newVal = newVal.substring(0,obj.selectionStart - 1)+newVal.substring(obj.selectionStart)
extraCnt = -2;
}
}
newVal = this.formatVal(newVal);
console.log(newVal)
this.$emitNewValue = newVal;
this.$emit('input', newVal)
setTimeout(()=>{
this.setCursorPosition(this.$position+extraCnt)
},0)
}
},
watch:{
cols(){
let newVal = this.formatVal(this.value);
this.$emitNewValue = newVal;
this.$emit('input', newVal)
},
rows(){
let newVal = this.formatVal(this.value);
this.$emitNewValue = newVal;
this.$emit('input', newVal)
},
value(val,oldval){
if(val == this.$emitNewValue){
return;
}
let newVal = this.formatVal(val);
this.$emit('input', newVal);
}
}
}
</script>
<style>
/* .el-input.highlight .el-input__inner{
border-color: red;
}
.el-textarea.highlight .el-textarea__inner {
border-color: red;
}
.el-input.change-light .el-input__inner{
border-color: #E6A23C;
}
.el-textarea.change-light .el-textarea__inner {
border-color: #E6A23C;
} */
</style>
\ No newline at end of file
......@@ -54,6 +54,7 @@ import CompareTable from "./CompareTable"
import InputXml from "./InputXml.vue"
import PagingTable from "./PagingTable.vue";
import MulRowInput from "./MulRowInput.vue"
export default {
install(Vue) {
......@@ -109,5 +110,6 @@ export default {
Vue.component("c-compare-table", CompareTable)
Vue.component("c-input-xml", InputXml)
Vue.component("c-paging-table", PagingTable)
Vue.component("c-mul-row-input", MulRowInput)
}
}
\ No newline at end of file
......@@ -4,45 +4,78 @@ export default {
methods: {
// 表单提交
async handleSubmit(rulePath) {
// let result;
// if(rulePath==""){
// result = await this.save();
// }else{
// result = await this.executeRule(rulePath);
// }
let result = await this.save();
if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) {
this.$notify({
title: "成功",
message: "保存成功",
type: "success",
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel')
//修改待复核界面刷新状态为需要刷新
this.$store.commit("setLoadingFreshReview", true)
});
}else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
let result;
if(rulePath){
result = await this.executeRule(rulePath);
if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) {
this.$notify({
title: "成功",
message: "保存成功",
type: "success",
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'bopsel')
//修改待复核界面刷新状态为需要刷新
this.$store.commit("setLoadingFreshReview", true)
});
}else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
}
this.$notify({
title: "错误",
message: "检核失败!",
type: "error",
});
}
else{
this.$notify({
title: "失败",
message: "保存失败",
type: "error",
});
}
}else{
result = await this.save();
if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) {
this.$notify({
title: "成功",
message: "保存成功",
type: "success",
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel')
//修改待复核界面刷新状态为需要刷新
this.$store.commit("setLoadingFreshReview", true)
});
}else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
}
this.$notify({
title: "错误",
message: "检核失败!",
type: "error",
});
}
else{
this.$notify({
title: "失败",
message: "保存失败",
type: "error",
});
}
this.$notify({
title: "错误",
message: "检核失败!",
type: "error",
});
}
else{
this.$notify({
title: "失败",
message: "保存失败",
type: "error",
});
}
},
async handleConfirm() {
......@@ -118,13 +151,14 @@ export default {
},
// 表单校验
async handleCheck(rulePath) {
// let result;
// if(rulePath==""){
// result = await this.checkAll();
// }else{
// result = await this.executeRule(rulePath);
// }
let result = await this.checkAll();
let result;
if(rulePath){
result = await this.executeRule(rulePath);
}else{
result = await this.checkAll();
}
// let result = await this.checkAll();
if (result.respCode == SUCCESS) {
const fieldErrors = result.fieldErrors;
this.updateModel(result.data);
......
......@@ -4,6 +4,24 @@ import Pts from "../Common/Pts"
export default class Dbadel{
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
......@@ -15,69 +33,6 @@ export default class Dbadel{
acp:"", // 确认 .recp.baspp.acp
tmprefnew:"", // TMPREFLABEL .recp.baspp.tmprefnew
},
recgrp:{
bas:{
tmpref:"", // 临时申报流水号 .recp.recgrp.bas.tmpref
ownextkey:"", // 地区机构号 .recp.recgrp.bas.ownextkey
actiontype:"", // 操作类型 .recp.recgrp.bas.actiontype
rptno:"", // 申报号码 .recp.recgrp.bas.rptno
idcode:"", // 身份证件号码 .recp.recgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .recp.recgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .recp.recgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .recp.recgrp.bas.fcyacc
othamt:"", // 其它金额 .recp.recgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .recp.recgrp.bas.othacc
methods:"", // 结算方式 .recp.recgrp.bas.methods
buscode:"", // 银行业务编号 .recp.recgrp.bas.buscode
custype:"", // 类型 .recp.recgrp.bas.custype
actiondesc:"", // 操作类型 .recp.recgrp.bas.actiondesc
exrate:"", // 结汇汇率 .recp.recgrp.bas.exrate
lcyamt:"", // 结汇金额 .recp.recgrp.bas.lcyamt
custnm:"", // 收款人名称 .recp.recgrp.bas.custnm
oppuser:"", // 付款人名称 .recp.recgrp.bas.oppuser
custcod:"", // 组织机构 .recp.recgrp.bas.custcod
inchargeccy:"", // 国内银行扣费 .recp.recgrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .recp.recgrp.bas.inchargeamt
outchargeamt:"", // 国外银行扣费 .recp.recgrp.bas.outchargeamt
outchargeccy:"", // 国外银行扣费 .recp.recgrp.bas.outchargeccy
txccy:"", // 收入款币种及金额 .recp.recgrp.bas.txccy
txamt:"", // 收入款币种及金额 .recp.recgrp.bas.txamt
},
dcl:{
tmpref:"", // 临时申报编号 .recp.recgrp.dcl.tmpref
ownextkey:"", // 地区机构号 .recp.recgrp.dcl.ownextkey
actiontype:"", // 操作类型 .recp.recgrp.dcl.actiontype
actiondesc:"", // 修改/删除原因 .recp.recgrp.dcl.actiondesc
rptno:"", // 申报号码 .recp.recgrp.dcl.rptno
paytype:"", // 收款性类型 .recp.recgrp.dcl.paytype
tc1amt:"", // 相应金额1 .recp.recgrp.dcl.tc1amt
tc2amt:"", // 相应金额2 .recp.recgrp.dcl.tc2amt
tx2rem:"", // 交易附言2 .recp.recgrp.dcl.tx2rem
isref:"", // 是否出口核销项下收汇 .recp.recgrp.dcl.isref
crtuser:"", // 填报人 .recp.recgrp.dcl.crtuser
inptelc:"", // 填报人电话 .recp.recgrp.dcl.inptelc
rptdate:"", // 申报日期 .recp.recgrp.dcl.rptdate
txrem:"", // 交易附言1 .recp.recgrp.dcl.txrem
txcode:"", // 交易编码1 .recp.recgrp.dcl.txcode
txcode2:"", // 交易编码2 .recp.recgrp.dcl.txcode2
country:"", // 付款人常驻国家/地区编码 .recp.recgrp.dcl.country
billno:"", // 外债编号 .recp.recgrp.dcl.billno
},
vrf:{
tmpref:"", // 临时申报编号 .recp.recgrp.vrf.tmpref
ownextkey:"", // 地区机构号 .recp.recgrp.vrf.ownextkey
actiontype:"", // 操作类型 .recp.recgrp.vrf.actiontype
actiondesc:"", // 修改/删除原因 .recp.recgrp.vrf.actiondesc
rptno:"", // RoptNam .recp.recgrp.vrf.rptno
crtuser:"", // 填报人 .recp.recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recp.recgrp.vrf.inptelc
rptdate:"", // 申报日期 .recp.recgrp.vrf.rptdate
chkprtd:"", // 已出具出口收汇核销专用联 .recp.recgrp.vrf.chkprtd
payattr:"", // 收汇类型 .recp.recgrp.vrf.payattr
chkamt:"", // 收汇总金额中用于出口核销的金额 .recp.recgrp.vrf.chkamt
osamt:"", // 余款金额 .recp.recgrp.vrf.osamt
},
},
dclpp:{
paytype1:"", // 收款性�'� .recp.dclpp.paytype1
country1:"", // 收/付款人常驻国家/地区编码 .recp.dclpp.country1
......@@ -91,21 +46,68 @@ export default class Dbadel{
acp:"", // 确认 .recp.vrfpp.acp
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .bopbut.ctlmod.wrkdbl.trdtyp
},
recgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .recgrp.bas.tmpref
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiontype:"", // 操作类型 .recgrp.bas.actiontype
rptno:"", // 申报号码 .recgrp.bas.rptno
idcode:"", // 身份证件号码 .recgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .recgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .recgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .recgrp.bas.fcyacc
othamt:"", // 其它金额 .recgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .recgrp.bas.othacc
methods:"", // 结算方式 .recgrp.bas.methods
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 类型 .recgrp.bas.custype
actiondesc:"", // 操作类型 .recgrp.bas.actiondesc
exrate:"", // 结汇汇率 .recgrp.bas.exrate
lcyamt:"", // 结汇金额 .recgrp.bas.lcyamt
custnm:"", // 收款人名称 .recgrp.bas.custnm
oppuser:"", // 付款人名称 .recgrp.bas.oppuser
custcod:"", // 组织机构 .recgrp.bas.custcod
inchargeccy:"", // 国内银行扣费 .recgrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .recgrp.bas.inchargeamt
outchargeamt:"", // 国外银行扣费 .recgrp.bas.outchargeamt
outchargeccy:"", // 国外银行扣费 .recgrp.bas.outchargeccy
txccy:"", // 收入款币种及金额 .recgrp.bas.txccy
txamt:"", // 收入款币种及金额 .recgrp.bas.txamt
},
dcl:{
tmpref:"", // 临时申报编号 .recgrp.dcl.tmpref
ownextkey:"", // 地区机构号 .recgrp.dcl.ownextkey
actiontype:"", // 操作类型 .recgrp.dcl.actiontype
actiondesc:"", // 修改/删除原因 .recgrp.dcl.actiondesc
rptno:"", // 申报号码 .recgrp.dcl.rptno
paytype:"", // 收款性�'� .recgrp.dcl.paytype
tc1amt:"", // 相应金额1 .recgrp.dcl.tc1amt
tc2amt:"", // 相应金额2 .recgrp.dcl.tc2amt
tx2rem:"", // 交易附言2 .recgrp.dcl.tx2rem
isref:"", // 是否出口核销项下收汇 .recgrp.dcl.isref
crtuser:"", // 填报人 .recgrp.dcl.crtuser
inptelc:"", // 填报人电话 .recgrp.dcl.inptelc
rptdate:"", // 申报日期 .recgrp.dcl.rptdate
txrem:"", // 交易附言1 .recgrp.dcl.txrem
txcode:"", // 交易编码1 .recgrp.dcl.txcode
txcode2:"", // 交易编码2 .recgrp.dcl.txcode2
country:"", // 付款人常驻国家/地区编码 .recgrp.dcl.country
billno:"", // 外债编号 .recgrp.dcl.billno
},
vrf:{
tmpref:"", // 临时申报编号 .recgrp.vrf.tmpref
ownextkey:"", // 地区机构号 .recgrp.vrf.ownextkey
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 修改/删除原因 .recgrp.vrf.actiondesc
rptno:"", // RoptNam .recgrp.vrf.rptno
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
chkprtd:"", // 已出具出口收汇核销专用联 .recgrp.vrf.chkprtd
payattr:"", // 收汇类型 .recgrp.vrf.payattr
chkamt:"", // 收汇总金额中用于出口核销的金额 .recgrp.vrf.chkamt
osamt:"", // 余款金额 .recgrp.vrf.osamt
},
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
paydat:"", // 收付汇日期 .bopbut.paydat
acttyp:"", // 款项标志 .bopbut.acttyp
},
pageId: "" // ctx的key
}
......
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/gtx/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/gtx/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/gtx/add", data)
}
export function edit(data) {
return Api.post("/test/gtx/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/gtx/deleteById?inr=${inr}`)
}
......@@ -252,8 +252,8 @@
<c-col style="">
<c-button size="small" type="primary" style="margin-left:0">导出Excel</c-button>
<c-button size="small" type="primary" style="margin-left:0">应急导出</c-button>
<c-button v-if="model.bopquep.boptyp=='DBJ'" size="small" type="primary" style="margin-left:0">新增结汇申请书</c-button>
<c-button v-if="model.bopquep.boptyp=='DBW'" size="small" type="primary" style="margin-left:0">新增购汇申请书</c-button>
<c-button v-if="model.bopquep.boptyp=='DBJ'" size="small" type="primary" style="margin-left:0" @click="onWaitAdd(model.bopquep.boptyp.toLowerCase() +'add')">新增结汇申请书</c-button>
<c-button v-if="model.bopquep.boptyp=='DBW'" size="small" type="primary" style="margin-left:0" @click="onWaitAdd(model.bopquep.boptyp.toLowerCase() +'add')">新增购汇申请书</c-button>
</c-col>
</c-row>
......@@ -362,6 +362,23 @@ export default {
// console.log(url);
// this.$router.history.push(url);
// },
async onWaitAdd(business) {
let viewurl = "/business/"+business;
let params = { };
this.executeRule("addbut",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) })
}
});
},
async onWaitDetail(idx, row) {
let business=row.申报类型.toLowerCase() +"inf";
let viewurl = "/business/"+business;
......
......@@ -67,6 +67,7 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bopsnd/Event"
import Utils from "~/utils";
export default {
inject: ['root'],
......@@ -83,8 +84,10 @@ export default {
'1 2 "临时编号" 180',
//'2 3 "收付汇日期" 100',
{index:2,position:3,width:150,pattern:'date',label:'收付汇日期'},
'3 4 "数据类型" 120',
'4 5 "申报类型" 250',
//'3 4 "数据类型" 120',
{index:3,position:4,width:150,pattern:'code',label:'数据类型',code:this.codes.tranboptyp},
//'4 5 "申报类型" 250',
{index:4,position:5,width:250,pattern:'code',label:'申报类型',code:this.codes.boptyp},
'5 6 "状态" 80',
],
data: [],
......
......@@ -46,7 +46,23 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {},
codes: {
boptyp: [
{value:"ALL",label:"全部" },
{value:"DBA",label:"涉外收入申报单" },
{value:"DBB",label:"境外汇款申请书" },
{value:"DBC",label:"对外付款/承兑通知书" },
{value:"DBD",label:"境内收入申报单" },
{value:"DBE",label:"境内汇款申请书" },
{value:"DBF",label:"境内付款/承兑通知书" },
{value:"DBJ",label:"结汇申请书" },
{value:"DBW",label:"购汇申请书" },],
tranboptyp:[
{value:"BAS",label:"基础信息"},
{value:"DCL",label:"申报信息"},
{value:"VRF",label:"管理信息"},],
}
}
},
methods: {
......
......@@ -6,21 +6,21 @@
<!-- -----左边----- -->
<c-col :span="12" style="padding-right:20px">
<c-col :span="24">
<c-form-item label="申报号码" prop="recp.baspp.rptno">
<c-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
disabled
v-model="model.recp.baspp.rptno"
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.baspp.actiontype">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
:code="codes.actiontype"
v-model="model.recp.baspp.actiontype"
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
>
......@@ -28,11 +28,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recp.baspp.ownextkey">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
:code="codes.ownextkey1"
v-model="model.recp.baspp.ownextkey"
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
>
......@@ -40,21 +40,21 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.baspp.buscode">
<c-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
v-model="model.recp.baspp.buscode"
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人类型" prop="recp.baspp.custype">
<el-form-item label="收款人类型" prop="recgrp.bas.custype">
<c-select
:code="codes.custype"
v-model="model.recp.baspp.custype"
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择收款人类型"
>
......@@ -62,11 +62,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="收款人名称" prop="recp.baspp.custnm">
<c-form-item label="收款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recp.baspp.custnm"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
......@@ -74,11 +74,11 @@
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付款人名称" prop="recp.baspp.oppuser">
<c-form-item label="付款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recp.baspp.oppuser"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
......@@ -86,38 +86,38 @@
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="身份证件号码" prop="recp.baspp.idcode">
<c-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
v-model="model.recp.baspp.idcode"
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="结汇金额" prop="recp.baspp.lcyamt">
<c-form-item label="结汇金额" prop="recgrp.bas.lcyamt">
<c-input
v-model="model.recp.baspp.lcyamt"
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入结汇金额"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="现汇金额" prop="recp.baspp.fcyamt">
<c-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input
v-model="model.recp.baspp.fcyamt"
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="其它金额" prop="recp.baspp.othamt">
<c-form-item label="其它金额" prop="recgrp.bas.othamt">
<c-input
v-model="model.recp.baspp.othamt"
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
></c-input>
</c-form-item>
......@@ -131,13 +131,13 @@
<c-col :span="24">
<c-form-item
label="修改删除原因"
prop="recp.baspp.actiondesc"
prop="recgrp.bas.actiondesc"
>
<c-input
type="textarea"
rows="5"
v-model="model.recp.baspp.actiondesc"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入修改删除原因"
......@@ -145,11 +145,11 @@
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="recp.baspp.methods">
<el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-select
:code="codes.bopmethods"
v-model="model.recp.baspp.methods"
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
>
......@@ -157,10 +157,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="组织机构代码" prop="recp.baspp.custcod">
<c-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-input
v-model="model.recp.baspp.custcod"
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构"
></c-input>
......@@ -168,10 +168,10 @@
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-form-item label="结汇汇率" prop="recp.baspp.exrate">
<c-form-item label="结汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recp.baspp.exrate"
v-model="model.recgrp.bas.exrate"
placeholder="请输入结汇汇率"
></c-input>
</c-form-item>
......@@ -191,11 +191,11 @@
<c-col :span="24">
<c-form-item
label="人民币账号/银行卡号"
prop="recp.baspp.lcyacc"
prop="recgrp.bas.lcyacc"
>
<c-input
v-model="model.recp.baspp.lcyacc"
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入"
></c-input>
......@@ -204,11 +204,11 @@
<c-col :span="24">
<c-form-item
label="外汇账号/银行卡号"
prop="recp.baspp.fcyacc"
prop="recgrp.bas.fcyacc"
>
<c-input
v-model="model.recp.baspp.fcyacc"
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入"
></c-input>
......@@ -217,11 +217,11 @@
<c-col :span="24">
<c-form-item
label="其它账号/银行卡号"
prop="recp.baspp.othacc"
prop="recgrp.bas.othacc"
>
<c-input
v-model="model.recp.baspp.othacc"
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入"
></c-input>
......
......@@ -10,19 +10,19 @@
</c-content>
</el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane label="基础信息" name="basp">
<el-tab-pane label="基础信息" name="basp" v-if="model.bopbut.basflg != ''">
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbap PD000001 涉外收入申报单-申报信息 -->
<el-tab-pane label="申报信息" name="dclp">
<el-tab-pane label="申报信息" name="dclp" v-if="model.bopbut.dclflg != ''">
<c-content>
<m-dclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbap PD000002 核销专用联(境外收入)-核销信息 -->
<el-tab-pane label="核销信息" name="vrfp">
<el-tab-pane label="核销信息" name="vrfp" v-if="model.bopbut.vrfflg != ''">
<c-content>
<m-vrfp :model="model" :codes="codes" />
</c-content>
......@@ -32,9 +32,8 @@
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
>
</c-function-btn>
......@@ -48,6 +47,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbaadd from "~/model/Dbaadd"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Dbaadd/Check"
import Default from "~/model/Dbaadd/Default"
import Pattern from "~/model/Dbaadd/Pattern"
......@@ -69,7 +69,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
......
......@@ -6,21 +6,21 @@
<!-- -----左边----- -->
<c-col :span="12" style="padding-right:20px">
<c-col :span="24">
<c-form-item label="申报号码" prop="recp.baspp.rptno">
<c-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
disabled
v-model="model.recp.baspp.rptno"
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.baspp.actiontype">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
:code="codes.actiontype"
v-model="model.recp.baspp.actiontype"
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
>
......@@ -28,11 +28,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recp.baspp.ownextkey">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
:code="codes.ownextkey1"
v-model="model.recp.baspp.ownextkey"
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
>
......@@ -40,21 +40,21 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.baspp.buscode">
<c-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
v-model="model.recp.baspp.buscode"
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人类型" prop="recp.baspp.custype">
<el-form-item label="收款人类型" prop="recgrp.bas.custype">
<c-select
:code="codes.custype"
v-model="model.recp.baspp.custype"
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择收款人类型"
>
......@@ -62,11 +62,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="收款人名称" prop="recp.baspp.custnm">
<c-form-item label="收款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recp.baspp.custnm"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
......@@ -74,11 +74,11 @@
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付款人名称" prop="recp.baspp.oppuser">
<c-form-item label="付款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recp.baspp.oppuser"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
......@@ -86,38 +86,38 @@
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="身份证件号码" prop="recp.baspp.idcode">
<c-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
v-model="model.recp.baspp.idcode"
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="结汇金额" prop="recp.baspp.lcyamt">
<c-form-item label="结汇金额" prop="recgrp.bas.lcyamt">
<c-input
v-model="model.recp.baspp.lcyamt"
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入结汇金额"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="现汇金额" prop="recp.baspp.fcyamt">
<c-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input
v-model="model.recp.baspp.fcyamt"
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="其它金额" prop="recp.baspp.othamt">
<c-form-item label="其它金额" prop="recgrp.bas.othamt">
<c-input
v-model="model.recp.baspp.othamt"
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
></c-input>
</c-form-item>
......@@ -131,13 +131,13 @@
<c-col :span="24">
<c-form-item
label="修改删除原因"
prop="recp.baspp.actiondesc"
prop="recgrp.bas.actiondesc"
>
<c-input
type="textarea"
rows="5"
v-model="model.recp.baspp.actiondesc"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入修改删除原因"
......@@ -145,11 +145,11 @@
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="recp.baspp.methods">
<el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-select
:code="codes.bopmethods"
v-model="model.recp.baspp.methods"
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
>
......@@ -157,10 +157,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="组织机构代码" prop="recp.baspp.custcod">
<c-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-input
v-model="model.recp.baspp.custcod"
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构"
></c-input>
......@@ -168,10 +168,10 @@
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-form-item label="结汇汇率" prop="recp.baspp.exrate">
<c-form-item label="结汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recp.baspp.exrate"
v-model="model.recgrp.bas.exrate"
placeholder="请输入结汇汇率"
></c-input>
</c-form-item>
......@@ -179,8 +179,8 @@
<c-col :span="4">
<c-form-item prop="recp.baspp.acp" style=" float:right;">
<c-checkbox v-model="model.recp.baspp.acp"
<c-form-item prop="recgrp.bas.acp" style=" float:right;">
<c-checkbox v-model="model.recgrp.bas.acp"
>确认</c-checkbox
>
</c-form-item>
......@@ -191,11 +191,11 @@
<c-col :span="24">
<c-form-item
label="人民币账号/银行卡号"
prop="recp.baspp.lcyacc"
prop="recgrp.bas.lcyacc"
>
<c-input
v-model="model.recp.baspp.lcyacc"
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入"
></c-input>
......@@ -204,11 +204,11 @@
<c-col :span="24">
<c-form-item
label="外汇账号/银行卡号"
prop="recp.baspp.fcyacc"
prop="recgrp.bas.fcyacc"
>
<c-input
v-model="model.recp.baspp.fcyacc"
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入"
></c-input>
......@@ -217,11 +217,11 @@
<c-col :span="24">
<c-form-item
label="其它账号/银行卡号"
prop="recp.baspp.othacc"
prop="recgrp.bas.othacc"
>
<c-input
v-model="model.recp.baspp.othacc"
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入"
></c-input>
......
......@@ -10,19 +10,19 @@
</c-content>
</el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane label="基础信息" name="basp">
<el-tab-pane label="基础信息" name="basp" v-if="model.bopbut.basflg != ''">
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbap PD000001 涉外收入申报单-申报信息 -->
<el-tab-pane label="申报信息" name="dclp">
<el-tab-pane label="申报信息" name="dclp" v-if="model.bopbut.dclflg != ''">
<c-content>
<m-dclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbap PD000002 核销专用联(境外收入)-核销信息 -->
<el-tab-pane label="核销信息" name="vrfp">
<el-tab-pane label="核销信息" name="vrfp" v-if="model.bopbut.vrfflg != ''">
<c-content>
<m-vrfp :model="model" :codes="codes" />
</c-content>
......@@ -32,9 +32,8 @@
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
>
</c-function-btn>
......@@ -48,6 +47,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbaame from "~/model/Dbaame"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Dbaame/Check"
import Default from "~/model/Dbaame/Default"
import Pattern from "~/model/Dbaame/Pattern"
......@@ -69,7 +69,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
......
......@@ -6,21 +6,21 @@
<!-- -----左边----- -->
<c-col :span="12" style="padding-right:20px">
<c-col :span="24">
<c-form-item label="申报号码" prop="recp.baspp.rptno">
<c-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
disabled
v-model="model.recp.baspp.rptno"
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.baspp.actiontype">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
disabled
:code="codes.actiontype"
v-model="model.recp.baspp.actiontype"
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
>
......@@ -28,11 +28,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recp.baspp.ownextkey">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
disabled
:code="codes.ownextkey1"
v-model="model.recp.baspp.ownextkey"
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
>
......@@ -40,21 +40,21 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.baspp.buscode">
<c-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
disabled
v-model="model.recp.baspp.buscode"
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人类型" prop="recp.baspp.custype">
<el-form-item label="收款人类型" prop="recgrp.bas.custype">
<c-select
disabled
:code="codes.custype"
v-model="model.recp.baspp.custype"
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择收款人类型"
>
......@@ -62,11 +62,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="收款人名称" prop="recp.baspp.custnm">
<c-form-item label="收款人名称" prop="recgrp.bas.custnm">
<c-input
disabled
type="textarea"
v-model="model.recp.baspp.custnm"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
......@@ -74,11 +74,11 @@
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付款人名称" prop="recp.baspp.oppuser">
<c-form-item label="付款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
disabled
v-model="model.recp.baspp.oppuser"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
......@@ -86,38 +86,38 @@
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="身份证件号码" prop="recp.baspp.idcode">
<c-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
disabled
v-model="model.recp.baspp.idcode"
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="结汇金额" prop="recp.baspp.lcyamt">
<c-form-item label="结汇金额" prop="recgrp.bas.lcyamt">
<c-input
v-model="model.recp.baspp.lcyamt"
disabled
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入结汇金额"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="现汇金额" prop="recp.baspp.fcyamt">
<c-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input
disabled
v-model="model.recp.baspp.fcyamt"
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="其它金额" prop="recp.baspp.othamt">
<c-form-item label="其它金额" prop="recgrp.bas.othamt">
<c-input
disabled
v-model="model.recp.baspp.othamt"
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
></c-input>
</c-form-item>
......@@ -131,13 +131,13 @@
<c-col :span="24">
<c-form-item
label="修改删除原因"
prop="recp.baspp.actiondesc"
prop="recgrp.bas.actiondesc"
>
<c-input
disabled
type="textarea"
rows="5"
v-model="model.recp.baspp.actiondesc"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入修改删除原因"
......@@ -145,11 +145,11 @@
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="recp.baspp.methods">
<el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-select
disabled
:code="codes.bopmethods"
v-model="model.recp.baspp.methods"
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
>
......@@ -157,10 +157,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="组织机构代码" prop="recp.baspp.custcod">
<c-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-input
disabled
v-model="model.recp.baspp.custcod"
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构"
></c-input>
......@@ -168,10 +168,10 @@
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-form-item label="结汇汇率" prop="recp.baspp.exrate">
<c-form-item label="结汇汇率" prop="recgrp.bas.exrate">
<c-input
disabled
v-model="model.recp.baspp.exrate"
v-model="model.recgrp.bas.exrate"
placeholder="请输入结汇汇率"
></c-input>
</c-form-item>
......@@ -180,7 +180,7 @@
<c-col :span="4">
<c-form-item prop="recp.baspp.acp" style=" float:right;">
<c-checkbox disabled v-model="model.recp.baspp.acp"
<c-checkbox v-model="model.recp.baspp.acp" disabled
>确认</c-checkbox
>
</c-form-item>
......@@ -191,11 +191,11 @@
<c-col :span="24">
<c-form-item
label="人民币账号/银行卡号"
prop="recp.baspp.lcyacc"
prop="recgrp.bas.lcyacc"
>
<c-input
disabled
v-model="model.recp.baspp.lcyacc"
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入"
></c-input>
......@@ -204,11 +204,11 @@
<c-col :span="24">
<c-form-item
label="外汇账号/银行卡号"
prop="recp.baspp.fcyacc"
prop="recgrp.bas.fcyacc"
>
<c-input
disabled
v-model="model.recp.baspp.fcyacc"
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入"
></c-input>
......@@ -217,11 +217,11 @@
<c-col :span="24">
<c-form-item
label="其它账号/银行卡号"
prop="recp.baspp.othacc"
prop="recgrp.bas.othacc"
>
<c-input
disabled
v-model="model.recp.baspp.othacc"
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入"
></c-input>
......
......@@ -12,7 +12,7 @@
<c-col :span="24">
<el-form-item label="款项来源" prop="bopbut.acttyp">
<c-select disabled :code="codes.bopacttyp" v-model="model.bopbut.acttyp" style="width:100%" placeholder="款项来源">
<c-select disabled :code="codes.bopacttyp" v-model="model.bopbut.acttyp" style="width:100%" placeholder="款项来源">
</c-select>
</el-form-item>
</c-col>
......@@ -69,7 +69,7 @@
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbainf/Event"
import Event from "~/model/Dbadel/Event"
export default {
inject: ['root'],
......
......@@ -10,19 +10,19 @@
</c-content>
</el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane label="基础信息" name="basp">
<el-tab-pane label="基础信息" name="basp" v-if="model.bopbut.basflg != ''">
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbap PD000001 涉外收入申报单-申报信息 -->
<el-tab-pane label="申报信息" name="dclp">
<el-tab-pane label="申报信息" name="dclp" v-if="model.bopbut.dclflg != ''">
<c-content>
<m-dclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbap PD000002 核销专用联(境外收入)-核销信息 -->
<el-tab-pane label="核销信息" name="vrfp">
<el-tab-pane label="核销信息" name="vrfp" v-if="model.bopbut.vrfflg != ''">
<c-content>
<m-vrfp :model="model" :codes="codes" />
</c-content>
......@@ -33,9 +33,8 @@
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
>
</c-function-btn>
......@@ -48,6 +47,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbadel from "~/model/Dbadel"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Dbadel/Check"
import Default from "~/model/Dbadel/Default"
import Pattern from "~/model/Dbadel/Pattern"
......@@ -69,7 +69,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
......
......@@ -6,21 +6,21 @@
<!-- -----左边----- -->
<c-col :span="12" style="padding-right:20px">
<c-col :span="24">
<c-form-item label="申报号码" prop="recp.baspp.rptno">
<c-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
disabled
v-model="model.recp.baspp.rptno"
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.baspp.actiontype">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
disabled
:code="codes.actiontype"
v-model="model.recp.baspp.actiontype"
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
>
......@@ -28,11 +28,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recp.baspp.ownextkey">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
disabled
:code="codes.ownextkey1"
v-model="model.recp.baspp.ownextkey"
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
>
......@@ -40,21 +40,21 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.baspp.buscode">
<c-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
disabled
v-model="model.recp.baspp.buscode"
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人类型" prop="recp.baspp.custype">
<el-form-item label="收款人类型" prop="recgrp.bas.custype">
<c-select
disabled
:code="codes.custype"
v-model="model.recp.baspp.custype"
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择收款人类型"
>
......@@ -62,11 +62,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="收款人名称" prop="recp.baspp.custnm">
<c-form-item label="收款人名称" prop="recgrp.bas.custnm">
<c-input
disabled
type="textarea"
v-model="model.recp.baspp.custnm"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
......@@ -74,11 +74,11 @@
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付款人名称" prop="recp.baspp.oppuser">
<c-form-item label="付款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
disabled
v-model="model.recp.baspp.oppuser"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
......@@ -86,38 +86,38 @@
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="身份证件号码" prop="recp.baspp.idcode">
<c-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
disabled
v-model="model.recp.baspp.idcode"
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="结汇金额" prop="recp.baspp.lcyamt">
<c-form-item label="结汇金额" prop="recgrp.bas.lcyamt">
<c-input
disabled
v-model="model.recp.baspp.lcyamt"
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入结汇金额"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="现汇金额" prop="recp.baspp.fcyamt">
<c-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input
disabled
v-model="model.recp.baspp.fcyamt"
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="其它金额" prop="recp.baspp.othamt">
<c-form-item label="其它金额" prop="recgrp.bas.othamt">
<c-input
disabled
v-model="model.recp.baspp.othamt"
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
></c-input>
</c-form-item>
......@@ -131,13 +131,13 @@
<c-col :span="24">
<c-form-item
label="修改删除原因"
prop="recp.baspp.actiondesc"
prop="recgrp.bas.actiondesc"
>
<c-input
disabled
type="textarea"
rows="5"
v-model="model.recp.baspp.actiondesc"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入修改删除原因"
......@@ -145,11 +145,11 @@
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="recp.baspp.methods">
<el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-select
disabled
:code="codes.bopmethods"
v-model="model.recp.baspp.methods"
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
>
......@@ -157,10 +157,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="组织机构代码" prop="recp.baspp.custcod">
<c-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-input
disabled
v-model="model.recp.baspp.custcod"
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构"
></c-input>
......@@ -168,10 +168,10 @@
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-form-item label="结汇汇率" prop="recp.baspp.exrate">
<c-form-item label="结汇汇率" prop="recgrp.bas.exrate">
<c-input
disabled
v-model="model.recp.baspp.exrate"
v-model="model.recgrp.bas.exrate"
placeholder="请输入结汇汇率"
></c-input>
</c-form-item>
......@@ -191,11 +191,11 @@
<c-col :span="24">
<c-form-item
label="人民币账号/银行卡号"
prop="recp.baspp.lcyacc"
prop="recgrp.bas.lcyacc"
>
<c-input
disabled
v-model="model.recp.baspp.lcyacc"
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入"
></c-input>
......@@ -204,11 +204,11 @@
<c-col :span="24">
<c-form-item
label="外汇账号/银行卡号"
prop="recp.baspp.fcyacc"
prop="recgrp.bas.fcyacc"
>
<c-input
disabled
v-model="model.recp.baspp.fcyacc"
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入"
></c-input>
......@@ -217,11 +217,11 @@
<c-col :span="24">
<c-form-item
label="其它账号/银行卡号"
prop="recp.baspp.othacc"
prop="recgrp.bas.othacc"
>
<c-input
disabled
v-model="model.recp.baspp.othacc"
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入"
></c-input>
......
......@@ -10,19 +10,19 @@
</c-content>
</el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane label="基础信息" name="basp">
<el-tab-pane label="基础信息" name="basp" v-if="model.bopbut.basflg != ''">
<c-content>
<m-basp :model="model" :codes="codes" />
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbap PD000001 涉外收入申报单-申报信息 -->
<el-tab-pane label="申报信息" name="dclp">
<el-tab-pane label="申报信息" name="dclp" v-if="model.bopbut.dclflg != ''">
<c-content>
<m-dclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbap PD000002 核销专用联(境外收入)-核销信息 -->
<el-tab-pane label="核销信息" name="vrfp">
<el-tab-pane label="核销信息" name="vrfp" v-if="model.bopbut.vrfflg != ''">
<c-content>
<m-vrfp :model="model" :codes="codes" />
</c-content>
......@@ -33,9 +33,10 @@
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
>
</c-function-btn>
......@@ -48,6 +49,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbainf from "~/model/Dbainf"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Dbainf/Check"
import Default from "~/model/Dbainf/Default"
import Pattern from "~/model/Dbainf/Pattern"
......@@ -69,7 +71,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
......
......@@ -31,8 +31,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
<!-- ('bopbut.chk') -->
......
......@@ -165,7 +165,7 @@
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
:disabled="!(model.recgrp.bas.methods!='L'&&model.recgrp.bas.methods!='G')"
:disabled="!(model.recgrp.bas.methods=='L'||model.recgrp.bas.methods=='G')"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -176,7 +176,7 @@
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
disabled
:disabled="!(model.recgrp.bas.methods=='L'||model.recgrp.bas.methods=='G')"
></c-input>
</el-form-item>
</c-col>
......@@ -297,7 +297,7 @@
<c-input
v-model="model.recgrp.bas.tenor"
placeholder="请输入期限"
disabled
:disabled="!(model.recgrp.bas.methods=='L'||model.recgrp.bas.methods=='G')"
></c-input>
</el-form-item>
</c-col>
......
......@@ -31,8 +31,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -35,8 +35,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -39,8 +39,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -35,8 +35,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -35,8 +35,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -35,8 +35,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -37,8 +37,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -37,8 +37,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -37,8 +37,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -24,9 +24,9 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
......
......@@ -37,8 +37,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -37,8 +37,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -37,8 +37,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
......@@ -37,8 +37,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleSubmit="handleSubmit.bind(this,'bopbut.sav')"
:handleCheck="handleCheck.bind(this,'bopbut.chk')"
:handleStash="handleStash"
>
</c-function-btn>
......
<template>
<div class="eibs-tab">
<c-table :list="model.actList" :columnsConfig="columns"></c-table>
</div>
</template>
<script>
export default {
props: ['model'],
data() {
return {
columns: [
{ label: "typ", prop: "typ", width: "auto" },
{ label: "cur", prop: "cur", width: "auto" },
{ label: "extkey", prop: "extkey", width: "auto" },
{ label: "trmtyp", prop: "trmtyp", width: "auto" },
{ label: "nam", prop: "nam", width: "auto" },
],
};
}
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="inrBopcty" prop="inrBopcty">
<c-input
v-model="model.inrBopcty"
placeholder="请输入inrBopcty"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="codBopcty" prop="codBopcty">
<c-input
v-model="model.codBopcty"
placeholder="请输入codBopcty"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="numcodBopcty" prop="numcodBopcty">
<c-input
v-model="model.numcodBopcty"
placeholder="请输入numcodBopcty"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="txtBopcty" prop="txtBopcty">
<c-input
v-model="model.txtBopcty"
placeholder="请输入txtBopcty"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="fultxtBopcty" prop="fultxtBopcty">
<c-input
v-model="model.fultxtBopcty"
placeholder="请输入fultxtBopcty"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="verBopcty" prop="verBopcty">
<c-input
v-model="model.verBopcty"
placeholder="请输入verBopcty"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
export default {
name: "",
props: ["model"],
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="inr" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="cod" prop="cod">
<c-input
v-model="model.cod"
placeholder="请输入cod"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="cur" prop="cur">
<c-input
v-model="model.cur"
placeholder="请输入cur"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="reg" prop="reg">
<c-input
v-model="model.reg"
placeholder="请输入reg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ver" prop="ver">
<c-input
v-model="model.ver"
placeholder="请输入ver"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="fmtdomadrtyp" prop="fmtdomadrtyp">
<c-input
v-model="model.fmtdomadrtyp"
placeholder="请输入fmtdomadrtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="fmtintadrtyp" prop="fmtintadrtyp">
<c-input
v-model="model.fmtintadrtyp"
placeholder="请输入fmtintadrtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dhlreg" prop="dhlreg">
<c-input
v-model="model.dhlreg"
placeholder="请输入dhlreg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bopcod" prop="bopcod">
<c-input
v-model="model.bopcod"
placeholder="请输入bopcod"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
export default {
name: "",
props: ["model"],
data() {
return {};
},
};
</script>
<style>
</style>
......@@ -12,29 +12,14 @@
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="基本信息" name="pty">
<el-tab-pane label="基本信息" name="cty">
<c-content>
<m-pty-info :model="model" />
<m-cty-info :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="地址信息" name="pta,adr">
<el-tab-pane label="???" name="bopcty">
<c-content>
<m-adr-list :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="账号信息" name="act">
<c-content>
<m-act-info :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="联系人信息" name="ptc">
<c-content>
<m-ptc-info :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="汇率/费率信息" name="ptyrat,fec,fee">
<c-content>
<m-rat-info :model="model" />
<m-bopcty-list :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
......@@ -71,14 +56,16 @@
import Utils from "~/utils";
import Cty, { Pattern } from "./Cty.js";
import ActInfo from "./ActInfo.vue";
import CtyInfo from "./CtyInfo.vue";
import BopctyInfo from "./BopctyInfo.vue";
import { queryById, add, edit, deleteById } from "~/service/test/cty.js";
export default {
name: "StaticsDbicty",
components: {
"m-act-info": ActInfo,
"m-cty-info":CtyInfo,
"m-bopcty-list":BopctyInfo,
},
provide() {
return {
......@@ -114,7 +101,7 @@ export default {
if (res.inr) {
this.model = res;
} else {
this.$message.error("客户不存在")
this.$message.error("国家代码不存在")
}
});
}
......@@ -176,7 +163,7 @@ export default {
});
},
/**
* update 是否更新infpty的查询列表
* update 是否更新infcty的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
......
......@@ -60,7 +60,7 @@ import Gtx, { Pattern } from "./Gtx.js";
import { queryDetailById, add, edit, deleteById } from "~/service/test/pty.js";
export default {
name: "StaticsDbipty",
name: "StaticsDbigtx",
components: {
// "m-pty-info": PtyInfo,
// "m-adr-list": AdrList,
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<!-- ----------左 ---------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="Country or region Code" prop="cod">
<c-input disabled v-model="model.cod" placeholder=""></c-input>
<c-input v-model="model.cod" placeholder=""></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<!------------- 右 ---------->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="Name" prop="nam">
<c-input disabled v-model="model.nam" placeholder=""></c-input>
<c-input v-model="model.nam" placeholder=""></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
......@@ -28,7 +33,9 @@
</el-button>
</c-col>
</c-col>
<!-- <c-col :span="24">
<c-col :span="24">
<c-paging-table
:data="ctyData"
:columns="ctyColumns"
......@@ -59,7 +66,7 @@
@click="ctyDelete(scope.$index, scope.row)"
>删除</c-button
>
<el-popover placement="top-start" width="50" trigger="click">
<!-- <el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0">指派</c-button>
......@@ -75,11 +82,11 @@
>
<i class="el-icon-more"></i>
</a>
</el-popover>
</el-popover> -->
</template>
</c-table-column>
</c-paging-table>
</c-col> -->
</c-col>
</div>
</template>
......@@ -89,18 +96,18 @@ import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/cty.js";
export default {
name: "",
name: "infsea",
props: ["model"],
inject: ["root"],
data() {
return {
ctyData: [],
// ctyColumns: [
// { label: 'Country or region', prop: 'extkey', width: 'auto' },
// { label: 'Description', prop: '', width: 'auto' },
// { label: 'Currency', prop: 'nam', width: 'auto' },
// { label: 'Region', prop: 'idtype', width: 'auto' },
// ],
ctyColumns: [
{ label: 'Country or region', prop: '', width: 'auto' },
{ label: 'Description', prop: '', width: 'auto' },
{ label: 'Currency', prop: '', width: 'auto' },
{ label: 'Region', prop: '', width: 'auto' },
],
};
},
......
......@@ -195,7 +195,7 @@
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="ptyAdd">新增</el-button>
<el-button type="primary" size="small" @click="gtxAdd">新增</el-button>
</c-col>
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
......@@ -203,7 +203,7 @@
type="primary"
icon="el-icon-search"
size="small"
@click="onInfptySearch()"
@click="onInfgtxSearch()"
>查询
</el-button>
</c-col>
......@@ -211,7 +211,7 @@
<c-col :span="24">
<c-paging-table
:data="gtxData"
:columns="ptyColumns"
:columns="gtxColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
......@@ -266,7 +266,7 @@
<script>
import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/pty.js";
import { queryByPage } from "~/service/test/gtx.js";
export default {
name: "",
......@@ -297,58 +297,58 @@ export default {
};
},
computed: {
// seatypb: {
// get: function () {
// return this.model.ptytyp === "B";
// },
// set: function (val) {
// this.model.ptytyp = val ? "B" : "";
// },
// },
// seatypc: {
// get: function () {
// return this.model.ptytyp === "C";
// },
// set: function (val) {
// this.model.ptytyp = val ? "C" : "";
// },
// },
// seatypa: {
// get: function () {
// return this.model.ptytyp === "A";
// },
// set: function (val) {
// this.model.ptytyp = val ? "A" : "";
// },
// },
// seatypo: {
// get: function () {
// return this.model.ptytyp === "O";
// },
// set: function (val) {
// this.model.ptytyp = val ? "O" : "";
// },
// },
// seatyph: {
// get: function () {
// return this.model.ptytyp === "H";
// },
// set: function (val) {
// this.model.ptytyp = val ? "H" : "";
// },
// },
seatypb: {
get: function () {
return this.model.ptytyp === "B";
},
set: function (val) {
this.model.ptytyp = val ? "B" : "";
},
},
seatypc: {
get: function () {
return this.model.ptytyp === "C";
},
set: function (val) {
this.model.ptytyp = val ? "C" : "";
},
},
seatypa: {
get: function () {
return this.model.ptytyp === "A";
},
set: function (val) {
this.model.ptytyp = val ? "A" : "";
},
},
seatypo: {
get: function () {
return this.model.ptytyp === "O";
},
set: function (val) {
this.model.ptytyp = val ? "O" : "";
},
},
seatyph: {
get: function () {
return this.model.ptytyp === "H";
},
set: function (val) {
this.model.ptytyp = val ? "H" : "";
},
},
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfptySearch()
this.onInfgtxSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onInfptySearch() {
onInfgtxSearch() {
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
......@@ -366,7 +366,7 @@ export default {
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber
this.model.pageSize = pageSize
this.onInfptySearch()
this.onInfgtxSearch()
},
ptytypeChange(val) {
this.model.ptytyp = val;
......
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