kyy
2025-10-16 a0f48422ed179d2f82d5701a7528e77462f71483
pages/QC/OQC/Add.vue
@@ -109,6 +109,7 @@
    <!-- 操作按钮区域 -->
    <view class="action-buttons">
     <button class="btn btn-primary" @click="getTable">获取检验项目</button>
      <button class="btn btn-primary" @click="submitInspection">提交</button>
      <button class="secondary-btn" @click="uploadImages">上传/查看图片</button>
      <button class="btn btn-secondary" @click="addDefectDescription">添加不合格描述</button>
@@ -253,6 +254,41 @@
        }
      })
    },
   getTable() {
     // 获取检验项目逻辑
     this.$post({
       url: "/MesOqcItemsDetect02/OqcQagetTable",
       data: {
         userNo: this.$loginInfo.account,
         releaseNo: this.formData.releaseNo
       }
     }).then(res => {
       if (res.status == 0) {
         uni.showToast({
           title: res.message.toString(),
           icon: 'success',
           duration: 2000
         })
         this.getDetail5();
       } else {
         uni.showModal({
           title: "提示",
           content: res.message.toString(),
           confirmText: "确定",
           showCancel: false,
           success: (res) => {
           }
         })
       }
     })
   },
    editRemarks() {
      if (this.remarks && this.formData.id) {
        this.$post({