Commit d634c125 by 杨树贤

校验

parent 643e9515
......@@ -34,9 +34,9 @@ class SupplierCrmApiController extends Controller
if ($auditOpinion == 'disagree' && empty($remark)) {
$this->response(-1, '请填写原因说明');
}
if ($auditOpinion == 'agree' && empty($channelUid)) {
$this->response(-1, '请指定采购员');
}
// if ($auditOpinion == 'agree' && empty($channelUid)) {
// $this->response(-1, '请指定采购员');
// }
$approvalStatus = $auditOpinion == 'agree' ? 1 : 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment