mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 18:35:35 +08:00
95 lines
2.7 KiB
PHP
95 lines
2.7 KiB
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
$db['abnormal_code'] = array (
|
||
'columns' => array (
|
||
'abnormal_id' => array (
|
||
'type' => 'int unsigned',
|
||
'required' => true,
|
||
'pkey' => true,
|
||
'editable' => false,
|
||
'extra' => 'auto_increment',
|
||
'order' => 1,
|
||
),
|
||
'abnormal_code' => array (
|
||
'type' => 'varchar(32)',
|
||
'required' => true,
|
||
'label' => '错误码',
|
||
'editable' => false,
|
||
'width' => 130,
|
||
'searchtype' => 'nequal',
|
||
'filtertype' => 'yes',
|
||
'filterdefault' => true,
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 10,
|
||
),
|
||
'abnormal_name' => array (
|
||
'type' => 'varchar(50)',
|
||
'required' => true,
|
||
'label' => '错误标题',
|
||
'editable' => false,
|
||
'width' => 150,
|
||
'searchtype' => 'nequal',
|
||
'filtertype' => 'yes',
|
||
'filterdefault' => true,
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 11,
|
||
),
|
||
'abnormal_type' => array (
|
||
'type' => array (
|
||
'delivery' => '发货单',
|
||
'return' => '售后单',
|
||
),
|
||
'default' => 'delivery',
|
||
'width' => 120,
|
||
'required' => true,
|
||
'editable' => false,
|
||
'label' => '单据类型',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 20,
|
||
),
|
||
'disabled' => array (
|
||
'type' => 'bool',
|
||
'default' => 'false',
|
||
'editable' => false,
|
||
'label' => '是否禁用',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 50,
|
||
),
|
||
'create_time' => array (
|
||
'type' => 'time',
|
||
'label' => '创建时间',
|
||
'editable' => false,
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 98,
|
||
),
|
||
'last_modified' => array (
|
||
'label' => '最后更新时间',
|
||
'type' => 'last_modify',
|
||
'editable' => false,
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 99,
|
||
),
|
||
),
|
||
'index' => array (
|
||
'ind_type_code' => array (
|
||
'columns' => array (
|
||
0 => 'abnormal_code',
|
||
1 => 'abnormal_type',
|
||
),
|
||
),
|
||
),
|
||
'comment' => 'WMS异常错误码',
|
||
'engine' => 'innodb',
|
||
'version' => '$Rev: 1001',
|
||
);
|