Ver código fonte

核销记录时间区间测试

kk.shi 3 anos atrás
pai
commit
545630f68b
1 arquivos alterados com 9 adições e 0 exclusões
  1. 9 0
      pages/welfareMall/writeOff/writeOff.js

+ 9 - 0
pages/welfareMall/writeOff/writeOff.js

@@ -226,6 +226,15 @@ userstoreListView: function(data) {
   },
   //选择日期止期
   bindEndDateChange: function (e) { 
+    let that = this;
+    if(that.data.startDate == null || that.data.startDate == ''){
+      wx.showToast({
+        title: '请选择分账时间起期',
+        icon: 'none',
+        duration: 1500
+      })
+      return;
+    }
     this.setData({
         endDate: e.detail.value,
         hexiaoList: [],