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

173 lines
5.3 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['order_wait'] = array(
'columns' => array(
'ow_id' =>
array(
'type' => 'number',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'editable' => false,
'order' => 1,
),
'order_bn' =>
array(
'type' => 'varchar(32)',
'required' => true,
'label' => '订单号',
'width' => 140,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'searchtype' => 'nequal',
'filterdefault' => true,
'filtertype' => 'yes',
'order' => 2,
),
'shop_id' =>
array(
'type' => 'table:shop@ome',
'label' => '来源店铺',
'editable' => false,
'required' => true,
'in_list' => true,
'default_in_list' => true,
'filtertype' => 'normal',
'filterdefault' => true,
'order' => 5,
),
'shop_type' =>
array(
'type' => 'varchar(50)',
'label' => '来源店铺类型',
'editable' => false,
'default' => '',
),
'available_warehouses' =>
array(
'type' => 'varchar(128)',
'label' => '可用仓库编码',
'required' => true,
'in_list' => true,
'default_in_list' => true,
'width' => 100,
'editable' => false,
'order' => 10,
),
'buyer_address' =>
array(
'type' => 'varchar(128)',
'label' => '收件人详细地址',
'default' => '',
'in_list' => true,
'default_in_list' => true,
'width' => 100,
'editable' => false,
'order' => 20,
),
'vendor_id' =>
array(
'type' => 'number',
'label' => '供应商ID',
'default' => 0,
'width' => 100,
'editable' => false,
'order' => 20,
),
'vendor_name' =>
array(
'type' => 'varchar(64)',
'label' => '供应商名称',
'default' => '',
//'in_list' => true,
//'default_in_list' => true,
'width' => 100,
'editable' => false,
'order' => 30,
),
'status' =>
array(
'type' => 'varchar(32)',
'label' => '状态',
'default' => '',
'in_list' => true,
'default_in_list' => true,
'width' => 100,
'editable' => false,
'order' => 40,
),
'status_remark' =>
array(
'type' => 'text',
'label' => '状态备注',
'default' => '',
'in_list' => true,
'default_in_list' => true,
'width' => 100,
'editable' => false,
'order' => 50,
),
'branch_id' =>
array(
'type' => 'number',
'label' => '选定仓库ID',
'default' => 0,
'width' => 100,
'editable' => false,
'order' => 60,
),
'warehouse' =>
array(
'type' => 'varchar(32)',
'label' => '选定仓库编码',
'default' => '',
'in_list' => true,
'default_in_list' => true,
'width' => 100,
'editable' => false,
'order' => 60,
),
'create_time' =>
array(
'type' => 'time',
'label' => '创建时间',
'default' => 0,
'in_list' => true,
'default_in_list' => true,
'width' => 130,
'editable' => false,
'filtertype' => 'time',
'filterdefault' => true,
'order' => 98,
),
'last_modified' =>
array(
'type' => 'time',
'label' => '最后更新时间',
'default' => 0,
'in_list' => true,
'width' => 130,
'editable' => false,
'order' => 99,
),
),
'index' => array(
'ind_order_bn' =>
array(
'columns' => array(0 => 'order_bn',),
),
'ind_shop_id_order_bn' =>
array(
'columns' => array(0 => 'shop_id', 1=>'order_bn'),
'prefix' => 'unique',
),
),
'comment' => '待寻仓订单',
'engine' => 'innodb',
'version' => '$Rev: $',
);