This commit is contained in:
熊成强 2020-11-11 11:47:11 +08:00
parent 93abb615d0
commit a4befbb5ee

View File

@ -262,11 +262,6 @@ export default {
}
})
},
handleAddIndicators (item) {
console.log(item)
this.showIndicators = true
this.formIndicators = Object.assign({}, item)
},
//
hanidleEdit (item, index, type) {
if (item.maxCount !== null) {
@ -278,7 +273,9 @@ export default {
}
}
if (index === -1) {
this.formIndicators = {}
this.formIndicators = {
checkWeight: 0
}
} else {
this.formIndicators = Object.assign({}, item)
this.formIndicators.checkWeight = this.formIndicators.checkWeight * 100