fix:交接物料/按钮显示问题

This commit is contained in:
shijing 2024-09-12 15:28:29 +08:00
parent a0013e00cc
commit 58bf615de3
2 changed files with 4 additions and 10 deletions

View File

@ -163,20 +163,14 @@
size="small" size="small"
@click="table_receive(scope.row)" @click="table_receive(scope.row)"
type="success" type="success"
v-if=" v-if="(scope.row.recive_mgroup == mgroupId||scope.row.recive_dept == deptId)&&scope.row.submit_time == null"
scope.row.recive_mgroup == mgroupId && >接收</el-button>
scope.row.submit_time == null
"
>接收</el-button
>
<el-button <el-button
link link
size="small" size="small"
@click="table_show(scope.row)" @click="table_show(scope.row)"
type="success" type="success"
v-if="scope.row.recive_mgroup == mgroupId &&scope.row.submit_time == null" >查看</el-button>
>查看</el-button
>
<el-button <el-button
link link
size="small" size="small"

View File

@ -291,7 +291,7 @@ export default {
that.deptID = that.$TOOL.data.get('gx_deptID'); that.deptID = that.$TOOL.data.get('gx_deptID');
that.getUserList(); that.getUserList();
} }
if(that.type==40){ if(that.type==20||that.type==40){
that.getMaterialNotok(); that.getMaterialNotok();
}else{ }else{
that.getMaterial(); that.getMaterial();