Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
c09e8056
Commit
c09e8056
authored
Nov 10, 2022
by
wangna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbeinf界面布局
parent
e814943f
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
425 additions
and
573 deletions
+425
-573
Check.js
src/model/Dbeinf/Check.js
+21
-37
Default.js
src/model/Dbeinf/Default.js
+7
-11
Event.js
src/model/Dbeinf/Event.js
+12
-48
Pattern.js
src/model/Dbeinf/Pattern.js
+17
-92
index.js
src/model/Dbeinf/index.js
+28
-55
BusRouter.js
src/views/Business/BusRouter.js
+2
-0
Basp.vue
src/views/Business/Dbeinf/Basp.vue
+245
-197
Selection.vue
src/views/Business/Dbeinf/Selection.vue
+32
-83
index.vue
src/views/Business/Dbeinf/index.vue
+61
-50
No files found.
src/model/Dbeinf/Check.js
View file @
c09e8056
...
...
@@ -4,45 +4,29 @@ import Utils from "~/utils"
* Dbeinf Check规则
*/
let
checkObj
=
{
"recp.recgrp.vrf.tc1amt"
:
null
,
"bopbut.ctlmod.wrkdbl.trdtyp"
:
null
,
"recp.recgrp.vrf.impdate"
:
null
,
"recp.recgrp.bas.custnm"
:
null
,
"recp.recgrp.vrf.invoino"
:
null
,
"recp.recgrp.vrf.actiontype"
:
null
,
"recp.recgrp.vrf.txcode"
:
null
,
"recp.recgrp.vrf.rptdate"
:
null
,
"recp.recgrp.bas.custype"
:
null
,
"recp.recgrp.vrf.country"
:
null
,
"recp.recgrp.bas.exrate"
:
null
,
"recp.recgrp.bas.oppacc"
:
null
,
"recp.recgrp.bas.rptno"
:
null
,
"recp.recgrp.bas.txccy"
:
null
,
"recp.recgrp.bas.othamt"
:
null
,
"recp.recgrp.vrf.payattr"
:
null
,
"recp.recgrp.vrf.txcode2"
:
null
,
"recp.recgrp.bas.custcod"
:
null
,
"recp.recgrp.bas.othacc"
:
null
,
"recp.recgrp.vrf.tc2amt"
:
null
,
"recgrp.bas.othamt"
:
null
,
"recgrp.bas.actiontype"
:
null
,
"recgrp.bas.custnm"
:
null
,
"recgrp.bas.rptno"
:
null
,
"recgrp.bas.othacc"
:
null
,
"recgrp.bas.oppuser"
:
null
,
"recgrp.bas.txccy"
:
null
,
"ctlmod.wrkdbl.trdtyp"
:
null
,
"recgrp.bas.exrate"
:
null
,
"recgrp.bas.oppacc"
:
null
,
"bopbut.acttyp"
:
null
,
"recp.recgrp.bas.txamt"
:
null
,
"recp.recgrp.vrf.inptelc"
:
null
,
"recp.recgrp.bas.buscode"
:
null
,
"recp.recgrp.bas.oppuser"
:
null
,
"recp.recgrp.bas.actiontype"
:
null
,
"recp.recgrp.vrf.contrno"
:
null
,
"recp.recgrp.vrf.crtuser"
:
null
,
"recp.recgrp.bas.lcyacc"
:
null
,
"recp.recgrp.bas.idcode"
:
null
,
"recp.recgrp.vrf.paytype"
:
null
,
"recp.recgrp.vrf.cusmno"
:
null
,
"recgrp.bas.lcyacc"
:
null
,
"recgrp.bas.idcode"
:
null
,
"recgrp.bas.fcyacc"
:
null
,
"recgrp.bas.custcod"
:
null
,
"recgrp.bas.fcyamt"
:
null
,
"recgrp.bas.txamt"
:
null
,
"recgrp.bas.buscode"
:
null
,
"recgrp.bas.custype"
:
null
,
"bopbut.paydat"
:
null
,
"recp.recgrp.bas.fcyamt"
:
null
,
"recp.recgrp.bas.lcyamt"
:
null
,
"recp.recgrp.bas.actiondesc"
:
null
,
"recp.recgrp.bas.fcyacc"
:
null
,
"recp.recgrp.vrf.isref"
:
null
,
"recp.recgrp.bas.methods"
:
null
,
"recgrp.bas.actiondesc"
:
null
,
"recgrp.bas.lcyamt"
:
null
,
"recgrp.bas.methods"
:
null
,
}
for
(
const
key
in
checkObj
)
{
...
...
src/model/Dbeinf/Default.js
View file @
c09e8056
...
...
@@ -6,21 +6,17 @@ import Api from "~/service/Api";
import
Utils
from
"~/utils/index"
export
default
{
"rec
p.recgrp.vrf.actiontype
"
:
Utils
.
defaultFunction
,
"rec
p.recgrp.bas.tmpref
"
:
Utils
.
defaultFunction
,
"rec
grp.bas.tmpref
"
:
Utils
.
defaultFunction
,
"rec
grp.bas.buscode
"
:
Utils
.
defaultFunction
,
"bopbut.basflg"
:
Utils
.
defaultFunction
,
"bopbut.ctlmod.wrkdbl.trdtyp"
:
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
,
"recp.recgrp.bas.ownextkey"
:
Utils
.
defaultFunction
,
"recp.recgrp.bas.custype"
:
Utils
.
defaultFunction
,
"recp.recgrp.vrf.paytype"
:
Utils
.
defaultFunction
,
"recp.recgrp.bas.rptno"
:
Utils
.
defaultFunction
,
"recp.recgrp.bas.buscode"
:
Utils
.
defaultFunction
,
"recp.vrfpp.acp"
:
Utils
.
defaultFunction
,
"recp.recgrp.vrf.country"
:
Utils
.
defaultFunction
,
"recp.recgrp.bas.custcod"
:
Utils
.
defaultFunction
,
"recgrp.bas.custcod"
:
Utils
.
defaultFunction
,
"recgrp.bas.rptno"
:
Utils
.
defaultFunction
,
"bopbut.ackflg"
:
Utils
.
defaultFunction
,
"recgrp.bas.ownextkey"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Dbeinf/Event.js
View file @
c09e8056
...
...
@@ -86,8 +86,8 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onButp
1
Sav
(){
let
rtnmsg
=
await
this
.
executeRule
(
"butp
1
.sav"
)
async
onButpSav
(){
let
rtnmsg
=
await
this
.
executeRule
(
"butp.sav"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -98,8 +98,8 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onButp
1
Mod
(){
let
rtnmsg
=
await
this
.
executeRule
(
"butp
1
.mod"
)
async
onButpMod
(){
let
rtnmsg
=
await
this
.
executeRule
(
"butp.mod"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -134,44 +134,8 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onButp1Chk
(){
let
rtnmsg
=
await
this
.
executeRule
(
"butp1.chk"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onButp1Del
(){
let
rtnmsg
=
await
this
.
executeRule
(
"butp1.del"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onButp1Err
(){
let
rtnmsg
=
await
this
.
executeRule
(
"butp1.err"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onButp1Exi
(){
let
rtnmsg
=
await
this
.
executeRule
(
"butp1.exi"
)
async
onButpChk
(){
let
rtnmsg
=
await
this
.
executeRule
(
"butp.chk"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -182,8 +146,8 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
on
Codsel1Selbut
(){
let
rtnmsg
=
await
this
.
executeRule
(
"
codsel1.selbut
"
)
async
on
ButpDel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"
butp.del
"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -194,8 +158,8 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
on
Codsel2Selbut
(){
let
rtnmsg
=
await
this
.
executeRule
(
"
codsel2.selbut
"
)
async
on
ButpErr
(){
let
rtnmsg
=
await
this
.
executeRule
(
"
butp.err
"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -206,8 +170,8 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
on
Codsel1Selbut1
(){
let
rtnmsg
=
await
this
.
executeRule
(
"
codsel1.selbut1
"
)
async
on
ButpExi
(){
let
rtnmsg
=
await
this
.
executeRule
(
"
butp.exi
"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
src/model/Dbeinf/Pattern.js
View file @
c09e8056
...
...
@@ -24,11 +24,11 @@ export default {
"rec
p.rec
grp.bas.rptno"
:[
"recgrp.bas.rptno"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
22
,
message
:
"长度不能超过22"
}
],
"rec
p.rec
grp.bas.tmpref"
:[
"recgrp.bas.tmpref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
...
...
@@ -37,143 +37,69 @@ export default {
"rec
p.rec
grp.bas.actiondesc"
:[
"recgrp.bas.actiondesc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
32
,
message
:
"长度不能超过32"
}
],
"rec
p.rec
grp.bas.buscode"
:[
"recgrp.bas.buscode"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
22
,
message
:
"长度不能超过22"
}
],
"rec
p.rec
grp.bas.custcod"
:[
"recgrp.bas.custcod"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"长度不能超过18"
}
],
"rec
p.rec
grp.bas.custnm"
:[
"recgrp.bas.custnm"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
63
,
message
:
"长度不能超过63"
}
],
"rec
p.rec
grp.bas.oppuser"
:[
"recgrp.bas.oppuser"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
63
,
message
:
"长度不能超过63"
}
],
"rec
p.rec
grp.bas.idcode"
:[
"recgrp.bas.idcode"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
32
,
message
:
"长度不能超过32"
}
],
"rec
p.rec
grp.bas.exrate"
:[
"recgrp.bas.exrate"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
13
,
message
:
"长度不能超过13"
}
],
"rec
p.rec
grp.bas.lcyamt"
:[
"recgrp.bas.lcyamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
}
],
"rec
p.rec
grp.bas.lcyacc"
:[
"recgrp.bas.lcyacc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
32
,
message
:
"长度不能超过32"
}
],
"rec
p.rec
grp.bas.fcyamt"
:[
"recgrp.bas.fcyamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
}
],
"rec
p.rec
grp.bas.fcyacc"
:[
"recgrp.bas.fcyacc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
32
,
message
:
"长度不能超过32"
}
],
"rec
p.rec
grp.bas.othamt"
:[
"recgrp.bas.othamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
}
],
"rec
p.rec
grp.bas.othacc"
:[
"recgrp.bas.othacc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
32
,
message
:
"长度不能超过32"
}
],
"rec
p.rec
grp.bas.txamt"
:[
"recgrp.bas.txamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
}
],
"rec
p.rec
grp.bas.oppacc"
:[
"recgrp.bas.oppacc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
32
,
message
:
"长度不能超过32"
}
],
"recp.recgrp.vrf.tmpref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"recp.recgrp.vrf.rptno"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
22
,
message
:
"长度不能超过22"
}
],
"recp.recgrp.vrf.actiontype"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"recp.recgrp.vrf.actiondesc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
32
,
message
:
"长度不能超过32"
}
],
"recp.recgrp.vrf.ownextkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
],
"recp.recgrp.vrf.tc1amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
}
],
"recp.recgrp.vrf.txcode"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
6
,
message
:
"长度不能超过6"
}
],
"recp.recgrp.vrf.tc2amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
}
],
"recp.recgrp.vrf.txcode2"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
6
,
message
:
"长度不能超过6"
}
],
"recp.recgrp.vrf.country"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"recp.recgrp.vrf.regno"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"recp.recgrp.vrf.impdate"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"recp.recgrp.vrf.contrno"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"recp.recgrp.vrf.invoino"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"recp.recgrp.vrf.cusmno"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
12
,
message
:
"长度不能超过12"
}
],
"recp.recgrp.vrf.rptdate"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"recp.recgrp.vrf.crtuser"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"recp.recgrp.vrf.inptelc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
}
\ No newline at end of file
src/model/Dbeinf/index.js
View file @
c09e8056
...
...
@@ -7,11 +7,6 @@ export default class Dbeinf{
bopbut
:{
boplabel
:
""
,
// 申报信息 .bopbut.boplabel
acttyplab
:
""
,
// ACTTYP Label .bopbut.acttyplab
ctlmod
:{
wrkdbl
:{
trdtyp
:
""
,
// �'�易类型 .bopbut.ctlmod.wrkdbl.trdtyp
},
},
basflg
:
""
,
// 基'⌒畔 .bopbut.basflg
dclflg
:
""
,
// 申报信息 .bopbut.dclflg
vrfflg
:
""
,
// 管理信息 .bopbut.vrfflg
...
...
@@ -20,6 +15,11 @@ export default class Dbeinf{
paydat
:
""
,
// 收付汇日期 .bopbut.paydat
acttyp
:
""
,
// 款项标志 .bopbut.acttyp
},
ctlmod
:{
wrkdbl
:{
trdtyp
:
""
,
// �'�易类型 .ctlmod.wrkdbl.trdtyp
},
},
recp
:{
baspp
:{
cusnam
:
""
,
// .recp.baspp.cusnam
...
...
@@ -31,58 +31,31 @@ export default class Dbeinf{
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
txccy
:
""
,
// 汇款币种和金额 .recp.recgrp.bas.txccy
txamt
:
""
,
// 汇款币种和金额 .recp.recgrp.bas.txamt
oppacc
:
""
,
// 收款人账号 .recp.recgrp.bas.oppacc
},
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
isref
:
""
,
// 是否进口核销项下付款 .recp.recgrp.vrf.isref
payattr
:
""
,
// 付汇性�'� .recp.recgrp.vrf.payattr
paytype
:
""
,
// 付款类型 .recp.recgrp.vrf.paytype
tc1amt
:
""
,
// 相应金额1 .recp.recgrp.vrf.tc1amt
tc2amt
:
""
,
// 相应金额2 .recp.recgrp.vrf.tc2amt
impdate
:
""
,
// 最迟装运日期 .recp.recgrp.vrf.impdate
contrno
:
""
,
// 合同号 .recp.recgrp.vrf.contrno
invoino
:
""
,
// 发票号 .recp.recgrp.vrf.invoino
cusmno
:
""
,
// 报关单经营单位编码 .recp.recgrp.vrf.cusmno
txcode
:
""
,
// 交易编码1 .recp.recgrp.vrf.txcode
txcode2
:
""
,
// 交易编码2 .recp.recgrp.vrf.txcode2
country
:
""
,
// 收款人常驻国家/地区编码 .recp.recgrp.vrf.country
regno
:
""
,
// 外汇局批件/备案表号 .recp.recgrp.vrf.regno
},
},
vrfpp
:{
roptnam
:
""
,
// RoptNam .recp.vrfpp.roptnam
acp
:
""
,
// 确认 .recp.vrfpp.acp
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
oppacc
:
""
,
// 收款人账号 .recgrp.bas.oppacc
},
},
pageId
:
""
// ctx的key
...
...
src/views/Business/BusRouter.js
View file @
c09e8056
...
...
@@ -237,6 +237,7 @@ import Ecadel from "./Ecadel"
import
Ecainf
from
"./Ecainf"
import
Dbeadd
from
"./Dbeadd"
import
Dbeinf
from
"./Dbeinf"
...
...
@@ -490,6 +491,7 @@ const BusRouter = [
{
path
:
'Ecadel'
,
component
:
Ecadel
,
name
:
'Ecadel'
,
meta
:
{
title
:
'删 -- 国内外汇贷款'
}
},
{
path
:
'Ecainf'
,
component
:
Ecainf
,
name
:
'Ecainf'
,
meta
:
{
title
:
'查 -- 国内外汇贷款'
}
},
{
path
:
'Dbeadd'
,
component
:
Dbeadd
,
name
:
'Dbeadd'
,
meta
:
{
title
:
'境内汇款申请书(新建)'
}
},
{
path
:
'Dbeinf'
,
component
:
Dbeinf
,
name
:
'Dbeinf'
,
meta
:
{
title
:
'境内汇款申请书(查询)'
}
},
{
path
:
'dzsys/:path'
,
name
:
'DzSys'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'电证 - '
+
tag
.
params
.
title
}
}
},
]
...
...
src/views/Business/Dbeinf/Basp.vue
View file @
c09e8056
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onButp1Sav"
>
{{
$t
(
'butp.C0000006'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onButp1Mod"
>
{{
$t
(
'butp.C0000009'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.recp.baspp.roptnam"
data-path=
".recp.baspp.roptnam"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
label=
"申报号码"
prop=
"recp.recgrp.bas.rptno"
>
<c-input
v-model=
"model.recp.recgrp.bas.rptno"
maxlength=
"22"
:placeholder=
"$t('other.please_enter')+'申报号码'"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
label=
"�'时申报流�'号"
prop=
"recp.recgrp.bas.tmpref"
>
<c-input
v-model=
"model.recp.recgrp.bas.tmpref"
maxlength=
"16"
:placeholder=
"$t('other.please_enter')+'�'时申报流�'号'"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onBasppGetreftmp"
>
{{
$t
(
'baspp.C0000039'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onBasppGetref"
>
{{
$t
(
'baspp.C0000040'
)
}}
<!-- ======================= 左边 ========================= -->
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"申报号码"
prop=
"recgrp.bas.rptno"
>
<c-fullbox>
<c-input
v-model=
"model.recgrp.bas.rptno"
placeholder=
"请输入申报号码"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 12px"
size=
"small"
type=
"primary"
disabled
>
获取
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.recp.baspp.tmprefnew"
data-path=
".recp.baspp.tmprefnew"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onButp1Chk"
>
{{
$t
(
'butp.C0000007'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
icon=
"el-icon-delete"
@
click=
"onButp1Del"
>
{{
$t
(
'butp.C0000010'
)
}}
</c-button>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('baspp.S0000043')"
prop=
"recp.recgrp.bas.actiondesc"
>
<c-input
type=
"textarea"
v-model=
"model.recp.recgrp.bas.actiondesc"
maxlength=
"32"
show-word-limit
:placeholder=
"$t('other.please_enter')+$t('baspp.S0000043')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 操作类型 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('baspp.S0000003')"
prop=
"recp.recgrp.bas.actiontype"
>
<c-select
v-model=
"model.recp.recgrp.bas.actiontype"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('baspp.S0000003')"
>
<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>
<!-- S0000043 : 操作类型 -->
<!-- S0000002 : 地区机构号 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('baspp.S0000002')"
prop=
"recp.recgrp.bas.ownextkey"
>
<c-select
v-model=
"model.recp.recgrp.bas.ownextkey"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('baspp.S0000002')"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"地区机构号"
prop=
"recgrp.bas.ownextkey"
>
<c-select
v-model=
"model.recgrp.bas.ownextkey"
style=
"width: 100%"
placeholder=
"请选择地区机构号"
:code=
"codes.ownextkey3"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000021 : 银行业务编号 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('baspp.S0000021')"
prop=
"recp.recgrp.bas.buscode"
>
<c-input
v-model=
"model.recp.recgrp.bas.buscode"
maxlength=
"22"
:placeholder=
"$t('other.please_enter')+$t('baspp.S0000021')"
></c-input>
</c-form-item>
<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>
<!-- S0000020 : 结算方式 -->
<c-col
:span=
"12"
>
<el-form-item
label=
"结算方式"
prop=
"recp.recgrp.bas.methods"
>
<c-select
v-model=
"model.recp.recgrp.bas.methods"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+'结算方式'"
>
<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=
"12"
>
<c-form-item
label=
"组织机构"
prop=
"recp.recgrp.bas.custcod"
>
<c-input
v-model=
"model.recp.recgrp.bas.custcod"
maxlength=
"18"
:placeholder=
"$t('other.please_enter')+'组织机构'"
></c-input>
</c-form-item>
<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=
"请输入汇款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000006 : 类型 -->
<c-col
:span=
"12"
>
<span
v-text=
"model.recp.baspp.cusnam"
data-path=
".recp.baspp.cusnam"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('baspp.S0000006')"
prop=
"recp.recgrp.bas.custype"
>
<c-select
v-model=
"model.recp.recgrp.bas.custype"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('baspp.S0000006')"
>
</c-select>
<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=
"请输入收款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000008 : 组织机构代码 -->
<c-col
:span=
"12"
>
<c-form-item
label=
"汇款人名称"
prop=
"recp.recgrp.bas.custnm"
>
<c-input
type=
"textarea"
v-model=
"model.recp.recgrp.bas.custnm"
maxlength=
"63"
show-word-limit
:placeholder=
"$t('other.please_enter')+'汇款人名称'"
></c-input>
</c-form-item>
<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=
"12"
>
<span
v-text=
"model.recp.baspp.cornam"
data-path=
".recp.baspp.cornam"
>
</span>
</c-col>
<!-- S0000009 : 名称 -->
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onButp1Err"
>
{{
$t
(
'butp.C0000013'
)
}}
</c-button>
<c-col
:span=
"24"
>
<el-form-item
label=
"购汇金额"
prop=
"recgrp.bas.lcyamt"
>
<c-input
v-model=
"model.recgrp.bas.lcyamt"
placeholder=
"请输入购汇金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
label=
"收款人名称"
prop=
"recp.recgrp.bas.oppuser"
>
<c-input
type=
"textarea"
v-model=
"model.recp.recgrp.bas.oppuser"
maxlength=
"63"
show-word-limit
:placeholder=
"$t('other.please_enter')+'收款人名称'"
></c-input>
</c-form-item>
<c-col
:span=
"24"
>
<el-form-item
label=
"现汇金额"
prop=
"recgrp.bas.fcyamt"
>
<c-input
v-model=
"model.recgrp.bas.fcyamt"
placeholder=
"请输入现汇金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.recp.baspp.corpnam"
data-path=
".recp.baspp.corpnam"
>
</span>
</c-col>
<!-- S0000010 : 名称 -->
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.recp.baspp.acp"
>
{{
$t
(
'baspp.C0000038'
)
}}
</c-checkbox>
<c-col
:span=
"24"
>
<el-form-item
label=
"其它金额"
prop=
"recgrp.bas.othamt"
>
<c-input
v-model=
"model.recgrp.bas.othamt"
placeholder=
"请输入其它金额"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000007 : 身份证件号码 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('baspp.S0000007')"
prop=
"recp.recgrp.bas.idcode"
>
<c-input
v-model=
"model.recp.recgrp.bas.idcode"
maxlength=
"32"
:placeholder=
"$t('other.please_enter')+$t('baspp.S0000007')"
></c-input>
</c-form-item>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"汇款币种和金额"
prop=
"recgrp.bas.txccy"
>
<c-select
v-model=
"model.recgrp.bas.txccy"
style=
"width: 100%"
placeholder=
"请选择汇款币种"
:code=
"codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.recp.baspp.exratelab"
data-path=
".recp.baspp.exratelab"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
label=
"�'�汇汇率"
prop=
"recp.recgrp.bas.exrate"
>
<c-input
v-model=
"model.recp.recgrp.bas.exrate"
:placeholder=
"$t('other.please_enter')+'�'�汇汇率'"
></c-input>
</c-form-item>
<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
:span=
"12"
>
<span
v-text=
"model.recp.baspp.lcyamtlab"
data-path=
".recp.baspp.lcyamtlab"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
label=
"�'�汇金额"
prop=
"recp.recgrp.bas.lcyamt"
>
<c-input
v-model=
"model.recp.recgrp.bas.lcyamt"
:placeholder=
"$t('other.please_enter')+'�'�汇金额'"
></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : 人民币帐号/银行卡号 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('baspp.S0000015')"
prop=
"recp.recgrp.bas.lcyacc"
>
<c-input
v-model=
"model.recp.recgrp.bas.lcyacc"
maxlength=
"32"
:placeholder=
"$t('other.please_enter')+$t('baspp.S0000015')"
></c-input>
</c-form-item>
<!-- ======================= 右边 ========================= -->
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<!-- <c-col :span="24">
<el-form-item label="临时申报号码" prop="recp.baspp.tmpref">
<c-fullbox>
<c-input
v-model="model.recp.baspp.tmpref"
placeholder="请输入临时申报号码"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> -->
<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>
<!-- S0000016 : 现汇金额 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('baspp.S0000016')"
prop=
"recp.recgrp.bas.fcyamt"
>
<c-input
v-model=
"model.recp.recgrp.bas.fcyamt"
:placeholder=
"$t('other.please_enter')+$t('baspp.S0000016')"
></c-input>
</c-form-item>
<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>
<!-- S0000017 : 外汇帐号/银行卡号 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('baspp.S0000017')"
prop=
"recp.recgrp.bas.fcyacc"
>
<c-input
v-model=
"model.recp.recgrp.bas.fcyacc"
maxlength=
"32"
:placeholder=
"$t('other.please_enter')+$t('baspp.S0000017')"
></c-input>
</c-form-item>
<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>
<!-- S0000018 : 其它金额 -->
<c-col
:span=
"12
"
>
<c-
form-item
:label=
"$t('baspp.S0000018')"
prop=
"recp.recgrp.bas.othamt"
>
<c-input
v-model=
"model.recp.recgrp.bas.othamt"
:placeholder=
"$t('other.please_enter')+$t('baspp.S0000018')"
></c-input>
</c-form-item
>
<c-col
:span=
"24
"
>
<c-
checkbox
v-model=
"model.recp.baspp.acp"
disabled
:checked=
"true"
>
确认
</c-checkbox
>
</c-col>
<!-- S0000019 : 其它帐号/银行卡号 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('baspp.S0000019')"
prop=
"recp.recgrp.bas.othacc"
>
<c-input
v-model=
"model.recp.recgrp.bas.othacc"
maxlength=
"32"
:placeholder=
"$t('other.please_enter')+$t('baspp.S0000019')"
></c-input>
</c-form-item>
<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>
<!-- S0000044 : 汇款币种和金额 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dbep.S0000044')"
prop=
"recp.recgrp.bas.txccy"
>
<c-select
v-model=
"model.recp.recgrp.bas.txccy"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dbep.S0000044')"
>
</c-select>
<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=
"12"
>
<c-form-item
:label=
"$t('dbep.S0000044')"
prop=
"recp.recgrp.bas.txamt"
>
<c-input
v-model=
"model.recp.recgrp.bas.txamt"
:placeholder=
"$t('other.please_enter')+$t('dbep.S0000044')"
></c-input>
</c-form-item>
<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>
<!-- S0000064 : 收款人账号 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dbep.S0000064')"
prop=
"recp.recgrp.bas.oppacc"
>
<c-input
v-model=
"model.recp.recgrp.bas.oppacc"
maxlength=
"32"
:placeholder=
"$t('other.please_enter')+$t('dbep.S0000064')"
></c-input>
</c-form-item>
<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
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onButp1Exi"
>
{{
$t
(
'butp.CG000004'
)
}}
</c-button>
<c-col
:span=
"24"
>
<el-form-item
label=
"收款人账号"
prop=
"recgrp.bas.oppacc"
>
<c-input
v-model=
"model.recgrp.bas.oppacc"
maxlength=
"32"
placeholder=
"请输入收款人账号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Dbeinf/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Dbeinf/Event"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
return
{
}
data
()
{
return
{};
},
methods
:{...
Event
},
created
:
function
(){
}
}
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Dbeinf/Selection.vue
View file @
c09e8056
<
template
>
<div
class=
"eibs-tab"
>
<!-- S0000015 : 收付汇日期 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('bopbut.S0000015')"
prop=
"bopbut.paydat"
>
<c-date-picker
type=
"date"
v-model=
"model.bopbut.paydat"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('bopbut.S0000015')"
></c-date-picker>
<!-- ======================= 左边 ========================= -->
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"收付汇日期"
prop=
"bopbut.paydat"
>
<c-date-picker
type=
"date"
v-model=
"model.bopbut.paydat"
style=
"width: 100%"
placeholder=
"请选择收付汇日期"
disabled
></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>
<c-col
:span=
"24"
>
<el-form-item
label=
"请选择接口数据"
prop=
"bopbut.basflg"
class=
"checkbox-left"
>
<c-checkbox
disabled
:checked=
"true"
v-model=
"model.bopbut.basflg"
>
基础数据
</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"�'�易类型"
prop=
"bopbut.ctlmod.wrkdbl.trdtyp"
>
<c-select
v-model=
"model.bopbut.ctlmod.wrkdbl.trdtyp"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+'�'�易类型'"
>
<!-- ======================= 右边 ========================= -->
<c-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=
"请选择款项去向"
:code=
"codes.acttyp"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onButpSav"
>
{{
$t
(
'butp.C0000006'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onButpMod"
>
{{
$t
(
'butp.C0000009'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onButpChk"
>
{{
$t
(
'butp.C0000007'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
icon=
"el-icon-delete"
@
click=
"onButpDel"
>
{{
$t
(
'butp.C0000010'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.bopbut.boplabel"
data-path=
".bopbut.boplabel"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bopbut.vrfflg"
>
{{
$t
(
'bopbut.C0000011'
)
}}
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bopbut.basflg"
>
{{
$t
(
'bopbut.C0000009'
)
}}
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bopbut.dclflg"
>
{{
$t
(
'bopbut.C0000010'
)
}}
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bopbut.ackflg"
>
{{
$t
(
'bopbut.C0000014'
)
}}
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
label=
"修改/删除原因"
prop=
"bopbut.actiondesc"
>
<c-input
type=
"textarea"
v-model=
"model.bopbut.actiondesc"
maxlength=
"32"
show-word-limit
:placeholder=
"$t('other.please_enter')+'修改/删除原因'"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onBopbutAdd"
>
{{
$t
(
'bopbut.C0000019'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onButpErr"
>
{{
$t
(
'butp.C0000013'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onButpExi"
>
{{
$t
(
'butp.CG000004'
)
}}
</c-button>
</c-col>
</div>
</
template
>
...
...
src/views/Business/Dbeinf/index.vue
View file @
c09e8056
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<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=
"$t('bopbut.PD000000')
"
name=
"selection"
>
<m-selection
:model=
"model"
:codes=
"codes"
/>
<el-tab-pane
label=
"接口数据
"
name=
"selection"
>
<m-selection
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--dbep PD000000 境内汇款申请书-基础信息 -->
<el-tab-pane
:label=
"$t('dbep.PD000000')"
name=
"basp"
>
<m-basp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--dbep PD000002 境内汇款申请书-核销信息 -->
<el-tab-pane
:label=
"$t('dbep.PD000002')"
name=
"vrfp"
>
<m-vrfp
:model=
"model"
:codes=
"codes"
/>
<el-tab-pane
label=
"境内汇款申请书-基础信息"
name=
"basp"
>
<c-content>
<m-basp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-function-btn>
</c-tabs>
</el-form>
</c-page>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Dbeinf
from
"~/model/Dbeinf"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"~/model/Dbeinf/Check"
import
Default
from
"~/model/Dbeinf/Default"
import
Pattern
from
"~/model/Dbeinf/Pattern"
import
Selection
from
"./Selection"
import
Basp
from
"./Basp"
import
Vrfp
from
"./Vrfp"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Dbeinf
from
"~/model/Dbeinf"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Dbeinf/Check"
;
import
Default
from
"~/model/Dbeinf/Default"
;
import
Pattern
from
"~/model/Dbeinf/Pattern"
;
import
Selection
from
"./Selection"
;
import
Basp
from
"./Basp"
;
export
default
{
name
:
"Dbeinf"
,
components
:{
"m-selection"
:
Selection
,
"m-basp"
:
Basp
,
"m-vrfp"
:
Vrfp
,
components
:
{
"m-selection"
:
Selection
,
"m-basp"
:
Basp
,
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
};
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"
"
,
tabVal
:
"selection
"
,
trnName
:
"dbeinf"
,
trnType
:
""
,
model
:
new
Dbeinf
().
data
,
...
...
@@ -54,34 +71,28 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
codes
:
{...
CodeTable
},
};
},
}
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
}
},
created
:
async
function
(){
},
created
:
async
function
()
{
console
.
log
(
"进入dbeinf交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
}
},
}
;
</
script
>
<
style
>
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment