Files
OMS/app/console/lib/operation/log.php
2026-01-04 19:08:31 +08:00

49 lines
2.4 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.
*/
class console_operation_log{
/**
* 定义当前APP下的操作日志的所有操作名称列表
* type键值由表名@APP名称组成
* @access public
* @return Array
*/
function get_operations(){
$operations = array(
//'purchase_create' => array('name'=> '生成采购单','type' => 'purchase@console'),
'wms_reship' => array('name'=> '第三方退货单','type' => 'wms_reship@console'),
'wms_delivery' => array('name'=> '第三方发货单','type' => 'wms_delivery@console'),
'wms_stockin' => array('name'=> '第三方入库单','type' => 'wms_stockin@console'),
'wms_stockout' => array('name'=> '第三方出库单','type' => 'wms_stockout@console'),
'wms_storeprocess' => array('name'=> '第三方加工单','type' => 'wms_storeprocess@console'),
'wms_transferorder' => array('name'=> '第三方转储单','type' => 'wms_transferorder@console'),
'inventory_apply' => array('name'=> '盘点申请单','type' => 'inventory_apply@console'),
'difference' => array('name'=> '差异单','type' => 'difference@console'),
'material_package' => array('name'=> '加工单','type' => 'material_package@console'),
'vopreturn' => array('name'=> '唯品会退供单','type' => 'vopreturn@console'),
'vopbill' => array('name'=> '唯品会账单','type' => 'vopbill@console'),
'adjust' => array('name'=> '库存调整单','type' => 'adjust@console'),
'replenish_suggest' => array('name'=> '补货建议','type' => 'replenish_suggest@console'),
'other_iostock_cancel' => array('name'=> '单据取消','type' => 'iso@taoguaniostockorder'),
);
return array('console'=>$operations);
}
}
?>