diff --git a/src/views/main/BookingLedger/list/index.vue b/src/views/main/BookingLedger/list/index.vue
index 77b58a0..6e0f9d6 100644
--- a/src/views/main/BookingLedger/list/index.vue
+++ b/src/views/main/BookingLedger/list/index.vue
@@ -34,12 +34,8 @@
>
查询
重置
- 多提单号查询
-
+ 多提单号查询
+
{{ advanced ? '收起查询' : '更多查询' }}
@@ -260,7 +256,7 @@ export default {
}
this.gridOptions.data = []
this.getList(queryParam)
- if (queryParam == {}) {
+ if (Object.keys(queryParam).length === 0) {
this.getFormData()
}
this.getTableList()
@@ -299,8 +295,9 @@ export default {
this.formMoreData = moreData
}
this.formData.map((item, index) => {
- this.$set(this.formRes, item.label, '')
+ this.$set(this.formRes, item.label, this.formRes[item.label] || '')
})
+ this.getList(this.formRes)
console.log('=== 当前数据 ===', this.formRes, this.formData, this.formMoreData)
const len = this.formData.length % 4
if (len > 2) {