From 0ebc22340d4a1009d53ac1f47604891fecd0f47c Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期二, 24 九月 2024 10:18:21 +0800
Subject: [PATCH] add:会员等级筛选

---
 pages/order/list/index.vue |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/pages/order/list/index.vue b/pages/order/list/index.vue
index 00af407..3f72adf 100644
--- a/pages/order/list/index.vue
+++ b/pages/order/list/index.vue
@@ -27,7 +27,6 @@
 import { dateRangeOptions } from '@/utils/options'
 import CustomDateRange from '@/components/custom-date-range.vue'
 import PrintList from '@/components/order/print-list'
-import GoodsTableItemList from '@/components/order/goods-table-item-list.vue'
 export default {
   components: {
     PrintList,
@@ -74,16 +73,20 @@
               }${row.customerAddress || ''}`,
             minWidth: 250,
           },
-          {
-            label: '商品信息',
-            formatter: (row) => <GoodsTableItemList items={row.items} />,
-            minWidth: 250,
-          },
           { label: '订单金额(元)', prop: 'totalAmount', minWidth: 150 },
           { label: '底价(元)', prop: 'supplierAmount', minWidth: 150 },
           { label: '订单状态', prop: 'statusBackendStr', minWidth: 120 },
           { label: '下单时间', prop: 'createTime', minWidth: 180 },
           { label: '合伙人', prop: 'partnerName', minWidth: 120 },
+          { label: '库位', prop: 'warehouseLocationCode', minWidth: 120 },
+          { label: '特殊需求', prop: 'specialNeeds', minWidth: 120 },
+          {
+            label: '备注',
+            formatter: (row) => (
+              <simple-text value={row.remarks} type="primary"></simple-text>
+            ),
+            minWidth: 200,
+          },
         ],
         searchFormAttrs: {
           labelWidth: 'auto',
@@ -153,6 +156,8 @@
                 type: 'input',
                 el: { placeholder: '收货人姓名/手机号' },
               },
+              { label: '收货地址:', id: 'address', type: 'input' },
+              { label: '库位:', id: 'warehouseLocationCode', type: 'input' },
             ],
           },
         ],
@@ -198,7 +203,7 @@
                         for (const tr of trs) {
                           const tds = tr.querySelectorAll('td')
                           if (tds && tds.length > 0) {
-                            tds[0].colSpan = 7
+                            tds[0].colSpan = 8
                             tds[0].style.textAlign = 'center'
                           }
                         }

--
Gitblit v1.9.3