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

View File

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