Commit d286dcb7 by hcy001

1

parent aa0c4b6e
Showing with 1 additions and 1 deletions
......@@ -194,7 +194,7 @@ class InquiryItemsReportModel extends Model
#更新当前报价单状态
$QuoteModel->where("id",$data["quote_id"])->update(["status"=>$status]); #更新报价选中
#更新关联除了当前询价单 此询价明细的报价单状态
$QuoteModel->where("inquiry_items_id",$inquiry_items_id)->whereNotIn("id",[$quote_id])->update(["status"=>1]); #重启其他所有状态为 已报价
$QuoteModel->where("inquiry_items_id",$inquiry_items_id)->whereNotIn("id",[$quote_id])->whereNotIn("status",[-1,0])->update(["status"=>1]); #重启其他所有状态为 已报价
#更新询价明细表状态
(new InquiryItemsModel())->where("id",$inquiry_items_id)->update(["status"=>$status == 2 ? 3:5]);
......
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