From 4e950b3724519ddf165f33be9988098daf979d33 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 27 三月 2026 09:58:26 +0800
Subject: [PATCH] fix: 检测化验样式调整

---
 src/pages.json                                    |    2 +-
 src/pages/qualityManagement/rawMaterial/form.vue  |    2 +-
 src/pages/qualityManagement/rawMaterial/index.vue |   41 ++++++++++++++++++++++++++++++++++-------
 3 files changed, 36 insertions(+), 9 deletions(-)

diff --git a/src/pages.json b/src/pages.json
index 5226a7a..cde2fde 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -1158,7 +1158,7 @@
     {
       "path": "pages/qualityManagement/rawMaterial/index",
       "style": {
-        "navigationBarTitleText": "鍘熸潗鏂�",
+        "navigationBarTitleText": "妫�娴嬪寲楠�",
         "navigationStyle": "custom"
       }
     },
diff --git a/src/pages/qualityManagement/rawMaterial/form.vue b/src/pages/qualityManagement/rawMaterial/form.vue
index 7d54340..770d063 100644
--- a/src/pages/qualityManagement/rawMaterial/form.vue
+++ b/src/pages/qualityManagement/rawMaterial/form.vue
@@ -1,6 +1,6 @@
 <template>
   <view class="rm-form-page">
-    <PageHeader :title="operationType === 'add' ? '鏂板鍘熸枡妫�' : (operationType === 'detail' ? '鍘熸枡妫�楠岃鎯�' : '缂栬緫鍘熸枡妫�')" @back="goBack" />
+    <PageHeader :title="operationType === 'add' ? '鏂板鍘熸枡妫�' : (operationType === 'detail' ? '妫�娴嬪寲楠岃鎯�' : '缂栬緫妫�娴嬪寲楠�')" @back="goBack" />
 
     <scroll-view scroll-y class="content-scroll">
       <view class="section-card">
diff --git a/src/pages/qualityManagement/rawMaterial/index.vue b/src/pages/qualityManagement/rawMaterial/index.vue
index a3dcdd3..eb8c374 100644
--- a/src/pages/qualityManagement/rawMaterial/index.vue
+++ b/src/pages/qualityManagement/rawMaterial/index.vue
@@ -1,6 +1,6 @@
 <template>
   <view class="raw-material-page">
-    <PageHeader title="鍘熸潗鏂�" @back="goBack" />
+    <PageHeader title="妫�娴嬪寲楠�" @back="goBack" />
     
     <!-- 鎼滅储涓庣瓫閫� -->
     <view class="search-section">
@@ -31,11 +31,17 @@
       <view v-for="(item, index) in tableData" :key="index" class="list-item">
         <view class="item-header">
           <text class="product-name">{{ item.productName }}</text>
-          <up-tag
-            :text="item.inspectState == 1 ? '宸叉彁浜�' : '鏈彁浜�'"
-            :type="item.inspectState == 1 ? 'success' : 'warning'"
-            size="mini"
-          ></up-tag>
+          <view class="item-header-right">
+            <up-tag
+              :text="item.inspectState == 1 ? '宸叉彁浜�' : '鏈彁浜�'"
+              :type="item.inspectState == 1 ? 'success' : 'warning'"
+              size="mini"
+            ></up-tag>
+            <view class="file-entry" @click.stop="openFiles(item)">
+              <up-icon name="file-text" size="16" color="#606266"></up-icon>
+              <text class="file-entry-text">闄勪欢</text>
+            </view>
+          </view>
         </view>
         <view class="item-content">
           <view class="item-row">
@@ -62,7 +68,6 @@
         <view class="item-actions">
           <up-button v-if="item.inspectState != 1||hasRawCancel" type="primary" size="mini" @click.stop="openForm('edit', item)">缂栬緫</up-button>
           <up-button type="warning" size="mini" @click.stop="openDetail(item)">璇︽儏</up-button>
-          <up-button type="info" size="mini" @click.stop="openFiles(item)">闄勪欢</up-button>
           <up-button v-if="item.inspectState != 1" type="success" size="mini" @click.stop="handleConfirmSubmit(item)">鎻愪氦</up-button>
           <up-button v-if="hasRawCancel" type="error" size="mini" @click.stop="handleDelete(item)">鍒犻櫎</up-button>
         </view>
@@ -313,6 +318,28 @@
   margin-bottom: 20rpx;
 }
 
+.item-header-right {
+  display: flex;
+  align-items: center;
+  gap: 16rpx;
+}
+
+.file-entry {
+  display: inline-flex;
+  align-items: center;
+  gap: 8rpx;
+  padding: 8rpx 16rpx;
+  border-radius: 999rpx;
+  background: #f2f6fc;
+  border: 1rpx solid #ebeef5;
+}
+
+.file-entry-text {
+  font-size: 24rpx;
+  color: #606266;
+  line-height: 1;
+}
+
 .product-name {
   font-size: 30rpx;
   font-weight: bold;

--
Gitblit v1.9.3