Parcourir la source

Finish Hotfix-zh-229

Howie il y a 3 ans
Parent
commit
905f94ebbb
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  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');