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