chuweiqiang 1 anno fa
parent
commit
906ca9164e

+ 1 - 1
application/admin/view/books/books/add.html

@@ -215,7 +215,7 @@
     <div class="form-group" id="entity_price">
         <label class="control-label col-xs-12 col-sm-2">{:__('Entity_price')}:</label>
         <div class="col-xs-12 col-sm-8">
-            <input id="c-entity_price" data-rule="required" class="form-control" step="0.01" name="row[entity_price]" type="number">
+            <input id="c-entity_price"  class="form-control" step="0.01" name="row[entity_price]" type="number">
         </div>
     </div>
     <div class="form-group layer-footer">

+ 7 - 7
public/assets/js/backend/order/order_goods.js

@@ -32,13 +32,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         {field: 'price', title: __('Price'), operate:'BETWEEN'},
                         {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
                         {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
-                        {
-                            field: 'operate',
-                            title: __('Operate'),
-                            table: table,
-                            events: Table.api.events.operate,
-                            formatter: Table.api.formatter.operate
-                        }
+                        // {
+                        //     field: 'operate',
+                        //     title: __('Operate'),
+                        //     table: table,
+                        //     events: Table.api.events.operate,
+                        //     formatter: Table.api.formatter.operate
+                        // }
                     ]
                 ]
             });