Skip to content

Commit

Permalink
门店增加状态一列,用于区分是否禁用 #2738
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Feb 2, 2017
1 parent 0de9eb1 commit e79365a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions public/js/admin/shop-popup-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ define([
return full.province + full.city + full.address;
}
},
{
data: 'enable',
render: function (data, type, full) {
return data === '0' ? '已禁用' : '启用中';
}
},
{
data: 'id',
render: function (data, type, full) {
Expand Down
1 change: 1 addition & 0 deletions resources/views/admin/shop/popupPicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<th>电话</th>
<th>类目</th>
<th>地址</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
Expand Down

0 comments on commit e79365a

Please sign in to comment.