luobang 1 year ago
parent
commit
8933c3861c

+ 1 - 1
build/utils.js

@@ -17,7 +17,7 @@ const devPathSrc = path.resolve(__dirname, '../../../src') // node_modules应用
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow','ADMINISTRATORS']
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow','ADMINISTRATORS']
 
 
 let devModules = ['all']
 let devModules = ['all']
-// let devModules = ['index', 'statisticalReport', 'inward']
+// let devModules = ['index', 'statisticalReport']
 // let devModules = ['all']/
 // let devModules = ['all']/
 // let devModules = ['index', 'sale']
 // let devModules = ['index', 'sale']
 
 

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

@@ -3427,6 +3427,8 @@ export default {
       this.$refs.remarkPic.clearFiles()
       this.$refs.remarkPic.clearFiles()
     },
     },
     openReceive() {
     openReceive() {
+      this.fileListArrival = []
+      this.fileListReceive = []
       if (Object.values(this.steelMap).length == 0) {
       if (Object.values(this.steelMap).length == 0) {
         this.$message.warning('请选择需要补录的实绩')
         this.$message.warning('请选择需要补录的实绩')
         return
         return
@@ -3485,7 +3487,6 @@ export default {
       this.axios
       this.axios
         .post('/api/v1/otms/getReceivingPhotoByUrl?orderNumber=' + row.orderNo)
         .post('/api/v1/otms/getReceivingPhotoByUrl?orderNumber=' + row.orderNo)
         .then(res => {
         .then(res => {
-          console.log('ReceivingPhoto:', res)
           if (res.data) {
           if (res.data) {
             this.receiveList = []
             this.receiveList = []
             res.data.forEach((e, index) => {
             res.data.forEach((e, index) => {
@@ -3527,7 +3528,7 @@ export default {
       if (this.arrivalTime) {
       if (this.arrivalTime) {
         formData.append('arrivalTime', sjTime(this.arrivalTime))
         formData.append('arrivalTime', sjTime(this.arrivalTime))
       }
       }
-      formData.append('userName',getCookie('loginName'));
+      formData.append('userName', getCookie('loginName'))
       let options = {
       let options = {
         // 设置axios的参数
         // 设置axios的参数
         url: '/api/v1/otms/addtmstruckArrivalResult',
         url: '/api/v1/otms/addtmstruckArrivalResult',
@@ -3568,6 +3569,8 @@ export default {
           this.tableRowIndex = ''
           this.tableRowIndex = ''
         })
         })
       })
       })
+      this.fileListReceive = []
+      this.fileListArrival = []
     },
     },
     fileChange1(file, fileList) {
     fileChange1(file, fileList) {
       this.fileListArrival = fileList
       this.fileListArrival = fileList