From 137bf2c0666b60cfc0d98b1a9ca7ead860ee4e7c Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期三, 28 十月 2026 17:57:29 +0800
Subject: [PATCH] feat(device,supply,satisfaction): 设备计划改造、耗材采购调整与满意度照片上传
---
src/views/CNAS/externalService/serviceAndSupplyPro/component/Store.vue | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/views/CNAS/externalService/serviceAndSupplyPro/component/Store.vue b/src/views/CNAS/externalService/serviceAndSupplyPro/component/Store.vue
index 37a324f..b2b5498 100644
--- a/src/views/CNAS/externalService/serviceAndSupplyPro/component/Store.vue
+++ b/src/views/CNAS/externalService/serviceAndSupplyPro/component/Store.vue
@@ -63,7 +63,8 @@
<div>
<div>
<span>鑰楁潗鍚嶇О:</span>
- <el-select v-model="formTwo.id" filterable placeholder="璇烽�夋嫨鑰楁潗鍚嶇О" size="small" style="width: 70%">
+ <el-select v-model="formTwo.id" filterable placeholder="璇烽�夋嫨鑰楁潗鍚嶇О" size="small" style="width: 70%"
+ @change="handleConsumableChange">
<el-option v-for="(v, i) in consumableOptions" :key="i" :label="v.consumablesName"
:value="v.id"></el-option>
</el-select>
@@ -296,6 +297,11 @@
console.log(val)
return this.options.find(item => item.value === val).label
},
+ // 閫夋嫨鑰楁潗鍚嶇О鍚庯紝鍗曚环鑷姩甯﹀嚭鑰楁潗鍒楄〃閲岀殑鍙傝�冧环鏍硷紙浠嶅彲鎵嬪姩淇敼锛�
+ handleConsumableChange(id) {
+ const item = this.consumableOptions.find(v => v.id === id)
+ this.formTwo.unitPrice = item && item.referencePrice != null ? item.referencePrice : null
+ },
// 娣诲姞琛ㄦ牸鏁版嵁
addTableData() {
this.$nextTick()
--
Gitblit v1.9.3