spring
22 小时以前 bddc56038852e18aa9454657a0bee58fae328405
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());