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