From 14d77c9bb703abedaf182a4c69138c9eebd2ffcd Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期一, 05 八月 2024 20:26:52 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/components/do/b1-inspect-order-plan/Inspection.vue | 54 +++++++++++++++++++++++++++---------------------------
1 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index 779e09f..a8be03c 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -2563,33 +2563,33 @@
this.handleExcelMethod()
},
changeInput(m, code, n) {
- let str = code.split('-')
- let pId = str[3]
- if(!this.param[pId].equipValue||this.param[pId].equipValue.length==0||!this.param[pId].equipValue[0].v.v){
- let inspectionItem = ''
- let idS = []
- let child = 0
- for (let i in this.currentSample.insProduct) {
- if(this.currentSample.insProduct[i].id==pId){
- inspectionItem = this.currentSample.insProduct[i].inspectionItem
- }
- }
- for (let i in this.currentSample.insProduct) {
- if(this.currentSample.insProduct[i].inspectionItem==inspectionItem&&this.currentSample.insProduct[i].id!=pId){
- idS.push(this.currentSample.insProduct[i].id)
- }
- }
- for (let i = 0;i<idS.length;i++) {
- if(this.param[idS[i]].equipValue&&this.param[idS[i]].equipValue.length>0&&this.param[idS[i]].equipValue[0].v.v){
- child++
- }
- }
- if(child==0){
- n.v.v = null
- this.$message.error('璇峰厛濉啓璁惧淇℃伅')
- return
- }
- }
+ // let str = code.split('-')
+ // let pId = str[3]
+ // if(!this.param[pId].equipValue||this.param[pId].equipValue.length==0||!this.param[pId].equipValue[0].v.v){
+ // let inspectionItem = ''
+ // let idS = []
+ // let child = 0
+ // for (let i in this.currentSample.insProduct) {
+ // if(this.currentSample.insProduct[i].id==pId){
+ // inspectionItem = this.currentSample.insProduct[i].inspectionItem
+ // }
+ // }
+ // for (let i in this.currentSample.insProduct) {
+ // if(this.currentSample.insProduct[i].inspectionItem==inspectionItem&&this.currentSample.insProduct[i].id!=pId){
+ // idS.push(this.currentSample.insProduct[i].id)
+ // }
+ // }
+ // for (let i = 0;i<idS.length;i++) {
+ // if(this.param[idS[i]].equipValue&&this.param[idS[i]].equipValue.length>0&&this.param[idS[i]].equipValue[0].v.v){
+ // child++
+ // }
+ // }
+ // if(child==0){
+ // n.v.v = null
+ // this.$message.error('璇峰厛濉啓璁惧淇℃伅')
+ // return
+ // }
+ // }
if (n) {
// if (this.PROJECT === '瑁呭鐢电紗') {
// let num2 = new this.$Big(n.v.v)
--
Gitblit v1.9.3