修改商品选择购买须知模板报错
parent
dae030c2fc
commit
146406a230
|
|
@ -122,7 +122,7 @@ class ProductSpuController extends AdminController
|
||||||
return array_column($v, 'id');
|
return array_column($v, 'id');
|
||||||
});
|
});
|
||||||
$form->editor('description');
|
$form->editor('description');
|
||||||
$form->select('buynot_id')->options(ProductBuynote::all()->pluck('name', 'id'));
|
$form->select('buynote_id')->options(ProductBuynote::all()->pluck('name', 'id'));
|
||||||
$form->number('weight');
|
$form->number('weight');
|
||||||
|
|
||||||
$form->currency('sell_price')->symbol('¥')->default(0);
|
$form->currency('sell_price')->symbol('¥')->default(0);
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ return [
|
||||||
'images' => '商品图片',
|
'images' => '商品图片',
|
||||||
'features' => '商品特点',
|
'features' => '商品特点',
|
||||||
'description' => '商品详情',
|
'description' => '商品详情',
|
||||||
'buynot_id'=>'购买须知模板',
|
'buynote_id'=>'购买须知模板',
|
||||||
'sell_price' => '销售价格',
|
'sell_price' => '销售价格',
|
||||||
'market_price' => '市场价格',
|
'market_price' => '市场价格',
|
||||||
'cost_price' => '成本价格',
|
'cost_price' => '成本价格',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue