소스 검색

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

萤火科技 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'
         ])
         // 时间范围