mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 02:45:33 +08:00
176 lines
6.2 KiB
PHP
176 lines
6.2 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['bill_import'] = array(
|
|
'comment' => '导入记录表',
|
|
'columns' => array(
|
|
'id' => array(
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'pkey' => true,
|
|
'extra' => 'auto_increment',
|
|
'editable' => false,
|
|
),
|
|
'type' => array(
|
|
'type' => array(
|
|
'order' => '单号',
|
|
'sku' => 'SKU',
|
|
'sale' => '销售周期',
|
|
'jzt' => '京准通',
|
|
'jdbill' => '京东钱包流水',
|
|
),
|
|
'label' => '导入类型',
|
|
'comment' => 'order:按单号导入,sku:按商品sku明细导入 sale:按销售周期导入',
|
|
'editable' => true,
|
|
'filtertype' => 'normal',
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 3,
|
|
),
|
|
'file_name' => array(
|
|
'type' => 'varchar(255)',
|
|
'label' => '导入文件名',
|
|
'comment' => '导入文件名',
|
|
'editable' => false,
|
|
'searchtype' => 'has',
|
|
'filtertype' => 'normal',
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 2,
|
|
),
|
|
'error_data' => array(
|
|
'type' => 'longtext',
|
|
'label' => '导入错误数据',
|
|
'comment' => '导入错误数据',
|
|
'editable' => false,
|
|
'filtertype' => 'normal',
|
|
'filterdefault' => false,
|
|
'in_list' => false,
|
|
'default_in_list' => false,
|
|
'order' => 4,
|
|
),
|
|
'money' => array(
|
|
'type' => 'money',
|
|
'label' => '总费用',
|
|
'comment' => '总费用',
|
|
'editable' => false,
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 5,
|
|
),
|
|
'not_confirm_num' => array(
|
|
'type' => 'int',
|
|
'label' => '未确认数量',
|
|
'comment' => '未确认数量',
|
|
'editable' => false,
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 6,
|
|
),
|
|
'not_reconciliation_num' => array(
|
|
'type' => 'int',
|
|
'label' => '未对账数量',
|
|
'comment' => '未对账数量',
|
|
'editable' => false,
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 7,
|
|
),
|
|
'not_matching_num' => array(
|
|
'type' => 'int',
|
|
'label' => '无法匹配数量',
|
|
'comment' => '无法匹配数量',
|
|
'editable' => false,
|
|
'filterdefault' => false,
|
|
'in_list' => false,
|
|
'default_in_list' => false,
|
|
'order' => 7,
|
|
),
|
|
'money_unequal_num' => array(
|
|
'type' => 'int',
|
|
'label' => '金额不等数量',
|
|
'comment' => '金额不等数量',
|
|
'editable' => false,
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'order' => 8,
|
|
),
|
|
'create_time' => array(
|
|
'type' => 'time',
|
|
'label' => '导入时间',
|
|
'comment' => '导入时间',
|
|
'filtertype' => 'time',
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'width' => 130,
|
|
'order' => 9,
|
|
),
|
|
'start_time' => array(
|
|
'type' => 'time',
|
|
'label' => '销售周期开始时间',
|
|
'comment' => '销售周期开始时间',
|
|
'editable' => false,
|
|
'filterdefault' => false,
|
|
'in_list' => false,
|
|
'default_in_list' => false,
|
|
'order' => 10,
|
|
),
|
|
'end_time' => array(
|
|
'type' => 'time',
|
|
'label' => '销售周期结束时间',
|
|
'comment' => '销售周期结束时间',
|
|
'editable' => false,
|
|
'filterdefault' => false,
|
|
'in_list' => false,
|
|
'default_in_list' => false,
|
|
'order' => 11,
|
|
),
|
|
'op_id' =>
|
|
array (
|
|
'type' => 'table:account@pam',
|
|
'label' => '操作人',
|
|
'comment' => '操作人',
|
|
'editable' => false,
|
|
'required' => true,
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
),
|
|
),
|
|
'index' => array(
|
|
'ind_file_name' => array(
|
|
'columns' => array(
|
|
'file_name',
|
|
),
|
|
),
|
|
'ind_type' => array(
|
|
'columns' => array(
|
|
'type',
|
|
),
|
|
),
|
|
),
|
|
'engine' => 'innodb',
|
|
'version' => '$Rev: $',
|
|
);
|