|
|
@@ -4,9 +4,9 @@
|
|
|
|
|
|
<el-row :gutter="10">
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="" prop="poi_logo">
|
|
|
+ <el-form-item label="" prop="poi_logo" class="border">
|
|
|
<sc-upload v-model="formData.poi_logo" title="店铺LOGO"></sc-upload>
|
|
|
- <div class="el-form-item-msg">小程序前端展示</div>
|
|
|
+ <div class="el-form-item-msg text-center">小程序前端展示</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="18">
|
|
|
@@ -14,40 +14,53 @@
|
|
|
<el-input v-model="formData.poi_name" disabled readonly clearable placeholder="请输入"></el-input>
|
|
|
<div class="el-form-item-msg"></div>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="客服电话" prop="service_mobile">
|
|
|
- <el-input v-model="formData.service_mobile" clearable placeholder="请输入"></el-input>
|
|
|
- <div class="el-form-item-msg"></div>
|
|
|
+ <el-row :gutter="10">
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="到期时间" prop="vip_end">
|
|
|
+ <el-date-picker v-model="formData.vip_end" style="width: 100%" placeholder="请选择" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="客服电话" prop="service_mobile">
|
|
|
+ <el-input v-model="formData.service_mobile" clearable placeholder="请输入"></el-input>
|
|
|
+ <div class="el-form-item-msg"></div>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="营业时间">
|
|
|
+ <el-row :gutter="10">
|
|
|
+ <el-col :span="11">
|
|
|
+ <el-time-select v-model="formData.start_at" start="00:00" step="00:01" end="23:59" placeholder="请选择" style="width: 100%"/>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2" class="text-center">
|
|
|
+ <span class="text-gray-500">-</span>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="11">
|
|
|
+ <el-time-select v-model="formData.end_at" start="00:00" step="00:01" end="23:59" placeholder="请选择" style="width: 100%"/>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <div class="el-form-item-msg">营业时间为必选,否则小程序端无法下单</div>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="可核销时段">
|
|
|
+ <el-row :gutter="10">
|
|
|
+ <el-col :span="11">
|
|
|
+ <el-time-select v-model="formData.order_start" start="00:00" step="00:01" end="23:59" placeholder="请选择" style="width: 100%"/>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2" class="text-center">
|
|
|
+ <span class="text-gray-500">-</span>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="11">
|
|
|
+ <el-time-select v-model="formData.order_end" start="00:00" step="00:01" end="23:59" placeholder="请选择" style="width: 100%"/>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <div class="el-form-item-msg">默认为09:00 - 22:30</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-form-item label="营业时间">
|
|
|
- <el-row :gutter="10">
|
|
|
- <el-col :span="11">
|
|
|
- <el-time-select v-model="formData.start_at" start="00:00" step="00:01" end="23:59" placeholder="请选择" style="width: 100%"/>
|
|
|
- </el-col>
|
|
|
- <el-col :span="2" class="text-center">
|
|
|
- <span class="text-gray-500">-</span>
|
|
|
- </el-col>
|
|
|
- <el-col :span="11">
|
|
|
- <el-time-select v-model="formData.end_at" start="00:00" step="00:01" end="23:59" placeholder="请选择" style="width: 100%"/>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <div class="el-form-item-msg">营业时间为必选,否则小程序端无法下单</div>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="可核销时段">
|
|
|
- <el-row :gutter="10">
|
|
|
- <el-col :span="11">
|
|
|
- <el-time-select v-model="formData.order_start" start="00:00" step="00:01" end="23:59" placeholder="请选择" style="width: 100%"/>
|
|
|
- </el-col>
|
|
|
- <el-col :span="2" class="text-center">
|
|
|
- <span class="text-gray-500">-</span>
|
|
|
- </el-col>
|
|
|
- <el-col :span="11">
|
|
|
- <el-time-select v-model="formData.order_end" start="00:00" step="00:01" end="23:59" placeholder="请选择" style="width: 100%"/>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <div class="el-form-item-msg">默认为09:00 - 22:30</div>
|
|
|
- </el-form-item>
|
|
|
<el-row :gutter="10">
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="团购结算费率" prop="life_rate">
|
|
|
@@ -66,8 +79,11 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="到期时间" prop="vip_end">
|
|
|
- <el-date-picker v-model="formData.vip_end" :style="{width: '100%'}" placeholder="请选择" />
|
|
|
+ <el-form-item label="核销方式" prop="trade_type">
|
|
|
+ <el-select v-model="formData.trade_type" style="width: 100%;">
|
|
|
+ <el-option :value="1" label="立即核销"></el-option>
|
|
|
+ <el-option :value="2" label="物流核销"></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
@@ -108,6 +124,9 @@ export default {
|
|
|
poi_logo: [
|
|
|
{required: true, message: '请上传'}
|
|
|
],
|
|
|
+ trade_type: [
|
|
|
+ {required: true, message: '请选择'}
|
|
|
+ ],
|
|
|
service_mobile: [
|
|
|
{required: true, message: '请输入'}
|
|
|
],
|
|
|
@@ -181,4 +200,5 @@ export default {
|
|
|
|
|
|
<style>
|
|
|
.text-center{text-align: center;}
|
|
|
+.border{border: 1px solid var(--el-disabled-border-color);}
|
|
|
</style>
|