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
ae52f9e7
Commit
ae52f9e7
authored
Feb 06, 2020
by
张锡奇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://47.110.145.204:2222/godwithdh/wx_h5
parents
26e07ddd
63ee0646
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
unit_operateDetail.vue
src/view/tiip/kanban/unit_operateDetail.vue
+5
-4
No files found.
src/view/tiip/kanban/unit_operateDetail.vue
View file @
ae52f9e7
...
...
@@ -210,7 +210,9 @@ export default {
this
.
mode
=
this
.
$route
.
query
.
mode
||
0
this
.
upbCustomerGUID
=
this
.
$route
.
query
.
upbCustomerGUID
||
""
this
.
isFooter
=
true
this
.
tableStyle
.
tbodyHeight
=
"calc(100vh - 125px)"
if
(
this
.
mode
==
1
){
this
.
columns
=
[
...
...
@@ -238,7 +240,6 @@ export default {
field
:
"sStatus"
}
]
this
.
tableStyle
.
tbodyHeight
=
"calc(100vh - 125px)"
this
.
$store
.
dispatch
(
"CAHNGE_META_INFO"
,
{
title
:
"销售列表"
});
}
else
if
(
this
.
mode
==
2
){
this
.
columns
=
[
...
...
@@ -266,7 +267,6 @@ export default {
field
:
"nAmountHTML"
}
]
this
.
tableStyle
.
tbodyHeight
=
"calc(100vh - 125px)"
this
.
$store
.
dispatch
(
"CAHNGE_META_INFO"
,
{
title
:
"退货列表"
});
}
...
...
@@ -322,12 +322,13 @@ export default {
params
:
params
||
{},
},
'加载中'
,{})
if
(
this
.
mode
==
0
){
this
.
list
=
res
.
map
(
x
=>
{
x
.
sMaterial
=
`<div>
${
x
.
sSampleMaterialNo
&&
`<span style="color:#FF6633;
text-decoration:
${
i
<
res
.
length
-
1
?
'underline'
:
'none'
}
">
${
x
.
sSampleMaterialNo
}
</span><br>`
}
<span style="color:black;">
${
x
.
sSampleMaterialName
||
''
}
</span></div>`
this
.
list
=
res
.
map
(
(
x
,
i
)
=>
{
x
.
sMaterial
=
`<div>
${
x
.
sSampleMaterialNo
&&
`<span style="color:#FF6633;">
${
x
.
sSampleMaterialNo
}
</span><br>`
}
<span style="color:black;">
${
x
.
sSampleMaterialName
||
''
}
</span></div>`
x
.
nAmountHTML
=
`<div><span style="color:#339966;">
${(
x
.
nAmount
||
0
).
toLocaleString
()}
</span></div>`
;
x
.
nQtyHTML
=
`<div><span">
${(
x
.
nQty
||
x
.
nOutQty
||
x
.
nInQty
||
0
).
toLocaleString
()}
</span></div>`
;
return
x
;
})
console
.
log
(
this
.
list
,
"---------lsit-===========------------"
)
}
else
if
(
/^1$|^2$/
.
test
(
this
.
mode
)){
this
.
per_page
=
res
.
length
this
.
page
++
...
...
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