Commit e6ca03c8 authored by youjie's avatar youjie

no message

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