鲜花2.0-文案调整

This commit is contained in:
杨建炊 2024-08-24 14:23:06 +08:00
parent 2c974cfbc0
commit 374787b57c
4 changed files with 8 additions and 4 deletions

View File

@ -52,7 +52,7 @@ class ShopsController extends Controller
$validator = Validator::make($request->all(), [
'name' => 'required|string|max:191|unique:shops,name',
'plat_id' => 'required|integer',
'ratio' => 'required',
'ratio' => 'sometimes|default:*1',
]);
if ($validator->fails()) {
$this->setValidatorFailResponse($validator->getMessageBag()->getMessages());

View File

@ -72,6 +72,9 @@ class Log extends Model
'kuaituantuan' => '快团团',
'miaoxuan' => '妙选',
'goods' => '商品',
"sku_stock_purchase" => "入库采购",
"sku_stock_loss" => "报损记录",
"sku_stock_inventory" => "盘点记录",
];
return $map[$value] ?? $value;
@ -89,6 +92,7 @@ class Log extends Model
'set' => '设置',
'cost' => '成本',
'stock' => '库存',
'sale_stock' => '在售库存',
'inventory' => '库存盘点',
'reserve' => '预留量 ',
'timingInventory' => '7点盘点',

View File

@ -172,7 +172,7 @@ class GoodSkuService
{
$userId = Auth::id();
$costLog = [
'module' => 'goodSkus',
'module' => 'goods',
'action' => "POST",
'target_type' => $targetType,
'target_id' => $goodsSkuItem['id'] ?? 0,

View File

@ -203,7 +203,7 @@ return [
'id' => 13,
'name' => '团购管理',
'parent_id' => 0,
'show' => 1,
'show' => 0,
],
'group.index' => [
'id' => 130,
@ -447,7 +447,7 @@ return [
'id' => 17,
'name' => '电子面单',
'parent_id' => 12,
'show' => 1,
'show' => 0,
],
'shop_ship.index' => [
'id' => 170,