From f64e1a3b84233089d09b490a077e4abfbb7f0ac1 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 7 Aug 2024 09:07:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=89=98=E5=85=8B=E9=80=8A=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E8=AF=A6=E6=83=85=E7=9A=84=E6=B5=8B=E7=82=B9=E5=BD=95?= =?UTF-8?q?=E5=85=A5=E6=B7=BB=E5=8A=A0=E6=B5=8B=E7=82=B9=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=EF=BC=8C=E5=8E=BB=E9=99=A4=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E6=88=90=E6=9C=AC=E6=94=B9=E4=B8=BA=E6=B5=8B=E7=82=B9=E5=BD=95?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/enm_rm/logDetail.vue | 225 ++++++++++++++++----------------- 1 file changed, 108 insertions(+), 117 deletions(-) diff --git a/src/views/enm_rm/logDetail.vue b/src/views/enm_rm/logDetail.vue index 6c93750a..194a0d47 100644 --- a/src/views/enm_rm/logDetail.vue +++ b/src/views/enm_rm/logDetail.vue @@ -30,6 +30,21 @@ " >新增异常 + + + - @@ -92,7 +107,7 @@ style="width: 100%" /> - + --> - - - - - - - - - - - - - - - - 保存 - + + + + + @@ -269,9 +266,9 @@ min-width="150" > - -
+ - + - - + - - + + +
-
- 无其他成本 -
-
+ --> @@ -676,6 +649,9 @@ export default { sflogExpForm: { note: "", }, + querymplog:{ + mpoint:'' + }, querymplogX: { page: 0, mpoint__type: 30, @@ -745,6 +721,7 @@ export default { that.mpointOptions = []; res.forEach((item) => { item.mpFormVal = ""; + item.mpFormValAble = false; that.mpointOptions.push(item); }); that.getMpointStat(); @@ -765,14 +742,18 @@ export default { let day_s = item.day_s > 9 ? item.day_s : "0" + item.day_s; let work_date = item.year_s + "-" + month_s + "-" + day_s; that.mpointOptions.forEach((item2) => { - if (item2.name == item.mpoint_name) { + let work_date = + item.year_s + "-" + month_s + "-" + day_s; + if ( + item2.name == item.mpoint_name && + work_date == this.form.work_date + ) { item2.mpFormValAble = true; item2.mpFormVal = item.val; } }); - console.log(that.mpointOptions); + // console.log(that.mpointOptions); that.updateKey = !that.updateKey; - // that.$set(that.mpointOptions,"that.mpointOptions","新的值"); that.$forceUpdate(); }); }); @@ -828,6 +809,9 @@ export default { } }); }, + mpointChange(){ + this.$refs.mpointStatTable.queryData(this.querymplog); + }, //****** seconed 质量检验 ******* */ //检验 getsflogItem() { @@ -1004,4 +988,11 @@ export default { .searchBtn { margin-left: 5px; } +.mpointChange{ + width:150px; + position: absolute; + top: 6px; + right:10px; + z-index: 100; +}