Commit bff4218b by cen

fix: 清空搜索值

1 parent 2afa8e4f
...@@ -26,10 +26,7 @@ ...@@ -26,10 +26,7 @@
</z-paging> </z-paging>
<OrderScreenContract ref="openFilter" @onConfirm="openFilterConfirm" /> <OrderScreenContract ref="openFilter" @onConfirm="openFilterConfirm" />
<!-- 支付弹框 --> <!-- 支付弹框 -->
<OrderPay <OrderPay ref="OrderPay" @jumpSuccess="jumpSuccess" />
ref="OrderPay"
@jumpSuccess="jumpSuccess"
/>
</view> </view>
</template> </template>
...@@ -134,7 +131,7 @@ export default { ...@@ -134,7 +131,7 @@ export default {
}, },
methods: { methods: {
clear() { clear() {
this.keyword = '' this.customerName = ''
this.search() this.search()
}, },
search() { search() {
...@@ -311,12 +308,12 @@ export default { ...@@ -311,12 +308,12 @@ export default {
console.log(name, val, 'jump') console.log(name, val, 'jump')
this.$emit('jump', name, val) this.$emit('jump', name, val)
}, },
openPay(item){ openPay(item) {
this.$refs.OrderPay.open(item.id) this.$refs.OrderPay.open(item.id)
}, },
jumpSuccess (params) { jumpSuccess(params) {
this.$emit('jump', 'OrderDetail', params) this.$emit('jump', 'OrderDetail', params)
}, }
} }
} }
</script> </script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!