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

View File

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