订单详情

This commit is contained in:
liu
2026-08-11 23:26:34 +08:00
parent 5d26f04ba2
commit ce958d690f
10 changed files with 996 additions and 70 deletions
@@ -21,12 +21,19 @@ class StoreOrderItemModelFactory extends Factory
'order_id' => 0,
'store_id' => 0,
'product_id' => 0,
'category_id' => 0,
'supplier_id' => 0,
'product_name' => '测试商品',
'product_spec' => '500g/袋',
'unit' => '斤',
'price' => number_format(random_int(100, 5000) / 100, 2, '.', ''),
'image_ids' => '',
'content' => '',
'shelf_life' => 0,
'quantity' => number_format(random_int(100, 10000) / 100, 2, '.', ''),
'weight' => 0,
'amount' => 0,
'cost_price' => 0,
'remark' => '',
];
}