This commit is contained in:
liushuai
2019-07-06 12:25:48 +08:00
parent 7653ac202f
commit 6fb4d045b7
13 changed files with 504 additions and 13 deletions

View File

@@ -413,7 +413,7 @@ export default {
if (groupNum.indexOf('MX') > -1) {
const response = await importBasics(establishment, proofread, review, date, this.projectName, machineNum, machineName, componentName, componentNum, this.group, contractNum, totalNum, pageNum, drawingNum, name, type, material, spareNum, useNum, manufacturer, remarks, classificationCode)
const res = response.data
console.log(res)
console.log(res, 11111111)
if (res.result[0].result === '0') {
this.$notify.error(`${drawingNum}导入失败`)
}
@@ -433,6 +433,7 @@ export default {
}
}
} catch (e) {
console.log('哈哈哈哈')
this.err++
this.$message.error(`导入数据错误`)
console.log(`导入数据错误${e}`)