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

119 lines
2.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['iso_items_simple']=array (
'columns' =>
array (
'iso_items_simple_id' =>
array (
'type' => 'int unsigned',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
),
'iso_id' =>
array (
'type' => 'table:iso@warehouse',
'required' => true,
'default' => 0,
'editable' => false,
),
'iso_bn' =>
array (
'type' => 'varchar(32)',
'required' => true,
'label' => '入库单号',
'is_title' => true,
'default_in_list'=>true,
'in_list'=>true,
'width' => 125,
'filtertype' => 'normal',
'filterdefault' => true,
),
'product_id' =>
array (
'type' => 'table:products@ome',
'required' => true,
),
'product_name' =>
array (
'type' => 'varchar(200)',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'label' => '货品名称',
),
'bn' =>
array (
'type' => 'varchar(30)',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'label' => '货号',
),
'unit' =>
array (
'type' => 'varchar(20)',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'label' => '单位',
),
'price' =>
array (
'type' => 'money',
'required' => true,
'editable' => false,
),
'nums' =>
array (
'type' => 'number',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'label' => '入库数量',
),
'normal_num' =>
array (
'type' => 'number',
'label' => '良品数量',
'default' => 0,
),
'defective_num' =>
array (
'type' => 'number',
'label' => '不良品数量',
'default' => 0,
),
),
'index' =>
array (
'ind_iso_bn' =>
array (
'columns' =>
array (
0 => 'iso_bn',
),
),
'ind_product_id' =>
array (
'columns' =>
array (
0 => 'product_id',
),
),
'ind_bn' =>
array (
'columns' =>
array (
0 => 'bn',
),
),
),
'comment' => '转仓单简易明细信息',
'engine' => 'innodb',
'version' => '$Rev: 51996',
);