refactor(入库任务): 下发按钮增加禁用逻辑
This commit is contained in:
parent
d2a380ce43
commit
aa42830129
@ -90,18 +90,12 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<!-- <el-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="text"-->
|
||||
<!-- icon="el-icon-edit"-->
|
||||
<!-- @click="openTaskDetailDialog(scope.row)"-->
|
||||
<!-- >详情-->
|
||||
<!-- </el-button>-->
|
||||
<!--下发按钮禁用逻辑:状态为已执行 or 库位编码为自动分配-->
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
:disabled="scope.row.planInStatus === '1'"
|
||||
:disabled="scope.row.planInStatus === '1' || scope.row.cellCode==='TEMP'"
|
||||
@click="handleIssue(scope.row)"
|
||||
>下发
|
||||
</el-button>
|
||||
@ -112,14 +106,6 @@
|
||||
@click="manualIssue(scope.row)"
|
||||
>手动入库
|
||||
</el-button>
|
||||
<!-- <el-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="text"-->
|
||||
<!-- icon="el-icon-delete"-->
|
||||
<!-- @click="handleDelete(scope.row)"-->
|
||||
<!-- v-hasPermi="['wm:wmsInTask:remove']"-->
|
||||
<!-- >删除-->
|
||||
<!-- </el-button>-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@ -288,11 +274,11 @@ export default {
|
||||
taskId: task.id,
|
||||
// 库位 信息
|
||||
cellCode: task.cellCode,
|
||||
cellX:task.cellX,
|
||||
cellY:task.cellY,
|
||||
cellZ:task.cellZ,
|
||||
cellX: task.cellX,
|
||||
cellY: task.cellY,
|
||||
cellZ: task.cellZ,
|
||||
// 库房类型编码
|
||||
warehouseTypeCode:"DDJ",
|
||||
warehouseTypeCode: "DDJ",
|
||||
// 物料信息
|
||||
// materialId: task.materialId,
|
||||
// materialCode: task.materialCode,
|
||||
|
Loading…
Reference in New Issue
Block a user