|
@@ -134,6 +134,7 @@ class Purch extends \app\BaseController
|
|
|
if(empty($data)){
|
|
|
return error_show(1004,"未找到数据");
|
|
|
}
|
|
|
+ $dom = Db::name("purchease_diff")->where(['cgdNo'=>$data['cgdNo'],'is_del'=>0])->select();
|
|
|
$goon = Db::name('good')->where(['good_code'=>$data['good_code']])->field("cat_id")->find();
|
|
|
if(empty($goon)){
|
|
|
return error_show(1002,"未找到商品数据");
|
|
@@ -173,6 +174,8 @@ class Purch extends \app\BaseController
|
|
|
}
|
|
|
$data['feedback'] = $feed;
|
|
|
$data['can'] = $int;
|
|
|
+ $data['var'] = $dom;
|
|
|
+
|
|
|
}
|
|
|
return app_show(0,"获取成功",$data);
|
|
|
}
|