544782275@qq.com 3 years ago
parent
commit
83e23ba59e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/store/controller/Order.php

+ 1 - 1
application/store/controller/Order.php

@@ -255,7 +255,7 @@ class Order extends Controller
         if (isset($post['id']) && $post['id']) {
             $worker_id = $post['worker_id'];
             $order_info = Db::name('store_order')->where('id',$id)->find();
-            Db::name('store_order')->where('id',$id)->update(['worker_id' => $worker_id,'status'=>$post['status'],'price_total'=>$post['price_total'],'price_amount'=>$post['price_total'] + $order_info['coupon_amount'],'remark'=>$post['remark']]);
+            Db::name('store_order')->where('id',$id)->update(['worker_id' => $worker_id,'status'=>$post['status'],'price_total'=>$post['price_total'],'price_amount'=>$post['price_total'] + $order_info['coupon_amount'],'remark'=>$post['remark'],'start_at'=>'']);
             if($worker_id != $order_info['worker_id']){
                 //添加指派记录
                 $order_no = Db::name('store_order')->where('id',$id)->value('order_no');