From 5384750e59bbb27c54e090100429c48eaba46df0 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 20 十一月 2025 10:15:20 +0800
Subject: [PATCH] fix: 完成拉丝自检、原材料自检优化
---
src/pages/production/wire/report/reportManage.vue | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 53 insertions(+), 6 deletions(-)
diff --git a/src/pages/production/wire/report/reportManage.vue b/src/pages/production/wire/report/reportManage.vue
index 9a39001..c7e13b1 100644
--- a/src/pages/production/wire/report/reportManage.vue
+++ b/src/pages/production/wire/report/reportManage.vue
@@ -1,7 +1,7 @@
<template>
<view class="report-manage-page">
- <view class="pt-2">
- <wd-card class="card_bg">
+ <view class="pt-2 fixed-header-card">
+ <wd-card class="card_bg header-card">
<template #title>
<view class="flex justify-between w-full">
<text class="font-medium text-[#252525]">鎶ュ伐绠$悊</text>
@@ -195,7 +195,9 @@
</wd-row>
<template #footer>
<view class="flex gap-2">
- <wd-button plain size="small" @click="toAttachment(child)">闄勪欢</wd-button>
+ <wd-button plain size="small" @click="toAttachment(child)" style="margin-right: 10px">
+ 闄勪欢
+ </wd-button>
<wd-button plain type="error" size="small" @click="handleDeleteSingle(child)">
鍒犻櫎
</wd-button>
@@ -242,7 +244,7 @@
</wd-cell-group>
</view>
<view class="dialog-footer">
- <wd-button plain @click="closeAddDialog">鍙栨秷</wd-button>
+ <wd-button plain @click="closeAddDialog" style="margin-right: 10px">鍙栨秷</wd-button>
<wd-button type="primary" class="ml-2" @click="handleSaveNewChild">淇濆瓨</wd-button>
</view>
</view>
@@ -578,12 +580,27 @@
.report-manage-page {
min-height: 100vh;
background: #f3f9f8;
- padding-bottom: 20px;
+ padding: 0 4px 20px 4px;
}
.card_bg {
box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.05);
padding-bottom: 10px;
+}
+
+.fixed-header-card {
+ position: sticky;
+ top: 0;
+ z-index: 100;
+ background: #f3f9f8;
+ padding: 8px 0;
+}
+
+.header-card {
+ border: none;
+ margin: 0;
+ border-radius: 0;
+ box-shadow: none;
}
.icon_box {
@@ -649,7 +666,37 @@
}
.page-content {
- padding: 12px;
+ padding: 12px 4px;
margin-top: 12px;
}
+
+// 寮规 z-index 闇�瑕侀珮浜庡浐瀹氬ご閮ㄥ崱鐗�
+:deep(.yl-popup) {
+ z-index: 400 !important;
+}
+
+// 寮规閬僵灞� z-index 涔熼渶瑕侀珮浜庡浐瀹氬ご閮ㄥ崱鐗囷紙浣跨敤鏇撮珮鐨勫�肩‘淇濆湪鍥哄畾澶撮儴涔嬩笂锛�
+:deep(.wd-popup__mask),
+:deep(.wd-popup-mask),
+:deep([class*="popup"][class*="mask"]),
+:deep(.wd-overlay),
+:deep([class*="overlay"]) {
+ z-index: 300 !important;
+}
+.wd-card {
+ margin-left: 5px;
+ margin-right: 5px;
+ margin-top: 0px;
+}
+</style>
+
+<style lang="scss">
+// 鍏ㄥ眬鏍峰紡锛氱‘淇濆脊妗嗛伄缃╁眰 z-index 楂樹簬鍥哄畾澶撮儴鍗$墖
+.wd-popup__mask,
+.wd-popup-mask,
+[class*="popup"][class*="mask"],
+.wd-overlay,
+[class*="overlay"] {
+ z-index: 300 !important;
+}
</style>
--
Gitblit v1.9.3