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