zjh
2025-04-26 18db0dbf100ff81ead99b1d6a3daa6c4c26e5d91
pages/QC/LLJ/detail.vue
@@ -108,7 +108,7 @@
         <view class="section">
            <view class="section-header">检验结果录入</view>
            <view class="section-body">
               <view class="input-group">
               <view class="input-group input1">
                  <view class="input-wrapper">
                     <button class="btn upload-btn" @tap="chooseImage">
@@ -119,6 +119,29 @@
                        <uni-icons type="compose" size="16" color="#fff"></uni-icons>
                        不良描述
                     </button>
                     <input v-if="(tableData.length < formData.checkQyt)" @input="search($event)"
                        v-model="inputTxt" type="text" class="result-input" placeholder="请输入检验结果..."
                        placeholder-class="placeholder" />
                     <button v-if="(tableData.length < formData.checkQyt)"
                        style="margin: 0px;background-color: #3498db;color:#ffffff ;" class="btn primary-btn"
                        @tap="saveResult">保存结果</button>
                  </view>
               </view>
               <view class="input-group input2">
                  <view class="input-wrapper">
                     <button class="btn upload-btn" @tap="chooseImage">
                        <uni-icons type="upload" size="16" color="#fff"></uni-icons>
                        上传/查看图片
                     </button>
                     <button v-if="this.current" class="btn upload-btn" @tap="upRemarks">
                        <uni-icons type="compose" size="16" color="#fff"></uni-icons>
                        不良描述
                     </button>
                  </view>
                  <view class="input-wrapper" style="margin-top: 15px;">
                     <input v-if="(tableData.length < formData.checkQyt)" @input="search($event)"
                        v-model="inputTxt" type="text" class="result-input" placeholder="请输入检验结果..."
                        placeholder-class="placeholder" />
@@ -722,4 +745,20 @@
      background-color: #3498db;
      color: white;
   }
 .input1{
          display: block;
 }
 .input2{
          display: none;
 }
   /* 响应式设计 */
   @media (max-width: 500px) {
      .input1{
         display: none;
      }
      .input2{
         display: block;
      }
   }
</style>