|
|
@@ -810,14 +810,17 @@ class OrderController extends BaseController
|
|
|
}
|
|
|
//订单生成时唤起在线打印
|
|
|
if (isset($order->needPrint) && $order->needPrint == dict::getDict('needPrint', 'need')) {
|
|
|
- OrderClass::onlinePrint($order);
|
|
|
- $order->printNum += 1;
|
|
|
- $order->save();
|
|
|
+ if ($order->status != 1 && $order->status != 5) {
|
|
|
+ OrderClass::onlinePrint($order);
|
|
|
+ $order->printNum += 1;
|
|
|
+ $order->save();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if ($order->status != 1 && $order->status != 5) {
|
|
|
+ //花店采购供货商端收到通知
|
|
|
+ NoticeClass::ghsNewOrderNotice($order);
|
|
|
}
|
|
|
- //花店采购供货商端收到通知
|
|
|
- NoticeClass::ghsNewOrderNotice($order);
|
|
|
}
|
|
|
-
|
|
|
util::success($return);
|
|
|
} catch (\Exception $e) {
|
|
|
$transaction->rollBack();
|