Commit 87d50ce8 authored by hujun's avatar hujun

已审核去除

parent 402284b9
...@@ -66,7 +66,7 @@ class ApplyForCost extends Basic ...@@ -66,7 +66,7 @@ class ApplyForCost extends Basic
} }
$field = 'a.id,a.count_time,a.source,a.type,a.create_time,a.agent_id,a.total_fee,a.fee_item,a.purpose,'; $field = 'a.id,a.count_time,a.source,a.type,a.create_time,a.agent_id,a.total_fee,a.fee_item,a.purpose,';
$field .= 'b.name as agent_name,a.card_name,a.bank,a.card_no,a.source,a.store_id'; $field .= 'b.name as agent_name,a.card_name,a.bank,a.card_no,a.source,a.store_id,a.status';
$fee_model = new FApplyForFee(); $fee_model = new FApplyForFee();
$cost_service = new CostService(); $cost_service = new CostService();
$m_img = new FImg(); $m_img = new FImg();
...@@ -82,6 +82,9 @@ class ApplyForCost extends Basic ...@@ -82,6 +82,9 @@ class ApplyForCost extends Basic
foreach($list as $k=>$v) { foreach($list as $k=>$v) {
$list[$k]['type_name'] = $cost_service->getFeeType($v['type']); $list[$k]['type_name'] = $cost_service->getFeeType($v['type']);
$list[$k]['fee_item_name'] = $cost_service->getFeeItem($v['fee_item']); $list[$k]['fee_item_name'] = $cost_service->getFeeItem($v['fee_item']);
if ($v['status'] > 0 && $this->params['type'] == 1) {
$is_check = 0; //已审核去除
}
$list[$k]['is_check'] = $is_check; $list[$k]['is_check'] = $is_check;
$list[$k]['source_name'] = $source[$v['source']]; $list[$k]['source_name'] = $source[$v['source']];
$images_array = $image_data = $m_img->findByAll('id,img_name,img_type', ['img_id'=>$v['id'],'img_type'=>['in','1,2']]); $images_array = $image_data = $m_img->findByAll('id,img_name,img_type', ['img_id'=>$v['id'],'img_type'=>['in','1,2']]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment