优化退料接收

This commit is contained in:
BianLzhaoMin 2024-07-16 17:21:02 +08:00
parent 06b647e188
commit aaa118151a
1 changed files with 11 additions and 2 deletions

View File

@ -86,7 +86,12 @@
:data="deviceList"
@selection-change="returnSelChange"
>
<el-table-column type="selection" width="55" align="center" />
<el-table-column
type="selection"
width="55"
align="center"
:selectable="(row) => row.backStatus == 0"
/>
<el-table-column
label="序号"
align="center"
@ -230,7 +235,11 @@
size="mini"
icon="el-icon-zoom-in"
@click="handleBackup(scope.row)"
v-if="!isView && scope.row.num < scope.row.preNum"
v-if="
!isView &&
scope.row.num < scope.row.preNum &&
scope.row.backStatus == 0
"
>
撤回
</el-button>