Browse Source

SCP受入日历增加批量删除的loading

intex
叶佳兴 3 days ago
parent
commit
4c1399e68e
  1. 7
      src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue

7
src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue

@ -219,6 +219,7 @@ const handleDelete = async (row?:any) => {
if (row) { if (row) {
// //
await message.delConfirm() await message.delConfirm()
list.push({ list.push({
supplierCode:row.supplierCode, supplierCode:row.supplierCode,
supplierAddress:row.supplierAddress, supplierAddress:row.supplierAddress,
@ -242,11 +243,15 @@ const handleDelete = async (row?:any) => {
}) })
}) })
} }
tableObject.loading = true
await DeliveryCalendarApi.deleteDeliveryCalendar(list) await DeliveryCalendarApi.deleteDeliveryCalendar(list)
tableObject.loading = false
message.success(t('common.delSuccess')) message.success(t('common.delSuccess'))
// //
await getList() await getList()
} catch {} } catch {}finally{
tableObject.loading = false
}
} }
/** 导出按钮操作 */ /** 导出按钮操作 */

Loading…
Cancel
Save