|
@@ -182,7 +182,7 @@
|
|
|
</el-time-select>
|
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item label="是否支持代金卷" prop="isVoucher">
|
|
|
+ <el-form-item label="是否支持代金券" prop="isVoucher">
|
|
|
<el-radio-group v-model="ruleForm.isVoucher">
|
|
|
<el-radio :disabled="disabled" :label="1">
|
|
|
允许
|
|
@@ -236,6 +236,11 @@
|
|
|
closeable></el-input>
|
|
|
</el-form-item>
|
|
|
|
|
|
+ <el-form-item prop="shopBrief" label="商家简介">
|
|
|
+ <el-input :disabled="disabled" autosize maxlength="250" show-word-limit type="textarea"
|
|
|
+ placeholder="请输入商家简介" v-model="ruleForm.shopBrief" closeable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
<el-form-item prop="advertisement" label="广告图">
|
|
|
<el-upload :disabled="disabled" class="avatar-uploader" list-type="picture-card"
|
|
|
:file-list="advertisementList" :action="action" :on-success="handleAvatarSuccess"
|
|
@@ -351,7 +356,8 @@ export default {
|
|
|
advertisement: '',
|
|
|
classificationId: null, // 商家分类id
|
|
|
startTime: "",
|
|
|
- endTime: ""
|
|
|
+ endTime: "",
|
|
|
+ shopBrief: '', // 商家簡介
|
|
|
},
|
|
|
showPhone: false,
|
|
|
showAddress: false,
|
|
@@ -397,6 +403,11 @@ export default {
|
|
|
perCapita: [
|
|
|
{ required: true, message: "请输入人均消费额", trigger: "blur" }
|
|
|
],
|
|
|
+ shopBrief: [{
|
|
|
+ required: true,
|
|
|
+ message: "请填写商家介绍",
|
|
|
+ trigger: "blur"
|
|
|
+ }],
|
|
|
isVoucher: [
|
|
|
{
|
|
|
required: true,
|