Commit 8e703229 by 杨树贤

审核流程被阻塞

parent c1b975e3
......@@ -107,7 +107,7 @@ class SupplierFilter
}
//默认过滤带有-1字符串的供应商名称的数据
$query->whereRaw('supplier_name NOT LIKE "%-1"');
if (config('website.domain') == 'liexin.net' && request()->user->userId != 1000) {
if (config('website.domain') == 'liexin.net' && !in_array(request()->user->userId, [1611, 1499, 1354, 1613])) {
$query->where('supplier_id', '>', 12211);
}
return $query;
......
......@@ -159,7 +159,7 @@ class SupplierValidator
//如果付款方式为账期,那么月结天数一定要选
if ($validateData['pay_type'] == 1) {
if (!$validateData['pay_type_value']) {
if (!array_get($validateData, 'pay_type_value')) {
$errorMessageList[] = '付款方式选择账期,月结天数必须设置';
}
}
......
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