巡检对象 工器具编码对应

main
weitingdong 11 months ago
parent 56f87ea19f
commit b1421d227b
  1. 4
      src/views/inspection/inspectionobject.vue
  2. 6
      src/views/inspection/inspectionobjectDetail.vue

@ -200,6 +200,10 @@
trigger: "blur"
}]
},
{
label: "工器具编码",
prop: "toolsCodeId"
}
]
},
cancelForm: {},

@ -107,7 +107,6 @@ export default {
}
}else{
const toolsCodeId = this.findObject(this.option.column, "toolsCodeId");
this.form.toolsCodeId=' ';
toolsCodeId.display = false;
const kksNo = this.findObject(this.option.column, "kksNo");
kksNo.disabled = false;
@ -207,6 +206,11 @@ export default {
label: "toolsCodeId",
value: "toolsCodeId",
},
rules: [{
required: true,
message: "请输入工器具编码",
trigger: "blur"
}],
event: {
change: (val) => {
if (!val) return

Loading…
Cancel
Save