This commit is contained in:
liushuai
2019-09-05 10:33:39 +08:00
parent 653abcfc59
commit afcda77786
19 changed files with 4558 additions and 81 deletions

View File

@@ -181,7 +181,8 @@ export default {
classificationCode
console.log(this.worksheet[j].M2.v.substring(0, 1))
this.group = this.worksheet[j].M2.v.substring(0, this.worksheet[j].M2.v.indexOf('-')) + '组'
if (this.worksheet[j].M2.v.substring(0, 1) === '9') {
console.log(this.worksheet[j].J2.v.substring(0, 2), 11111111111)
if (this.worksheet[j].M2.v.substring(0, 1) === '9' && this.worksheet[j].J2.v.substring(0, 2) === '整改') {
const response = await isExit(this.projectValue, this.worksheet[j].F2.v)
const res = response.data
if (res[0].Column1 === 0) {
@@ -240,6 +241,7 @@ export default {
} catch (e) {
console.log(e)
this.err++
this.loading = false
this.$notify.error(`导入数据错误,请检查导入文件是否正确`)
console.log(`导入数据错误${e}`)
}