Browse Source

质控模板-首页质控-扣分回显

liyanyan 1 month ago
parent
commit
94166a853b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/recordsRoom/qc/components/CreateControlResultDialog.vue

+ 1 - 1
src/views/recordsRoom/qc/components/CreateControlResultDialog.vue

@@ -324,7 +324,7 @@ export default {
       const nodeData = this.$refs.zkInfoRef.getCheckedNodes(true)
       console.log('选中', nodeData)
       this.ruleFormDisabled.level = nodeData[0].data.level
-      this.ruleFormDisabled.score = nodeData[0].data.score
+      this.ruleFormDisabled.score = nodeData[0].parent.value == 1 ? nodeData[0].data.down : nodeData[0].data.score
     },
     success(msg) {
       this.$message({