mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 18:35:35 +08:00
122 lines
4.1 KiB
PHP
122 lines
4.1 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['difference_items'] = array(
|
|
'columns' => array(
|
|
'id' => array(
|
|
'type' => 'mediumint(8)',
|
|
'label' => 'ID',
|
|
'comment' => 'ID',
|
|
'required' => true,
|
|
'pkey' => true,
|
|
'extra' => 'auto_increment',
|
|
),
|
|
'diff_id' => array(
|
|
'type' => 'int unsigned',
|
|
'label' => '盘点差异单ID',
|
|
'comment' => '盘点差异单ID',
|
|
'required' => true,
|
|
'in_list' => false,
|
|
'default_in_list' => false,
|
|
'order' => 10,
|
|
),
|
|
'bm_id' => array(
|
|
'type' => 'int unsigned',
|
|
'label' => '基础物料ID',
|
|
'comment' => '基础物料ID',
|
|
'in_list' => false,
|
|
'default_in_list' => false,
|
|
'order' => 20,
|
|
),
|
|
'material_bn' => array(
|
|
'type' => 'varchar(200)',
|
|
'label' => '基础物料编码',
|
|
'comment' => '基础物料编码',
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 30,
|
|
),
|
|
'wms_stores' => array(
|
|
'type' => 'mediumint',
|
|
'label' => 'WMS库存',
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 70,
|
|
),
|
|
'oms_stores' => array(
|
|
'type' => 'mediumint',
|
|
'label' => '系统库存',
|
|
'comment' => '系统库存',
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 80,
|
|
),
|
|
'diff_stores' => array(
|
|
'type' => 'mediumint',
|
|
'label' => 'wms实物差异',
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 90,
|
|
),
|
|
'oms_diff_stores' => array(
|
|
'type' => 'mediumint',
|
|
'label' => 'oms实物差异',
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 90,
|
|
),
|
|
'number' => array(
|
|
'type' => 'mediumint',
|
|
'label' => '数量',
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 90,
|
|
),
|
|
'pos_accounts_num' =>array (
|
|
'type' => 'mediumint(8)',
|
|
'label' => 'POS账面数',//pos_store
|
|
),
|
|
'batch' => array(
|
|
'type' => 'text',
|
|
'label' => 'batch',
|
|
'default_in_list' => true,
|
|
'in_list' => true,
|
|
'order' => 20,
|
|
),
|
|
),
|
|
'index' => array(
|
|
'ind_diff_id' => array(
|
|
'columns' => array(
|
|
0 => 'diff_id',
|
|
),
|
|
),
|
|
'ind_bm_id' => array(
|
|
'columns' => array(
|
|
0 => 'bm_id',
|
|
),
|
|
),
|
|
'ind_material_bn' => array(
|
|
'columns' => array(
|
|
0 => 'material_bn',
|
|
),
|
|
),
|
|
),
|
|
'comment' => '盘点差异单明细',
|
|
'engine' => 'innodb',
|
|
'version' => '$Rev: $',
|
|
);
|