Commit 5ed5fe76 authored by youjie's avatar youjie

审核改价提醒

parent 2a4ddb5d
...@@ -1906,16 +1906,21 @@ ...@@ -1906,16 +1906,21 @@
}) })
if(this.ChangeThePriceList.length>0){ if(this.ChangeThePriceList.length>0){
if((!localStorage.getItem("ChangeThePriceDataTime")|| if((!localStorage.getItem("ChangeThePriceDataTime")||
(localStorage.getItem("ChangeThePriceDataTime")!=this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")))) (localStorage.getItem("ChangeThePriceDataTime")!=this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"))))){
||(!localStorage.getItem("ExamineThePriceDataTime")||
(localStorage.getItem("ExamineThePriceDataTime")!=this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"))))){
this.GetChangeThePrice() this.GetChangeThePrice()
}
if((!localStorage.getItem("ExamineThePriceDataTime")||
(localStorage.getItem("ExamineThePriceDataTime")!=this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"))))){
this.GetExaminePriceOrderPageList() this.GetExaminePriceOrderPageList()
} }
// 两小时请求一次改价、审核改价提醒 // 两小时请求一次改价、审核改价提醒
setInterval(()=>{ setInterval(()=>{
if(!this.ChangeThePriceVisible){ if(!this.ChangeThePriceVisible){
this.GetChangeThePrice() this.GetChangeThePrice()
}else{
clearInterval()
}
if(!this.ExamineThePriceVisible){
this.GetExaminePriceOrderPageList() this.GetExaminePriceOrderPageList()
}else{ }else{
clearInterval() clearInterval()
......
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 to comment