Commit f5ef97a4 authored by youjie's avatar youjie

修复

parent 312a8b40
...@@ -91,10 +91,12 @@ ...@@ -91,10 +91,12 @@
// #ifdef MP-AG // #ifdef MP-AG
this.getEnumList() this.getEnumList()
// #endif // #endif
// #ifdef MP-DI
if (this.params.OrderTypeStr) { if (this.params.OrderTypeStr) {
let item = this.orderTypeList.find(x => x.Id == this.params.OrderTypeStr) let item = this.orderTypeList.find(x => x.Id == this.params.OrderTypeStr)
this.$emit('change', item) this.$emit('change', item)
} }
// #endif
}, },
methods: { methods: {
getEnumList() { getEnumList() {
...@@ -129,6 +131,12 @@ ...@@ -129,6 +131,12 @@
Id: '', Id: '',
Name: '所有订单' Name: '所有订单'
}) })
setTimeout(() => {
if (this.params.OrderTypeStr) {
let item = this.orderTypeList.find(x => x.Id == this.params.OrderTypeStr)
this.$emit('change', item)
}
}, 200)
} }
}, (err) => { }, (err) => {
uni.showToast({ uni.showToast({
......
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