mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-06 06:55:36 +08:00
56 lines
1.7 KiB
PHP
56 lines
1.7 KiB
PHP
<?php
|
||
/**
|
||
* Copyright 2012-2026 ShopeX (https://www.shopex.cn)
|
||
*
|
||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
* you may not use this file except in compliance with the License.
|
||
* You may obtain a copy of the License at
|
||
*
|
||
* http://www.apache.org/licenses/LICENSE-2.0
|
||
*
|
||
* Unless required by applicable law or agreed to in writing, software
|
||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
* See the License for the specific language governing permissions and
|
||
* limitations under the License.
|
||
*/
|
||
|
||
/**
|
||
* JIT订单明细model类
|
||
* API文档:https://vop.vip.com/home#/api/method/detail/com.vip.vis.order.jit.service.order.JitOrderVopService-1.0.0/getJitOrderDetail
|
||
*
|
||
* @author wangbiao@shopex.cn
|
||
* @version 2025.03.27
|
||
*/
|
||
class purchase_mdl_pick_order_items extends dbeav_model
|
||
{
|
||
//订单状态列表
|
||
static public $order_stat = array(
|
||
'10' => array('stat'=>'10', 'name'=>'未拣货'),
|
||
'13' => array('stat'=>'13', 'name'=>'商品缺货'),
|
||
'20' => array('stat'=>'20', 'name'=>'拣货中'),
|
||
'26' => array('stat'=>'26', 'name'=>'供应商已发货'),
|
||
'27' => array('stat'=>'27', 'name'=>'仓库已收货'),
|
||
'97' => array('stat'=>'97', 'name'=>'订单已取消'),
|
||
);
|
||
|
||
/**
|
||
* 获取订单状态列表
|
||
*
|
||
* @return array
|
||
*/
|
||
public function getOrderStats()
|
||
{
|
||
$tempList = self::$order_stat;
|
||
|
||
//format
|
||
$typeList = [];
|
||
foreach ($tempList as $type_id => $typeVal)
|
||
{
|
||
$typeList[$type_id] = $typeVal['name'];
|
||
}
|
||
|
||
return $typeList;
|
||
}
|
||
}
|