cqp 1 день назад
Родитель
Сommit
048d39f6c8
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      app/Service/U8ThirdPartyService.php

+ 2 - 0
app/Service/U8ThirdPartyService.php

@@ -558,6 +558,7 @@ class U8ThirdPartyService extends Service
                    "cVouchType" => "05",
                    "cSTCode"    => (string)($order['cSTCode'] ?? "02"), // 示例中是02
                    "cDepCode"   => (string)($order['cDepCode'] ?? "01"),
+                   "cBusType" => $order['cBusType'] ?? "分期收款",
                    "IsVerify"   => true,
                    "cMemo"      => "接口生成",
                    "dDate"      => date("Y-m-d"),
@@ -658,6 +659,7 @@ class U8ThirdPartyService extends Service
                    "cWhCode"  => "06", // 仓库编码
                    "cRdCode"  => "0299", // 出入库类别编码
                    "cVouchType"  => "32", // 单据类型编码
+                   "cBusType" => $fhOrder['cBusType'] ?? "分期收款",
                    "cMemo"    => "接口生成",
                    "cSource"  => "发货单",
                    "cSTCode"  => $fhOrder['cSTCode'], // 销售类型