|
@@ -201,10 +201,9 @@ function handleDel() {
|
|
|
/** 新增工序确认按钮 操作*/
|
|
|
function handleProcess(row) {
|
|
|
//查询选中工序位置
|
|
|
- // let id = ids.value[0];
|
|
|
- const delRows = processTable.value.getSelectionRows();
|
|
|
+ const addRows = processTable.value.getSelectionRows();
|
|
|
let indexNum = processList.value.findIndex((item) =>
|
|
|
- Object.is(item, delRows[0])
|
|
|
+ Object.is(item, addRows[0])
|
|
|
);
|
|
|
console.log("indexNum", indexNum);
|
|
|
|