现场调试更改

This commit is contained in:
lsymicc
2026-09-08 22:20:47 +08:00
parent 5353351520
commit 7c3ee78d41
140 changed files with 4488 additions and 4311 deletions

View File

@@ -248,10 +248,11 @@
<el-table-column type="selection" width="55" align="center"/>
<el-table-column label="子单ID" align="center" prop="stockoutDetailId" width="180"/>
<el-table-column label="批次" align="center" prop="lotNo" width="150"/>
<el-table-column label="辊号" align="center" prop="rollerNumber" width="150"/>
<el-table-column label="物料编码" align="center" prop="productId" width="150"/>
<el-table-column label="物料名称" align="center" prop="productName" min-width="150" show-overflow-tooltip/>
<el-table-column label="计划数量" align="center" prop="quantity" width="100"/>
<el-table-column label="扫码数量" align="center" prop="allotNum" width="100"/>
<el-table-column label="分配数量" align="center" prop="allotNum" width="100"/>
<el-table-column label="实际数量" align="center" prop="assignNum" width="100"/>
<el-table-column label="备注" align="center" prop="remark" min-width="120" show-overflow-tooltip/>
<template slot="empty">
@@ -288,10 +289,11 @@
>
<el-table-column type="selection" width="55" align="center"/>
<el-table-column label="库存ID" prop="stockId" align="center"/>
<el-table-column label="辊号" prop="rollerNumber" align="center"/>
<el-table-column label="物料编码" prop="productId" align="center"/>
<el-table-column label="物料名称" prop="productName" align="center"/>
<el-table-column label="批次" prop="lotNo" align="center"/>
<el-table-column label="货位" prop="cargoSpaceName" align="center"/>
<el-table-column label="货位" prop="cargoSpaceId" align="center"/>
<el-table-column label="托盘号" prop="trayCode" align="center"/>
<el-table-column label="可用数量" prop="quantity" align="center"/>
</el-table>
@@ -442,14 +444,20 @@ export default {
this.$modal.msgWarning("请选择子单")
return
}
const detail = this.detailList.find(item => item.stockoutDetailId === this.detailIds[0])
this.assignDialogVisible = true
this.stockLoading = true
// 根据物料编码查询可用库存
listStock({ productId: detail.productId }).then(res => {
this.stockList = res.rows
this.stockLoading = false
})
this.assignDialogVisible = true
this.stockLoading = true
// 根据物料编码查询可用库存 @@@FT577
// listStock({ productId: detail.productId }).then(res => {
// this.stockList = res.rows
// this.stockLoading = false
// })
listStock({ rollerNumber: detail.rollerNumber }).then(res => {
this.stockList = res.rows
this.stockLoading = false
})
},
// 库存选中事件