|
@@ -114,7 +114,6 @@ class StoreGoods extends Controller
|
|
|
if(isset_full($data,'id')) $defaultValues = Db::name('StoreGoodsItem')->where(['goods_id' => $data['id']])->column($fields);
|
|
|
$this->defaultValues = json_encode($defaultValues, JSON_UNESCAPED_UNICODE);
|
|
|
$this->goods_cate = GoodsCate::getCateTree();
|
|
|
- $this->express= Db::name('freight_template')->select();
|
|
|
}
|
|
|
// 添加或编辑商品
|
|
|
if($this->request->isPost() && in_array($this->request->action(),['add','edit'])){
|
|
@@ -289,4 +288,4 @@ class StoreGoods extends Controller
|
|
|
|
|
|
|
|
|
|
|
|
-}
|
|
|
+}
|