Browse Source

正式订单

szdq
wangxy 3 years ago
parent
commit
cfe5bba45f
1 changed files with 0 additions and 14 deletions
  1. +0
    -14
      src/views/plan/basic/formalOrder/upload.vue

+ 0
- 14
src/views/plan/basic/formalOrder/upload.vue View File

@ -72,7 +72,6 @@ export default {
} else {
const uploadData = new FormData()
uploadData.append('upload', this.excle)
console.log(this.first)
formalImportFile(uploadData, this.currentVersionId, this.first).then(res => {
this.uploadLoading = false
if (res.code === 200) {
@ -83,22 +82,9 @@ export default {
type: 'success'
})
this.$emit('editCallBack', res.code)
} else {
this.$message({
showClose: true,
duration: 2000,
message: res.msg,
type: 'error'
})
}
}).catch((res) => {
this.uploadLoading = false
this.$message({
showClose: true,
duration: 2000,
message: res.msg,
type: 'error'
})
})
}
},


Loading…
Cancel
Save