flx:去除质量安全违章人员必填

This commit is contained in:
Rain_ 2025-12-10 18:16:05 +08:00
parent c4314fda7f
commit 6b390ea71d
2 changed files with 10 additions and 10 deletions

View File

@ -42,7 +42,7 @@
</view>
<view class="type flex" v-if="title == '整改'">
<view class="uni-form-label">
<text class="star">*</text>违章人员
违章人员
</view>
<!-- <picker mode="selector" :range="personList" range-key="workerName" @change="handleChangeRegion"
filterable>
@ -344,10 +344,10 @@
})
return
}
if (this.violatorId == "" && this.type == 1) {
this.$message.error("请选择违章人员");
return;
}
// if (this.violatorId == "" && this.type == 1) {
// this.$message.error("");
// return;
// }
let time = this.getNewDate()
let data = {

View File

@ -54,7 +54,7 @@
</view>
<view class="type flex" v-if="title == '整改'">
<view class="name">
<text class="star">*</text>违章人员:
违章人员:
</view>
<!-- <picker mode="selector" :range="personList" range-key="workerName" @change="handleChangeRegion"
filterable>
@ -461,10 +461,10 @@
return
}
if (this.violatorId.length == 0 && this.type == 1) {
this.$message.error("请选择违章人员");
return;
}
// if (this.violatorId.length == 0 && this.type == 1) {
// this.$message.error("");
// return;
// }
let time = this.getNewDate()
let data = {