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 @@ + + + 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 @@ + + 添加订单 + 全部 待支付 待核销