Skip to content

Commit 15bd591

Browse files
committed
【代码优化】商城:优惠劵的描述字段新增
1 parent 7414a04 commit 15bd591

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/views/mall/promotion/coupon/template/CouponTemplateForm.vue

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@
1010
<el-form-item label="优惠券名称" prop="name">
1111
<el-input v-model="formData.name" placeholder="请输入优惠券名称" />
1212
</el-form-item>
13+
<el-form-item label="优惠券描述" prop="description">
14+
<el-input
15+
v-model="formData.description"
16+
:autosize="{ minRows: 2, maxRows: 2 }"
17+
:clearable="true"
18+
:show-word-limit="true"
19+
class="w-1/1!"
20+
maxlength="512"
21+
placeholder="请输入优惠券描述"
22+
type="textarea"
23+
/>
24+
</el-form-item>
1325
<el-form-item label="优惠劵类型" prop="productScope">
1426
<el-radio-group v-model="formData.productScope">
1527
<el-radio
@@ -172,18 +184,6 @@
172184
/>
173185
天有效
174186
</el-form-item>
175-
<el-form-item label="优惠券描述" prop="description">
176-
<el-input
177-
v-model="formData.description"
178-
:autosize="{ minRows: 2, maxRows: 2 }"
179-
:clearable="true"
180-
:show-word-limit="true"
181-
class="w-100!"
182-
maxlength="64"
183-
placeholder="请输入优惠券描述"
184-
type="textarea"
185-
/>
186-
</el-form-item>
187187
</el-form>
188188
<template #footer>
189189
<el-button :disabled="formLoading" type="primary" @click="submitForm">确 定</el-button>

0 commit comments

Comments
 (0)