Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
胡宝山
template_vue
Commits
d7a7d87b
Commit
d7a7d87b
authored
Aug 19, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
fa14b8a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
wcporder.vue
src/views/template/wcporder.vue
+10
-7
No files found.
src/views/template/wcporder.vue
View file @
d7a7d87b
...
...
@@ -83,8 +83,8 @@
<el-table-column
label=
"状态"
prop=
"status"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.status === '0'"
>
未开始
</div>
<div
v-else-if=
"scope.row.status === '1'"
>
进行中
</div>
<div
v-else-if=
"scope.row.status === '2'"
>
已完成
</div>
<div
v-else-if=
"scope.row.status === '1'"
style=
"color:red"
>
进行中
</div>
<div
v-else-if=
"scope.row.status === '2'"
style=
"color:green"
>
已完成
</div>
<div
v-else
>
-
</div>
</
template
>
</el-table-column>
...
...
@@ -488,10 +488,14 @@
import
{
addWcpOrder
,
delWcpOrder
,
exportWcpOrder
,
getUserId
,
getUserPd
,
exportWcpOrder
,
getUserId
,
getUserPd
,
getWcpOrder
,
getWcpOrderId
,
importExcel
,
listPackingList
,
listUser
,
importExcel
,
listPackingList
,
listUser
,
listWcpOrder
,
listWcpOrderPd
,
updateWcpOrder
,
...
...
@@ -988,7 +992,7 @@ export default {
}
})
}).
catch
(()
=>
{
this
.
message
({
message
:
'取消开始盘点'
,
type
:
'info'
})
this
.
$
message
({
message
:
'取消开始盘点'
,
type
:
'info'
})
})
},
handleEnd
()
{
...
...
@@ -1011,8 +1015,7 @@ export default {
rowClassName
(
row
)
{
const
list
=
[]
list
.
push
(
row
)
const
className
=
list
[
0
].
row
.
status
===
'2'
?
'orange-row'
:
''
return
className
return
list
[
0
].
row
.
status
===
'2'
?
'orange-row'
:
''
},
handlePackingList
()
{
this
.
queryParamsNew
.
page
=
1
...
...
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