fix:工段库存检验可抽检,可全检

This commit is contained in:
shijing 2024-09-03 15:27:18 +08:00
parent c009cf68ec
commit b69038d369
1 changed files with 17 additions and 16 deletions

View File

@ -36,18 +36,13 @@
:params="params" :params="params"
:query="query" :query="query"
> >
<el-table-column <el-table-column label="状态" prop="state" width="100" >
label="状态" <template #default="scope">
prop="state" <el-tag :type="wmState[scope.row.state]?.type">
width="100" {{wmState[scope.row.state]?.text}}
><template #default="scope" </el-tag>
><el-tag </template>
:type="wmState[scope.row.state]?.type" </el-table-column>
>{{
wmState[scope.row.state]?.text
}}</el-tag
>
</template></el-table-column>
<el-table-column <el-table-column
label="物料名称" label="物料名称"
prop="material_name" prop="material_name"
@ -100,19 +95,25 @@
label="操作" label="操作"
fixed="right" fixed="right"
align="center" align="center"
width="80" width="120"
v-if="mgroupName!=='size'&&mgroupName!=='facade'" v-if="mgroupName!=='size'&&mgroupName!=='facade'"
> >
<template #default="scope"> <template #default="scope">
<el-button <el-button
link link size="small"
size="small"
@click="table_Check(scope.row)" @click="table_Check(scope.row)"
v-auth="'mgroup.update'" v-auth="'mgroup.update'"
type="primary" type="primary"
v-if="scope.row.notok_sign_name == null" v-if="scope.row.notok_sign_name == null"
> >
</el-button> </el-button>
<!-- <el-button
link size="small"
type="warning"
@click="table_Check(scope.row)"
v-if="scope.row.notok_sign_name == null"
>检验记录
</el-button> -->
</template> </template>
</el-table-column> </el-table-column>
</scTable> </scTable>