|
|
@@ -33,7 +33,7 @@ use common\components\push;
|
|
|
class PurchaseController extends BaseController
|
|
|
{
|
|
|
|
|
|
- public $guestAccess = ['detail', 'ali-pay', 'get-ali-pay-code', 'wx-pay', 'merge-order-list','debt-list'];
|
|
|
+ public $guestAccess = ['detail', 'ali-pay', 'get-ali-pay-code', 'wx-pay', 'merge-order-list', 'debt-list'];
|
|
|
|
|
|
//取消采购单 ssh 20250710
|
|
|
public function actionCancel()
|
|
|
@@ -1129,7 +1129,7 @@ class PurchaseController extends BaseController
|
|
|
}
|
|
|
$ghsId = $get['ghsId'] ?? 0;
|
|
|
if (!empty($ghsId)) {
|
|
|
- $where['ghsId'] = $ghsId;
|
|
|
+ $where['ghsId'] = (int)$ghsId;
|
|
|
}
|
|
|
$status = $get['status'] ?? 0;
|
|
|
if (!empty($status)) {
|