巡检对象 kks 下拉框值的追加

main
weitingdong 11 months ago
parent 85f07eda33
commit 19dd650da2
  1. 3
      src/views/inspection/inspectionobject.vue
  2. 6
      src/views/inspection/inspectionobjectDetail.vue

@ -387,6 +387,7 @@
return; return;
} }
this.cancelBox = true; this.cancelBox = true;
this.$refs.cancelForm.resetForm();
}, },
handleDetailCancel() { handleDetailCancel() {
this.$confirm("是否将选择数据改为失效状态?", { this.$confirm("是否将选择数据改为失效状态?", {
@ -398,7 +399,7 @@
return lapse(this.ids, this.cancelForm.cancelReason); return lapse(this.ids, this.cancelForm.cancelReason);
}) })
.then(() => { .then(() => {
this.cancelForm.cancelReason = ''; this.$refs.cancelForm.resetForm();
this.cancelBox = false; this.cancelBox = false;
this.onLoad(this.page); this.onLoad(this.page);
this.$message({ this.$message({

@ -130,6 +130,12 @@ export default {
prop: "kksNo", prop: "kksNo",
search:true, search:true,
span:8, span:8,
type: "select",
dicUrl: "/api/equipmentledger/getKksList",
props: {
label: "kksEncoding",
value: "kksEncoding",
},
rules: [{ rules: [{
required: true, required: true,
message: "请输入KKS编号", message: "请输入KKS编号",

Loading…
Cancel
Save