新增需求
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
<AiUploader :def.sync="form.fileList" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"></AiUploader>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info mar-b16" v-if="form.handleType == 6">
|
||||
<div class="info mar-b16" v-if="form.handleType == 6 || form.handleType == 2">
|
||||
<div class="item solid">
|
||||
<div class="label">
|
||||
<span class="tips">*</span>移交对象
|
||||
@@ -215,19 +215,19 @@ export default {
|
||||
// return this.$u.toast('请选择管控方式')
|
||||
// }
|
||||
|
||||
if(this.form.handleType == 6 && this.form.handoverObject === '') {
|
||||
if([2, 6].includes(this.form.handleType) && this.form.handoverObject === '') {
|
||||
return this.$u.toast('请选择移交对象')
|
||||
}
|
||||
if(this.form.handleType == 6 && this.form.handoverMethod === '') {
|
||||
if([2, 6].includes(this.form.handleType) && this.form.handoverMethod === '') {
|
||||
return this.$u.toast('请选择移交方式')
|
||||
}
|
||||
if(this.form.handleType == 6 && !this.form.handoverPersonName) {
|
||||
if([2, 6].includes(this.form.handleType) && !this.form.handoverPersonName) {
|
||||
return this.$u.toast('请输入交接人姓名')
|
||||
}
|
||||
// if(this.form.handleType == 6 && this.form.handoverPersonPhone && !/^1[0-9]{10,10}$/.test(this.form.handoverPersonPhone)) {
|
||||
// return this.$u.toast("请输入正确的手机号码");
|
||||
// }
|
||||
if(this.form.handleType == 6 && !this.form.fileList.length) {
|
||||
if([2, 6].includes(this.form.handleType) && !this.form.fileList.length) {
|
||||
return this.$u.toast('请上传交接图片')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user