|
@ -160,9 +160,18 @@ const handleSelectionDelete = async ()=>{ |
|
|
if(rows.length==0){ |
|
|
if(rows.length==0){ |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
console.log('批量删除',rows) |
|
|
try { |
|
|
// await ExpectoutApi.deleteExpectoutIds(rows.join(',')) //换入库接口 |
|
|
// 删除的二次确认 |
|
|
|
|
|
await message.delConfirm() |
|
|
|
|
|
tableObject.loading = true |
|
|
|
|
|
// 发起删除 |
|
|
|
|
|
console.log('批量删除',rows.join(',')) |
|
|
|
|
|
await ExpectinApi.deleteExpectinIds(rows.join(',')) |
|
|
|
|
|
message.success(t('common.delSuccess')) |
|
|
|
|
|
tableObject.loading = false |
|
|
|
|
|
// 刷新列表 |
|
|
getList() |
|
|
getList() |
|
|
|
|
|
} catch {} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 列表-操作按钮 |
|
|
// 列表-操作按钮 |
|
|