Commit fb997156 authored by agping's avatar agping

修改

parent 324baadd
...@@ -35,7 +35,8 @@ define(['doT', 'text!temp/carry_out_template_tpl.html', 'css!style/home.css', 'c ...@@ -35,7 +35,8 @@ define(['doT', 'text!temp/carry_out_template_tpl.html', 'css!style/home.css', 'c
_this.next().html('');//先清空 _this.next().html('');//先清空
if(_id && _id != '0'){ if(_id && _id != '0'){
follow.getDistrictStoreList(_id, function(_data){ follow.getDistrictStoreList(_id, function(_data){
var _str = ''; // var _str = '';
var _str = '<option value="0">全部</option>';
$.each(_data, function(i,item) { $.each(_data, function(i,item) {
_str += '<option value="'+item.id+'">'+item.store_name+'</option>'; _str += '<option value="'+item.id+'">'+item.store_name+'</option>';
}); });
......
...@@ -28,7 +28,8 @@ define(['doT', 'text!temp/evaluation_list_template_tpl.html', 'css!style/home.cs ...@@ -28,7 +28,8 @@ define(['doT', 'text!temp/evaluation_list_template_tpl.html', 'css!style/home.cs
_this.next().html('');//先清空 _this.next().html('');//先清空
if(_id && _id != '0'){ if(_id && _id != '0'){
follow.getDistrictStoreList(_id, function(_data){ follow.getDistrictStoreList(_id, function(_data){
var _str = ''; // var _str = '';
var _str = '<option value="0">全部</option>';
$.each(_data, function(i,item) { $.each(_data, function(i,item) {
_str += '<option value="'+item.id+'">'+item.store_name+'</option>'; _str += '<option value="'+item.id+'">'+item.store_name+'</option>';
}); });
......
...@@ -28,7 +28,8 @@ define(['doT', 'text!temp/marchin_list_template_tpl.html', 'css!style/home.css', ...@@ -28,7 +28,8 @@ define(['doT', 'text!temp/marchin_list_template_tpl.html', 'css!style/home.css',
_this.next().html('');//先清空 _this.next().html('');//先清空
if(_id && _id != '0'){ if(_id && _id != '0'){
follow.getDistrictStoreList(_id, function(_data){ follow.getDistrictStoreList(_id, function(_data){
var _str = ''; // var _str = '';
var _str = '<option value="0">全部</option>';
$.each(_data, function(i,item) { $.each(_data, function(i,item) {
_str += '<option value="'+item.id+'">'+item.store_name+'</option>'; _str += '<option value="'+item.id+'">'+item.store_name+'</option>';
}); });
......
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