mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-23 21:36:39 +08:00
优化代码
Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
parent
e24639e63d
commit
afd7c0abfc
@ -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 => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user