From 5b1b663f77cb59599302a93fb6cb2da208602c34 Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期三, 19 三月 2025 14:26:47 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/2.0.1' into 2.0.1 --- admin/src/views/combo/record.vue | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/admin/src/views/combo/record.vue b/admin/src/views/combo/record.vue index 4333ac9..d87a233 100644 --- a/admin/src/views/combo/record.vue +++ b/admin/src/views/combo/record.vue @@ -32,6 +32,7 @@ <span>{{ scope.row.useStartDate }}鑷硔{ scope.row.useEndDate }}</span> </template> </el-table-column> + <el-table-column align="center" label="鍒涘缓鏃堕棿" min-width="150" prop="createDate" show-overflow-tooltip /> <el-table-column align="center" label="濂楅鐘舵��" min-width="80"> <template v-slot="scope"> <span v-if="scope.row.status == '0'" class="text_success">姝e父</span> @@ -144,8 +145,17 @@ clearable: true, options: [ { value: '0', label: '姝e父' }, - { value: '1', label: '浣滃簾' }, - // { value: '2', label: '寰呮敮浠�' } + { value: '1', label: '浣滃簾' } + ] + },{ + filed: 'createDate', + type: 'daterange', + label: '鍒涘缓鏃ユ湡', + placeholder: '璇烽�夋嫨鐘舵��', + clearable: true, + options: [ + { value: '0', label: '姝e父' }, + { value: '1', label: '浣滃簾' } ] }], online: true @@ -171,7 +181,6 @@ remarkCan: '', // 猬囷笍adjust璋冩暣鐩稿叧 isShowAdjust: false, - isShowCan: false, canList: [], adjustData: { flag: 0, @@ -233,9 +242,15 @@ const { pagination, filters } = this this.loading = true if (page) { pagination.page = page } + let form = JSON.parse(JSON.stringify(filters)) + if (form.createDate && form.createDate.length > 0) { + form.startCreateDate = form.createDate[0] + form.endCreateDate = form.createDate[1] + delete form.createDate + } comboSalePage({ model: { - ...filters + ...form }, capacity: pagination.pageSize, page: pagination.page, -- Gitblit v1.9.3