Files
OMS/app/erpapi/lib/wms/response/params/delivery.php
2025-12-28 23:13:25 +08:00

33 lines
890 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
/**
* WMS 发货单参数验证
*
* @category
* @package
* @author chenping<chenping@shopex.cn>
* @version $Id: Z
*/
class erpapi_wms_response_params_delivery extends erpapi_wms_response_params_abstract
{
/**
* 发货单更新校验参数
*
* @return void
* @author
**/
public function status_update()
{
$params = array(
'delivery_bn' => array('required'=>'true', 'type'=>'string','errmsg'=>'发货单号必填'),
'status'=>array('type'=>'enum','value'=>array('delivery','print','check','cancel','update','accept','pick','package','partin', 'return_back', 'confirm','payed','sign', 'cancel_fail','exception')), //confirm确认门店自提
);
return $params;
}
}