Ver código fonte

订单交货日期搜索修改

yejian 3 anos atrás
pai
commit
985be22055

+ 2 - 2
imcs-ui/src/views/zuihou/runManageCenter/orderMgr/components/draftOrder/index.vue

@@ -492,8 +492,8 @@
 	    fetch (params = {}) {
 	      this.loading = true
 	      if (this.queryParams.timeRange) {
-	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0]
-	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1]
+	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0] + " 00:00:00"
+	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1] + " 23:59:59"
 	      }
 
 	      this.queryParams.current = params.current ? params.current : this.queryParams.current

+ 2 - 2
imcs-ui/src/views/zuihou/runManageCenter/orderMgr/components/failAuditOrder/index.vue

@@ -469,8 +469,8 @@
 	    fetch (params = {}) {
 	      this.loading = true
 	      if (this.queryParams.timeRange) {
-	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0]
-	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1]
+	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0] + " 00:00:00"
+	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1] + " 23:59:59"
 	      }
 
 	      this.queryParams.current = params.current ? params.current : this.queryParams.current

+ 2 - 2
imcs-ui/src/views/zuihou/runManageCenter/orderMgr/components/finishedOrder/index.vue

@@ -479,8 +479,8 @@
 	    fetch (params = {}) {
 	      this.loading = true
 	      if (this.queryParams.timeRange) {
-	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0]
-	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1]
+	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0] + " 00:00:00"
+	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1] + " 23:59:59"
 	      }
 
 	      this.queryParams.current = params.current ? params.current : this.queryParams.current

+ 2 - 2
imcs-ui/src/views/zuihou/runManageCenter/orderMgr/components/outNewOrder/index.vue

@@ -463,8 +463,8 @@
 	    fetch (params = {}) {
 	      this.loading = true
 	      if (this.queryParams.timeRange) {
-	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0]
-	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1]
+	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0] + " 00:00:00"
+	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1] + " 23:59:59"
 	      }
 
 	      this.queryParams.current = params.current ? params.current : this.queryParams.current

+ 2 - 2
imcs-ui/src/views/zuihou/runManageCenter/orderMgr/components/reviewedOrder/index.vue

@@ -493,8 +493,8 @@
 	    fetch (params = {}) {
 	      this.loading = true
 	      if (this.queryParams.timeRange) {
-	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0]
-	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1]
+	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0] + " 00:00:00"
+	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1] + " 23:59:59"
 	      }
 
 	      this.queryParams.current = params.current ? params.current : this.queryParams.current

+ 4 - 4
imcs-ui/src/views/zuihou/runManageCenter/orderMgr/components/runningOrder/index.vue

@@ -1021,13 +1021,13 @@
 	      this.loading = true
 	      // 如果【订单交货日期】有值
 	      if (this.queryParams.timeRange) {
-	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0]
-	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1]
+	        this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0] + " 00:00:00"
+	        this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1] + " 23:59:59"
 	      }
 	      // 如果【零件交货日期】有值
 	      if (this.queryParams.timeRange1) {
-	        this.queryParams.model.pdeliveryTimeStart = this.queryParams.timeRange1[0]
-	        this.queryParams.model.pdeliveryTimeEnd = this.queryParams.timeRange1[1]
+	        this.queryParams.model.pdeliveryTimeStart = this.queryParams.timeRange1[0] + " 00:00:00"
+	        this.queryParams.model.pdeliveryTimeEnd = this.queryParams.timeRange1[1] + " 23:59:59"
 	      }
 
 	      this.queryParams.current = params.current ? params.current : this.queryParams.current