优化代码

Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
java110 2024-03-29 08:23:17 +00:00 committed by Gitee
parent e24639e63d
commit afd7c0abfc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -98,15 +98,24 @@
_audit.staffId = this.nextAudit.assignee;
}
if (!_audit.auditCode) {
vc.toast('请选择状态');
uni.showToast({
icon:'none',
title:'请选择状态'
});
return;
}
if (!_audit.auditMessage) {
vc.toast('请填写说明');
uni.showToast({
icon:'none',
title:'请填写说明'
});
return;
}
if (_audit.auditCode != '1200' && _audit.auditCode != '1400' && !_audit.staffId) {
vc.toast('请选择下一节点处理人');
uni.showToast({
icon:'none',
title:'请选择下一节点处理人'
});
return;
}
auditUndoItemRelease(this, _audit).then(_data => {