diff --git a/admin/src/views/receiver/clues/detail.vue b/admin/src/views/receiver/clues/detail.vue index 6f20a10..3041a27 100644 --- a/admin/src/views/receiver/clues/detail.vue +++ b/admin/src/views/receiver/clues/detail.vue @@ -172,7 +172,11 @@ }, /* 刷新表格 */ reload() { - this.$refs.table.reload({ page: 1, where: this.where }); + if (this.$refs.table && typeof this.$refs.table.reload === 'function') { + this.$refs.table.reload({ page: 1, where: this.where }); + } else { + console.warn('表格引用或 reload 方法不存在'); + } }, handleCarChange(carInfo) { this.form.selectedCar = carInfo; diff --git a/admin/src/views/receiver/customer/detail.vue b/admin/src/views/receiver/customer/detail.vue index 1a863b5..23c4959 100644 --- a/admin/src/views/receiver/customer/detail.vue +++ b/admin/src/views/receiver/customer/detail.vue @@ -192,7 +192,11 @@ }, /* 刷新表格 */ reload() { - this.$refs.table.reload({ page: 1, where: this.where }); + if (this.$refs.table && typeof this.$refs.table.reload === 'function') { + this.$refs.table.reload({ page: 1, where: this.where }); + } else { + console.warn('表格引用或 reload 方法不存在'); + } }, handleCarChange(carInfo) { this.form.selectedCar = carInfo; diff --git a/pingan/src/views/car/product/index.vue b/pingan/src/views/car/product/index.vue index 5775058..98e0d44 100644 --- a/pingan/src/views/car/product/index.vue +++ b/pingan/src/views/car/product/index.vue @@ -215,7 +215,7 @@ minWidth: 100 }, { - prop: 'title', + prop: 'commission', label: '佣金', slot: 'commission', showOverflowTooltip: true, diff --git a/pingan/src/views/receiver/clues/detail.vue b/pingan/src/views/receiver/clues/detail.vue index 85be469..b48f32e 100644 --- a/pingan/src/views/receiver/clues/detail.vue +++ b/pingan/src/views/receiver/clues/detail.vue @@ -203,7 +203,11 @@ }, /* 刷新表格 */ reload() { - this.$refs.table.reload({ page: 1, where: this.where }); + if (this.$refs.table && typeof this.$refs.table.reload === 'function') { + this.$refs.table.reload({ page: 1, where: this.where }); + } else { + console.warn('表格引用或 reload 方法不存在'); + } }, handleCarChange(carInfo) { this.form.selectedCar = carInfo; diff --git a/pingan/src/views/receiver/customer/detail.vue b/pingan/src/views/receiver/customer/detail.vue index 1a863b5..23c4959 100644 --- a/pingan/src/views/receiver/customer/detail.vue +++ b/pingan/src/views/receiver/customer/detail.vue @@ -192,7 +192,11 @@ }, /* 刷新表格 */ reload() { - this.$refs.table.reload({ page: 1, where: this.where }); + if (this.$refs.table && typeof this.$refs.table.reload === 'function') { + this.$refs.table.reload({ page: 1, where: this.where }); + } else { + console.warn('表格引用或 reload 方法不存在'); + } }, handleCarChange(carInfo) { this.form.selectedCar = carInfo;