完成商城下单功能
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
<template>
|
||||
<a-space :size="10" style="flex-wrap: wrap">
|
||||
<SelectMerchantDown
|
||||
v-if="!getMerchantId()"
|
||||
:placeholder="`选择场馆`"
|
||||
class="input-item"
|
||||
v-model:value="where.merchantCode"
|
||||
v-model:value="where.merchantId"
|
||||
@change="search"
|
||||
/>
|
||||
<a-date-picker
|
||||
@@ -44,7 +45,7 @@
|
||||
import { OrderParam } from '@/api/shop/order/model';
|
||||
import { getNativeCode } from '@/api/system/payment';
|
||||
import { getNext7day, getServerTime } from '@/api/layout';
|
||||
import { getWeek } from '@/utils/common';
|
||||
import { getMerchantId } from '@/utils/common';
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
@@ -76,7 +77,7 @@
|
||||
isStatus: 0,
|
||||
merchantCode: undefined,
|
||||
week: 0,
|
||||
merchantId: undefined
|
||||
merchantId: getMerchantId()
|
||||
});
|
||||
|
||||
/* 搜索 */
|
||||
@@ -114,8 +115,8 @@
|
||||
getServerTime().then((res) => {
|
||||
serverTime.value = res;
|
||||
where.dateTime = res.today;
|
||||
where.merchantId = 3032;
|
||||
where.merchantCode = '37';
|
||||
where.merchantId = getMerchantId();
|
||||
// where.merchantCode = '37';
|
||||
where.isStatus = 0;
|
||||
emit('search', where);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user