采购单优化

This commit is contained in:
liu
2026-08-12 23:20:05 +08:00
parent c2c56408a0
commit 0211e5e98d
22 changed files with 768 additions and 1425 deletions
@@ -59,7 +59,7 @@ return new class extends Migration
$table->decimal('weight', 10, 3)->default(0)->comment('重量');
$table->decimal('amount', 10, 2)->default(0)->comment('单品金额');
$table->decimal('cost_price', 10, 2)->default(0)->comment('成本价');
$table->string('remark', 255)->default('')->comment('门店下单备注');
$table->string('remark', 255)->default('')->nullable()->comment('门店下单备注');
$table->timestamps();
$table->index(['order_id'], 'store_order_item_order_index');
$table->index(['purchase_id'], 'store_order_item_purchase_index');