diff --git a/src/views/AccompanyOrder/AccompanyOrder.vue b/src/views/AccompanyOrder/AccompanyOrder.vue index 5386a1e..d2a63e6 100644 --- a/src/views/AccompanyOrder/AccompanyOrder.vue +++ b/src/views/AccompanyOrder/AccompanyOrder.vue @@ -483,6 +483,7 @@ export default { }, async getList() { this.loading = true + console.log("this.searchForm.pay_status",this.searchForm.pay_status) try { const filter = [ { @@ -493,13 +494,13 @@ export default { { key: 'pay_status', op: 'eq', - value: this.searchForm.pay_status || '' + value: this.searchForm.pay_status?this.searchForm.pay_status:(this.searchForm.pay_status===0?0:'') },{ key: 'site_id', op: 'eq', value: this.searchForm.site_id || '' } - ].filter(item => item.value !== '') + ] // 处理服务状态筛选 if (this.searchForm.status === 'assigned') {