|
@@ -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,
|