采购单优化

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
+10
View File
@@ -28,6 +28,16 @@ class StoreOrderModel extends Model
/** 状态:已取消 */
public const int STATUS_CANCELLED = 9;
/** 状态中文名(后台文案/订单通知用) */
public const array STATUS_NAMES = [
self::STATUS_PENDING => '待接单',
self::STATUS_SUMMARIZED => '已接单',
self::STATUS_DELIVERING => '采购中',
self::STATUS_DISTRIBUTION => '配送中',
self::STATUS_COMPLETED => '已完成',
self::STATUS_CANCELLED => '已取消',
];
protected $table = 'store_order';
protected $primaryKey = 'id';