mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-30 21:15:34 +08:00
65 lines
1.9 KiB
PHP
65 lines
1.9 KiB
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
$db['ar_items'] = array(
|
||
'columns' => array(
|
||
'item_id' => array(
|
||
'type' => 'int unsigned',
|
||
'required' => true,
|
||
'pkey' => true,
|
||
'extra' => 'auto_increment',
|
||
'editable' => false,
|
||
),
|
||
'ar_id' => array(
|
||
'type' => 'table:ar@finance',
|
||
'required' => true,
|
||
'editable' => false,
|
||
),
|
||
'bn' => array(
|
||
'type' => 'varchar(255)',
|
||
'editable' => false,
|
||
'is_title' => true,
|
||
'comment' => '货品编码',
|
||
),
|
||
'name' => array(
|
||
'type' => 'varchar(200)',
|
||
'editable' => false,
|
||
'comment' => '货品名称',
|
||
),
|
||
'num' => array(
|
||
'type' => 'number',
|
||
'default' => 1,
|
||
'required' => true,
|
||
'editable' => false,
|
||
'comment' => '数量',
|
||
),
|
||
'money' => array(
|
||
'type' => 'money',
|
||
'default' => 0,
|
||
'required' => true,
|
||
'editable' => false,
|
||
'comment' => '金额',
|
||
),
|
||
'actually_money' => array(
|
||
'type' => 'money',
|
||
//'required' => true,
|
||
'label' => '客户实付',
|
||
'width' => 65,
|
||
'default' => 0,
|
||
'editable' => false,
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 13,
|
||
),
|
||
),
|
||
'index' => array (
|
||
'ind_bn' => array ('columns' => array ('bn')),
|
||
),
|
||
'comment' => '销售应收单明细',
|
||
'engine' => 'innodb',
|
||
'version' => '$Rev: $',
|
||
);
|