From 4b2e6466b7d64fb9f82df355da0e9630e189555f Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 7 Mar 2025 14:17:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=81=E8=B4=A7=E6=97=A5=E5=8E=86=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/deliveryCalendar/index.ts | 4 +- .../supplierManage/deliveryCalendar/index.vue | 45 ++++++++++++++++--- 2 files changed, 42 insertions(+), 7 deletions(-) diff --git a/src/api/wms/deliveryCalendar/index.ts b/src/api/wms/deliveryCalendar/index.ts index 46dce36b5..65b1e664d 100644 --- a/src/api/wms/deliveryCalendar/index.ts +++ b/src/api/wms/deliveryCalendar/index.ts @@ -40,8 +40,8 @@ export const updateDeliveryCalendar = async (data: DeliveryCalendarVO) => { } // 删除送货日历 -export const deleteDeliveryCalendar = async (id: number) => { - return await request.delete({ url: `/wms/delivery-calendar/delete?id=` + id }) +export const deleteDeliveryCalendar = async (data) => { + return await request.post({ url: `/wms/delivery-calendar/delete`, data }) } // 导出送货日历 Excel diff --git a/src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue b/src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue index 3085fa857..19eaed0d8 100644 --- a/src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue +++ b/src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue @@ -26,6 +26,9 @@ v-model:pageSize="tableObject.pageSize" v-model:currentPage="tableObject.currentPage" v-model:sort="tableObject.sort" + row-key="id" + :selection="true" + @getSelectionRows="getSelectionRows" >