|
|
@@ -20,6 +20,7 @@ use bizGhs\shop\classes\ShopMoneyClass;
|
|
|
use bizGhs\stock\classes\StockRecordClass;
|
|
|
use bizHd\purchase\classes\PurchaseClass;
|
|
|
use common\components\dict;
|
|
|
+use common\components\noticeUtil;
|
|
|
use common\components\orderSn;
|
|
|
use common\components\util;
|
|
|
use bizGhs\product\classes\ProductClass;
|
|
|
@@ -216,6 +217,7 @@ class RefundOrderService extends BaseService
|
|
|
//门店应收款减少
|
|
|
$currentMayGathering = bcsub($main->mayGathering, $refundPrice, 2);
|
|
|
if ($currentMayGathering < 0) {
|
|
|
+ noticeUtil::push("应付款有问题 {$main->mayGathering} {$refundPrice}", '15280215347');
|
|
|
util::fail('应付款有问题');
|
|
|
}
|
|
|
$main->mayGathering = $currentMayGathering;
|