xieruidong il y a 2 ans
Parent
commit
4205090813
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      public/assets/js/backend/goods.js

+ 1 - 1
public/assets/js/backend/goods.js

@@ -33,7 +33,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                     [
                         {checkbox: true},
                         {field: 'id', title: __('Id')},
-                        {field: 'name', title: __('Name'),formatter: Table.api.formatter.content,width:200},
+                        {field: 'name', title: __('Name'),formatter: Table.api.formatter.content,width:200,operate: 'like'},
                         {field: 'category.name', title: __('分类'),formatter: Table.api.formatter.label,operate: "like"},
                         {field: 'brand', title: __('Brand')},
                         //{field: 'amount', title: __('售价'), operate:'BETWEEN'},