Commit e6ca03c8 authored by youjie's avatar youjie

no message

parent 7ec217a8
......@@ -427,7 +427,7 @@ export default {
components: {
offset
},
props: ["OrderList", "pagesTitle","changePriceOuterVisible"],
props: ["OrderList", "pagesTitle","msgObj","changePriceOuterVisible"],
data() {
return {
titlePrice: "",
......@@ -586,16 +586,26 @@ export default {
this.changePriceMsg.outerVisible2 = false;
}
},
deep: false,
immediate: true
},
msgObj:{
handler(val, oldVal) {
if(val.OrderId==0){
this.changePriceMsg.outerVisible = false;
this.changePriceMsg.outerVisible2 = false;
}
},
deep: true,
immediate: true
},
OrderList: {
handler(val, oldVal) {
if(this.pagesTitle=='申请'&&this.$route.query.OrderId
if(this.pagesTitle=='申请'&&this.msgObj.OrderId!=0&&this.$route.query.OrderId
&&this.$route.query.OrderType
&&this.$route.query.DepartSTime
&&this.$route.query.DepartSTime
&&val&&val.length==1&&this.changePriceOuterVisible){
&&val&&val.length==1){
this.ckChangePrice(val[0])
}
}
......
......@@ -342,6 +342,7 @@
</div>
</div>
<OrderList :pagesTitle="Title" :OrderList="OrderList"
:msgObj="msg"
:changePriceOuterVisible="changePriceOuterVisible"
v-loading="loading"
@success="msg.pageIndex=1,msg2.pageIndex=1,GetList()"> </OrderList>
......
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