This commit is contained in:
shijing 2025-07-09 14:04:11 +08:00
parent a39f69d455
commit f73b4a5405
2 changed files with 11 additions and 2 deletions

View File

@ -14,7 +14,10 @@
v-if="values == '日志'&&componentsShow" v-if="values == '日志'&&componentsShow"
:mgroupName="mgroupName" :mgroupName="mgroupName"
:mgroupId="mgroupId" :mgroupId="mgroupId"
:deptId="mgroupDept"
:process = "mgroupProcess"
:mgroup_code="mgroup_code" :mgroup_code="mgroup_code"
:mgroupMtype = "mgroupMtype"
id="mlogs" id="mlogs"
style="height: 100%" style="height: 100%"
></mlogs> ></mlogs>
@ -39,6 +42,8 @@
:mgroupId="mgroupId" :mgroupId="mgroupId"
:deptId = "mgroupDept" :deptId = "mgroupDept"
:mgroupName="mgroupName" :mgroupName="mgroupName"
:process = "mgroupProcess"
:mgroup_code="mgroup_code"
id="mtask" id="mtask"
style="height: 40%;display: none;" style="height: 40%;display: none;"
></mtask> ></mtask>
@ -47,6 +52,8 @@
v-else-if="values == '交接记录'&&componentsShow" v-else-if="values == '交接记录'&&componentsShow"
:mgroupName="mgroupName" :mgroupName="mgroupName"
:mgroupId="mgroupId" :mgroupId="mgroupId"
:deptId="mgroupDept"
:process = "mgroupProcess"
:mgroup_code="mgroup_code" :mgroup_code="mgroup_code"
></handover> ></handover>
<!-- 库存 --> <!-- 库存 -->
@ -94,6 +101,7 @@ export default {
selectedIndex:0, selectedIndex:0,
mgroup_code:'', mgroup_code:'',
mgroupDept:'', mgroupDept:'',
mgroupMtype:'',
componentsShow:false, componentsShow:false,
mtaskVisible:false mtaskVisible:false
}; };
@ -121,6 +129,7 @@ export default {
that.mgroupId = res[0].id; that.mgroupId = res[0].id;
that.mgroupProcess = res[0].process; that.mgroupProcess = res[0].process;
that.mgroupDept = res[0].belong_dept; that.mgroupDept = res[0].belong_dept;
that.mgroupMtype = res[0].mtype;
that.componentsShow = true; that.componentsShow = true;
}); });
}, },

View File

@ -435,7 +435,7 @@
<edit-dialog <edit-dialog
v-if="dialog.edit" v-if="dialog.edit"
ref="editDialog" ref="editDialog"
:dept="deptId" :dept="dept"
:process="process" :process="process"
:mgroupName= "mlogItem.mgroup_name" :mgroupName= "mlogItem.mgroup_name"
@success="handleEditSuccess" @success="handleEditSuccess"
@ -651,7 +651,7 @@ export default {
mlogUpdate() { mlogUpdate() {
this.dialog.edit = true; this.dialog.edit = true;
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.editDialog.open("edit").setData(this.mlogItem); this.$refs.editDialog.open("edit",'rework').setData(this.mlogItem);
}); });
}, },
table_add() { table_add() {