Browse Source

Merge pull request #383 from John-Hong/John/release-3.0.0/SCRM-5420

fix(KIP-13987): 补齐用户其他优惠信息
John-Hong 1 năm trước cách đây
mục cha
commit
07e1a6a4dc
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/store/order/paperCoupon.js

+ 1 - 0
src/store/order/paperCoupon.js

@@ -40,6 +40,7 @@ export default {
       setSelected(['coupons','consume','points','memberGrade','newMemberPoints'], orderDetail)
       if (!orderDetail?.discountInfo?.paperCoupons) {
         orderDetail.discountInfo =  {
+          ...orderDetail.discountInfo,
           paperCoupons: []
         }
       }