feat(wms): 统一时间参数命名并增加厂家卷号显示

- 将接收报告中的时间参数从byCreateTimeStart/End改为startTime/endTime
- 移除厂家原料卷号输入框的显示条件限制
- 在钢卷详情和列表中添加厂家卷号显示列
This commit is contained in:
砂糖
2026-01-11 09:48:37 +08:00
parent d2ad03b987
commit e560b7a81e
4 changed files with 5 additions and 3 deletions

View File

@@ -88,6 +88,7 @@
<el-table-column prop="warehouseName" label="仓库名称" align="center" min-width="150"></el-table-column>
<el-table-column prop="currentCoilNo" label="当前卷号" align="center" min-width="120"></el-table-column>
<el-table-column prop="enterCoilNo" label="入场卷号" align="center" min-width="180"></el-table-column>
<el-table-column prop="supplierCoilNo" label="厂家卷号" align="center" min-width="180"></el-table-column>
<el-table-column label="物料类型" align="center" prop="itemType">
<template slot-scope="scope">
{{ scope.row.itemType == 'product' ? '成品' : '原料' }}

View File

@@ -40,6 +40,7 @@
<el-table-column label="实际库区" align="center" prop="actualWarehouseName" v-if="!hideWarehouseQuery"/>
<el-table-column prop="currentCoilNo" label="当前卷号" align="center" min-width="120"></el-table-column>
<el-table-column prop="enterCoilNo" label="入场卷号" align="center"></el-table-column>
<el-table-column prop="supplierCoilNo" label="厂家卷号" align="center"></el-table-column>
<el-table-column label="物料类型" align="center" prop="itemType">
<template slot-scope="scope">
{{ scope.row.itemType == 'product' ? '成品' : '原料' }}

View File

@@ -158,7 +158,7 @@
<el-form-item label="当前钢卷号" prop="currentCoilNo">
<el-input v-model="form.currentCoilNo" placeholder="请输入当前钢卷号" />
</el-form-item>
<el-form-item v-if="!form.coilId" label="厂家原料卷号" prop="supplierCoilNo">
<el-form-item label="厂家原料卷号" prop="supplierCoilNo">
<el-input v-model="form.supplierCoilNo" placeholder="请输入厂家原料卷号" />
</el-form-item>
<el-form-item label="所在库位" prop="warehouseId">

View File

@@ -164,8 +164,8 @@ export default {
actionType: 401,
pageSize: 999,
pageNum: 1,
byCreateTimeStart: this.queryParams.byCreateTimeStart,
byCreateTimeEnd: this.queryParams.byCreateTimeEnd,
startTime: this.queryParams.byCreateTimeStart,
endTime: this.queryParams.byCreateTimeEnd,
}).then(res => {
const actions = res.rows
const coilIds = actions.map(item => item.coilId).join(',')