Commit c3dbf68c by 朱继来

m

parents eddb3936 44eedc4f
......@@ -334,7 +334,7 @@ class InquiryItemsModel extends Model
$assignInfo = (new InquiryItemsAssignModel())->select("assign_uid")->where("inquiry_items_id",$inquiry_items_id)->get();
if ($assignInfo){
$assignInfoArr = $assignInfo->toArray();
$currency = $itemArr["currency"] == 1 ? "¥":"$";
$currency = $mainArr["currency"] == 1 ? "¥":"$";
$msg = $b["user_name"].'已修改询价,询价单号:'.$mainArr["inquiry_sn"].',型号:'.$updateArr["goods_name"].' 修改内容:价格:'.$currency.$itemArr["target_price"].',目标价:'.$currency.$updateArr["target_price"];
foreach ($assignInfoArr as $k=>$v){
$CommonModel->send_msg($v["assign_uid"],$msg);
......
......@@ -165,6 +165,8 @@ class InquiryModel extends Model
}
}
$v['inquiry_sn_origin'] = $v["inquiry_sn"];
// 在Redis集合中检查是否有新的报价
if ($export == 0){
$res = $Redis->SISMEMBER('frq_quote_urge', $v['id']);
......@@ -172,6 +174,8 @@ class InquiryModel extends Model
$v['inquiry_sn'] = $v['inquiry_sn'] . "<span style='color:red;'>&nbsp;*</span>";
}
}
}
$data = $list['data'];
if (@$input["is_export"] == 1) { #如果是导出
......
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