Commit 964a9a3d authored by hujun's avatar hujun

导出字符串

parent 33d76a77
...@@ -116,20 +116,20 @@ class Cost extends Basic ...@@ -116,20 +116,20 @@ class Cost extends Basic
} }
$excel_data[$k] = [ $excel_data[$k] = [
'id'=>$v['id'], 'id' => $v['id'],
'count_time'=>$v['count_time'], 'count_time' => $v['count_time'],
'create_time'=>$v['create_time'], 'create_time' => $v['create_time'],
'agent_name'=>$v['agent_name'], 'agent_name' => $v['agent_name'],
'total_fee'=>$v['total_fee'], 'total_fee' => $v['total_fee'],
'type_name'=>$type_name, 'type_name' => $type_name,
'fee_item_name'=>$fee_item_name, 'fee_item_name' => $fee_item_name,
'purpose'=>$v['purpose'], 'purpose' => $v['purpose'],
'source_name' => $source[$v['source']], 'source_name' => $source[$v['source']],
'status'=>$status[$v['status']], 'status' => $status[$v['status']],
'card_name'=>$v['card_name'], 'card_name' => $v['card_name'],
'card_no'=>$v['card_no'], 'card_no' => "\t" . $v['card_no'],
'store_name'=>$store_name, 'store_name' => $store_name,
'office_name'=>$office_name 'office_name' => $office_name
]; ];
} }
if (isset($excel_data)) { if (isset($excel_data)) {
......
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