From 69558478328e8f5996831a265c89565b92d391da Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 22 四月 2025 11:02:00 +0800
Subject: [PATCH] 修改检验任务数采
---
src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue b/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue
index 23bf010..20a857f 100644
--- a/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue
+++ b/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue
@@ -22,7 +22,8 @@
<el-form-item label="鑹叉爣锛�" prop="colorCode">
<el-input v-model="bindPartData.colorCode" size="small"></el-input>
</el-form-item>
- <el-form-item label="杩涘巶妫�楠岄」锛�" prop="inspectionItem" v-if="currentObj.objectType == '鍘熸潗鏂�'" label-width="100px">
+ <el-form-item label="杩涘巶妫�楠岄」锛�" prop="inspectionItem"
+ v-if="currentObj.objectType == '鍘熻緟鏉�' || currentObj.objectType == '鍖呮潗'" label-width="100px">
<!-- <el-input v-model="bindPartData.inspectionItem" disabled placeholder="閫夋嫨妫�楠岄」" size="small">
<template slot="append">
<el-button slot="append" icon="el-icon-search" @click="openItems"></el-button>
@@ -141,7 +142,7 @@
type: "warning",
})
.then(() => {
- productPartReview({ id: row.id }).then((res) => {
+ productPartReview({ id: row.id, type: this.type == 0 ? '瀵硅薄' : '浜у搧' }).then((res) => {
if (res.code == 200) {
this.$message.success("澶嶆牳閫氳繃");
this.getList();
@@ -200,7 +201,7 @@
partNo: '', // 闆朵欢鍙�
color: '', // 棰滆壊
colorCode: '', // 鑹叉爣
- inspectionItem: [],//鍘熸潗鏂欒繘鍘傛楠屽璞″垪琛�
+ inspectionItem: [],//鍘熻緟鏉愯繘鍘傛楠屽璞″垪琛�
},
bindPartDataRules: {
partNo: [
@@ -211,7 +212,7 @@
upIndex: 0,
addBindLoad: false,
- itemList: [],//鍘熸潗鏂欒繘鍘傛楠屽璞″垪琛�
+ itemList: [],//鍘熻緟鏉愯繘鍘傛楠屽璞″垪琛�
editItem: false,
editList: [],
editColumn: [
@@ -267,7 +268,7 @@
},
getEditList() {
this.tableLoading0 = true
- productPartLogList({ id: this.currentPart.id, ...this.editPage }).then(res => {
+ productPartLogList({ id: this.currentPart.id, type: this.type == 0 ? '瀵硅薄' : '浜у搧', ...this.editPage }).then(res => {
this.tableLoading0 = false
if (res.code == 200) {
this.editList = res.data.records
--
Gitblit v1.9.3