diff --git a/src/views/emis/salesCommissionRatio/editForm.vue b/src/views/emis/salesCommissionRatio/editForm.vue index 176cecf7..2ab7b7b9 100644 --- a/src/views/emis/salesCommissionRatio/editForm.vue +++ b/src/views/emis/salesCommissionRatio/editForm.vue @@ -51,7 +51,7 @@ type="datetime" value-format="yyyy-MM-dd HH:mm:ss" placeholder="选择结束时间" - @change="changeEndDate" + default-time="23:59:59" /> @@ -61,8 +61,8 @@ 启用 未启用 - 启用已过期 - 启用未过期 + @@ -148,9 +148,6 @@ export default { }); } }, - changeEndDate(val){ - this.form.endDate = val.split(' ')[0] + ' 23:59:59'; - }, // 取消按钮 cancel() { this.reset(); diff --git a/src/views/emis/salesCommissionRatio/index.vue b/src/views/emis/salesCommissionRatio/index.vue index 2983019b..7cfb36d6 100644 --- a/src/views/emis/salesCommissionRatio/index.vue +++ b/src/views/emis/salesCommissionRatio/index.vue @@ -73,10 +73,10 @@ @@ -141,7 +141,14 @@ export default { }, }; }, + //监听查询条件 watch: { + queryParams: { + handler(newVal, oldVal) { + this.getList(); + }, + deep: true + } }, created() { this.getList();