Commit d7a7d87b authored by hubaoshan's avatar hubaoshan

wcp

parent fa14b8a7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment