Files
OMS/app/purchase/dbschema/pick_bill_check_items.php
2026-01-04 19:08:31 +08:00

224 lines
8.0 KiB
PHP
Raw Permalink 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 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_check_items'] = array(
'columns' => array(
'check_item_id' => array(
'type' => 'int unsigned',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'editable' => false,
),
'bill_id' => array(
'type' => 'table:pick_bills@purchase',
'default' => 0,
'label' => '拣货单编号',
'editable' => false,
),
'bill_item_id' => array(
'type' => 'table:pick_bill_items@purchase',
'default' => 0,
'editable' => false,
),
'bn' => array(
'type' => 'varchar(30)',
'label' => '货号',
'width' => 100,
'editable' => false,
),
'barcode' => array(
'type' => 'varchar(80)',
'label' => '条码',
'width' => 100,
'editable' => false,
),
'channel' => array(
'type' => 'varchar(32)',
'label' => '会员反馈途径',
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'problem_desc' => array(
'type' => 'varchar(32)',
'label' => '问题描述',
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'order_label' => array(
'type' => 'varchar(32)',
'label' => '订单标签', // 0-未知1-普通订单2-原订单3-一换订单4-二换订单
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'image_fileid_list' => array(
'type' => 'varchar(255)',
'label' => '图片信息',
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'image_list' => array(
'type' => 'varchar(255)',
'label' => '图片信息',
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'video_fileid_list' => array(
'type' => 'varchar(255)',
'label' => '视频信息',
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'video_list' => array(
'type' => 'varchar(255)',
'label' => '视频信息',
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'delivery_warehouse' => array(
'type' => 'varchar(32)',
'label' => '发货仓',
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'order_sn' => array(
'type' => 'varchar(32)',
'label' => '订单号',
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'first_classification' => array(
'type' => 'varchar(64)',
'label' => '一级分类',
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'second_classification' => array(
'type' => 'varchar(64)',
'label' => '二级分类',
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'third_classification' => array(
'type' => 'varchar(64)',
'label' => '三级分类',
'width' => 180,
'searchtype' => 'nequal',
'editable' => false,
'filtertype' => 'textarea',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => false,
),
'at_time' => array(
'type' => 'TIMESTAMP',
'label' => '创建时间',
'default' => 'CURRENT_TIMESTAMP',
'width' => 120,
'in_list' => false,
'order' => 11,
),
'up_time' => array(
'type' => 'TIMESTAMP',
'label' => '更新时间',
'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
'width' => 120,
'in_list' => false,
),
),
'index' => array(
'ind_bill_id' => array(
'columns' => array(
0 => 'bill_id',
),
),
'ind_bill_item_id' => array(
'columns' => array(
0 => 'bill_item_id',
),
),
'ind_bn' => array(
'columns' => array(
0 => 'bn',
),
),
'ind_barcode' => array(
'columns' => array(
0 => 'barcode',
),
),
),
'engine' => 'innodb',
'version' => '$Rev: 40912 $',
'comment' => '拣货单明细检测表',
);