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
507a5793
Commit
507a5793
authored
Feb 06, 2020
by
godwithdh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
form
parent
3e51b38f
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 @
507a5793
...
@@ -210,7 +210,9 @@ export default {
...
@@ -210,7 +210,9 @@ export default {
this
.
mode
=
this
.
$route
.
query
.
mode
||
0
this
.
mode
=
this
.
$route
.
query
.
mode
||
0
this
.
upbCustomerGUID
=
this
.
$route
.
query
.
upbCustomerGUID
||
""
this
.
upbCustomerGUID
=
this
.
$route
.
query
.
upbCustomerGUID
||
""
this
.
isFooter
=
true
this
.
isFooter
=
true
this
.
tableStyle
.
tbodyHeight
=
"calc(100vh - 125px)"
if
(
this
.
mode
==
1
){
if
(
this
.
mode
==
1
){
this
.
columns
=
[
this
.
columns
=
[
...
@@ -238,7 +240,6 @@ export default {
...
@@ -238,7 +240,6 @@ export default {
field
:
"sStatus"
field
:
"sStatus"
}
}
]
]
this
.
tableStyle
.
tbodyHeight
=
"calc(100vh - 125px)"
this
.
$store
.
dispatch
(
"CAHNGE_META_INFO"
,
{
title
:
"销售列表"
});
this
.
$store
.
dispatch
(
"CAHNGE_META_INFO"
,
{
title
:
"销售列表"
});
}
else
if
(
this
.
mode
==
2
){
}
else
if
(
this
.
mode
==
2
){
this
.
columns
=
[
this
.
columns
=
[
...
@@ -266,7 +267,6 @@ export default {
...
@@ -266,7 +267,6 @@ export default {
field
:
"nAmountHTML"
field
:
"nAmountHTML"
}
}
]
]
this
.
tableStyle
.
tbodyHeight
=
"calc(100vh - 125px)"
this
.
$store
.
dispatch
(
"CAHNGE_META_INFO"
,
{
title
:
"退货列表"
});
this
.
$store
.
dispatch
(
"CAHNGE_META_INFO"
,
{
title
:
"退货列表"
});
}
}
...
@@ -322,12 +322,13 @@ export default {
...
@@ -322,12 +322,13 @@ export default {
params
:
params
||
{},
params
:
params
||
{},
},
'加载中'
,{})
},
'加载中'
,{})
if
(
this
.
mode
==
0
){
if
(
this
.
mode
==
0
){
this
.
list
=
res
.
map
(
x
=>
{
this
.
list
=
res
.
map
(
(
x
,
i
)
=>
{
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>`
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
.
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>`
;
x
.
nQtyHTML
=
`<div><span">
${(
x
.
nQty
||
x
.
nOutQty
||
x
.
nInQty
||
0
).
toLocaleString
()}
</span></div>`
;
return
x
;
return
x
;
})
})
console
.
log
(
this
.
list
,
"---------lsit-===========------------"
)
}
else
if
(
/^1$|^2$/
.
test
(
this
.
mode
)){
}
else
if
(
/^1$|^2$/
.
test
(
this
.
mode
)){
this
.
per_page
=
res
.
length
this
.
per_page
=
res
.
length
this
.
page
++
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