mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 12:18:43 +08:00 
			
		
		
		
	@@ -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: [] // 仅用于表单,不提交
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user