* [task#122793,done,0.5h] Set plugins to the page of product all.

This commit is contained in:
xieqiyu
2024-07-08 14:27:22 +08:00
committed by 胡方舟
parent d78df236b0
commit d749157a79
+1 -2
View File
@@ -129,7 +129,6 @@ $canUpdateOrder = hasPriv('product', 'updateOrder') && $orderBy == 'order_asc';
dtable
(
set::id('products'),
set::plugins(array('sortable')),
set::sortable($canUpdateOrder),
set::onSortEnd($canUpdateOrder ? jsRaw('window.onSortEnd') : null),
set::canSortTo($canUpdateOrder ? jsRaw('window.canSortTo') : null),
@@ -140,7 +139,7 @@ dtable
set::checkable($canBatchEdit),
set::sortLink(createLink('product', 'all', "browseType={$browseType}&orderBy={name}_{sortType}&recTotal={$recTotal}&recPerPage={$recPerPage}")),
set::orderBy($orderBy),
set::plugins(array('header-group')),
set::plugins(array('header-group', 'sortable')),
$canBatchEdit ? set::footToolbar
(
item