mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 02:45:33 +08:00
117 lines
4.2 KiB
PHP
117 lines
4.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_summary'] = array(
|
|
'comment' => '导入数据汇总',
|
|
'columns' => array(
|
|
'id' => array(
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'pkey' => true,
|
|
'extra' => 'auto_increment',
|
|
'editable' => false,
|
|
),
|
|
'import_id' => array(
|
|
'type' => 'int',
|
|
'comment' => '导入id',
|
|
'default_in_list' => true,
|
|
),
|
|
'confirm_status' => array(
|
|
'type' => 'tinyint',
|
|
'label' => '确认状态',
|
|
'comment' => '确认状态,0:未确认1:已确认,2:部分确认',
|
|
'default' => '0',
|
|
'editable' => false,
|
|
'default_in_list' => true,
|
|
'in_list' => true,
|
|
'filterdefault' => true,
|
|
'filtertype' => 'normal',
|
|
),
|
|
'type' => array(
|
|
'type' => 'varchar(50)',
|
|
'label' => '导入类型',
|
|
'comment' => 'order:按单号导入,sku:按商品sku明细导入,sale:按销售周期导入,jzt:京准通',
|
|
'editable' => false,
|
|
'searchtype' => 'has',
|
|
'filtertype' => 'normal',
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
),
|
|
'pay_serial_number' => array(
|
|
'type' => 'varchar(255)',
|
|
'label' => '支付流水号',
|
|
'comment' => '支付流水号 单号分组条件',
|
|
'editable' => false,
|
|
'searchtype' => 'has',
|
|
'filtertype' => 'normal',
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
),
|
|
'increment_service_sn' => array(
|
|
'type' => 'varchar(255)',
|
|
'label' => '增值服务单号',
|
|
'comment' => '增值服务单号 sku分组条件',
|
|
'editable' => false,
|
|
'searchtype' => 'has',
|
|
'filtertype' => 'normal',
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
),
|
|
'cost_project' => array(
|
|
'type' => 'varchar(255)',
|
|
'label' => '费用项',
|
|
'comment' => '费用项 费用项分组条件',
|
|
'editable' => false,
|
|
'searchtype' => 'has',
|
|
'filtertype' => 'normal',
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
),
|
|
'expenditure_money' => array(
|
|
'type' => 'money',
|
|
'comment' => '支出总额',
|
|
'label' => '支出金额',
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
),
|
|
'op_id' =>
|
|
array (
|
|
'type' => 'table:account@pam',
|
|
'editable' => false,
|
|
'required' => true,
|
|
),
|
|
),
|
|
'index' => array(
|
|
'ind_import_id' => array(
|
|
'columns' => array(
|
|
'import_id',
|
|
),
|
|
),
|
|
'ind_pay_serial_number' => array(
|
|
'columns' => array(
|
|
'pay_serial_number',
|
|
),
|
|
),
|
|
),
|
|
'engine' => 'innodb',
|
|
'version' => '$Rev: $',
|
|
);
|