@@ -253,7 +186,8 @@
@@ -464,7 +398,7 @@ export default {
}).then(() => {
this.getList();
this.$message.success('删除成功');
- }).catch(() => {});
+ }).catch(() => { });
},
/** 处理操作 - 跳转到对应页面 */
handleProcess(row) {
@@ -485,17 +419,17 @@ export default {
// 根据操作类型跳转到不同页面
let path = '';
-
+
// 分条操作:100-199
if (actionType >= 100 && actionType <= 199) {
path = '/wms/split';
- }
+ }
// 合卷操作:200-299
else if (actionType == 200) {
path = '/wms/merge';
}
// 其他操作类型
- else{
+ else {
path = '/wms/typing';
}
@@ -540,7 +474,7 @@ export default {
}).then(() => {
this.$message.success('操作已取消');
this.getList();
- }).catch(() => {});
+ }).catch(() => { });
},
/** 刷新列表 */
handleRefresh() {
@@ -552,8 +486,8 @@ export default {
// 每30秒自动刷新一次(用于移动端扫码后自动更新列表)
this.refreshTimer = setInterval(() => {
- // 只在查看待处理状态时自动刷新
- this.getList();
+ // 只在查看待处理状态时自动刷新
+ this.getList();
}, 30000);
},
/** 表格行样式 */
@@ -653,15 +587,15 @@ export default {
/* 操作类型卡片样式 */
.action-type-cards {
width: 100%;
-
+
.card-section {
margin-bottom: 24px;
-
+
&:last-child {
margin-bottom: 0;
}
}
-
+
.section-title {
font-size: 14px;
font-weight: 600;
@@ -670,18 +604,18 @@ export default {
padding-left: 8px;
border-left: 3px solid #409eff;
}
-
+
// 分条操作区域的特殊样式
.card-section:first-child .section-title {
border-left-color: #e6a23c;
}
-
+
.action-cards-row {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 12px;
}
-
+
.action-card {
min-width: 0;
padding: 16px;
@@ -693,50 +627,50 @@ export default {
display: flex;
align-items: center;
gap: 12px;
-
+
&:hover {
border-color: #409eff;
box-shadow: 0 2px 12px 0 rgba(64, 158, 255, 0.15);
transform: translateY(-2px);
}
-
+
&.active {
border-color: #409eff;
background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
box-shadow: 0 2px 12px 0 rgba(64, 158, 255, 0.3);
-
+
.card-icon {
background: linear-gradient(135deg, #409eff 0%, #66b1ff 100%);
color: #fff;
}
-
+
.card-title {
color: #409eff;
font-weight: 600;
}
}
-
+
&.split-card {
&.active {
background: linear-gradient(135deg, #fff3e0 0%, #fff8f0 100%);
border-color: #e6a23c;
-
+
.card-icon {
background: linear-gradient(135deg, #e6a23c 0%, #f0ad4e 100%);
}
-
+
.card-title {
color: #e6a23c;
}
}
-
+
&:hover {
border-color: #e6a23c;
box-shadow: 0 2px 12px 0 rgba(230, 162, 60, 0.15);
}
}
}
-
+
.card-icon {
width: 48px;
height: 48px;
@@ -750,11 +684,11 @@ export default {
transition: all 0.3s ease;
flex-shrink: 0;
}
-
+
.card-content {
flex: 1;
}
-
+
.card-title {
font-size: 16px;
font-weight: 500;
@@ -762,7 +696,7 @@ export default {
margin-bottom: 4px;
transition: all 0.3s ease;
}
-
+
.card-desc {
font-size: 13px;
color: #909399;
diff --git a/klp-ui/src/views/wms/product/semi.vue b/klp-ui/src/views/wms/product/semi.vue
index d2f6d62d..2dd6f829 100644
--- a/klp-ui/src/views/wms/product/semi.vue
+++ b/klp-ui/src/views/wms/product/semi.vue
@@ -259,9 +259,9 @@