fix:光芯生产执行恢复
This commit is contained in:
parent
ce57e0c5e1
commit
5c139f0b7c
|
@ -14,7 +14,7 @@
|
|||
icon="el-icon-plus"
|
||||
@click="table_add(20)"
|
||||
v-auth="'handover.create'"
|
||||
v-if="mgroupName!=='切片'&&mgroupName!=='拉单丝'&&mgroupName!=='一次复丝'&&mgroupName!=='二次复丝'&&mgroupName!=='切丝排版'"
|
||||
v-if="mgroupName!=='切片'"
|
||||
>返工</el-button
|
||||
>
|
||||
<el-button
|
||||
|
|
|
@ -216,6 +216,7 @@ const defaultForm = {
|
|||
work_start_time: "",
|
||||
work_end_time:null,
|
||||
note:'',
|
||||
mgroup:'',
|
||||
reminder_interval_list: [0,0],
|
||||
};
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
prop="equipment_name"
|
||||
min-width="150"
|
||||
></el-table-column>
|
||||
<el-table-column label="进度" prop="belong_dept_name" v-if="mgroup_name=='黑化'||mgroup_name=='退火'">
|
||||
<el-table-column label="进度" prop="belong_dept_name" v-if="mgroupName=='黑化'||mgroupName=='退火'">
|
||||
<template #default="scope">
|
||||
<el-progress id="progressbwlq" :percentage="customMethod(scope.row,1)" :stroke-width="20" :color="customMethod(scope.row,2)" :text-inside="true"><span>{{customMethod(scope.row,3)}}</span></el-progress>
|
||||
</template>
|
||||
|
@ -72,7 +72,7 @@
|
|||
prop="handle_user_name"
|
||||
width="80"
|
||||
></el-table-column>
|
||||
<el-table-column label="保温剩余时间" v-if="mgroup_name=='黑化'||mgroup_name=='退火'">
|
||||
<el-table-column label="保温剩余时间" v-if="mgroupName=='黑化'||mgroupName=='退火'">
|
||||
<template #default="scope">
|
||||
{{ getRemaTime(scope.row) }}
|
||||
</template>
|
||||
|
@ -146,7 +146,7 @@
|
|||
:process="processId"
|
||||
:mgroup="mgroupId"
|
||||
:dept="deptId"
|
||||
:mgroup_name = "mgroup_name"
|
||||
:mgroupName = "mgroupName"
|
||||
@success="handleSaveSuccess"
|
||||
@closed="dialog.save = false"
|
||||
>
|
||||
|
@ -193,27 +193,15 @@ export default {
|
|||
deptId: null,
|
||||
processId: "",
|
||||
processCate: "",
|
||||
mgroup_name:''
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
mgroupName: {
|
||||
handler: function (newval,odlval) {
|
||||
let that = this;
|
||||
that.params.mgroup = "";
|
||||
that.apiObj = null;
|
||||
that.mgroup_name = newval;
|
||||
that.getMgroupInfo();
|
||||
},
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
// this.getMgroupInfo();
|
||||
this.getMgroupInfo();
|
||||
},
|
||||
methods: {
|
||||
getMgroupInfo(){
|
||||
let that = this;
|
||||
that.$API.mtm.mgroup.list.req({ page: 0, name: that.mgroup_name }).then((res) => {
|
||||
that.$API.mtm.mgroup.list.req({ page: 0, name: that.mgroupName }).then((res) => {
|
||||
if (res.length < 1) {
|
||||
that.$message.error("获取工段错误");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue