|
|
@@ -151,7 +151,7 @@ class PurchaseOrderClass extends BaseClass
|
|
|
//报损减免后金额
|
|
|
$modifyPrice = $data['modifyPrice'] ?? 0;
|
|
|
if ($modifyPrice > $currentPrice) {
|
|
|
- util::fail('应付金额大于总金额' . $modifyPrice . ' ' . $currentPrice);
|
|
|
+ util::fail("应付金额大于总金额,应付金额:{$modifyPrice},总金额:{$currentPrice}");
|
|
|
}
|
|
|
if ($modifyPrice < $currentPrice) {
|
|
|
$data['discountAmount'] = bcsub($currentPrice, $modifyPrice, 2);
|