Commit ac7b2dc5 by 朱继来

调整

parent 7aff6a13
Showing with 1 additions and 1 deletions
......@@ -202,7 +202,7 @@ class QuoteModel extends Model
$quote_info = $this->find($id);
if ($quote_info['status'] == -1) return [1, '该报价已撤销,请刷新页面查看'];
if ($quote_info['status'] > 1) return [1, '当前报价状态不能撤销,请刷新页面查看'];
// if ($quote_info['status'] > 1) return [1, '当前报价状态不能撤销,请刷新页面查看'];
$res = $this->where('id', $id)->update(['status' => -1, 'cancel_reason'=>$cancel_reason]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment