| | |
| | | }, |
| | | { |
| | | label: "计划工时(小时)", |
| | | prop: "plannedWorkHours", |
| | | prop: "salaryQuota", |
| | | width: "140", |
| | | }, |
| | | { |
| | |
| | | clickFun: row => { |
| | | handleEdit(row); |
| | | }, |
| | | disabled: row => Number(row.completeQuantity) > 0, |
| | | }, |
| | | ], |
| | | }, |
| | |
| | | }; |
| | | const getList = () => { |
| | | tableLoading.value = true; |
| | | const params = { ...searchForm.value, ...page }; |
| | | const params = { ...searchForm.value, ...page, type: 1 }; |
| | | productWorkOrderPage(params) |
| | | .then(res => { |
| | | tableLoading.value = false; |
| | |
| | | getList(); |
| | | }) |
| | | .catch(() => { |
| | | ElMessageBox.alert("修改失败", "提示", { |
| | | confirmButtonText: "确定", |
| | | }); |
| | | }); |
| | | }; |
| | | |