新增工单操作状态

This commit is contained in:
17630416519 2026-01-13 15:00:10 +08:00
parent 6483af23fb
commit 9e1d755ad1
2 changed files with 9 additions and 2 deletions

View File

@ -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,

View File

@ -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()
}