fix(MmInventory): 修复撤销按钮状态和显示文本问题

调整已撤销记录的按钮显示逻辑,将禁用状态和图标属性移至正确的按钮,并修正按钮文本显示
This commit is contained in:
Tom
2026-01-15 18:24:28 +08:00
parent 977d503805
commit 5354594106

View File

@@ -607,9 +607,9 @@
v-if="scope.row.remarks == '已撤销' || scope.row.transactionType == '出库红单'" v-if="scope.row.remarks == '已撤销' || scope.row.transactionType == '出库红单'"
type="info" type="info"
size="small" size="small"
icon="refresh-left"
title="已撤销" title="已撤销"
v-hasPermi="['mmrecordinbound:delete']" v-hasPermi="['mmrecordinbound:delete']"
disabled
>已撤销</el-button >已撤销</el-button
> >
<el-button <el-button
@@ -619,8 +619,7 @@
title="撤销" title="撤销"
v-hasPermi="['mmrecordinbound:delete']" v-hasPermi="['mmrecordinbound:delete']"
@click="handleCancel(scope.row)" @click="handleCancel(scope.row)"
disabled >撤销</el-button
>已撤销</el-button
> >
</template> </template>
</el-table-column> </el-table-column>