Commit 0b98a151 by 杨树贤

供应商名称

parent 1754e2bb
Showing with 1 additions and 3 deletions
......@@ -32,7 +32,6 @@ class SupplierValidator
return '供应商名称不能为空';
}
if ($validateData['supplier_name']) {
//新增的时候要先去检验下一体化的数据,如果是实体黑名单用户,那么就不允许新增
$regionType = $validateData['region'] == SupplierChannelModel::REGION_CN ? 1 : 2;
//还要校验提交上来的公司是否有合法信息
......@@ -51,7 +50,6 @@ class SupplierValidator
}
}
}
}
//没有忽略校验的权限并且供应商地区属于内地和港台才会去校验天眼查
if (!checkPerm('IgnoreCompanyCheck') && in_array($validateData['region'],
......@@ -133,7 +131,7 @@ class SupplierValidator
if (!$isAdd) {
$supplier = SupplierChannelModel::where('supplier_id', $validateData['supplier_id'])
->first()->toArray();
if ($supplier['create_time'] < Carbon::createFromDate(2022,6,30)->timestamp) {
if ($supplier['create_time'] < Carbon::createFromDate(2022, 6, 30)->timestamp) {
$rules['registered_capital'] = '';
}
}
......
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