From ca132e74ee3f8c472b75d10f9a67b9038b09ac6d Mon Sep 17 00:00:00 2001
From: mkm <727897186@qq.com>
Date: Sat, 10 Aug 2024 17:49:58 +0800
Subject: [PATCH] 1
---
src/components/storePop/index.vue | 31 ++-
src/views/order/store_order/add.vue | 273 ++++++++++++++++++++++++++
src/views/order/store_order/index.vue | 8 +
3 files changed, 303 insertions(+), 9 deletions(-)
create mode 100644 src/views/order/store_order/add.vue
diff --git a/src/components/storePop/index.vue b/src/components/storePop/index.vue
index 41c704fa..39c554c1 100644
--- a/src/components/storePop/index.vue
+++ b/src/components/storePop/index.vue
@@ -2,10 +2,20 @@
-
+
-
+
查询
@@ -21,7 +31,11 @@
-
+
@@ -46,7 +60,6 @@ import { timeFormat } from '@/utils/util'
import feedback from '@/utils/feedback'
import { ElMessage } from 'element-plus'
-
// 查询条件
const queryParams = reactive({
name: '',
@@ -70,13 +83,13 @@ const { pager, getLists, resetParams, resetPage } = usePaging({
params: queryParams
})
-getLists();
+getLists()
-const emits = defineEmits(["onBindStore"]);
+const emits = defineEmits(['onBindStore'])
// 绑定用户
const bindStore = () => {
- let list = pager.lists.filter(item => selectData.value.includes(item.id));
- if (!list.length) return ElMessage.error('请先选择门店');
+ const list = pager.lists.filter((item) => selectData.value.includes(item.id))
+ if (!list.length) return ElMessage.error('请先选择门店')
emits('onBindStore', list)
-};
+}
diff --git a/src/views/order/store_order/add.vue b/src/views/order/store_order/add.vue
new file mode 100644
index 00000000..b364cc5c
--- /dev/null
+++ b/src/views/order/store_order/add.vue
@@ -0,0 +1,273 @@
+
+
+ 新增订单
+
+
+
+
+
+
+
+
+
+
+ 选择 门店
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ row.is_show ? '营业' : '打烊' }}
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+ 添加商品
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/order/store_order/index.vue b/src/views/order/store_order/index.vue
index aedd2464..1aeb063f 100644
--- a/src/views/order/store_order/index.vue
+++ b/src/views/order/store_order/index.vue
@@ -69,6 +69,14 @@
+
+ 添加订单
+
全部
待支付
待核销