采购单优化
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user