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