wugg há 2 anos atrás
pai
commit
434caa83bd
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      application/Home/controller/Order.php

+ 1 - 1
application/Home/controller/Order.php

@@ -252,7 +252,7 @@ class Order extends Base
         $stock = Db::name("account_stock")->where(["accountid"=>$this->userinfo['id'],'is_del'=>0])->find();
         $data=[];
         $data['stock'] = isset($stock['stock_balance']) ? $stock['stock_balance']:0;
-        $unit = Db::name('good')->where(['is_del'=>0,'status'=>1,"type"=>$this->userinfo['type']])->field("id,good_name,unit as name,unit_weight as weight,limit_num")
+        $unit = Db::name('good')->where(['is_del'=>0,'status'=>1,"type"=>$this->userinfo['type']])->field("id,good_name,good_desc,unit as name,unit_weight as weight,limit_num")
             ->select();
         $limit=[];
         foreach ($unit as $value){