自动计算ROI测量值更改
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2026-03-02 11:13:29 +08:00
parent c0ae4732fc
commit 3fca2e76cb
1 changed files with 10 additions and 10 deletions

View File

@ -681,16 +681,16 @@ export default {
}, },
setFormItemData(obj) { setFormItemData(obj) {
this.qsForm[obj.key] = obj.val this.qsForm[obj.key] = obj.val
// if (obj.key === this.eemId || obj.key === this.lumenId) { if (obj.key === this.eemId || obj.key === this.lumenId) {
// const eem = this.qsForm[this.eemId] const eem = this.qsForm[this.eemId]
// const lumen = this.qsForm[this.lumenId] const lumen = this.qsForm[this.lumenId]
// if (isNaN(parseFloat(eem)) || isNaN(parseFloat(lumen))) { if (isNaN(parseFloat(eem)) || isNaN(parseFloat(lumen))) {
// this.$set(this.qsForm, this.diffId, null) this.$set(this.qsForm, this.diffId, null)
// } else { } else {
// const diff = parseFloat(eem) - parseFloat(lumen) const diff = parseFloat(eem) - parseFloat(lumen)
// this.$set(this.qsForm, this.diffId, this.numberToFixed(diff)) this.$set(this.qsForm, this.diffId, this.numberToFixed(diff))
// } }
// } }
}, },
handleAddOrEdit(type, row, index) { handleAddOrEdit(type, row, index) {
this.addOrEdit.title = row.QuestionName this.addOrEdit.title = row.QuestionName