瀏覽代碼

修复:编辑优惠券默认状态不正确

萤火科技 5 年之前
父節點
當前提交
a425d0c0b3
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      src/views/market/coupon/Update.vue

+ 1 - 1
src/views/market/coupon/Update.vue

@@ -216,7 +216,7 @@ export default {
       !isEmpty(form.getFieldsValue()) && $nextTick(() => {
         // 表单数据
         const data = pick(record, [
-          'name', 'coupon_type', 'reduce_price', 'discount', 'min_price',
+          'name', 'coupon_type', 'reduce_price', 'discount', 'min_price', 'status',
           'expire_type', 'expire_day', 'apply_range', 'total_num', 'describe', 'sort'
         ])
         // 时间范围