|
|
@@ -205,7 +205,7 @@ class OrderClass extends BaseClass
|
|
|
util::fail('花材金额需要大于0');
|
|
|
}
|
|
|
if ($num > $xhPreNum) {
|
|
|
- util::fail($name . "数量不能超过{$xhPreNum}{$xhUnitName}");
|
|
|
+ //util::fail($name . "数量不能超过{$xhPreNum}{$xhUnitName}");
|
|
|
}
|
|
|
$val->cost = $unitPrice;
|
|
|
$val->unitPrice = $unitPrice;
|
|
|
@@ -1263,7 +1263,7 @@ class OrderClass extends BaseClass
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if (isset($orderInfo['actPrice']) && $orderInfo['actPrice'] == 0) {
|
|
|
+ if (isset($orderInfo['actPrice']) && $orderInfo['actPrice'] == 0 && $orderInfo['book'] == 0) {
|
|
|
util::fail('已全额退款,不能打小票');
|
|
|
}
|
|
|
|