Commit 4c61d167 authored by agping's avatar agping

1

parent 0ee1e675
...@@ -80,6 +80,13 @@ class RealTimePerformance extends Basic ...@@ -80,6 +80,13 @@ class RealTimePerformance extends Basic
if (!$this->request->isAjax()) { if (!$this->request->isAjax()) {
return view('cost/publicCostDetails'); return view('cost/publicCostDetails');
} }
}
//成本明细详情
public function publicCostDetailsStore()
{
if (!$this->request->isAjax()) {
return view('cost/publicCostDetailsStore');
}
} }
//门店成本核算表 //门店成本核算表
public function accountingTable() public function accountingTable()
......
This diff is collapsed.
...@@ -367,6 +367,7 @@ Route::group('index', [ ...@@ -367,6 +367,7 @@ Route::group('index', [
'attendanceList' => ['index/RealTimePerformance/attendanceList', ['method' => 'GET']],//门店考勤 liu 'attendanceList' => ['index/RealTimePerformance/attendanceList', ['method' => 'GET']],//门店考勤 liu
'costParameters' => ['index/RealTimePerformance/costParameters', ['method' => 'GET']],//成本参数 liu 'costParameters' => ['index/RealTimePerformance/costParameters', ['method' => 'GET']],//成本参数 liu
'publicCostDetails' => ['index/RealTimePerformance/publicCostDetails', ['method' => 'GET']],//费用报销详情 liu 'publicCostDetails' => ['index/RealTimePerformance/publicCostDetails', ['method' => 'GET']],//费用报销详情 liu
'publicCostDetailsStore' => ['index/RealTimePerformance/publicCostDetailsStore', ['method' => 'GET']],//成本明细详情 liu
'accountingTable' => ['index/RealTimePerformance/accountingTable', ['method' => 'GET']],//成本核算表 liu 'accountingTable' => ['index/RealTimePerformance/accountingTable', ['method' => 'GET']],//成本核算表 liu
'shopinspectionLog' => ['index/ShopInspectionLog/shopinspectionLogList', ['method' => 'POST|GET']],//商铺查看日志liu 'shopinspectionLog' => ['index/ShopInspectionLog/shopinspectionLogList', ['method' => 'POST|GET']],//商铺查看日志liu
......
...@@ -54,7 +54,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html', ...@@ -54,7 +54,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
//点击详情 //点击详情
$(document).on('click','.checkCost',function(e){//点击审核按钮 调整审核页面 $(document).on('click','.checkCost',function(e){//点击审核按钮 调整审核页面
var id = e.target.dataset.id; var id = e.target.dataset.id;
$(".publicCostDetails").attr('src','/index/publicCostDetails?cost_id='+ id + '&is_self=1') $(".publicCostDetails").attr('src','/index/publicCostDetailsStore?cost_id='+ id + '&is_self=1')
}); });
//打印功能 //打印功能
_doc.on('click', '.is-print', function(e) { _doc.on('click', '.is-print', function(e) {
......
...@@ -32,7 +32,7 @@ define(['doT', 'text!temp/cost_details_template_tpl.html', 'css!style/home.css', ...@@ -32,7 +32,7 @@ define(['doT', 'text!temp/cost_details_template_tpl.html', 'css!style/home.css',
//点击详情 //点击详情
$(document).on('click','.checkCost',function(e){//点击审核按钮 调整审核页面 $(document).on('click','.checkCost',function(e){//点击审核按钮 调整审核页面
var id = e.target.dataset.id; var id = e.target.dataset.id;
$(".publicCostDetails").attr('src','/index/publicCostDetails?cost_id='+ id + '&is_self=1') $(".publicCostDetails").attr('src','/index/publicCostDetailsStore?cost_id='+ id + '&is_self=1')
}); });
//费用类型切换 //费用类型切换
$("#cost_type").change(function() { $("#cost_type").change(function() {
......
This diff is collapsed.
...@@ -5,7 +5,11 @@ ...@@ -5,7 +5,11 @@
<tr> <tr>
<td>[%= countTime() %]</td> <td>[%= countTime() %]</td>
<td>[%= it[item]['id'] %]</td> <td>[%= it[item]['id'] %]</td>
<td>[%= it[item]['apply_for_id'] %]</td> <td>
[% if(it[item]['apply_for_id'] != 0) { %]
[%= it[item]['apply_for_id'] %]
[% } %]
</td>
<td>[%= it[item]['apply_for_time'] %]</td> <td>[%= it[item]['apply_for_time'] %]</td>
<td>[%= switchFeeType(it[item]['type']) %]</td> <td>[%= switchFeeType(it[item]['type']) %]</td>
<td>[%= switchFeeItem(it[item]['fee_item']) %]</td> <td>[%= switchFeeItem(it[item]['fee_item']) %]</td>
...@@ -109,7 +113,11 @@ ...@@ -109,7 +113,11 @@
<tr> <tr>
<td>[%= countTime() %]</td> <td>[%= countTime() %]</td>
<td>[%= it[item]['id'] %]</td> <td>[%= it[item]['id'] %]</td>
<td>[%= it[item]['apply_for_id'] %]</td> <td>
[% if(it[item]['apply_for_id'] != 0) { %]
[%= it[item]['apply_for_id'] %]
[% } %]
</td>
<td>[%= it[item]['apply_for_time'] %]</td> <td>[%= it[item]['apply_for_time'] %]</td>
<td>[%= switchFeeType(it[item]['type']) %]</td> <td>[%= switchFeeType(it[item]['type']) %]</td>
<td>[%= switchFeeItem(it[item]['fee_item']) %]</td> <td>[%= switchFeeItem(it[item]['fee_item']) %]</td>
......
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