|
@@ -445,9 +445,9 @@ class Purch extends Base
|
|
|
'updatetime' => date("Y-m-d H:i:s"),
|
|
|
]);
|
|
|
if ($upd) {
|
|
|
- $process = ["order_code" => $cgdNo, "order_id" => $data['id'], "order_status" => $status, "order_type" => 'CGD'];
|
|
|
+ $process = ["order_code" => implode(',', $cgdNo), "order_id" => 0, "order_status" => $status, "order_type" => 'CGD'];
|
|
|
ProcessOrder::AddProcess($this->post['token'], $process);
|
|
|
- $order = ["order_code" => $cgdNo, "status" => $data['status'], "action_remark" => $remark, "action_type" => "status"];
|
|
|
+ $order = ["order_code" => implode(',', $cgdNo), "status" => '', "action_remark" => $remark, "action_type" => "status"];
|
|
|
ActionLog::logAdd($this->post['token'], $order, 'CGD', $status, $this->post);
|
|
|
return app_show(0, "更新成功");
|
|
|
} else {
|