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

117 lines
2.3 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_object']=array (
'columns' =>
array (
'obj_id' =>
array (
'type' => 'number',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'editable' => false,
),
'oper_id' => array(
'type' => 'number',
'label'=>'操作人ID'
),
'oper_name'=>array(
'type'=>'varchar(30)',
'label'=>'操作人名称'
),
'oper_time'=>array(
'type'=>'time',
'label'=>'操作时间'
),
'item_id'=>array(
'type' => 'table:inventory_items',
),
'inventory_id' =>
array (
'type' => 'table:inventory',
'required' => true,
'editable' => false,
'label' => '盘点ID'
),
'product_id' =>
array (
'type' => 'table:products@ome',
'label' => '货品ID',
'editable' => false,
),
'pos_id' =>
array (
'type' => 'number',
'label' => '货位ID',
'editable' => false,
'default' => 0,
),
'bn' =>
array (
'type' => 'varchar(32)',
'label' => '货号',
'width' => 140,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
),
'barcode' =>
array (
'type' => 'varchar(32)',
'label' => '条码',
'width' => 140,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
),
'pos_name' =>
array (
'type' => 'varchar(32)',
'label' => '货位名称',
'width' => 80,
'editable' => false,
'filtertype' => 'normal',
'in_list' => true,
),
'actual_num' =>
array (
'type' => 'number',
'label' => '实际数量',
'width' => 75,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
),
'storage_life_info' =>
array (
'type' => 'text',
'label' => '保质期关联信息',
'editable' => false,
),
),
'index' =>
array (
'ind_bn' =>
array (
'columns' =>
array (
0 => 'bn',
),
),
),
'comment' => '盘点中间表',
'engine' => 'innodb',
'version' => '$Rev: 44513 $',
);