Explorar o código

【修改】 bug

Howie %!s(int64=3) %!d(string=hai) anos
pai
achega
024b525753
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/views/supply/deliver/sum_list.vue

+ 4 - 4
src/views/supply/deliver/sum_list.vue

@@ -597,8 +597,8 @@ export default {
         serviceId: this.screenForm.salesMan,
         k3ServiceId: this.screenForm.k3ServiceId,
         mainOrderId: this.screenForm.mainOrderId,
-        approvalEndTime: this.screenForm.approvaTime ? this.screenForm.approvaTime[0] : '',
-        approvalStartTime: this.screenForm.approvaTime ? this.screenForm.approvaTime[1] : '',
+        approvalEndTime: this.screenForm.approvaTime ? this.screenForm.approvaTime[1] : '',
+        approvalStartTime: this.screenForm.approvaTime ? this.screenForm.approvaTime[0] : '',
       };
 
 
@@ -632,8 +632,8 @@ export default {
         serviceId: this.screenForm.salesMan,
         k3ServiceId: this.screenForm.k3ServiceId,
         mainOrderId: this.screenForm.mainOrderId,
-        approvalEndTime: this.screenForm.approvaTime[1],
-        approvalStartTime: this.screenForm.approvaTime[0]
+        approvalEndTime: this.screenForm.approvaTime ? this.screenForm.approvaTime[1] : '',
+        approvalStartTime: this.screenForm.approvaTime ? this.screenForm.approvaTime[0] : '',
       };
       getListInvoiceNumber(params).then(res => {
         // console.log(res,'ii');