|
@@ -148,7 +148,7 @@
|
|
|
<!-- 添加或修改推荐店铺对话框 -->
|
|
<!-- 添加或修改推荐店铺对话框 -->
|
|
|
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
|
|
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
|
|
- <el-form-item label="推荐店铺Id" prop="storeName">
|
|
|
|
|
|
|
+ <el-form-item label="推荐店铺Id" prop="storeId">
|
|
|
<el-select
|
|
<el-select
|
|
|
v-model="form.storeId"
|
|
v-model="form.storeId"
|
|
|
filterable
|
|
filterable
|
|
@@ -289,7 +289,7 @@ export default {
|
|
|
this.storeLoading = true;
|
|
this.storeLoading = true;
|
|
|
// 这里应该调用实际的API来搜索店铺
|
|
// 这里应该调用实际的API来搜索店铺
|
|
|
// 示例代码,需要根据实际API调整
|
|
// 示例代码,需要根据实际API调整
|
|
|
- listStore({ storeName: query }).then(response => {
|
|
|
|
|
|
|
+ listStore({ storeId: query }).then(response => {
|
|
|
this.storeOptions = response.rows;
|
|
this.storeOptions = response.rows;
|
|
|
this.storeLoading = false;
|
|
this.storeLoading = false;
|
|
|
}).catch(() => {
|
|
}).catch(() => {
|