feat(入库任务): 增加手动入库
This commit is contained in:
parent
f9ae0cb09a
commit
997b2c7bfe
@ -105,6 +105,13 @@
|
|||||||
@click="handleIssue(scope.row)"
|
@click="handleIssue(scope.row)"
|
||||||
>下发
|
>下发
|
||||||
</el-button>
|
</el-button>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
:disabled="scope.row.planInStatus === '1'"
|
||||||
|
@click="manualIssue(scope.row)"
|
||||||
|
>手动入库
|
||||||
|
</el-button>
|
||||||
<!-- <el-button-->
|
<!-- <el-button-->
|
||||||
<!-- size="mini"-->
|
<!-- size="mini"-->
|
||||||
<!-- type="text"-->
|
<!-- type="text"-->
|
||||||
@ -287,10 +294,10 @@ export default {
|
|||||||
// 库房类型编码
|
// 库房类型编码
|
||||||
warehouseTypeCode:"DDJ",
|
warehouseTypeCode:"DDJ",
|
||||||
// 物料信息
|
// 物料信息
|
||||||
materialId: task.materialId,
|
// materialId: task.materialId,
|
||||||
materialCode: task.materialCode,
|
// materialCode: task.materialCode,
|
||||||
materialName: task.materialName,
|
// materialName: task.materialName,
|
||||||
materialCount: task.actualInQuantity,
|
// materialCount: task.actualInQuantity,
|
||||||
rfid: "",
|
rfid: "",
|
||||||
// 出库OR入库
|
// 出库OR入库
|
||||||
type: "RK",
|
type: "RK",
|
||||||
@ -305,6 +312,15 @@ export default {
|
|||||||
// this.getList();
|
// this.getList();
|
||||||
// });
|
// });
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* 手动执行入库任务
|
||||||
|
*/
|
||||||
|
manualIssue(task) {
|
||||||
|
issueBatchWmsInTask([task.id.toString()]).then(response => {
|
||||||
|
this.$modal.msgSuccess("执行成功");
|
||||||
|
this.getList();
|
||||||
|
});
|
||||||
|
},
|
||||||
// 取消按钮
|
// 取消按钮
|
||||||
cancel() {
|
cancel() {
|
||||||
this.open = false;
|
this.open = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user