Files
OMS/app/o2o/dbschema/inventory.php
2025-12-28 23:13:25 +08:00

107 lines
3.4 KiB
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.
*/
$db['inventory'] = array(
'columns' => array(
'inventory_id' => array(
'type' => 'mediumint(8)',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'label' => '盘点单ID',
),
'inventory_bn' => array(
'type' => 'varchar(32)',
'required' => true,
'width' => 140,
'label' => '盘点单号',
'in_list' => true,
'default_in_list' => true,
'order' => 40,
'searchtype' => 'nequal',
'filtertype' => 'normal',
'filterdefault' => true,
'panel_id' => 'inventory_finder_top',
),
'inventory_type' => array(
'type' => 'tinyint(1)',
'default' => '1',
'required' => true,
'width' => 90,
'label' => '盘点类型',
'in_list' => true,
'default_in_list' => true,
'order' => 10,
),
'op_id' => array(
'type' => 'varchar(45)',
'label' => '申请人ID',
),
'createtime' => array(
'type' => 'time',
'label' => '创建时间',
'width' => '130',
'in_list' => true,
'default_in_list' => true,
'order' => 25,
),
'physics_id'=>array(
'type' => 'table:store@o2o',
'label' => '门店名称',
'in_list' => true,
'default_in_list' => true,
),
'branch_id' => array(
'type' => 'mediumint(8)',
'label' => '门店仓ID',
'required' => true,
),
'confirm_op_id' => array(
'type' => 'varchar(45)',
'label' => '确认人ID',
'order' => '20',
),
'confirm_time' => array(
'type' => 'time',
'label' => '盘点时间',
'width' => '130',
'in_list' => true,
'default_in_list' => true,
'order' => 30,
),
'status' => array(
'type' => 'tinyint(1)',
'default' => '1',
'label' => '状态',
'width' => '70',
'in_list' => true,
'default_in_list' => true,
'order' => 35,
),
),
'index' => array(
'ind_inventory_type' => array(
'columns' => array(
0 => 'inventory_type',
),
),
'ind_status' => array(
'columns' => array(
0 => 'status',
),
),
'ind_createtime' => array(
'columns' => array('createtime'),
),
'ind_confirm_time' => array(
'columns' => array('confirm_time'),
),
),
'comment' => '门店盘点主表',
'engine' => 'innodb',
'version' => '$Rev: $',
);