Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
Project
Project
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
godwithdh
WX_h5
Commits
1ac55143
Commit
1ac55143
authored
Apr 14, 2020
by
张锡奇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://47.110.145.204:2222/godwithdh/wx_h5
parents
8bd9ebf1
b56690ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
liabilities_detail.vue
src/view/tiip/IntReportForms/liabilities_detail.vue
+5
-3
unit_operateDetail.vue
src/view/tiip/kanban/unit_operateDetail.vue
+2
-1
No files found.
src/view/tiip/IntReportForms/liabilities_detail.vue
View file @
1ac55143
...
@@ -54,17 +54,19 @@ export default {
...
@@ -54,17 +54,19 @@ export default {
methods
:{
methods
:{
async
getDetail
(){
async
getDetail
(){
this
.
columns
[
1
].
field
=
this
.
$route
.
params
.
sCustomerType
==
'客户'
?
'应收'
:
'应付'
this
.
columns
[
1
].
field
=
this
.
$route
.
params
.
sCustomerType
==
'客户'
?
'应收'
:
'应付'
this
.
list
=
await
this
.
request
(
"getTiipLiabilities"
,{
var
value
=
await
this
.
request
(
"getTiipLiabilities"
,{
params
:{
params
:{
iCustomerId
:
this
.
$route
.
params
.
iCustomerId
,
iCustomerId
:
this
.
$route
.
params
.
iCustomerId
,
sType
:
'Details'
,
sType
:
'Details'
,
sCustomerType
:
this
.
$route
.
params
.
sCustomerType
,
sCustomerType
:
this
.
$route
.
params
.
sCustomerType
,
}
}
},
"加载中"
,{})
},
"加载中"
,{})
this
.
list
.
map
(
x
=>
{
this
.
list
=
value
.
filter
(
v
=>
v
[
this
.
columns
[
1
].
field
]).
map
(
v
=>
{
x
[
'应收'
]
=
((
Math
.
round
(
x
[
'应收'
]
*
100
)
/
100
)
||
""
).
toLocaleString
();
v
[
this
.
columns
[
1
].
field
]
=
((
Math
.
round
(
v
[
this
.
columns
[
1
].
field
]
*
100
)
/
100
)).
toLocaleString
();
return
v
;
})
})
}
}
},
},
}
}
</
script
>
</
script
>
\ No newline at end of file
src/view/tiip/kanban/unit_operateDetail.vue
View file @
1ac55143
...
@@ -300,7 +300,8 @@ export default {
...
@@ -300,7 +300,8 @@ export default {
{
key
:
"url"
,
value
:
'Operation gai sType-material'
},
{
key
:
"url"
,
value
:
'Operation gai sType-material'
},
{
key
:
"sType"
,
value
:
"销售"
},
{
key
:
"sType"
,
value
:
"销售"
},
{
key
:
"begin_date"
,
value
:
Util
.
dateFormat
(
this
.
DateValue
[
0
],
"yyyy-MM-dd"
)},
{
key
:
"begin_date"
,
value
:
Util
.
dateFormat
(
this
.
DateValue
[
0
],
"yyyy-MM-dd"
)},
{
key
:
"end_date"
,
value
:
Util
.
dateFormat
(
this
.
DateValue
[
1
]
||
this
.
DateValue
[
0
],
"yyyy-MM-dd 23:59"
)}
{
key
:
"end_date"
,
value
:
Util
.
dateFormat
(
this
.
DateValue
[
1
]
||
this
.
DateValue
[
0
],
"yyyy-MM-dd 23:59"
)},
{
key
:
"upbCustomerGUID"
,
value
:
this
.
upbCustomerGUID
}
]
]
}
else
if
(
/^1$|^2$/
.
test
(
this
.
mode
)){
}
else
if
(
/^1$|^2$/
.
test
(
this
.
mode
)){
if
(
this
.
per_page
<
50
)
return
;
if
(
this
.
per_page
<
50
)
return
;
...
...
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