Commit 77c0408b authored by agping's avatar agping

一键生成

parent 472560fb
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading breadcrumb"> <div class="panel-heading breadcrumb">
<li> <li>
<span class="manager-title ld-Marheight">杭州同联- 九部一组周小雨</span> <span class="manager-title ld-Marheight"></span>
<input class="form-control ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="create_time_start" name="start_date1" type="date" style="width: 150px;float: left;margin-left: 20px;"> <input class="form-control ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="create_time_start" name="start_date1" type="date" style="width: 150px;float: left;margin-left: 20px;">
<a class="btn btn-info is-print ld-Marheight" style="margin-left: 20px;">打印</a> <a class="btn btn-info is-print ld-Marheight" style="margin-left: 20px;">打印</a>
<a class="btn btn-info is-close ld-Marheight" style="margin-left: 20px;">导出excel</a> <a class="btn btn-info is-close ld-Marheight" style="margin-left: 20px;">导出excel</a>
......
...@@ -306,7 +306,7 @@ ...@@ -306,7 +306,7 @@
<input id="comit_time_start" class="form-control btn4 ld-Marheight" type="text" placeholder="请选择" <input id="comit_time_start" class="form-control btn4 ld-Marheight" type="text" placeholder="请选择"
onClick="WdatePicker({el:this,dateFmt:'yyyy-MM',readOnly:'readonly' })"> onClick="WdatePicker({el:this,dateFmt:'yyyy-MM',readOnly:'readonly' })">
<span class="btn btn-info btn3 ld-Marheight" id="search" style="float:left">搜索</span> <span class="btn btn-info btn3 ld-Marheight" id="search" style="float:left">搜索</span>
<span class="btn btn-info btn3 ld-Marheight" id="reset" style="float:left">重置</span> <!--<span class="btn btn-info btn3 ld-Marheight" id="reset" style="float:left">重置</span>-->
</form> </form>
<div style="clear:both;margin-bottom: 20px;"></div> <div style="clear:both;margin-bottom: 20px;"></div>
...@@ -315,10 +315,12 @@ ...@@ -315,10 +315,12 @@
<div><span class="btn btn-info btn3 ld-Marheight" id="officeCheck" style="margin-bottom: 10px;">办公室房租+办公室绑定门店 入口</span></div> <div><span class="btn btn-info btn3 ld-Marheight" id="officeCheck" style="margin-bottom: 10px;">办公室房租+办公室绑定门店 入口</span></div>
<div><span class="btn btn-info btn3 ld-Marheight" id="chengben" style="margin-bottom: 20px;">总部成本+同联发展基金+总经理基薪资等参数 入口</span></div> <div><span class="btn btn-info btn3 ld-Marheight" id="chengben" style="margin-bottom: 20px;">总部成本+同联发展基金+总经理基薪资等参数 入口</span></div>
<div style="font-size: 16px;margin-bottom: 20px;font-weight: 600;">核对记录:</div> <div style="font-size: 16px;margin-bottom: 20px;font-weight: 600;">核对记录:</div>
<div style="margin-bottom: 10px;">考勤核对人1:周小叶 核对人2:王晓丹 </div> <div style="margin-bottom: 10px;">门店考勤:<span class="kaoqin1"></span></div>
<div style="margin-bottom: 10px;">社保报销核对人1:周小雨 核对人2:王丹丹</div> <div style="margin-bottom: 10px;">社保报销:<span class="kaoqin2"></span></div>
<div style="margin-bottom: 10px;">总部成本+发展基金+总经理基薪 核对人1:周小叶 核对人2:王晓丹 </div> <div style="margin-bottom: 10px;">门店手续费:<span class="kaoqin3"></span> </div>
<div style="margin-bottom: 10px;">办公室房租+办公室绑定门店 核对人1:周小雨 核对人2:王丹丹</div> <div style="margin-bottom: 10px;">总部成本+发展基金+总经理基薪:<span class="kaoqin4"></span></div>
<div style="margin-bottom: 10px;">办公室房租+当月办公门店:<span class="kaoqin5"></span></div>
<div style="margin-top: 20px;"><span class="btn btn-info btn3 ld-Marheight" id="key">一键生成当月费用</span></div> <div style="margin-top: 20px;"><span class="btn btn-info btn3 ld-Marheight" id="key">一键生成当月费用</span></div>
</td> </td>
......
...@@ -5,6 +5,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html', ...@@ -5,6 +5,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
/*第几页*/ /*第几页*/
pageSize: 10, pageSize: 10,
/*每页显示多少条*/ /*每页显示多少条*/
store_id: '',
init: function() { init: function() {
//初始化时间 //初始化时间
...@@ -16,6 +17,14 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html', ...@@ -16,6 +17,14 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
$('#create_time_start').val(day_end);//店长日报默认当天 $('#create_time_start').val(day_end);//店长日报默认当天
//初始化dot //初始化dot
$(document.body).append(template); $(document.body).append(template);
//区分我的门店成本 全部门店成本
if(getUrlParam('store_id')){//全部门店
}else{//我的门店
var str_ = user_info_obj.district_name + user_info_obj.store_name + user_info_obj.name + "成本核算表"
$('.manager-title').html(str_);
bargain.store_id = user_info_obj.store_id;//门店id
}
bargain.getList(1); bargain.getList(1);
bargain.event(); bargain.event();
}, },
...@@ -49,8 +58,10 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html', ...@@ -49,8 +58,10 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
getList: function(pageNo){ getList: function(pageNo){
console.count('bar'); console.count('bar');
var params = { var params = {
// 'store_id':bargain.store_id,
// 'setting_date': $('#create_time_start').val + '-01',
'setting_date': "2019-06-01", 'setting_date': "2019-06-01",
'store_id':49 , 'store_id':49,
}; };
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
......
...@@ -369,7 +369,7 @@ function switchFeeItem(str){ ...@@ -369,7 +369,7 @@ function switchFeeItem(str){
case '501': case '501':
return '家庭基金报销'; return '家庭基金报销';
case '80': case '80':
return '502社保报销'; return '社保报销';
case '503' : case '503' :
return '总经理基薪'; return '总经理基薪';
case '504' : case '504' :
......
This diff is collapsed.
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