xwt
2025-11-13 252915c14e8d8ba92f2f41635a1c802c4503e52a
pages/QC/RKJ/Add.vue
@@ -1016,18 +1016,14 @@
                  title: "请先生成检验项目",
                  duration: 2000,
               });
            } else if (this.formData.fsubmit == 1) {
               uni.showToast({
                  icon: "none",
                  title: "该检验单已提交,不能修改",
                  duration: 2000,
               });
            } else {
               uni.navigateTo({
                  url: 'detail?id=' + item.id + '&billNo=' + this.formData.billNo + '&gid=' + this.formData
                     .id + '&itemInId=' + this.formData.itemInId
               });
               return;
            }
            // 即使已提交,也允许进入详细界面查看(只读模式)
            uni.navigateTo({
               url: 'detail?id=' + item.id + '&billNo=' + this.formData.billNo + '&gid=' + this.formData
                  .id + '&itemInId=' + this.formData.itemInId + '&fsubmit=' + (this.formData.fsubmit || 0)
            });
         },
         toImage() {
            uni.navigateTo({
@@ -2609,6 +2605,10 @@
   /* 表格样式 */
   .inspection-table {
      margin: 25px 0;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      background: #fff;
   }
   .inspection-table table {
@@ -2618,48 +2618,68 @@
   .inspection-table th,
   .inspection-table td {
      padding: 12px 15px;
      border: 1px solid #ddd;
      padding: 16px 20px;
      border: none;
      text-align: left;
      border-bottom: 1px solid #eee;
      vertical-align: middle;
   }
   .inspection-table th {
      background-color: #f8f9fa;
      font-weight: bold;
      color: #34495e;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      font-weight: 600;
      color: #fff;
      font-size: 14px;
      letter-spacing: 0.5px;
      position: relative;
   }
   .inspection-table tr:nth-child(even) {
      background-color: #f9f9f9;
   .inspection-table tbody tr {
      transition: all 0.3s ease;
      border-left: 4px solid transparent;
   }
   .inspection-table tr:hover {
      background-color: #f1f5f9;
   .inspection-table tbody tr:nth-child(even) {
      background-color: #f8fafc;
   }
   .inspection-table tbody tr:hover {
      background-color: #e8f4fd;
      border-left-color: #3498db;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
   }
   /* 检验描述列特殊样式 */
   .inspection-table td:nth-child(3) {
      position: relative;
      min-height: 80px;
      vertical-align: middle;
      padding: 16px 20px;
   }
   /* 水印样式 */
   .watermark {
      position: absolute;
      font-size: 40px;
      font-size: 32px;
      font-weight: bold;
      opacity: 1;
      z-index: 1;
      opacity: 0.4;
      z-index: 3;
      pointer-events: none;
      transform: rotate(-15deg);
      width: 100%;
      text-align: center;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(-15deg);
      text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
      min-width: 60px;
      text-align: center;
   }
   .watermark.approved {
      color: #2ecc71;
      color: #27ae60;
   }
   .watermark.rejected {
      color: #e74c3c;
      color: #e67e22;
   }
   .watermark.pending {
@@ -2672,14 +2692,6 @@
      z-index: 2;
      padding: 25px;
      background-color: rgba(255, 255, 255, 0.7);
   }
   /* 调整表格单元格 */
   .inspection-table td:nth-child(3) {
      position: relative;
      overflow: hidden;
      padding: 0;
      min-height: 80px;
   }
   /* 表单上方操作按钮区样式 */