Skip to content

Commit a13e8b7

Browse files
committed
Merge branch 'master' of https://gitee.com/yudaocode/yudao-ui-admin-vue3 into dev
2 parents c4f7aa7 + 0112e72 commit a13e8b7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,18 @@
172172
/>
173173
天有效
174174
</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>
175187
</el-form>
176188
<template #footer>
177189
<el-button :disabled="formLoading" type="primary" @click="submitForm">确 定</el-button>
@@ -218,6 +230,7 @@ const formData = ref({
218230
fixedStartTerm: undefined,
219231
fixedEndTerm: undefined,
220232
productScope: PromotionProductScopeEnum.ALL.scope,
233+
description: undefined,
221234
productScopeValues: [], // 商品范围:值为 品类编号列表 或 商品编号列表 ,用于提交
222235
productCategoryIds: [], // 仅用于表单,不提交
223236
productSpuIds: [] // 仅用于表单,不提交

0 commit comments

Comments
 (0)