From 469bab624f122a6a18bb0b81f2f1c23a7264c8ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Mon, 8 Dec 2025 11:47:23 +0800 Subject: [PATCH 1/4] =?UTF-8?q?refactor(mes/qc/template):=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=B4=A8=E6=A3=80=E6=A8=A1=E6=9D=BF=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E5=92=8C=E4=BA=A4=E4=BA=92=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整表单标签宽度,移除冗余搜索按钮,整合操作按钮位置 修改成功后清空检查项列表,新增成功后自动选中当前项 --- klp-ui/src/views/mes/qc/template/index.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/klp-ui/src/views/mes/qc/template/index.vue b/klp-ui/src/views/mes/qc/template/index.vue index b2c3ca24..7beea1cf 100644 --- a/klp-ui/src/views/mes/qc/template/index.vue +++ b/klp-ui/src/views/mes/qc/template/index.vue @@ -3,22 +3,18 @@ + label-width="60px"> - - 搜索 - 重置 - 新增 + 搜索 - { this.buttonLoading = false; }); @@ -221,6 +218,7 @@ export default { this.$modal.msgSuccess("新增成功"); this.open = false; this.getList(); + this.handleRowClick(this.form); }).finally(() => { this.buttonLoading = false; }); From 86f56d386c6f5dffcdc5bab5f5fe576b5dcb6dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Mon, 8 Dec 2025 11:47:52 +0800 Subject: [PATCH 2/4] =?UTF-8?q?style(wms/coil):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=AF=B9=E8=AF=9D=E6=A1=86=E5=AE=BD=E5=BA=A6?= =?UTF-8?q?=E4=B8=BA600px=E4=BB=A5=E6=94=B9=E5=96=84=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- klp-ui/src/views/wms/coil/panels/do.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klp-ui/src/views/wms/coil/panels/do.vue b/klp-ui/src/views/wms/coil/panels/do.vue index e577f731..85e47487 100644 --- a/klp-ui/src/views/wms/coil/panels/do.vue +++ b/klp-ui/src/views/wms/coil/panels/do.vue @@ -297,7 +297,7 @@ - + From b5e053671f50f54d78fc24ba48ad93919ce13375 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Mon, 8 Dec 2025 11:48:20 +0800 Subject: [PATCH 3/4] =?UTF-8?q?feat(=E4=BB=93=E5=BA=93=E7=AE=A1=E7=90=86):?= =?UTF-8?q?=20=E5=AE=9E=E7=8E=B0=E4=BA=A4=E9=94=99=E5=BC=8F=E5=A4=9A?= =?UTF-8?q?=E5=B1=82=E4=BB=93=E5=BA=93=E5=8F=AF=E8=A7=86=E5=8C=96=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 WarehouseInterlaced 组件用于展示交错式多层仓库布局 - 修改仓库编码解析规则以支持新的格式 - 移除不再使用的 layerCount 字段 - 更新仓库鸟瞰图组件以使用新的交错式布局 - 调整图例样式和颜色区分不同层级 --- klp-ui/src/components/CoilSelector/index.vue | 2 +- .../warehouse/components/WarehouseBird.vue | 31 +- .../components/WarehouseInterlaced.vue | 372 ++++++++++++++++++ klp-ui/src/views/wms/warehouse/overview.vue | 6 +- 4 files changed, 394 insertions(+), 17 deletions(-) create mode 100644 klp-ui/src/views/wms/warehouse/components/WarehouseInterlaced.vue diff --git a/klp-ui/src/components/CoilSelector/index.vue b/klp-ui/src/components/CoilSelector/index.vue index 98f98994..c24a3563 100644 --- a/klp-ui/src/components/CoilSelector/index.vue +++ b/klp-ui/src/components/CoilSelector/index.vue @@ -6,7 +6,7 @@ - {{ selectedCoil.currentCoilNo }} + {{ selectedCoil.currentCoilNo }} ({{ selectedCoil.itemName }}) diff --git a/klp-ui/src/views/wms/warehouse/components/WarehouseBird.vue b/klp-ui/src/views/wms/warehouse/components/WarehouseBird.vue index fec2d7fb..c8e54638 100644 --- a/klp-ui/src/views/wms/warehouse/components/WarehouseBird.vue +++ b/klp-ui/src/views/wms/warehouse/components/WarehouseBird.vue @@ -25,8 +25,12 @@
-
- 正常未占用 +
+ 一层 +
+
+
+ 二层
@@ -36,29 +40,26 @@
- -
- -
-
暂无解析到有效的库位分层数据
-
+
该分类下暂无库位数据
初始化库位
+
+ + \ No newline at end of file diff --git a/klp-ui/src/views/wms/warehouse/overview.vue b/klp-ui/src/views/wms/warehouse/overview.vue index 0189ada9..6b4bd5a2 100644 --- a/klp-ui/src/views/wms/warehouse/overview.vue +++ b/klp-ui/src/views/wms/warehouse/overview.vue @@ -43,10 +43,6 @@
- - - @@ -189,7 +185,7 @@ export default { const prefix = await this.generateWarehousePrefix(this.selectedNode); this.initForm = { - rowCount: '', columnCount: '', layerCount: '', + rowCount: '', columnCount: '', prefix: prefix, parentId: this.selectedNode.actualWarehouseId }; From 40452d513e3b05d5b8e0f5c0f11f6d3fb65968a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Mon, 8 Dec 2025 15:17:56 +0800 Subject: [PATCH 4/4] =?UTF-8?q?feat(=E5=8F=91=E8=B4=A7=E8=AE=A1=E5=88=92):?= =?UTF-8?q?=20=E6=96=B0=E5=A2=9E=E9=92=A2=E5=8D=B7=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=B9=B6=E4=BC=98=E5=8C=96=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在发货计划页面添加钢卷选择器组件,支持从列表中选择钢卷 - 优化发货计划卡片布局,增加审批状态显示 - 新增钢卷列表查询API接口 - 调整分页大小和查询条件 - 重构CoilSelector组件,增加更多钢卷信息展示 - 添加钢卷转移组件框架 --- klp-ui/src/api/wms/coil.js | 11 + klp-ui/src/components/CoilSelector/index.vue | 22 +- .../wms/delivery/components/coilsTranfer.vue | 64 ++++ klp-ui/src/views/wms/delivery/plan/index.vue | 282 ++++++++++++------ .../src/views/wms/delivery/waybill/index.vue | 3 +- 5 files changed, 275 insertions(+), 107 deletions(-) create mode 100644 klp-ui/src/views/wms/delivery/components/coilsTranfer.vue diff --git a/klp-ui/src/api/wms/coil.js b/klp-ui/src/api/wms/coil.js index 1c309d4a..e57b5b0c 100644 --- a/klp-ui/src/api/wms/coil.js +++ b/klp-ui/src/api/wms/coil.js @@ -135,4 +135,15 @@ export function exportCoil(coilId) { url: '/wms/materialCoil/exportCoil/' + coilId, method: 'get' }) +} + +// 根据钢卷ID序列查询钢卷列表 +export function listCoilByIds(coilIds) { + return request({ + url: '/wms/materialCoil/list', + method: 'get', + params: { + coilIds + } + }) } \ No newline at end of file diff --git a/klp-ui/src/components/CoilSelector/index.vue b/klp-ui/src/components/CoilSelector/index.vue index c24a3563..4046779e 100644 --- a/klp-ui/src/components/CoilSelector/index.vue +++ b/klp-ui/src/components/CoilSelector/index.vue @@ -7,12 +7,10 @@ {{ selectedCoil.currentCoilNo }} - - ({{ selectedCoil.itemName }}) - + ({{ selectedCoil.itemName }}) [{{ selectedCoil.netWeight }}t] - 请选择钢卷 + {{ placeholder }} @@ -38,16 +36,14 @@ - + + + + - - - @@ -77,6 +73,10 @@ export default { type: Object, default: () => ({}) }, + placeholder: { + type: String, + default: '请选择钢卷' + }, value: { type: [String, Number], default: '' @@ -90,7 +90,7 @@ export default { initialCoil: { type: Object, default: null - } + }, }, data() { return { diff --git a/klp-ui/src/views/wms/delivery/components/coilsTranfer.vue b/klp-ui/src/views/wms/delivery/components/coilsTranfer.vue new file mode 100644 index 00000000..f362e635 --- /dev/null +++ b/klp-ui/src/views/wms/delivery/components/coilsTranfer.vue @@ -0,0 +1,64 @@ + + + \ No newline at end of file diff --git a/klp-ui/src/views/wms/delivery/plan/index.vue b/klp-ui/src/views/wms/delivery/plan/index.vue index 7a250c6e..c8e9200d 100644 --- a/klp-ui/src/views/wms/delivery/plan/index.vue +++ b/klp-ui/src/views/wms/delivery/plan/index.vue @@ -2,18 +2,10 @@
- + - @@ -25,96 +17,95 @@ - 新增 + 新增 - 修改 + 修改 - 删除 + 删除 - 导出 + 导出 - - - -
- -
{{ row.planName }}
+ + + + + +
+ +
{{ row.planName }}
+
+
+
+ {{ parseTime(row.planDate, '{y}-{m}-{d}') }} + + 已审批 + 待审批 + +
+
+ {{ row.createBy }}({{ parseTime(row.updateTime, '{y}-{m}-{d}') }}) +
+
+ 备注: + {{ row.remark || '-' }} +
+
+
+ 审批 + 修改 + 删除 +
+
+
+
+ + +
+ + + + +
+ +
+ +
+ +
+ + + + + + + + + + + + + +
-
-
- 计划日期: - {{ parseTime(row.planDate, '{y}-{m}-{d}') }} -
-
- 备注: - {{ row.remark || '-' }} -
-
- 创建人: - {{ row.createBy }} -
-
- 更新时间: - {{ parseTime(row.updateTime, '{y}-{m}-{d}') }} -
+
+
-
- 修改 - 删除 -
- +
- @@ -123,10 +114,7 @@ - @@ -144,9 +132,14 @@