| | |
| | | |
| | | <!-- 操作按钮区域 --> |
| | | <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> |
| | |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | 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({ |