From 3cb02cdb351bffd8212c15837a6c9777c8272ecd Mon Sep 17 00:00:00 2001 From: 15036302109 Date: Wed, 10 Jul 2024 17:12:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E8=B5=84=E7=BB=BC=E5=90=88=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2bug=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/ehs/ehsMaterial/indexAll.vue | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/ruoyi-ui/src/views/ehs/ehsMaterial/indexAll.vue b/ruoyi-ui/src/views/ehs/ehsMaterial/indexAll.vue index a0aad64..9e27442 100644 --- a/ruoyi-ui/src/views/ehs/ehsMaterial/indexAll.vue +++ b/ruoyi-ui/src/views/ehs/ehsMaterial/indexAll.vue @@ -21,6 +21,16 @@ /> + + + + - - - @@ -430,8 +432,8 @@ this.materialJson[i-1] = data ; } - this.options=this.materialJson[0]; - console.log(this.materialJson); + // this.options = this.materialJson[0].concat(this.materialJson[1], this.materialJson[2], this.materialJson[3], this.materialJson[7]); + // this.options = this.materialJson[0]; this.getList(); }, setMaterialClassJson() { @@ -451,6 +453,11 @@ }*/ console.log(this.materialJson); }, + visbChange(val) { + if (val && this.options.length == 0) { + return this.$message.warning("请先选择物资分类"); + } + }, /** 单位信息列表 */ getListAllDept() { console.log(this.$store.state.user.deptId); @@ -685,6 +692,8 @@ }, classFirstChange(value){ this.options = this.materialJson[value-1]; + console.log(this.queryParams.materialName,"materialName"); + this.queryParams.materialName = null; /*if (value == 1){ this.options = material1; }else if (value == 2){