| | |
| | | data: query, |
| | | }); |
| | | } |
| | | // 生产报工-删除 |
| | | export function productionReportDeletePath(query) { |
| | | return request({ |
| | | url: "/productionProductMain" + `/${query.id}`, |
| | | method: "delete", |
| | | }); |
| | | } |
| | |
| | | import { |
| | | productionReportUpdate, |
| | | workListPageById, |
| | | productionReportDelete, |
| | | productionReportDelete, productionReportDeletePath, |
| | | } from "@/api/productionManagement/productionReporting.js"; |
| | | import { productionProductMainListPage } from "@/api/productionManagement/productionProductMain.js"; |
| | | import { userListNoPageByTenantId } from "@/api/system/user.js"; |
| | |
| | | cancelButtonText: "取消", |
| | | type: "warning", |
| | | }).then(() => { |
| | | productionReportDelete({ id: row.id }).then(res => { |
| | | |
| | | productionReportDeletePath({ id: row.id }).then(res => { |
| | | if (res.code === 200) { |
| | | proxy.$modal.msgSuccess("删除成功"); |
| | | getList(); |