From 9d7ce2472d0b89e58c4bbfb13ce7c00a19a4ec41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Mon, 24 Nov 2025 17:21:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=B1=95=E7=A4=BA=E7=BB=84=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=82=AC=E5=81=9C=E5=BC=B9=E7=AA=97=E6=9B=BF?= =?UTF-8?q?=E4=BB=A3=E5=AF=B9=E8=AF=9D=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refactor: 重构原材料信息组件,采用与产品信息一致的交互方式 fix: 移除酸连轧工序页面,该功能已迁移至其他模块 style: 调整元素阴影样式,移除不必要的样式属性 chore: 添加调试日志,便于追踪参数传递 --- klp-ui/src/assets/styles/element-ui.scss | 2 +- .../KLPService/RawMaterialSelect/index.vue | 1 + .../KLPService/Renderer/ProductInfo.vue | 104 +- .../KLPService/Renderer/RawMaterialInfo.vue | 95 +- klp-ui/src/views/wms/coil/actflow.vue | 1 + klp-ui/src/views/wms/coil/do/acid.vue | 1000 ----------------- klp-ui/src/views/wms/coil/do/warehousing.vue | 5 +- 7 files changed, 69 insertions(+), 1139 deletions(-) delete mode 100644 klp-ui/src/views/wms/coil/do/acid.vue diff --git a/klp-ui/src/assets/styles/element-ui.scss b/klp-ui/src/assets/styles/element-ui.scss index 981bb317..b3cf536d 100644 --- a/klp-ui/src/assets/styles/element-ui.scss +++ b/klp-ui/src/assets/styles/element-ui.scss @@ -1303,7 +1303,7 @@ body { .el-descriptions { width: 100%; // background: $--color-background !important; // 黑色背景 - box-shadow: $--metal-shadow; + // box-shadow: $--metal-shadow; overflow: hidden; color: $--color-text-primary; // 白色文字 diff --git a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue index 19320267..404954c7 100644 --- a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue +++ b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue @@ -186,6 +186,7 @@ export default { try { this.loading = true; const params = { ...this.queryParams, ...this.filters }; + console.log('params', params); const response = await listRawMaterial(params); if (response.code === 200) { this.rawMaterialList = response.rows.map(item => ({ diff --git a/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue b/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue index 4ecb3cec..24962f31 100644 --- a/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue +++ b/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue @@ -1,71 +1,60 @@ @@ -129,10 +86,7 @@ export default { color: #1890ff; cursor: pointer; text-decoration: underline; -} - -/* 可选:调整描述列表的外边距 */ -:deep(.el-descriptions) { - margin-top: -10px; + /* 增加内边距,优化悬停触发区域 */ + padding: 2px 4px; } \ No newline at end of file diff --git a/klp-ui/src/components/KLPService/Renderer/RawMaterialInfo.vue b/klp-ui/src/components/KLPService/Renderer/RawMaterialInfo.vue index 9620237b..7e934459 100644 --- a/klp-ui/src/components/KLPService/Renderer/RawMaterialInfo.vue +++ b/klp-ui/src/components/KLPService/Renderer/RawMaterialInfo.vue @@ -1,40 +1,37 @@ + \ No newline at end of file diff --git a/klp-ui/src/views/wms/coil/actflow.vue b/klp-ui/src/views/wms/coil/actflow.vue index a0953a97..24901a43 100644 --- a/klp-ui/src/views/wms/coil/actflow.vue +++ b/klp-ui/src/views/wms/coil/actflow.vue @@ -81,6 +81,7 @@ 发货操作已在移动端完成 入库操作 发货操作 + 移库操作 diff --git a/klp-ui/src/views/wms/coil/do/acid.vue b/klp-ui/src/views/wms/coil/do/acid.vue deleted file mode 100644 index 8fbabf0c..00000000 --- a/klp-ui/src/views/wms/coil/do/acid.vue +++ /dev/null @@ -1,1000 +0,0 @@ - - - - - \ No newline at end of file diff --git a/klp-ui/src/views/wms/coil/do/warehousing.vue b/klp-ui/src/views/wms/coil/do/warehousing.vue index 1ebd4d00..dc8a7fa2 100644 --- a/klp-ui/src/views/wms/coil/do/warehousing.vue +++ b/klp-ui/src/views/wms/coil/do/warehousing.vue @@ -202,11 +202,12 @@ export default { pendingActions: [], // 表单参数 form: { - materialType: null, + materialType: '原料', enterCoilNo: null, currentCoilNo: null, itemId: null, - itemType: null, + itemType: 'raw_material', + warehouseId: '1988150044862377986', // 酸连轧原料库 netWeight: null, grossWeight: null, remark: null,