|
|
@@ -647,8 +647,10 @@ class PurchaseController extends BaseController
|
|
|
if ($presell == 1) {
|
|
|
$hasDebtPay = 0;
|
|
|
}
|
|
|
+ $shop = $this->shop;
|
|
|
+ $info['pfShopId'] = $shop->pfShopId ?? 0;
|
|
|
$info['hasDebtPay'] = $hasDebtPay;
|
|
|
- $info['balance'] = $this->shop->balance ?? 0;
|
|
|
+ $info['balance'] = $shop->balance ?? 0;
|
|
|
$getPayType = dict::getDict('getPayType');
|
|
|
$info['getPayType'] = $getPayType;
|
|
|
|
|
|
@@ -659,6 +661,8 @@ class PurchaseController extends BaseController
|
|
|
util::fail('没有找到供货商');
|
|
|
}
|
|
|
$info['afterSale'] = $ghsInfo->afterSale ?? 1;
|
|
|
+
|
|
|
+
|
|
|
util::success($info);
|
|
|
}
|
|
|
|