!530 【功能优化】商城优惠券新增描述字段

Merge pull request !530 from 卢越/master
pull/532/head
芋道源码 2024-08-27 00:59:41 +00:00 committed by Gitee
commit 0112e7203e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 13 additions and 0 deletions

View File

@ -172,6 +172,18 @@
/>
天有效
</el-form-item>
<el-form-item label="优惠券描述" prop="description">
<el-input
v-model="formData.description"
:autosize="{ minRows: 2, maxRows: 2 }"
:clearable="true"
:show-word-limit="true"
class="w-100!"
maxlength="64"
placeholder="请输入优惠券描述"
type="textarea"
/>
</el-form-item>
</el-form>
<template #footer>
<el-button :disabled="formLoading" type="primary" @click="submitForm"> </el-button>
@ -218,6 +230,7 @@ const formData = ref({
fixedStartTerm: undefined,
fixedEndTerm: undefined,
productScope: PromotionProductScopeEnum.ALL.scope,
description: undefined,
productScopeValues: [], //
productCategoryIds: [], //
productSpuIds: [] //