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