Prechádzať zdrojové kódy

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

wufeng 2 rokov pred
rodič
commit
7f9662ccd8
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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'],
         ];