From c26e25fc5307d23fddcda5f6692ec62acbecc8f3 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期三, 12 六月 2024 14:43:59 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master --- src/components/do/b1-inspect-order-plan/Inspection.vue | 33 +++++++++++++++++++++++++-------- 1 files changed, 25 insertions(+), 8 deletions(-) diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue index d97b387..39a7a85 100644 --- a/src/components/do/b1-inspect-order-plan/Inspection.vue +++ b/src/components/do/b1-inspect-order-plan/Inspection.vue @@ -155,9 +155,12 @@ } .inspection .el-input-group__append { - padding: 0 10px; + padding: 0 14px; color: #3A7BFA; background-color: #fff; + height: 100%; + display: flex; + align-items: center; } .inspection .center-box .el-input__inner { @@ -1441,20 +1444,34 @@ } }, getSystemValue(n) { + let code = null try { - if (this.param[n.i].equipValue.v.v == null || this.param[n.i].equipValue.v.v == '') { - this.$message.error('璇峰厛閫夋嫨閲囬泦鐨勮澶�') - return - } + this.param[n.i].equipValue.forEach(a=>{ + if(a.r === n.r){ + if (a.v.v == null || a.v.v == '') { + this.$message.error('璇峰厛閫夋嫨閲囬泦鐨勮澶�') + return + }else{ + code = a.v.v + } + } + }) } catch (e) { + console.log(e); this.$message.error('鎵句笉鍒拌澶囧唴瀹�') } - this.$message.error('閲囬泦澶辫触銆愬凡寮�鏀炬墜鍔ㄦ柟寮忋��') + console.log(n, code); + fetch('http://localhost:82/寰俊鍥剧墖_20240518100811.png').then(res=>res.blob()).then(blob=>{ + console.log(blob); + const url = URL.createObjectURL(blob) + console.log(url); + }) + /* this.$message.error('閲囬泦澶辫触銆愬凡寮�鏀炬墜鍔ㄦ柟寮忋��') for (var a in this.currentSample.insProduct) { if (this.currentSample.insProduct[a].id == n.i) { this.currentSample.insProduct[a].inspectionItemType = 0 } - } + } */ }, getEquipOptions(e, id) { if (e) { @@ -1575,7 +1592,7 @@ if(lastChar=='-'){ res.data[i] = res.data[i].slice(0, -1); } - newData.push(h('p', {style: 'font-size: 12px;'}, (Number(i)+1)+'銆�'+res.data[i])) + newData.push(h('p', {style: 'font-size: 14px;color: red;'}, (Number(i)+1)+'銆�'+res.data[i])) } newData.push(h('p', { style: 'font-size: 16px;color:#000;margin-top:12px' },'浠ヤ笂椤圭洰涓嶅悎鏍硷紝纭畾鎻愪氦锛�')) this.$confirm('鎻愮ず',{ -- Gitblit v1.9.3