mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
fix: #10000 校验规则修改
This commit is contained in:
parent
04f2a54b1e
commit
ea355d3395
@ -38,7 +38,7 @@ class GoodsSkusImport implements ToCollection, SkipsEmptyRows
|
|||||||
'*.2' => ['string', 'max:191', 'exists:goods_brands,name'],
|
'*.2' => ['string', 'max:191', 'exists:goods_brands,name'],
|
||||||
'*.3' => ['required', 'alpha_dash', 'max:32'],
|
'*.3' => ['required', 'alpha_dash', 'max:32'],
|
||||||
'*.4' => ['required', 'string', 'max:191'],
|
'*.4' => ['required', 'string', 'max:191'],
|
||||||
'*.5' => ['required', 'distinct', 'alpha_dash', 'max:32'],
|
'*.5' => ['required', 'alpha_dash', 'max:32'],
|
||||||
'*.6' => ['required', 'string', Rule::in(['下架', '在售', '预警'])],
|
'*.6' => ['required', 'string', Rule::in(['下架', '在售', '预警'])],
|
||||||
'*.7' => ['required', 'max:10'],
|
'*.7' => ['required', 'max:10'],
|
||||||
'*.8' => ['required', 'max:10'],
|
'*.8' => ['required', 'max:10'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user