From fc68bc000e17fe9891a82472b3e5a4cb9dd8370a Mon Sep 17 00:00:00 2001 From: xd <844539747@qq.com> Date: Wed, 22 May 2024 15:09:36 +0800 Subject: [PATCH] '123' --- ruoyi-admin/pom.xml | 21 +++++++++++++++++++ .../components/Tools/CustomerSelect/index.vue | 3 +++ .../src/views/customer/customer/index.vue | 6 +----- ruoyi-ui/src/views/quot/quot/index.vue | 8 ++----- ruoyi-ui/src/views/redBook/quots.vue | 8 +------ 5 files changed, 28 insertions(+), 18 deletions(-) diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index 8267c35..74b71d1 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -126,6 +126,25 @@ + + + src/main/resources + BOOT-INF + + **/*.jar + + + + src/main/resources/META-INF + + spring.factories + + true + + + src/main/resources + + org.springframework.boot @@ -133,7 +152,9 @@ 2.5.15 true + diff --git a/ruoyi-ui/src/views/components/Tools/CustomerSelect/index.vue b/ruoyi-ui/src/views/components/Tools/CustomerSelect/index.vue index a58e4dd..0d99aad 100644 --- a/ruoyi-ui/src/views/components/Tools/CustomerSelect/index.vue +++ b/ruoyi-ui/src/views/components/Tools/CustomerSelect/index.vue @@ -124,6 +124,9 @@ }, // 取消按钮 cancel() { + this.customerList = []; + this.total = 0; + this.resetForm("queryForm"); this.$emit('cancel'); }, // 确定按钮 diff --git a/ruoyi-ui/src/views/customer/customer/index.vue b/ruoyi-ui/src/views/customer/customer/index.vue index d7ccee4..a349ec3 100644 --- a/ruoyi-ui/src/views/customer/customer/index.vue +++ b/ruoyi-ui/src/views/customer/customer/index.vue @@ -42,7 +42,6 @@ :key="dict.value" :label="dict.label" :value="dict.value" - v-if="(!cusApprovalStatusHidden && (dict.value == '1' || dict.value == '2')) || cusApprovalStatusHidden " /> @@ -607,8 +606,6 @@ export default { dicts: ['cus_currency','cus_group','cus_approval_status', 'cus_type', 'common_state'], data() { return { - //提交状态下拉框数据设置 - cusApprovalStatusHidden: true, //选项卡默认 activeName: 'customerInfo', @@ -773,8 +770,7 @@ export default { }, created() { const roles = this.$store.state.user.roles; - if(roles && roles.indexOf('ITZX_SJZ') !== -1 && roles.indexOf('admin') == -1 ){//数据组默认查看审批中 单据 - this.cusApprovalStatusHidden = false; + if(roles && roles.indexOf('ITZX_SJZ') !== -1 ){//数据组默认查看待审核 单据 this.queryParams.cusApprovalStatus = '1'; } this.getList(); diff --git a/ruoyi-ui/src/views/quot/quot/index.vue b/ruoyi-ui/src/views/quot/quot/index.vue index 3bbb46a..850c763 100644 --- a/ruoyi-ui/src/views/quot/quot/index.vue +++ b/ruoyi-ui/src/views/quot/quot/index.vue @@ -32,7 +32,6 @@ :key="dict.value" :label="dict.label" :value="dict.value" - v-if="!quotApprovalStatusHidden && (dict.value == '1' || dict.value == '2') " /> @@ -790,8 +789,6 @@ export default { dicts: ['quot_approval_status','quot_jsxz_group','quot_jsxz_chapter','quot_jsxz_approval_status','quot_jsxz_standard','quot_hj_approval_status'], data() { return { - //提交状态下拉框数据设置 - quotApprovalStatusHidden: true, //选项卡默认 activeName: 'quotInfo', @@ -898,9 +895,8 @@ export default { }, created() { const roles = this.$store.state.user.roles; - if(roles && roles.indexOf('QUOT') !== -1 && roles.indexOf('admin') == -1 ){//报价组默认查看待审核 单据 - this.quotApprovalStatusHidden = false; - this.queryParams.quotApprovalStatus = '1'; + if(roles && roles.indexOf('QUOT') !== -1 ){//报价组默认查看待审核 单据 + this.queryParams.quotApprovalStatus = '1'; } this.getList(); }, diff --git a/ruoyi-ui/src/views/redBook/quots.vue b/ruoyi-ui/src/views/redBook/quots.vue index 6cf4df6..4c8c24b 100644 --- a/ruoyi-ui/src/views/redBook/quots.vue +++ b/ruoyi-ui/src/views/redBook/quots.vue @@ -27,7 +27,6 @@ :key="dict.value" :label="dict.label" :value="dict.value" - v-if="!quotApprovalStatusHidden && (dict.value == '1' || dict.value == '2') " /> @@ -176,9 +175,6 @@ dicts:['rb_quot_approval_status'], data() { return { - //提交状态下拉框数据设置 - quotApprovalStatusHidden: true, - // 遮罩层 loading: true, // 显示搜索条件 @@ -229,11 +225,9 @@ }, created() { const roles = this.$store.state.user.roles; - if(roles && roles.indexOf('QUOT') !== -1 && roles.indexOf('admin') == -1 ){//报价组默认查看待审核 单据 - this.quotApprovalStatusHidden = false; + if(roles && roles.indexOf('QUOT') !== -1 ){//报价组默认查看待审核 单据 this.queryParams.quotApprovalStatus = '1'; } - this.getList(); this.getVersionList(); },