mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 02:45:33 +08:00
154 lines
4.8 KiB
PHP
154 lines
4.8 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['pick_bill_items']=array (
|
|
'columns' => array (
|
|
'bill_item_id' =>
|
|
array (
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'pkey' => true,
|
|
'extra' => 'auto_increment',
|
|
'editable' => false,
|
|
),
|
|
'bill_id' =>
|
|
array (
|
|
'type' => 'number',
|
|
'required' => true,
|
|
'default' => 0,
|
|
'label' => '拣货单编号',
|
|
'editable' => false,
|
|
),
|
|
'bn' =>
|
|
array (
|
|
'type' => 'varchar(30)',
|
|
'required' => false,
|
|
'label' => '货号',
|
|
'width' => 100,
|
|
'editable' => false,
|
|
),
|
|
'product_name' =>
|
|
array (
|
|
'type' => 'varchar(80)',
|
|
'label' => '商品名称',
|
|
'width' => 130,
|
|
'editable' => false,
|
|
),
|
|
'barcode' =>
|
|
array (
|
|
'type' => 'varchar(80)',
|
|
'required' => false,
|
|
'label' => '条码',
|
|
'width' => 100,
|
|
'editable' => false,
|
|
),
|
|
'size' =>
|
|
array (
|
|
'type' => 'varchar(32)',
|
|
'label' => '尺寸',
|
|
'width' => 80,
|
|
'editable' => false,
|
|
'in_list' => true,
|
|
),
|
|
'num' =>
|
|
array (
|
|
'type' => 'number',
|
|
'label' => '拣货数量',
|
|
'editable' => false,
|
|
'required' => false,
|
|
'default' => 0,
|
|
),
|
|
'not_delivery_num' =>
|
|
array (
|
|
'type' => 'number',
|
|
'label' => '未送货数量',
|
|
'editable' => false,
|
|
'required' => false,
|
|
'default' => 0,
|
|
),
|
|
'price' =>
|
|
array (
|
|
'type' => 'money',
|
|
'label' => '供货价(不含税)',
|
|
'default' => 0,
|
|
'width' => 60,
|
|
'editable' => false,
|
|
),
|
|
'market_price' =>
|
|
array (
|
|
'type' => 'money',
|
|
'label' => '供货价(含税)',
|
|
'default' => 0,
|
|
'width' => 60,
|
|
'editable' => false,
|
|
),
|
|
'product_id' =>
|
|
array (
|
|
'type' => 'number',
|
|
|
|
'editable' => false,
|
|
),
|
|
'branch_id'=>array(
|
|
'type' => 'number',
|
|
'default'=>0,
|
|
'editable' => false,
|
|
'label' => '首选仓库',
|
|
'width' => 110,
|
|
|
|
),
|
|
'goods_type_map'=>array(
|
|
'type' => 'text',
|
|
'label' => '商品类型映射',
|
|
),
|
|
'quality_check_flag'=>array(
|
|
'type' => 'int',
|
|
'label' => '是否换货质检',
|
|
),
|
|
'security_type'=>array(
|
|
'type' => 'int',
|
|
'label' => '防伪码管控',
|
|
),
|
|
'at_time' => [
|
|
'type' => 'TIMESTAMP',
|
|
'label' => '创建时间',
|
|
'default' => 'CURRENT_TIMESTAMP',
|
|
'width' => 120,
|
|
'in_list' => true,
|
|
],
|
|
'up_time' => [
|
|
'type' => 'TIMESTAMP',
|
|
'label' => '更新时间',
|
|
'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
|
|
'width' => 120,
|
|
'in_list' => true,
|
|
],
|
|
),
|
|
'index' => array (
|
|
'ind_bill_id' =>
|
|
array (
|
|
'columns' =>
|
|
array (
|
|
0 => 'bill_id',
|
|
),
|
|
),
|
|
'ind_at_time' => ['columns' => ['at_time']],
|
|
'ind_up_time' => ['columns' => ['up_time']],
|
|
),
|
|
'comment' => '拣货单明细',
|
|
'engine' => 'innodb',
|
|
'version' => '$Rev: $',
|
|
); |