Commit 95e84e9d by 杨树贤

添加采购员不走审核

parent 54f17a40
Showing with 0 additions and 4 deletions
......@@ -448,10 +448,6 @@ class SupplierService
'update_time' => time(),
'channel_uid' => $preChannelUid,
];
//还要判断是否要进入审核状态,如果有忽略分配采购员进入审核的权限,那么就不用进入待审核状态
if (!checkPerm('IgnoreAllocateChannelUserAudit')) {
$data['status'] = SupplierChannelModel::STATUS_IN_REVIEW;
}
$result = SupplierChannelModel::where('supplier_id', $supplierId)->update($data);
} else {
$result = SupplierChannelModel::where('supplier_id', $supplierId)->update([
......
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