修复BUG

This commit is contained in:
liu
2026-08-27 14:20:09 +08:00
parent 513cc568a9
commit 52dc6efadf
203 changed files with 576 additions and 1130 deletions
@@ -36,6 +36,7 @@ return new class extends Migration
$table->string('name', 100)->comment('品名');
$table->string('spec', 100)->default('')->comment('规格/包规');
$table->string('unit', 20)->default('斤')->comment('计价单位(斤/件/箱等)');
$table->string('price_unit', 20)->nullable()->default('元/斤')->comment('单价单位(如:元/斤、元/箱)');
$table->string('image_ids', 255)->default('')->comment('商品图片');
$table->text('content')->comment('商品图文详情');
$table->integer('sort')->default(0)->comment('排序');
@@ -35,7 +35,8 @@ return new class extends Migration
$table->string('pay_remark', 255)->default('')->comment('付款备注(线下收款信息)');
$table->integer('paid_operator_id')->default(0)->comment('收款操作人(后台系统用户ID)');
$table->integer('operator_id')->default(0)->comment('生成人(后台系统用户ID');
$table->string('remark', 255)->nullable()->default('')->comment('备注');
$table->string('remark', 255)->nullable()->default('')->comment('备注(生成账单时按门店填写)');
$table->string('after_sale', 255)->nullable()->default('')->comment('售后说明(生成账单时按门店填写)');
$table->timestamps();
$table->unique(['purchase_id', 'store_id'], 'bill_purchase_store_unique');
$table->index(['store_id', 'bill_date'], 'bill_store_date_index');