From 5e24345aa50ebd33b52ff9672f903bfb4ac01a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Thu, 29 Dec 2022 10:00:47 +0800 Subject: [PATCH] 12/29 --- src/views/main/Printing/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/main/Printing/index.vue b/src/views/main/Printing/index.vue index 7056803..32d38cc 100644 --- a/src/views/main/Printing/index.vue +++ b/src/views/main/Printing/index.vue @@ -166,7 +166,7 @@ export default { setVisible: false, setVisible1: false, queryParam: { - WebMain: '', + WebMain: '全部', currentPage: 1, pageSize: 10, totalResult: 1 @@ -324,11 +324,11 @@ export default { this.loading = true let Data = {} if (this.queryParam.WebMain == '全部') { - Data = { isMain: true, isSub: true } + Data = {} } else if (this.queryParam.WebMain == '主单') { - Data = { isMain: true, isSub: false } + Data = { isMain: true } } else if (this.queryParam.WebMain == '分单') { - Data = { isMain: false, isSub: true } + Data = { isSub: true } } BookingPrintTemplatePage({ ...this.queryParam, ...Data }).then(res => { this.loadData = res.data.rows