已出库状态不可修改

This commit is contained in:
zx
2026-03-12 15:47:54 +08:00
parent 2e569a8165
commit daeabed075

View File

@@ -35,7 +35,7 @@
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button type="primary" plain icon="Plus" @click="handleAdd"
v-hasPermi="['wisdom:bill:add']">新增出库1111</el-button>
v-hasPermi="['wisdom:bill:add']">新增出库</el-button>
</el-col>
<el-col :span="1.5">
<el-button type="warning" plain icon="Download" @click="handleExport"
@@ -153,7 +153,7 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150">
<template #default="scope">
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
v-hasPermi="['wisdom:bill:edit']">修改</el-button>
v-hasPermi="['wisdom:bill:edit']" v-show="scope.row.execStatus == 0">修改</el-button>
<el-button link type="primary" icon="Delete" @click="handleStockDelete(scope.row)"
v-show="scope.row.execStatus == 1" v-hasPermi="['wisdom:bill:delete']">撤销</el-button>
</template>