Commit 43aaf790 by zhaopanyu

zpy 11.24

parent 0068a7a3
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
<el-autocomplete v-model="scope.row.budgetDetailed" placeholder="请选择或手动输入" <el-autocomplete v-model="scope.row.budgetDetailed" placeholder="请选择或手动输入"
:fetch-suggestions="handleFetchSuggestions" @select="handleProjectExpenditureSelect"> :fetch-suggestions="handleFetchSuggestions" @select="handleProjectExpenditureSelect">
<template slot-scope="{ item }"> <template slot-scope="{ item }">
<span>{{ item.label }}</span> <span>{{ item.value }}</span>
</template> </template>
<el-input v-model="scope.row.budgetDetailed" clearable></el-input> <el-input v-model="scope.row.budgetDetailed" clearable></el-input>
</el-autocomplete> </el-autocomplete>
...@@ -326,7 +326,7 @@ export default { ...@@ -326,7 +326,7 @@ export default {
const suggestions = [ const suggestions = [
{ value: 'option1', label: '选项1' }, { value: 'option1', label: '选项1' },
{ value: 'option2', label: '选项2' }, { value: 'option2', label: '选项2' },
// 其他选项 { value: 'option3', label: '选项3' }
]; ];
callback(suggestions); callback(suggestions);
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<el-autocomplete v-model="scope.row.projectExpenditures" placeholder="请选择或手动输入" <el-autocomplete v-model="scope.row.projectExpenditures" placeholder="请选择或手动输入"
:fetch-suggestions="handleFetchSuggestions" @select="handleProjectExpenditureSelect"> :fetch-suggestions="handleFetchSuggestions" @select="handleProjectExpenditureSelect">
<template slot-scope="{ item }"> <template slot-scope="{ item }">
<span>{{ item.label }}</span> <span>{{ item.value }}</span>
</template> </template>
<el-input v-model="scope.row.projectExpenditures" clearable></el-input> <el-input v-model="scope.row.projectExpenditures" clearable></el-input>
</el-autocomplete> </el-autocomplete>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment