鲜花2.0-文案调整
This commit is contained in:
parent
2c974cfbc0
commit
374787b57c
@ -52,7 +52,7 @@ class ShopsController extends Controller
|
|||||||
$validator = Validator::make($request->all(), [
|
$validator = Validator::make($request->all(), [
|
||||||
'name' => 'required|string|max:191|unique:shops,name',
|
'name' => 'required|string|max:191|unique:shops,name',
|
||||||
'plat_id' => 'required|integer',
|
'plat_id' => 'required|integer',
|
||||||
'ratio' => 'required',
|
'ratio' => 'sometimes|default:*1',
|
||||||
]);
|
]);
|
||||||
if ($validator->fails()) {
|
if ($validator->fails()) {
|
||||||
$this->setValidatorFailResponse($validator->getMessageBag()->getMessages());
|
$this->setValidatorFailResponse($validator->getMessageBag()->getMessages());
|
||||||
|
|||||||
@ -72,6 +72,9 @@ class Log extends Model
|
|||||||
'kuaituantuan' => '快团团',
|
'kuaituantuan' => '快团团',
|
||||||
'miaoxuan' => '妙选',
|
'miaoxuan' => '妙选',
|
||||||
'goods' => '商品',
|
'goods' => '商品',
|
||||||
|
"sku_stock_purchase" => "入库采购",
|
||||||
|
"sku_stock_loss" => "报损记录",
|
||||||
|
"sku_stock_inventory" => "盘点记录",
|
||||||
];
|
];
|
||||||
|
|
||||||
return $map[$value] ?? $value;
|
return $map[$value] ?? $value;
|
||||||
@ -89,6 +92,7 @@ class Log extends Model
|
|||||||
'set' => '设置',
|
'set' => '设置',
|
||||||
'cost' => '成本',
|
'cost' => '成本',
|
||||||
'stock' => '库存',
|
'stock' => '库存',
|
||||||
|
'sale_stock' => '在售库存',
|
||||||
'inventory' => '库存盘点',
|
'inventory' => '库存盘点',
|
||||||
'reserve' => '预留量 ',
|
'reserve' => '预留量 ',
|
||||||
'timingInventory' => '7点盘点',
|
'timingInventory' => '7点盘点',
|
||||||
|
|||||||
@ -172,7 +172,7 @@ class GoodSkuService
|
|||||||
{
|
{
|
||||||
$userId = Auth::id();
|
$userId = Auth::id();
|
||||||
$costLog = [
|
$costLog = [
|
||||||
'module' => 'goodSkus',
|
'module' => 'goods',
|
||||||
'action' => "POST",
|
'action' => "POST",
|
||||||
'target_type' => $targetType,
|
'target_type' => $targetType,
|
||||||
'target_id' => $goodsSkuItem['id'] ?? 0,
|
'target_id' => $goodsSkuItem['id'] ?? 0,
|
||||||
|
|||||||
@ -203,7 +203,7 @@ return [
|
|||||||
'id' => 13,
|
'id' => 13,
|
||||||
'name' => '团购管理',
|
'name' => '团购管理',
|
||||||
'parent_id' => 0,
|
'parent_id' => 0,
|
||||||
'show' => 1,
|
'show' => 0,
|
||||||
],
|
],
|
||||||
'group.index' => [
|
'group.index' => [
|
||||||
'id' => 130,
|
'id' => 130,
|
||||||
@ -447,7 +447,7 @@ return [
|
|||||||
'id' => 17,
|
'id' => 17,
|
||||||
'name' => '电子面单',
|
'name' => '电子面单',
|
||||||
'parent_id' => 12,
|
'parent_id' => 12,
|
||||||
'show' => 1,
|
'show' => 0,
|
||||||
],
|
],
|
||||||
'shop_ship.index' => [
|
'shop_ship.index' => [
|
||||||
'id' => 170,
|
'id' => 170,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user