|
|
@@ -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);
|