fix:输入物料批次隐藏详情按钮

This commit is contained in:
shijing 2025-08-28 09:12:02 +08:00
parent 3798213398
commit b188b7b977
1 changed files with 6 additions and 2 deletions

View File

@ -259,6 +259,7 @@
>编辑</el-button> >编辑</el-button>
<el-button <el-button
type="warning" type="warning"
v-if="mlogItem.material_in_&&mlogItem.material_in_.tracking==20"
@click="table_out_check_single(scope.row,'ins')" @click="table_out_check_single(scope.row,'ins')"
>详情</el-button> >详情</el-button>
<el-button <el-button
@ -998,7 +999,6 @@ export default {
}else{ }else{
this.$refs.checkTable.refreshfun(); this.$refs.checkTable.refreshfun();
} }
}, },
// //
handleEditSuccess() { handleEditSuccess() {
@ -1012,7 +1012,11 @@ export default {
scheckClose(){ scheckClose(){
this.dialog.check_single = false; this.dialog.check_single = false;
this.$refs.tableIn.refresh(); this.$refs.tableIn.refresh();
this.$refs.tableOut.refresh(); if(this.mlogItem.material_out_&&this.mlogItem.material_out_.tracking==10){
this.$refs.tableOut.refresh();
}else{
this.$refs.checkTable.refreshfun();
}
}, },
checkDialogClose(){ checkDialogClose(){
this.dialog.check = false; this.dialog.check = false;