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%"
/>
-
+ -->
-
-
-
-
-
-
- {{ scope.row.mpoint_nickname }}
-
-
- {{ scope.row.mpoint_name }}
-
-
-
-
-
- {{ scope.row.year_s }}-{{
- scope.row.month_s
- }}-{{ scope.row.day_s }}
-
-
-
-
-
-
- 删除
-
-
-
-
保存
-
+
+
+
+ 删除
+
+
+
@@ -269,9 +266,9 @@
min-width="150"
>
- {{
- scope.row.material_name
- }}
+
+ {{scope.row.material_name}}
+
- {{
- scope.row.testitem_name
- }}
+
+ {{scope.row.testitem_name}}
+
-
-
+
-
+
-
-
+
-
-
+
+
+
-
- 无其他成本
-
-
+ -->
@@ -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;
+}