mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 02:45:33 +08:00
127 lines
4.2 KiB
PHP
127 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_verification_error'] = array(
|
|
'comment' => '核销误差表',
|
|
'columns' => array(
|
|
'id' => array(
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'pkey' => true,
|
|
'extra' => 'auto_increment',
|
|
'editable' => false,
|
|
),
|
|
'shop_id' => array(
|
|
'type' => 'varchar(32)',
|
|
'editable' => false,
|
|
'label' => '所属店铺',
|
|
'comment' => '所属店铺',
|
|
'width' => 300,
|
|
'in_list' => true,
|
|
'default_in_list' => false,
|
|
'order' => 1,
|
|
),
|
|
'name' => array(
|
|
'type' => 'varchar(255)',
|
|
'label' => '差异类型',
|
|
'editable' => false,
|
|
'searchtype' => 'has',
|
|
'filtertype' => 'normal',
|
|
'filterdefault' => true,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
),
|
|
'money' => array(
|
|
'type' => 'money',
|
|
// 'required' => true,
|
|
'label' => '误差范围',
|
|
'comment' => '误差范围',
|
|
'width' => 150,
|
|
'editable' => false,
|
|
// 'in_list' => true,
|
|
// 'default_in_list' => true,
|
|
'order' => 11,
|
|
),
|
|
'create_time' => array(
|
|
'type' => 'time',
|
|
'label' => '创建时间',
|
|
'comment' => '创建时间',
|
|
'editable' => false,
|
|
'default_in_list' => true,
|
|
'in_list' => true,
|
|
'width' => 150,
|
|
'order' => 50,
|
|
),
|
|
'memo' => array(
|
|
'type' => 'longtext',
|
|
'label' => '备注日志',
|
|
'editable' => false,
|
|
),
|
|
'priority' => array(
|
|
'type' => 'number',
|
|
'label' => '优先级',
|
|
'default' => 0,
|
|
'editable' => false,
|
|
'default_in_list' => true,
|
|
'in_list' => true,
|
|
'filterdefault' => true,
|
|
'filtertype' => 'normal',
|
|
),
|
|
'is_verify' => array(
|
|
'type' => 'intbool',
|
|
'label' => '是否核销',
|
|
'default' => '0',
|
|
'editable' => false,
|
|
'default_in_list' => true,
|
|
'in_list' => true,
|
|
'filterdefault' => true,
|
|
'filtertype' => 'normal',
|
|
),
|
|
'verify_mode' => array(
|
|
'type' => [
|
|
'0' => '按订单总额核销',
|
|
'1' => '订单收入和退款分开核销'
|
|
],
|
|
'label' => '核销方式',
|
|
'default' => '0',
|
|
'editable' => false,
|
|
'default_in_list' => true,
|
|
'in_list' => true,
|
|
'filterdefault' => true,
|
|
'filtertype' => 'normal',
|
|
),
|
|
'rule' => array (
|
|
'type' => 'serialize',
|
|
'label' => '规则内容',
|
|
),
|
|
),
|
|
'index' => array(
|
|
'ind_shop_id' => array(
|
|
'columns' => array(
|
|
'shop_id',
|
|
),
|
|
),
|
|
'ind_priority' => array(
|
|
'columns' => array(
|
|
'priority',
|
|
),
|
|
),
|
|
),
|
|
'engine' => 'innodb',
|
|
'version' => '$Rev: $',
|
|
);
|