diff --git a/klp-ui/src/components/KLPService/Renderer/CoilCard.vue b/klp-ui/src/components/KLPService/Renderer/CoilCard.vue
new file mode 100644
index 00000000..9468480d
--- /dev/null
+++ b/klp-ui/src/components/KLPService/Renderer/CoilCard.vue
@@ -0,0 +1,282 @@
+
+
+
+
+
+
+
+
+ 入场:
+ {{ coil.enterCoilNo || '—' }}
+
+
+ 厂家:
+ {{ coil.supplierCoilNo || '—' }}
+
+
+ 库位:
+ {{ coil.warehouseName || '—' }}
+
+
+ 库区:
+ {{ coil.actualWarehouseName || '—'
+ }}
+
+
+ 重量:
+ {{ coil.netWeight || '—' }}t
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/klp-ui/src/views/wms/coil/do/correct.vue b/klp-ui/src/views/wms/coil/do/correct.vue
index a1dd8a1a..37f8e2cf 100644
--- a/klp-ui/src/views/wms/coil/do/correct.vue
+++ b/klp-ui/src/views/wms/coil/do/correct.vue
@@ -50,126 +50,16 @@
-
-
-
+
+
+ {{
+ getTypeLabel(item) }}
+ {{ item.materialType || '原料' }}
+
+
+
+
入场:
@@ -201,20 +91,14 @@
style="position: absolute; bottom: 10px; right: 10px;" type="success" icon="el-icon-refresh"
size="mini" @click="handleForceInMaterial(item)" :loading="item.cancelling"
class="action-btn">强制入库
-
-
-
-
+
+
@@ -396,6 +280,7 @@ import { listPendingAction, startProcess, cancelAction, delPendingAction } from
import { parseTime } from '@/utils/klp'
import ProductInfo from '@/components/KLPService/Renderer/ProductInfo'
import RawMaterialInfo from '@/components/KLPService/Renderer/RawMaterialInfo'
+import CoilCard from '@/components/KLPService/Renderer/CoilCard.vue'
import { addCoilAbnormal } from '@/api/wms/coilAbnormal'
import LabelRender from '../panels/LabelRender/index.vue'
import WarehouseSelect from "@/components/KLPService/WarehouseSelect";
@@ -421,6 +306,7 @@ export default {
components: {
ProductInfo,
RawMaterialInfo,
+ CoilCard,
LabelRender,
WarehouseSelect,
ActualWarehouseSelect,
@@ -1151,211 +1037,56 @@ export default {
}
}
-// 物料卡片
-.material-card {
- background-color: #ffffff;
- border: 1px solid #e4e7ed;
- border-radius: 3px;
- display: flex;
- flex-direction: column;
- transition: all 0.3s ease;
- height: 100%;
+.param-icon {
+ font-size: 13px;
+ color: #909399;
+ cursor: pointer;
+ transition: color 0.3s;
&:hover {
- border-color: #409eff;
- box-shadow: 0 2px 6px rgba(64, 158, 255, 0.12);
- }
-
- .card-header {
- padding: 6px 8px;
- border-bottom: 1px solid #e4e7ed;
- background-color: #fafafa;
-
- .header-left {
- display: flex;
- align-items: center;
- gap: 6px;
- }
-
- .coil-no-tag {
- font-weight: 600;
- font-size: 11px;
- padding: 2px 6px;
- }
-
- .material-type {
- font-size: 11px;
- color: #606266;
- font-weight: 500;
- }
-
- .param-icon {
- font-size: 13px;
- color: #909399;
- cursor: pointer;
- transition: color 0.3s;
-
- &:hover {
- color: #409eff;
- }
- }
- }
-
- .card-body {
- padding: 8px;
- flex: 1;
-
- .info-list {
- .info-item {
- display: flex;
- align-items: center;
- margin-bottom: 4px;
- font-size: 11px;
- line-height: 1.4;
-
- &:last-child {
- margin-bottom: 0;
- }
-
- .info-label {
- color: #909399;
- white-space: nowrap;
- margin-right: 4px;
- min-width: 40px;
- font-size: 11px;
- }
-
- .info-value {
- color: #303133;
- flex: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-size: 11px;
- }
- }
- }
- }
-
- .card-footer {
- padding: 6px 8px;
- border-top: 1px solid #e4e7ed;
- background-color: #fafafa;
- display: flex;
- justify-content: center;
-
- .action-btn {
- width: 100%;
- padding: 5px 10px;
- font-size: 11px;
- }
+ color: #409eff;
}
}
-// 待操作卡片
-.action-card {
- background-color: #ffffff;
- border: 1px solid #e4e7ed;
- border-radius: 4px;
- display: flex;
- flex-direction: column;
- transition: all 0.3s ease;
- height: 100%;
+.material-type {
+ font-size: 11px;
+ color: #606266;
+ font-weight: 500;
+}
- &:hover {
- border-color: #67c23a;
- box-shadow: 0 2px 8px rgba(103, 194, 58, 0.15);
- }
+.coil-no-tag {
+ font-weight: 600;
+ font-size: 11px;
+ padding: 2px 6px;
+}
- &.urgent-card {
- border-left: 4px solid #f56c6c;
- background-color: #fef0f0;
-
- &:hover {
- border-color: #f56c6c;
- box-shadow: 0 2px 8px rgba(245, 108, 108, 0.2);
- }
- }
-
- &.important-card {
- border-left: 4px solid #e6a23c;
- background-color: #fdf6ec;
-
- &:hover {
- border-color: #e6a23c;
- box-shadow: 0 2px 8px rgba(230, 162, 60, 0.2);
- }
- }
-
- .card-header {
- padding: 10px 12px;
- border-bottom: 1px solid #e4e7ed;
- background-color: #fafafa;
+.info-list {
+ .info-item {
display: flex;
- justify-content: space-between;
align-items: center;
+ margin-bottom: 4px;
+ font-size: 11px;
+ line-height: 1.4;
- .coil-no-tag {
- font-weight: 600;
- font-size: 12px;
+ &:last-child {
+ margin-bottom: 0;
}
- .status-tags {
- display: flex;
- gap: 4px;
- flex-wrap: wrap;
+ .info-label {
+ color: #909399;
+ white-space: nowrap;
+ margin-right: 4px;
+ min-width: 40px;
+ font-size: 11px;
}
- }
- .card-body {
- padding: 12px;
- flex: 1;
-
- .info-list {
- .info-item {
- display: flex;
- align-items: center;
- margin-bottom: 8px;
- font-size: 12px;
-
- &:last-child {
- margin-bottom: 0;
- }
-
- .info-label {
- color: #909399;
- white-space: nowrap;
- margin-right: 6px;
- min-width: 50px;
- }
-
- .info-value {
- color: #303133;
- flex: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-
- .action-type-tag {
- font-size: 11px;
- }
- }
- }
- }
-
- .card-footer {
- padding: 10px 12px;
- border-top: 1px solid #e4e7ed;
- background-color: #fafafa;
- display: flex;
- justify-content: center;
- gap: 6px;
-
- .action-btn {
+ .info-value {
+ color: #303133;
flex: 1;
- font-size: 12px;
- padding: 6px 8px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ font-size: 11px;
}
}
}
diff --git a/klp-ui/src/views/wms/coil/do/correntAll.vue b/klp-ui/src/views/wms/coil/do/correntAll.vue
index b10d8b82..2bf1541f 100644
--- a/klp-ui/src/views/wms/coil/do/correntAll.vue
+++ b/klp-ui/src/views/wms/coil/do/correntAll.vue
@@ -41,126 +41,16 @@
未找到钢卷数据
-