Commit 6c2ab960 authored by 吴春's avatar 吴春

1

parent 791581d6
...@@ -410,10 +410,10 @@ ...@@ -410,10 +410,10 @@
<template slot-scope="scope"> <template slot-scope="scope">
<span <span
><template v-if="scope.row.ApplyForState==1"> ><template v-if="scope.row.ApplyForState==1">
主管审核 {{scope.row.ApplyType=="2"?"OP":"主管"}}审核
</template> </template>
<template v-else-if="scope.row.ApplyForState==2"> <template v-else-if="scope.row.ApplyForState==2">
主管审核通过 {{scope.row.ApplyType=="2"?"OP":"主管"}}审核通过
</template> </template>
<template v-else-if="scope.row.ApplyForState==3"> <template v-else-if="scope.row.ApplyForState==3">
审核通过 审核通过
......
...@@ -1289,6 +1289,7 @@ ...@@ -1289,6 +1289,7 @@
pageSize: 5, pageSize: 5,
total: 0, total: 0,
total2: 0, total2: 0,
ApplyType:0,
}, },
ExamineThePriceVisible: false, //审核改价提醒 ExamineThePriceVisible: false, //审核改价提醒
ChangeThePriceList: [], ChangeThePriceList: [],
...@@ -1966,13 +1967,15 @@ ...@@ -1966,13 +1967,15 @@
(localStorage.getItem("ChangeThePriceDataTime") != this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"))) (localStorage.getItem("ChangeThePriceDataTime") != this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")))
)) { )) {
this.GetChangeThePrice() this.GetChangeThePrice()
this.ExamineThePriceMsg.ApplyType=2;
this.GetExaminePriceOrderPageList()
} }
} }
}, },
created() { created() {
let DateTime = new Date(); let DateTime = new Date();
let Year = DateTime.getFullYear() let Year = DateTime.getFullYear()
let Month = DateTime.getMonth() let Month = DateTime.getMonth()+1
let Months = Month > 9 ? Month : '0' + Month let Months = Month > 9 ? Month : '0' + Month
let day = new Date(Year, Month, 0).getDate() let day = new Date(Year, Month, 0).getDate()
let DepartETime = Year + '-' + Months + '-' + day let DepartETime = Year + '-' + Months + '-' + day
...@@ -2028,12 +2031,14 @@ ...@@ -2028,12 +2031,14 @@
"CarSingle_post_GetExaminePriceOrderPageList", this.ExamineThePriceMsg, "CarSingle_post_GetExaminePriceOrderPageList", this.ExamineThePriceMsg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log("我进来啦结果...",res.data.data);
if (res.data.data && res.data.data.count > 0 && res.data.data.pageData.length > 0) { if (res.data.data && res.data.data.count > 0 && res.data.data.pageData.length > 0) {
if (!this.ExamineThePriceMsg.total) this.ExamineThePriceMsg.total = res.data.data.count if (!this.ExamineThePriceMsg.total) this.ExamineThePriceMsg.total = res.data.data.count
// localStorage.setItem("ExamineThePriceData", JSON.stringify(res.data.data.pageData)); // localStorage.setItem("ExamineThePriceData", JSON.stringify(res.data.data.pageData));
localStorage.setItem("ExamineThePriceDataTime", this.getBeforeDate(0, new Date().Format( localStorage.setItem("ExamineThePriceDataTime", this.getBeforeDate(0, new Date().Format(
"yyyy-MM-dd"))); "yyyy-MM-dd")));
this.ChangeThePriceObj.ExamineThePriceData = res.data.data.pageData this.ChangeThePriceObj.ExamineThePriceData = res.data.data.pageData
console.log("我进来啦this.ChangeThePriceObj.ExamineThePriceData",this.ChangeThePriceObj.ExamineThePriceData);
this.ExamineThePriceVisible = true this.ExamineThePriceVisible = true
} else { } else {
this.ExamineThePriceVisible = false this.ExamineThePriceVisible = false
......
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