|
|
@@ -78,6 +78,10 @@ class PurchaseOrderController extends BaseController
|
|
|
if ($orderStatus) {
|
|
|
$where['status'] = $orderStatus;
|
|
|
}
|
|
|
+ $ghsId = $get['ghsId'] ?? 0;
|
|
|
+ if(!empty($ghsId)){
|
|
|
+ $where['ghsId'] = $ghsId;
|
|
|
+ }
|
|
|
$where['sjId'] = $this->sjId;
|
|
|
$where['shopId'] = $this->shopId;
|
|
|
$data = PurchaseOrderClass::getOrderList($where);
|