Browse Source

售后生成的销售订单,改变订单来源,新增售后单号

wufeng 2 years ago
parent
commit
40e8af14af
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/admin/controller/After.php

+ 2 - 1
app/admin/controller/After.php

@@ -1769,7 +1769,7 @@ class After extends Base
 //                "is_activity"=>0,
 //                "proof_id"=>0,
                 "order_type" => 3,
-                "order_source" => 2,//2咨询
+                "order_source" => 6,//6售后补换货
 //                'good_weight'=>$zxinfo['good_weight'],
 //                'gold_price'=>$zxinfo['gold_price'],
 //                'cost_price'=>$zxinfo['sale_cost_fee'],
@@ -1777,6 +1777,7 @@ class After extends Base
 //                'diff_fee'=>0,
                 "addtime" => date("Y-m-d H:i:s"),
                 "updatetime" => date("Y-m-d H:i:s"),
+                'returnCode' => $info['returnCode'],
 //                'total_price' => round($sale_price * $good_num, 2),
 //                'workNo'=>$workNo,
             ]);