Browse Source

一些功能

Kirin 4 years ago
parent
commit
e385b667d5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/admin/controller/system/SystemStore.php

+ 2 - 2
app/admin/controller/system/SystemStore.php

@@ -235,12 +235,12 @@ class SystemStore extends AuthController
             $field = [];
             $field[] = FormBuilder::frameImages('product', '选择商品', Route::buildUrl('productList', array('fodder' => 'product')))->icon('plus')->width('100%')->height('500px');
             $field[] = FormBuilder::hidden('product_id', '');
-            $field[] = FormBuilder::number('price', 0)->step(0.01);
+            $field[] = FormBuilder::number('price', '价格', 0)->step(0.01);
             $field[] = FormBuilder::hidden('unique', '');
         } else {
             $field = [];
             $field[] = FormBuilder::hidden('product_id', $where['product_id']);
-            $field[] = FormBuilder::number('price', SystemStoreProductStock::where(['product_id' => $where['product_id'], 'unique' => $where['unique'], 'store_id' => $id])->value('price'))->step(0.01);
+            $field[] = FormBuilder::number('price', '价格', SystemStoreProductStock::where(['product_id' => $where['product_id'], 'unique' => $where['unique'], 'store_id' => $id])->value('price'))->step(0.01);
             $field[] = FormBuilder::hidden('unique', $where['unique']);
         }
         $field[] = FormBuilder::number('stock', '库存增加量', 0);