新增工单操作状态
This commit is contained in:
parent
6483af23fb
commit
9e1d755ad1
@ -807,7 +807,7 @@ function reset() {
|
||||
// 初始化日期为 ISO 格式(2026-01-13T00:00:00 样式)
|
||||
const today = new Date()
|
||||
const isoDate = new Date(today.setHours(0, 0, 0, 0)).toISOString().slice(0, 19)
|
||||
|
||||
console.log(isoDate,'isoDate');
|
||||
form.value = {
|
||||
id: null,
|
||||
productionName: null,
|
||||
|
||||
@ -67,6 +67,13 @@
|
||||
:status="getProgressColor(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="195" align="center">
|
||||
<template #default="scope">
|
||||
<el-button type="primary" size="small" @click="handleView(scope.row)">下发</el-button>
|
||||
<el-button type="info" size="small" @click="handleUpdate(scope.row)">暂停</el-button>
|
||||
<el-button type="success" size="small" @click="handleDelete(scope.row)">完成</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize"
|
||||
@pagination="getList" />
|
||||
@ -146,7 +153,7 @@ function resetQuery() {
|
||||
queryParams.productionCode = ''
|
||||
queryParams.workorderDate = getDefaultTime()
|
||||
queryParams.status = -1
|
||||
|
||||
|
||||
handleQuery()
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user