Commit 8ec02fdb authored by xishifeng's avatar xishifeng

分佣提成新增修改

parent 1fff703f
...@@ -765,16 +765,17 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', ' ...@@ -765,16 +765,17 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
if(typeof _data === 'object') { if(typeof _data === 'object') {
if(_data['code'] == '200') { if(_data['code'] == '200') {
$("#maid_new_table_list").html(doT.template($('#reportList_maid_list_tpl').html())(_data)); $("#maid_new_table_list").html(doT.template($('#reportList_maid_list_tpl').html())(_data));
var _isShowAddBtnFlag = true; // var _isShowAddBtnFlag = true;
$.each($('.detail-modal-maid-span-time'), function(i, v) { // $.each($('.detail-modal-maid-span-time'), function(i, v) {
if(v.innerHTML){ // if(v.innerHTML){
_isShowAddBtnFlag = false; // _isShowAddBtnFlag = false;
}; // };
}); // });
//如果确认时间都有,都不为空,则把新增按钮显示出来 // //如果确认时间都有,都不为空,则把新增按钮显示出来
if(_isShowAddBtnFlag){ // if(_isShowAddBtnFlag){
$('#maid_new_btn').show(); // $('#maid_new_btn').show();
}; // };
$('#maid_new_btn').show();
bargain.maidCount(2);//计算合计的内容 bargain.maidCount(2);//计算合计的内容
} else { } else {
layerTipsX(_data['msg']); layerTipsX(_data['msg']);
......
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