Procházet zdrojové kódy

拆分订单脚本,生成的采购单退货字段取销售单的

wufeng před 2 roky
rodič
revize
7f9662ccd8
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      app/command/SplitSale.php

+ 2 - 2
app/command/SplitSale.php

@@ -302,8 +302,8 @@ class SplitSale extends Command
             'last_time' => $cgd['last_time'] ?? '',
             'send_type' => $sale['send_type'] ?? '',
             'send_status' => $sale['send_status'] ?? '',
-            'th_num' => $cgd['th_num'] ?? 0,
-            'th_fee' => $cgd['th_fee'] ?? 0,
+            'th_num' => $sale['th_num'] ?? 0,
+            'th_fee' => $sale['th_fee'] ?? 0,
             'updatetime' => $sale['updatetime'],
         ];