许成详 6 年之前
父節點
當前提交
b57b0aa089
共有 2 個檔案被更改,包括 4 行新增4 行删除
  1. 1
    1
      dist/index.html
  2. 3
    3
      src/pages/system/cardAndCouponManager/couponManager/edit.vue

+ 1
- 1
dist/index.html 查看文件

1
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><title>城的空间后台管理系统</title><link href=./static/css/app.224e2a86393b63b0994faf1e7bd8710a.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.992319e39e0ff64940a3.js></script><script type=text/javascript src=./static/js/app.15196c425f3d13398719.js></script></body></html>
1
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><title>城的空间后台管理系统</title><link href=./static/css/app.2cdb845c0d5d55c26614acbd6458e5d7.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.992319e39e0ff64940a3.js></script><script type=text/javascript src=./static/js/app.7d24608c728c729ad3a2.js></script></body></html>

+ 3
- 3
src/pages/system/cardAndCouponManager/couponManager/edit.vue 查看文件

745
           })
745
           })
746
         })
746
         })
747
       } else {
747
       } else {
748
+        if (!this.checkInfo()) {
749
+          return false
750
+        }
748
         if (this.couponInfo.ValidDays) {
751
         if (this.couponInfo.ValidDays) {
749
           this.couponInfo.StartDate = undefined
752
           this.couponInfo.StartDate = undefined
750
           this.couponInfo.EndDate = undefined
753
           this.couponInfo.EndDate = undefined
771
             return false
774
             return false
772
           }
775
           }
773
         }
776
         }
774
-        if (!this.checkInfo()) {
775
-          return false
776
-        }
777
         this.addCoupon({
777
         this.addCoupon({
778
           ...this.couponInfo,
778
           ...this.couponInfo,
779
           IsAll: this.couponInfo.IsAll - 0,
779
           IsAll: this.couponInfo.IsAll - 0,