模具 完成按钮未发料隐藏起来

This commit is contained in:
xielue 2023-09-16 10:03:08 +08:00
parent 3b888d966b
commit 637d61250b
2 changed files with 7 additions and 2 deletions

View File

@ -98,7 +98,7 @@
<vxe-column title="完成" width="210">
<template #default="{ row }">
<div v-if="getDataId()">
<div v-if="getDataId() && row.is_send">
<a-button v-if="!row.is_complete" @click.stop="pageDone(row)" type="primary">完成</a-button>
<div v-if="row.is_complete">
{{ $mk.getDateString(row.complete_time) }}

View File

@ -571,7 +571,10 @@ export default {
this.formOptions.data.horizontal_frame_time = this.getDateValue(detail.horizontal_frame_time);
}
if(detail.mold_master_uid){
this.formOptions.data.mold_master_uid = detail.mold_master_uid;
this.formOptions.data.mold_master_user_detail = {id:detail.mold_master_user_detail.id,name:detail.mold_master_user_detail.name};
}
this.formOptions.data = JSON.parse(JSON.stringify(this.formOptions.data))
@ -596,6 +599,8 @@ export default {
let row = a.data.mold_scheme;
let mold_scheme_processes = row.mold_scheme_processes || [];
let currentAddRows1 = [];
let currentAddRows2 = [];