更新开发环境配置,并修改统计负向视图中的类型输入框为下拉选择框。

This commit is contained in:
mkm 2024-09-01 21:53:50 +08:00
parent 48f2ef79df
commit dd722e0ef4
2 changed files with 17 additions and 7 deletions

View File

@ -6,6 +6,6 @@ VITE_NOW_TYPE = 'dist'
# VITE_APP_BASE_URL='http://192.168.1.10:8546' # VITE_APP_BASE_URL='http://192.168.1.10:8546'
# VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn' # VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn'
# VITE_APP_BASE_URL='https://multi-store.lihaink.cn' # VITE_APP_BASE_URL='https://multi-store.lihaink.cn'
VITE_APP_BASE_URL='http://192.168.1.22:8545' VITE_APP_BASE_URL='http://192.168.1.7:8545'
# VITE_APP_BASE_URL='https://ceshi-multi-store.lihaink.cn' # VITE_APP_BASE_URL='https://ceshi-multi-store.lihaink.cn'

View File

@ -12,13 +12,23 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="类型" prop="type"> <el-form-item label="类型" prop="type">
<el-input <el-select
class="w-[280px]"
@keydown.enter="resetPage"
v-model="queryParams.type" v-model="queryParams.type"
clearable placeholder="请选择类型"
placeholder="请输入类型" style="width: 240px"
/> @change="resetPage"
>
<el-option
v-for="item in [
{ id: 1, name: '默认' },
{ id: 2, name: '门店' },
{ id: 3, name: '仓库' }
]"
:key="item.id"
:label="item.name"
:value="item.id"
/>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="门店" prop="store_id" v-if="queryParams.type == 2"> <el-form-item label="门店" prop="store_id" v-if="queryParams.type == 2">
<el-select <el-select