瀏覽代碼

补充提交

lph 1 年之前
父節點
當前提交
860e5b470e
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      zkqy-ui/src/views/bussiness/dialogCompments/Mec/RecordQuality.vue

+ 3 - 1
zkqy-ui/src/views/bussiness/dialogCompments/Mec/RecordQuality.vue

@@ -100,7 +100,9 @@ export default {
         // this.form = JSON.parse(JSON.stringify(nval.resultMap));
         Object.assign(this.form, nval.resultMap);
         this.$set(this.form, "card", nval.resultMap.qualityControlCard);
-        this.isEdit = this.form.taskProcessKey && this.form.taskNodeKey;
+        this.isEdit =
+          typeof this.form.taskProcessKey !== "undefined" &&
+          typeof this.form.taskNodeKey !== "undefined";
       },
       deep: true,
       immediate: true,