luobang 1 yıl önce
ebeveyn
işleme
621a038503

+ 3 - 2
src/views/statisticalReport/components/salesLogisticsStatistics/saleSteelReports.vue

@@ -3503,6 +3503,7 @@ export default {
         })
         })
     },
     },
     arrivalAndReceive() {
     arrivalAndReceive() {
+      console.log(this.fileListReceive, 'fileListReceive')
       if (!this.location) {
       if (!this.location) {
         this.$message.warning(
         this.$message.warning(
           '签收地址必须取车辆定位!若取不到请联系销售公司上传!'
           '签收地址必须取车辆定位!若取不到请联系销售公司上传!'
@@ -3539,6 +3540,7 @@ export default {
         }
         }
       }
       }
       this.axios(options).then(res => {
       this.axios(options).then(res => {
+        this.fileListArrival = []
         console.log('arrivalRes:', res)
         console.log('arrivalRes:', res)
         //上传签收
         //上传签收
         let formData = new window.FormData()
         let formData = new window.FormData()
@@ -3567,10 +3569,9 @@ export default {
           this.closeUpload()
           this.closeUpload()
           this.refresh()
           this.refresh()
           this.tableRowIndex = ''
           this.tableRowIndex = ''
+          this.fileListReceive = []
         })
         })
       })
       })
-      this.fileListReceive = []
-      this.fileListArrival = []
     },
     },
     fileChange1(file, fileList) {
     fileChange1(file, fileList) {
       this.fileListArrival = fileList
       this.fileListArrival = fileList