|
@@ -0,0 +1,186 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+$config = array
|
|
|
+(
|
|
|
+
|
|
|
+ 'name' => 'cash_up_stat',
|
|
|
+
|
|
|
+ 'lang' => '财务应付报表',
|
|
|
+ 'order' => -10,
|
|
|
+
|
|
|
+
|
|
|
+ 'struct' => array
|
|
|
+ (
|
|
|
+ 'id' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => 'ID',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'day' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '日期',
|
|
|
+ 'default' => '',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'desc' => '',
|
|
|
+ 'search' => 'day',
|
|
|
+ 'search_button' => array
|
|
|
+ (
|
|
|
+ 'sum' => 'cash,xc_cash,ws_cash,df_cash',
|
|
|
+ 'option' => array(
|
|
|
+ 'day' => '按天',
|
|
|
+ 'week' => '按周',
|
|
|
+ 'month' => '按月',
|
|
|
+ ),
|
|
|
+ 'group' => '',
|
|
|
+ ),
|
|
|
+ 'order' => 'desc',
|
|
|
+ 'list' => 'Dever::showDay("{day}")',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'cash' => array
|
|
|
+ (
|
|
|
+ 'type' => 'float-11,2',
|
|
|
+ 'name' => '应付金额',
|
|
|
+ 'default' => '0',
|
|
|
+ 'desc' => '应付金额',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'search' => 'order',
|
|
|
+ 'list' => true,
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'xc_cash' => array
|
|
|
+ (
|
|
|
+ 'type' => 'float-11,2',
|
|
|
+ 'name' => '现存余额',
|
|
|
+ 'default' => '0',
|
|
|
+ 'desc' => '现存余额',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'search' => 'order',
|
|
|
+ 'list' => true,
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'ws_cash' => array
|
|
|
+ (
|
|
|
+ 'type' => 'float-11,2',
|
|
|
+ 'name' => '未审核提现',
|
|
|
+ 'default' => '0',
|
|
|
+ 'desc' => '未审核提现',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'search' => 'order',
|
|
|
+ 'list' => true,
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'df_cash' => array
|
|
|
+ (
|
|
|
+ 'type' => 'float-11,2',
|
|
|
+ 'name' => '已审核待发放提现',
|
|
|
+ 'default' => '0',
|
|
|
+ 'desc' => '已审核待发放提现',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'search' => 'order',
|
|
|
+ 'list' => true,
|
|
|
+ ),
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 'state' => array
|
|
|
+ (
|
|
|
+ 'type' => 'tinyint-1',
|
|
|
+ 'name' => '数据状态',
|
|
|
+ 'default' => '1',
|
|
|
+ 'desc' => '请选择状态',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'cdate' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '发布时间',
|
|
|
+ 'match' => array('is_numeric', time()),
|
|
|
+ 'desc' => '',
|
|
|
+
|
|
|
+ 'insert' => true,
|
|
|
+
|
|
|
+
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'manage' => array
|
|
|
+ (
|
|
|
+ 'insert' => false,
|
|
|
+ 'edit' => false,
|
|
|
+ 'delete' => false,
|
|
|
+ 'num' => false,
|
|
|
+ 'excel' => true,
|
|
|
+ ),
|
|
|
+
|
|
|
+
|
|
|
+ 'request' => array
|
|
|
+ (
|
|
|
+ 'list' => array
|
|
|
+ (
|
|
|
+
|
|
|
+ 'option' => array
|
|
|
+ (
|
|
|
+ 'start_day' => array('yes-day', '>='),
|
|
|
+ 'end_day' => array('yes-day', '<='),
|
|
|
+ 'state' => 1,
|
|
|
+ ),
|
|
|
+ 'type' => 'all',
|
|
|
+ 'order' => array('time' => 'desc', 'cdate' => 'desc'),
|
|
|
+ 'page' => array(20, 'list'),
|
|
|
+ 'group' => 'day',
|
|
|
+ 'col' => '*,min(day) as time, sum(cash) as cash, sum(xc_cash) as xc_cash, sum(ws_cash) as ws_cash, sum(df_cash) as df_cash',
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+);
|
|
|
+
|
|
|
+return $config;
|