Commit ffd42aa9 authored by agping's avatar agping

1

parent eecfefdd
......@@ -151,10 +151,10 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
var _this = $(this);
e.preventDefault();
e.stopPropagation();
if(confirm('确认删除吗?')){
// if(confirm('确认删除吗?')){
_this.parent().remove();
that.spandelList(_this.prev().attr('data-imgid'));
};
// };
});
//编辑费用详情 点击保存
_doc.on('click', '.save_cost', function(e) {
......@@ -431,7 +431,7 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
dataType: 'json',
success: function(data) {
if(data.code == 200) {
alert(data.msg);
alert('删除成功');
} else {
alert(data.msg);
}
......
......@@ -114,7 +114,7 @@ define(['doT', 'text!temp/store_cost_template_tpl.html', 'css!style/home.css', '
if($('#commit_home').val()){
params.district_id= $('#commit_home').val();
}else{
params.district_id= 1;
// params.district_id= 1;
}
$.get('/index/getAllStoreCost',params,function(data){
if(typeof data === 'object') {
......
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