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
fukai
vue-gjjs
Commits
eef04908
Commit
eef04908
authored
Sep 06, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cltdav解决报错以及“Sel”面板排版
parent
04749ae0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
198 additions
and
220 deletions
+198
-220
Event.js
src/model/Cltdav/Event.js
+100
-121
index.js
src/model/Cltdav/index.js
+19
-18
Setp.vue
src/views/Business/Botpay/Setp.vue
+1
-1
Sel.vue
src/views/Business/Cltdav/Sel.vue
+0
-0
index.vue
src/views/Business/Cltdav/index.vue
+66
-68
Infsea.vue
src/views/Business/Infbcd/Infsea.vue
+12
-12
No files found.
src/model/Cltdav/Event.js
View file @
eef04908
...
...
@@ -2,137 +2,115 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onCltpButgetref
(){
let
rtnmsg
=
await
this
.
executeRule
(
"cltp.butgetref"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
async
onCltpButgetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cltp.butgetref"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onGet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"get"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onGet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"get"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onColpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"colp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onColpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"colp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButshw
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butshw"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButshw
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butshw"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButadd
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butadd"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButadd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butadd"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButnew
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butnew"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButnew
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butnew"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButattto
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butattto"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButattto
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butattto"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButdel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butdel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButdel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butdel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButatt
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butatt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButatt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butatt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetinsButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"setins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetinsButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/model/Cltdav/index.js
View file @
eef04908
...
...
@@ -41,24 +41,25 @@ export default class Cltdav{
},
},
colmet
:
""
,
// Collection Method .colmet
trnmod
:{
trndoc
:{
advlabel
:
""
,
// ADVLABEL .trnmod.trndoc.advlabel
amdnam
:
""
,
// AMDNAM .trnmod.trndoc.amdnam
advdoc
:
""
,
// 国内证通知书 .trnmod.trndoc.advdoc
advnam
:
""
,
// 国内证落款 .trnmod.trndoc.advnam
amdapl
:
""
,
// 修改申请人名称 .trnmod.trndoc.amdapl
doclbl
:
""
,
// Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm
:
""
,
// Document tree .trnmod.trndoc.doctrestm
shwinc
:
""
,
// Show Incoming Messages .trnmod.trndoc.shwinc
shwout
:
""
,
// Show Outgoing Messages .trnmod.trndoc.shwout
condocstm
:
""
,
// Connected Documents .trnmod.trndoc.condocstm
rcvatt
:{
seainf
:
""
,
// .trnmod.trndoc.rcvatt.seainf
},
filrecv
:
""
,
// File Receiver .trnmod.trndoc.filrecv
},
},
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
trnmod
:
new
Pub
().
data
.
Trnmod
,
mtabut
:{
coninf
:{
oitinf
:{
...
...
src/views/Business/Botpay/Setp.vue
View file @
eef04908
...
...
@@ -210,7 +210,7 @@
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-checkbox
v-model=
"model.mtabut.clsflg"
disabled
>
Close Contract
</c-checkbox>
<c-checkbox
v-model=
"model.mtabut.clsflg"
:disabled=
"model.mtabut.clsflg !== 'O'"
>
Close Contract
</c-checkbox>
</c-col>
</c-col>
...
...
src/views/Business/Cltdav/Sel.vue
View file @
eef04908
This diff is collapsed.
Click to expand it.
src/views/Business/Cltdav/index.vue
View file @
eef04908
...
...
@@ -20,15 +20,15 @@
<m-sel
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane
label=
"关联账号"
name=
"account"
>
<
!--
<
el-tab-pane
label=
"关联账号"
name=
"account"
>
<m-account
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000000 -->
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"表外信息"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
...
...
@@ -60,76 +60,75 @@
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
;
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Cltdav
from
"~/model/Cltdav"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Cltdav/Check"
;
import
Default
from
"~/model/Cltdav/Default"
;
import
Pattern
from
"~/model/Cltdav/Pattern"
;
import
Sel
from
"./Sel"
;
import
Account
from
"./Account"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Cltdav
from
"~/model/Cltdav"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Cltdav/Check"
;
import
Default
from
"~/model/Cltdav/Default"
;
import
Pattern
from
"~/model/Cltdav/Pattern"
;
import
Sel
from
"./Sel"
;
import
Account
from
"./Account"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Glepan
from
"~/views/Public/Glepan"
;
import
Ccvpan
from
"~/views/Public/Ccvpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Doctre
from
".
/Doctre"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Glepan
from
"~/views/Public/Glepan"
;
import
Ccvpan
from
"~/views/Public/Ccvpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Doctre
from
"~/views/Public
/Doctre"
;
export
default
{
name
:
"Cltdav"
,
components
:
{
"m-sel"
:
Sel
,
"m-account"
:
Account
,
"m-setpan"
:
Setpan
,
"m-engp"
:
Engp
,
"m-glepan"
:
Glepan
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-coninfp"
:
Coninfp
,
"m-ccvpan"
:
Ccvpan
,
},
export
default
{
name
:
"Cltdav"
,
components
:
{
"m-sel"
:
Sel
,
"m-account"
:
Account
,
"m-setpan"
:
Setpan
,
"m-engp"
:
Engp
,
"m-glepan"
:
Glepan
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-coninfp"
:
Coninfp
,
"m-ccvpan"
:
Ccvpan
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProces
s
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"
"
,
trnName
:
"cltdav"
,
model
:
new
Cltdav
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
},
}
},
methods
:
{
tabClick
()
{
}
},
created
:
async
function
()
{
console
.
log
(
"进入cltdav交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
,
commonFunc
s
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"sel
"
,
trnName
:
"cltdav"
,
model
:
new
Cltdav
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
}
},
methods
:
{
tabClick
()
{
}
},
created
:
async
function
()
{
console
.
log
(
"进入cltdav交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/views/Business/Infbcd/Infsea.vue
View file @
eef04908
...
...
@@ -274,18 +274,18 @@ export
columns
:
[
"1 1
\"
Reference
\"
150"
,
"2 2
\"
Resp. User
\"
120"
,
"
3 3
\"
Opened
\"
150 4 7
"
,
"
4 4
\"
Closed
\"
150 4 7
"
,
"
5 5
\"
Goods Code
\"
130 1 0 1 GODCOD
"
,
"
6 6
\"
分行名称
\"
17
0"
,
"
7 7
\"
Pta.No
\"
13
0"
,
"
8 8
\"
Drawee Party Number
\"
17
0"
,
"
9 9
\"
Drawee
\"
30
0"
,
"1
0 10
\"
Drawee CN
\"
13
0"
,
"1
1 11
\"
Drawer Party Number
\"
17
0"
,
"
12 12
\"
Drawer
\"
100
"
,
"
13 13
\"
Remitting Bank Party Number
\"
220
"
,
"
14 14
\"
Remitting Bank
\"
200
"
,
"
6 3
\"
分行名称
\"
170
"
,
"
8 4
\"
Drawee Party Number
\"
170
"
,
"
9 5
\"
Drawee
\"
300
"
,
"
10 6
\"
Drawee CN
\"
13
0"
,
"
11 7
\"
Drawer Party Number
\"
17
0"
,
"
12 8
\"
Drawer
\"
15
0"
,
"
7 9
\"
Pta.No
\"
13
0"
,
"1
3 10
\"
Remitting Bank Party Number
\"
22
0"
,
"1
4 11
\"
Remitting Bank
\"
20
0"
,
"
5 12
\"
Goods Code
\"
130 1 0 1 GODCOD
"
,
"
3 13
\"
Opened
\"
150 4 7
"
,
"
4 14
\"
Closed
\"
150 4 7
"
,
"15 15
\"
Doc.Amount Cur
\"
150"
,
"16 16
\"
Doc.Amount
\"
120 2 8 1 15"
,
"17 17
\"
Open Amount Cur
\"
150"
,
...
...
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