This commit is contained in:
YunaiV
2024-08-27 09:00:11 +08:00

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: [] // 仅用于表单,不提交