fix:返工日志标记
This commit is contained in:
parent
7394e62c5e
commit
734ae73e0d
|
@ -59,8 +59,8 @@
|
||||||
fixed
|
fixed
|
||||||
>
|
>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span v-if="scope.row.material_out_name!==null">{{scope.row.material_out_name}}</span>
|
<el-tag v-if="scope.row.is_fix" type="warning">返工</el-tag>
|
||||||
<span v-else>返工</span>
|
<span v-else>{{scope.row.material_out_name}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
@ -185,7 +185,7 @@
|
||||||
<save-dialog
|
<save-dialog
|
||||||
v-if="dialog.save"
|
v-if="dialog.save"
|
||||||
ref="saveDialog"
|
ref="saveDialog"
|
||||||
:process="processId"
|
:process="process"
|
||||||
:mgroup="mgroupId"
|
:mgroup="mgroupId"
|
||||||
:dept="deptId"
|
:dept="deptId"
|
||||||
:mgroupName = "mgroupName"
|
:mgroupName = "mgroupName"
|
||||||
|
@ -198,7 +198,7 @@
|
||||||
v-if="dialog.detail"
|
v-if="dialog.detail"
|
||||||
ref="detailDialog"
|
ref="detailDialog"
|
||||||
:mlogId="mlogId"
|
:mlogId="mlogId"
|
||||||
:process="processId"
|
:process="process"
|
||||||
:mtask="mtask"
|
:mtask="mtask"
|
||||||
:dept = "deptId"
|
:dept = "deptId"
|
||||||
@closed="detailClose"
|
@closed="detailClose"
|
||||||
|
@ -227,6 +227,22 @@ export default {
|
||||||
mgroupId:{
|
mgroupId:{
|
||||||
type: String,
|
type: String,
|
||||||
default: "",
|
default: "",
|
||||||
|
},
|
||||||
|
deptId: {
|
||||||
|
type: String,
|
||||||
|
default: "",
|
||||||
|
},
|
||||||
|
process: {
|
||||||
|
type: String,
|
||||||
|
default: "",
|
||||||
|
},
|
||||||
|
mgroup_code: {
|
||||||
|
type: String,
|
||||||
|
default: "",
|
||||||
|
},
|
||||||
|
mgroupMtype: {
|
||||||
|
type: String,
|
||||||
|
default: "",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
name: "mlog",
|
name: "mlog",
|
||||||
|
@ -239,7 +255,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
apiObj: null,
|
apiObj: null,
|
||||||
params: { mgroup: "" ,submit_time__isnull:true,with_mlogb:'yes',
|
params: { mgroup: "" ,submit_time__isnull:true,with_mlogb:'yes',
|
||||||
query: " { id,equipment, material_out_name, equipment_name, reminder_interval_list ,mstate_json,belong_dept_name, mgroup_name,handle_user_name,work_start_time,work_end_time,submit_time,oinfo_json,mlogb_full,submit_user_name}"
|
query: " { id,is_fix,equipment, material_out_name, equipment_name, reminder_interval_list ,mstate_json,belong_dept_name, mgroup_name,handle_user_name,work_start_time,work_end_time,submit_time,oinfo_json,mlogb_full,submit_user_name}"
|
||||||
},
|
},
|
||||||
query: {submit_time__isnull:true},
|
query: {submit_time__isnull:true},
|
||||||
dialog: {
|
dialog: {
|
||||||
|
@ -251,12 +267,8 @@ export default {
|
||||||
selection: [],
|
selection: [],
|
||||||
mtask: "",
|
mtask: "",
|
||||||
mlogId: "",
|
mlogId: "",
|
||||||
deptId: null,
|
|
||||||
processId: "",
|
|
||||||
route_code: "",
|
route_code: "",
|
||||||
equipmentId: "",
|
equipmentId: "",
|
||||||
processCate: "",
|
|
||||||
mgroupMtype: "",
|
|
||||||
showHidden:false,
|
showHidden:false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -275,7 +287,7 @@ export default {
|
||||||
that.route_code = this.$route.path.split("/")[2];
|
that.route_code = this.$route.path.split("/")[2];
|
||||||
that.params.mgroup =that.mgroupId;
|
that.params.mgroup =that.mgroupId;
|
||||||
that.apiObj = that.$API.wpm.mlog.list;
|
that.apiObj = that.$API.wpm.mlog.list;
|
||||||
this.getMgroupInfo();
|
// this.getMgroupInfo();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getMgroupInfo(){
|
getMgroupInfo(){
|
||||||
|
@ -288,7 +300,6 @@ export default {
|
||||||
that.deptId = res.belong_dept;
|
that.deptId = res.belong_dept;
|
||||||
that.processId = res.process;
|
that.processId = res.process;
|
||||||
that.mgroupMtype = res.mtype;
|
that.mgroupMtype = res.mtype;
|
||||||
that.processCate = res.process_cate;
|
|
||||||
that.params.mgroup = res.id;
|
that.params.mgroup = res.id;
|
||||||
that.apiObj = that.$API.wpm.mlog.list;
|
that.apiObj = that.$API.wpm.mlog.list;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue