周转箱

This commit is contained in:
liu
2026-08-11 19:09:10 +08:00
parent 5a3995d6ba
commit 06c7bd9f88
10 changed files with 306 additions and 651 deletions
@@ -21,7 +21,7 @@ return new class extends Migration
$table->integer('purchase_id')->nullable()->comment('关联采购单ID');
$table->integer('statement_id')->nullable()->comment('关联账单ID');
$table->date('order_date')->comment('订货日期');
$table->integer('total_quantity', 10)->default(0)->comment('订货总量');
$table->integer('total_quantity')->default(0)->comment('订货总量');
$table->decimal('total_weight', 10, 3)->default(0)->comment('总重量');
$table->decimal('total_amount', 10, 2)->default(0)->comment('订单总金额');
$table->decimal('product_amount', 10, 2)->default(0)->comment('商品总金额');
@@ -47,7 +47,7 @@ return new class extends Migration
$table->string('product_name', 100)->comment('品名(快照)');
$table->string('product_spec', 100)->default('')->comment('规格/包规(快照)');
$table->decimal('price', 10, 2)->default(0)->comment('单价(下单时客户等级价快照)');
$table->integer('quantity', 10)->default(0)->comment('订货量');
$table->integer('quantity')->default(0)->comment('订货量');
$table->decimal('weight', 10, 3)->default(0)->comment('重量');
$table->decimal('amount', 10, 2)->default(0)->comment('单品金额');
$table->string('remark', 255)->default('')->comment('门店下单备注');