mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 10:25:35 +08:00
104 lines
2.9 KiB
PHP
104 lines
2.9 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.
|
|
*/
|
|
|
|
$db['replenish_suggest_items'] = array(
|
|
'columns' => array(
|
|
'item_id' => array(
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'pkey' => true,
|
|
'extra' => 'auto_increment',
|
|
'label' => 'ID',
|
|
'width' => 110,
|
|
'hidden' => true,
|
|
'editable' => false,
|
|
),
|
|
'sug_id' => array(
|
|
'type' => 'int unsigned',
|
|
|
|
'width' => 110,
|
|
'hidden' => true,
|
|
'editable' => false,
|
|
),
|
|
|
|
'bm_id' => array(
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'width' => 110,
|
|
'hidden' => true,
|
|
'editable' => false,
|
|
),
|
|
'material_bn' => array (
|
|
'type' => 'varchar(30)',
|
|
'label' => '基础物料编码',
|
|
'width' => 120,
|
|
'editable' => false,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'required' => true,
|
|
'searchtype' => 'nequal',
|
|
'filtertype' => 'textarea',
|
|
'filterdefault' => true,
|
|
'order' => 35,
|
|
),
|
|
|
|
'store_num' => array (
|
|
'type' => 'number',
|
|
'editable' => false,
|
|
'label' => '门店可用库存',
|
|
'default' => 0,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 68,
|
|
),
|
|
|
|
'apply_nums' => array (
|
|
'type' => 'number',
|
|
'editable' => false,
|
|
'label' => '申请补货数量',
|
|
'default' => 0,
|
|
'in_list' => false,
|
|
'default_in_list' => false,
|
|
'order' => 39,
|
|
),
|
|
'reple_nums' => array (
|
|
'type' => 'number',
|
|
'editable' => false,
|
|
'label' => '实际补货数量',
|
|
'default' => 0,
|
|
'in_list' => false,
|
|
'default_in_list' => false,
|
|
'order' => 38,
|
|
),
|
|
'price' =>
|
|
array (
|
|
'type' => 'money',
|
|
'editable' => false,
|
|
),
|
|
|
|
),
|
|
'index' => array(
|
|
|
|
'in_material_bn' => array(
|
|
'columns' => array('material_bn'),
|
|
),
|
|
),
|
|
'engine' => 'innodb',
|
|
'version' => '$Rev: $',
|
|
'comment' => '补货建议单据表',
|
|
);
|