diff --git a/src/views/wpm_gx/mlog_detail.vue b/src/views/wpm_gx/mlog_detail.vue
index 2056c9ea..a2aca7d7 100644
--- a/src/views/wpm_gx/mlog_detail.vue
+++ b/src/views/wpm_gx/mlog_detail.vue
@@ -33,11 +33,14 @@
{{
mlogItem.create_time
}}
+
+ {{mlogItem.test_file}}
+
提交
+
放行审批
@@ -69,7 +73,7 @@
新增
编辑
@@ -254,7 +258,7 @@
检验
@@ -581,10 +585,7 @@ export default {
let obj = {};
obj.oinfo_json = that.oinfo_json;
obj.test_file = that.test_file;
- console.log('test_file',that.test_file)
- console.log('oinfo_json',that.oinfo_json)
- that.$API.wpm.mlog.change.req(that.mlogItem.id, obj)
- .then((res) => {
+ that.$API.wpm.mlog.change.req(that.mlogItem.id, obj).then((res) => {
let ticket = {};
that.isSaveing = true;
ticket.title = '退火放行审批单';
@@ -608,8 +609,9 @@ export default {
this.$refs.tableOut.refresh();
},
fileUPSuccess(res) {
+ let that = this;
console.log('res',res);
- this.test_file = res.id;
+ this.test_file = res.path;
},
handleEditSuccess() {},
//设置过滤项
diff --git a/src/views/wpm_gx/mlog_form.vue b/src/views/wpm_gx/mlog_form.vue
index 2458c29c..e3bf86bb 100644
--- a/src/views/wpm_gx/mlog_form.vue
+++ b/src/views/wpm_gx/mlog_form.vue
@@ -162,6 +162,21 @@
>
+
+
+
+
+
+
+
+
+
{
- that.isSaveing = false;
- that.$emit("success");
- that.visible = false;
- that.$message.success("操作成功");
- });
+ if(that.mgroupName=='黑化'){
+ that.form.test_file = that.test_file;
+ }
+ that.$API.wpm.mlog.change.req(that.form.id, that.form).then((res) => {
+ that.isSaveing = false;
+ that.$emit("success");
+ that.visible = false;
+ that.$message.success("操作成功");
+ });
}
}
});