Просмотр исходного кода

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

萤火科技 5 лет назад
Родитель
Сommit
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'
         ])
         // 时间范围