mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-23 05:05:33 +08:00
1. 【新增】售后单售后原因类型支持搜索
2. 【新增】手工创建订单折扣可输入正数 3. 【优化】盘点申请单确认 4. 【修复】采购退货单模拟出库失败问题 5. 【新增】订单金额客户实付与结算金额 6. 【优化】仓库发货统计报表物料名称显示 7. 【优化】自有仓储虚拟发货逻辑 8. 【修复】基础物料分类管理问题
This commit is contained in:
65
app/material/dbschema/seller.php
Normal file
65
app/material/dbschema/seller.php
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
|
||||
$db['seller'] = array(
|
||||
'columns' => array(
|
||||
'id' => array(
|
||||
'type' => 'int unsigned',
|
||||
'extra' => 'auto_increment',
|
||||
'pkey' => true,
|
||||
'editable' => false,
|
||||
'label' => '自增ID',
|
||||
),
|
||||
'seller_code' => array(
|
||||
'type' => 'varchar(255)',
|
||||
'label' => '销售人员编码',
|
||||
'default' => '',
|
||||
'in_list' => true,
|
||||
'default_in_list' => true,
|
||||
'order' => 10,
|
||||
'searchtype' => 'nequal',
|
||||
'filtertype' => 'normal',
|
||||
'filterdefault' => true,
|
||||
),
|
||||
'seller_name' => array(
|
||||
'type' => 'varchar(255)',
|
||||
'label' => '销售人员名称',
|
||||
'default' => '',
|
||||
'in_list' => true,
|
||||
'default_in_list' => true,
|
||||
'is_title' => true,
|
||||
'order' => 20,
|
||||
),
|
||||
'disabled' => array(
|
||||
'type' => 'bool',
|
||||
'label' => '禁用状态',
|
||||
'default' => 'false',
|
||||
'in_list' => true,
|
||||
'default_in_list' => true,
|
||||
'order' => 30,
|
||||
),
|
||||
'at_time' => array(
|
||||
'type' => 'TIMESTAMP',
|
||||
'label' => '创建时间',
|
||||
'default' => 'CURRENT_TIMESTAMP',
|
||||
'in_list' => true,
|
||||
'default_in_list' => true,
|
||||
'order' => 1000,
|
||||
),
|
||||
'up_time' => array(
|
||||
'type' => 'TIMESTAMP',
|
||||
'label' => '更新时间',
|
||||
'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
|
||||
'in_list' => true,
|
||||
'default_in_list' => true,
|
||||
'order' => 1010,
|
||||
),
|
||||
),
|
||||
'index' => array(
|
||||
'idx_seller_code' => array('columns' => array('seller_code'), 'prefix' => 'unique'),
|
||||
'idx_at_time' => array('columns' => array('at_time')),
|
||||
'idx_up_time' => array('columns' => array('up_time')),
|
||||
),
|
||||
'engine' => 'innodb',
|
||||
'commit' => '',
|
||||
'version' => 'Rev: 41996 $',
|
||||
);
|
||||
Reference in New Issue
Block a user