From e3f789767f9498184782efe4337bda09b5c328f9 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期一, 30 九月 2024 16:40:32 +0800
Subject: [PATCH] add:合伙人订单列表导出
---
pages/order/list/index.vue | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/pages/order/list/index.vue b/pages/order/list/index.vue
index df29b1e..b237a31 100644
--- a/pages/order/list/index.vue
+++ b/pages/order/list/index.vue
@@ -24,6 +24,9 @@
hasNew: false,
hasEdit: false,
hasDelete: false,
+ hasExport: true,
+ exportUrl: 'flower/api/partner/order/list/export',
+ exportText: '导出订单',
onResetView: (row) => {
this.$router.push(`${this.$route.path}/${row.id}`)
},
@@ -48,6 +51,7 @@
{ label: '订单金额', prop: 'totalAmount', minWidth: 150 },
{ label: '订单状态', prop: 'statusBackendStr', minWidth: 120 },
{ label: '下单时间', prop: 'createTime', minWidth: 180 },
+ { label: '库位', id: 'warehouseLocationCode', type: 'input' },
],
searchFormAttrs: {
labelWidth: 'auto',
@@ -86,6 +90,7 @@
span: 24,
},
{ label: '订单号:', id: 'orderNo', type: 'input' },
+ { label: '库位:', id: 'warehouseLocationCode', type: 'input' },
],
},
],
@@ -108,7 +113,7 @@
}
const ids = selected.map((i) => i.id)
const { code, data } = await this.$elBusHttp.request(
- 'flower/api/partner/order/check/list',
+ 'flower/api/partner/order/check/location/list',
{
method: 'post',
data: {
--
Gitblit v1.9.3