shish 2 年 前
コミット
634708ca85
1 ファイル変更1 行追加0 行削除
  1. 1 0
      app-ghs/controllers/PurchaseOrderController.php

+ 1 - 0
app-ghs/controllers/PurchaseOrderController.php

@@ -474,6 +474,7 @@ class PurchaseOrderController extends BaseController
             if ($inType == 1 && !empty($bookSn)) {
                 util::fail('开启预订不能直接入库');
             }
+            $post['bookSn'] = $bookSn;
 
             $debtStatus = $inType == 1 ? PurchaseOrderClass::DEBT_YES : PurchaseOrderClass::DEBT_UNKNOWN;
             $post['debt'] = $debtStatus;