From c65127f90e9d03d12b683661ad2911cd11486f24 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 15 一月 2026 17:55:20 +0800
Subject: [PATCH] fix: 生产订单重构90%
---
src/views/productionManagement/productionOrder/ProcessRouteItemForm.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/productionManagement/productionOrder/ProcessRouteItemForm.vue b/src/views/productionManagement/productionOrder/ProcessRouteItemForm.vue
index 354f9de..d202536 100644
--- a/src/views/productionManagement/productionOrder/ProcessRouteItemForm.vue
+++ b/src/views/productionManagement/productionOrder/ProcessRouteItemForm.vue
@@ -197,7 +197,7 @@
const idx = routeItems.value.findIndex(item => item.id === row.id);
console.log(idx, "idx");
if (row.id) {
- deleteRouteItemByIds({ id: row.id }, idx);
+ deleteRouteItemByIds(row.id, idx);
} else {
removeItem(dragSortx);
}
@@ -224,8 +224,8 @@
}
};
- const deleteRouteItemByIds = (ids, index) => {
- deleteRouteItem(ids).then(res => {
+ const deleteRouteItemByIds = (id, index) => {
+ deleteRouteItem(id).then(res => {
routeItems.value.splice(index, 1);
updateDragSort();
nextTick(() => initSortable());
--
Gitblit v1.9.3