|
@@ -1063,6 +1063,9 @@ class OrderController extends BaseController
|
|
|
if (empty($cg)) {
|
|
if (empty($cg)) {
|
|
|
util::fail('没有找到采购单');
|
|
util::fail('没有找到采购单');
|
|
|
}
|
|
}
|
|
|
|
|
+ if ($order->book == 1) {
|
|
|
|
|
+ util::fail('预订单不能记欠款');
|
|
|
|
|
+ }
|
|
|
PurchaseService::payAfter($cg, $payWay);
|
|
PurchaseService::payAfter($cg, $payWay);
|
|
|
OrderService::payAfter($order, $payWay);
|
|
OrderService::payAfter($order, $payWay);
|
|
|
|
|
|