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
8ecc18f4
Commit
8ecc18f4
authored
Sep 13, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cltdav,cltset,clttra表格数据显示处理
parent
7a06554a
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
101 additions
and
79 deletions
+101
-79
Event.js
src/model/Cltdav/Event.js
+2
-6
index.js
src/model/Cltdav/index.js
+3
-1
index.js
src/model/Cltset/index.js
+3
-1
index.js
src/model/Clttra/index.js
+3
-1
Sel.vue
src/views/Business/Cltdav/Sel.vue
+10
-4
Sel.vue
src/views/Business/Cltset/Sel.vue
+13
-7
index.vue
src/views/Business/Cltset/index.vue
+51
-49
Sel.vue
src/views/Business/Clttra/Sel.vue
+13
-7
index.vue
src/views/Business/Clttra/index.vue
+3
-3
No files found.
src/model/Cltdav/Event.js
View file @
8ecc18f4
...
...
@@ -3,7 +3,6 @@ import Utils from "~/utils"
export
default
{
async
handleSearch
()
{
// this.stmData.data = [];
let
colflg
=
this
.
model
.
cldgrp
.
rec
.
colflg
;
if
(
!
colflg
||
colflg
==
''
)
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'Payemnt Disposition必输!'
});
...
...
@@ -16,16 +15,13 @@ export default {
}
let
rtnmsg
=
await
this
.
executeRule
(
"butsea"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
this
.
model
.
bptbckg
.
docgrd
=
rtnmsg
.
data
.
ccdbatg
;
// this.updateModel(rtnmsg.data);
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
this
.
model
.
bptbck
.
bptbckg
=
rtnmsg
.
data
.
ccdbatg
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
console
.
log
(
this
.
model
.
bptbckg
.
docgrd
);
},
async
handleReset
()
{
// this.model.infcon.seaownref = ""
...
...
src/model/Cltdav/index.js
View file @
8ecc18f4
...
...
@@ -6,7 +6,9 @@ export default class Cltdav {
this
.
data
=
{
cltdavl2blk
:
""
,
cltdavl1blk
:
""
,
bptbckg
:
[],
bptbck
:{
bptbckg
:[],
},
liaall
:
new
Pub
().
data
.
Liaall
,
cldgrp
:
{
rec
:
{
...
...
src/model/Cltset/index.js
View file @
8ecc18f4
...
...
@@ -4,7 +4,9 @@ import Pub from "../Public"
export
default
class
Cltset
{
constructor
()
{
this
.
data
=
{
bptbckg
:[],
bptbck
:
{
bptbckg
:
[],
// .bptbck.bptbckg
},
liaall
:
new
Pub
().
data
.
Liaall
,
cldgrp
:
{
rec
:
{
...
...
src/model/Clttra/index.js
View file @
8ecc18f4
...
...
@@ -4,7 +4,9 @@ import Pub from "../Public"
export
default
class
Clttra
{
constructor
()
{
this
.
data
=
{
bptbckg
:
[],
bptbck
:{
bptbckg
:[],
},
liaall
:
new
Pub
().
data
.
Liaall
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
cldgrp
:
{
...
...
src/views/Business/Cltdav/Sel.vue
View file @
8ecc18f4
...
...
@@ -183,14 +183,20 @@ export default {
docgrd
:
{
columns
:
[
{
title
:
"Check Number"
,
width
:
"120px"
,
dataIndex
:
"chcknum"
,
show
:
"text"
,
},
{
title
:
"Our Reference"
,
width
:
"1
5
0px"
,
width
:
"1
2
0px"
,
dataIndex
:
"ownref"
,
show
:
"text"
,
},
{
title
:
"Description"
,
width
:
"2
0
0px"
,
width
:
"2
2
0px"
,
dataIndex
:
"nam"
,
show
:
"text"
,
},
...
...
@@ -208,7 +214,7 @@ export default {
},
{
title
:
"Amount"
,
width
:
"
20
0px"
,
width
:
"
15
0px"
,
dataIndex
:
"amt"
,
show
:
"text"
,
},
...
...
@@ -220,7 +226,7 @@ export default {
},
],
urls
:
"bptbck
g.docgrd
"
,
urls
:
"bptbck
.bptbckg
"
,
},
}
...
...
src/views/Business/Cltset/Sel.vue
View file @
8ecc18f4
...
...
@@ -122,38 +122,44 @@ export default {
docgrd
:
{
columns
:
[
{
title
:
"Check Number"
,
width
:
"120px"
,
dataIndex
:
"chcknum"
,
show
:
"text"
,
},
{
title
:
"Our Reference"
,
width
:
"1
5
0px"
,
width
:
"1
2
0px"
,
dataIndex
:
"ownref"
,
show
:
"text"
,
},
{
title
:
"Description"
,
width
:
"2
0
0px"
,
width
:
"2
4
0px"
,
dataIndex
:
"nam"
,
show
:
"text"
,
},
{
title
:
"Presenter Name"
,
width
:
"2
0
0px"
,
width
:
"2
3
0px"
,
dataIndex
:
"prenam"
,
show
:
"text"
,
},
{
title
:
"cur"
,
width
:
"
10
0px"
,
width
:
"
5
0px"
,
dataIndex
:
"cur"
,
show
:
"text"
,
},
{
title
:
"Amount"
,
width
:
"
2
00px"
,
width
:
"
1
00px"
,
dataIndex
:
"amt"
,
show
:
"text"
,
},
{
title
:
"Pay To"
,
width
:
"
20
0px"
,
width
:
"
12
0px"
,
dataIndex
:
"paytoamt"
,
show
:
"input"
,
},
...
...
@@ -165,7 +171,7 @@ export default {
},
],
urls
:
"bptbck
g.docgrd
"
,
urls
:
"bptbck
.bptbckg
"
,
},
}
},
...
...
src/views/Business/Cltset/index.vue
View file @
8ecc18f4
...
...
@@ -52,7 +52,7 @@
<!--
<el-tab-pane
label=
"保证金"
name=
"ccvpan"
>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000546 -->
</c-tabs>
...
...
@@ -84,56 +84,57 @@ import Doctre from "~/views/Public/Doctre";
export
default
{
name
:
"Cltset"
,
components
:
{
"m-sel"
:
Sel
,
"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
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"sel"
,
trnName
:
"cltset"
,
model
:
new
Cltset
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
,
},
}
},
methods
:
{
// tabClick() {
// }
},
created
:
async
function
()
{
console
.
log
(
"进入cltset交易"
);
let
rtnmsg
=
await
this
.
init
({}
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
this
.
model
.
bptbckg
.
docgrd
=
rtnmsg
.
data
.
ccdbatg
;
console
.
log
(
this
.
model
.
bptbckg
.
docgrd
);
name
:
"Cltset"
,
components
:
{
"m-sel"
:
Sel
,
"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
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"sel"
,
trnName
:
"cltset"
,
model
:
new
Cltset
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
,
},
}
},
methods
:
{
// tabClick() {
// }
},
created
:
async
function
()
{
console
.
log
(
"进入cltset交易"
);
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
this
.
model
.
bptbck
.
bptbckg
=
rtnmsg
.
data
.
ccdbatg
;
console
.
log
(
this
.
model
.
bptbck
.
bptbckg
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/views/Business/Clttra/Sel.vue
View file @
8ecc18f4
...
...
@@ -67,7 +67,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Coll.bank ref."
prop=
"cldgrp.rec.colref"
>
<c-input
v-model=
"model.cldgrp.rec.colref"
maxlength=
"16"
placeholder=
"请输入Coll.bank ref."
disabled
>
<c-input
v-model=
"model.cldgrp.rec.colref"
maxlength=
"16"
placeholder=
"请输入Coll.bank ref."
>
</c-input>
</el-form-item>
</c-col>
...
...
@@ -124,14 +124,20 @@ export default {
docgrd
:
{
columns
:
[
{
title
:
"Check NUmber"
,
width
:
"120px"
,
dataIndex
:
"chcknum"
,
show
:
"text"
,
},
{
title
:
"Our Reference"
,
width
:
"1
5
0px"
,
width
:
"1
2
0px"
,
dataIndex
:
"ownref"
,
show
:
"text"
,
},
{
title
:
"Name of CC contact"
,
width
:
"2
0
0px"
,
width
:
"2
2
0px"
,
dataIndex
:
"nam"
,
show
:
"text"
,
},
...
...
@@ -149,18 +155,18 @@ export default {
},
{
title
:
"balance"
,
width
:
"
2
00px"
,
width
:
"
1
00px"
,
dataIndex
:
"amt"
,
show
:
"text"
,
},
{
title
:
"P
ay To
"
,
width
:
"
2
00px"
,
title
:
"P
AY TO
"
,
width
:
"
1
00px"
,
dataIndex
:
"paytoamt"
,
show
:
"input"
,
},
],
urls
:
"bptbck
g.docgrd
"
,
urls
:
"bptbck
.bptbckg
"
,
},
}
},
...
...
src/views/Business/Clttra/index.vue
View file @
8ecc18f4
...
...
@@ -113,12 +113,12 @@ export default {
},
created
:
async
function
()
{
console
.
log
(
"进入clttra交易"
);
let
rtnmsg
=
await
this
.
init
(
{}
)
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
this
.
model
.
bptbck
g
.
docgrd
=
rtnmsg
.
data
.
ccdbatg
;
console
.
log
(
this
.
model
.
bptbck
g
.
docgrd
);
this
.
model
.
bptbck
.
bptbckg
=
rtnmsg
.
data
.
ccdbatg
;
console
.
log
(
this
.
model
.
bptbck
.
bptbckg
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
...
...
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