经销商管理-待审核

master
panqihua 2 years ago
parent 89389d529b
commit 445e3d8386
  1. 30
      src/views/platform/manufacturer/index.vue

@ -1,12 +1,22 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :inline="true"> <el-form :inline="true">
<el-form-item> <template v-if="type === '1'">
<el-input :placeholder="'请输入' + (manufacturerType === 1 ? '厂商' : '经销商') + '名称'"></el-input> <el-form-item>
</el-form-item> <el-input :placeholder="'请输入' + (manufacturerType === 1 ? '厂商' : '经销商') + '名称'"></el-input>
<el-form-item> </el-form-item>
<el-input :placeholder="'请输入' + (manufacturerType === 1 ? '厂商' : '经销商') + 'ID'"></el-input> <el-form-item>
</el-form-item> <el-input :placeholder="'请输入' + (manufacturerType === 1 ? '厂商' : '经销商') + 'ID'"></el-input>
</el-form-item>
</template>
<template v-else>
<el-form-item>
<el-input placeholder="请输入门店名称"></el-input>
</el-form-item>
<el-form-item>
<el-input placeholder="请输入门店ID"></el-input>
</el-form-item>
</template>
<el-form-item> <el-form-item>
<el-input placeholder="请输入联系人"></el-input> <el-input placeholder="请输入联系人"></el-input>
</el-form-item> </el-form-item>
@ -23,7 +33,10 @@
:value="dict.value"></el-option> :value="dict.value"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item>
<el-date-picker v-model="queryParams.dateRange" value-format="yyyy-MM-dd" type="daterange"
range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary">查询</el-button> <el-button type="primary">查询</el-button>
@ -55,7 +68,7 @@
电子产品 电子产品
</el-table-column> </el-table-column>
</template> </template>
<el-table-column align="center" label="经销商名称" v-else> <el-table-column align="center" :label="type === '1' ? '经销商名称' : '门店名称'" v-else>
联想经销商 联想经销商
</el-table-column> </el-table-column>
<el-table-column align="center" label="联系人"> <el-table-column align="center" label="联系人">
@ -143,6 +156,7 @@ export default {
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
dateRange: undefined,
manufacturerType: undefined manufacturerType: undefined
} }
} }

Loading…
Cancel
Save