From deb3baf0fb04c3a9f5b0d4b5bd9fb3237908d576 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 19 二月 2024 18:38:12 +0800
Subject: [PATCH] 111
---
company/src/components/business/modification.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/company/src/components/business/modification.vue b/company/src/components/business/modification.vue
index 877a401..9242f1d 100644
--- a/company/src/components/business/modification.vue
+++ b/company/src/components/business/modification.vue
@@ -23,12 +23,12 @@
align="center"
label="淇濋櫓鏂规">
<template slot-scope="{row}">
- <el-select v-model="row.solutionBaseId" placeholder="璇烽�夋嫨">
+ <el-select v-model="row.solution" placeholder="璇烽�夋嫨">
<el-option
v-for="item in programme"
:key="item.id"
:label="item.name"
- :value="item.id">
+ :value="{id:item.id,baseId:item.baseId}">
</el-option>
</el-select>
</template>
@@ -71,7 +71,7 @@
id: null,
solutionList: [
{
- solutionBaseId: '',
+ solution: {id: null, baseId: null },
canAdd: 0,
canReduce: 0
}
@@ -126,7 +126,7 @@
.then(resa => {
that.form.solutionList = resa.map(item => {
return {
- solutionBaseId: item.solutionBaseId,
+ solution: {id: item.baseSolutionId, baseId: item.solutionId },
canAdd: item.canAdd,
canReduce: item.canReduce
}
@@ -136,7 +136,7 @@
},
add() {
this.form.solutionList.push({
- solutionName: '',
+ solution: {id: null, baseId: null },
canAdd: '',
canReduce: ''
})
--
Gitblit v1.9.3