Browse Source

完善供应商

master
yunuo970428 8 months ago
parent
commit
8030797253
  1. 21
      src/views/baseInfo/supplier/supplier/supplier.vue

21
src/views/baseInfo/supplier/supplier/supplier.vue

@ -9,10 +9,10 @@
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button> <el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
<div v-show="isSearchShow" class="search"> <div v-show="isSearchShow" class="search">
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header"> <el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header">
<el-form-item label="商名称"> <el-form-item label="供应商名称">
<el-input v-model="listQuery.params.supplierName" placeholder="" clearable /> <el-input v-model="listQuery.params.supplierName" placeholder="" clearable />
</el-form-item> </el-form-item>
<el-form-item label="商类型"> <el-form-item label="供应商类型">
<el-input v-model="listQuery.params.supplierTypeName" placeholder="" clearable /> <el-input v-model="listQuery.params.supplierTypeName" placeholder="" clearable />
</el-form-item> </el-form-item>
<el-form-item label="办公电话"> <el-form-item label="办公电话">
@ -31,13 +31,11 @@
<!--End查询列表部分--> <!--End查询列表部分-->
<div class="listtop"> <div class="listtop">
<div class="tit">供应商列表</div> <div class="tit">供应商列表</div>
<pageye v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" <pageye v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList" />
:limit.sync="listQuery.size" class="pagination" @pagination="getList" />
</div> </div>
<!--Start 主页面主要部分 --> <!--Start 主页面主要部分 -->
<div class=""> <div class="">
<el-table :key="tableKey" v-loading="listLoading" :data="list" :border="true" style="width: 100%;" <el-table :key="tableKey" v-loading="listLoading" :data="list" :border="true" style="width: 100%;" @selection-change="handleSelectionChange">
@selection-change="handleSelectionChange">
<el-table-column type="selection" align="center" width="50" /> <el-table-column type="selection" align="center" width="50" />
<el-table-column label="序号" type="index" width="80" :index="indexMethod" align="center" /> <el-table-column label="序号" type="index" width="80" :index="indexMethod" align="center" />
<el-table-column label="操作" width="180px" align="center"> <el-table-column label="操作" width="180px" align="center">
@ -46,10 +44,10 @@
<el-button type="primary" size="mini" @click="toInfo(scope.row)">查看</el-button> <el-button type="primary" size="mini" @click="toInfo(scope.row)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="supplierName" label="商名称" align="center" /> <el-table-column prop="supplierName" label="供应商名称" align="left" header-align="center" />
<el-table-column prop="supplierTypeName" label="商类型" align="center" /> <el-table-column prop="supplierTypeName" label="供应商类型" align="center" />
<el-table-column prop="address" label="商通讯地址" align="center" /> <el-table-column prop="address" label="供应商通讯地址" align="left" header-align="center" />
<el-table-column prop="contactTelePhone" label="商办公电话" align="center" /> <el-table-column prop="contactTelePhone" label="供应商办公电话" align="center" />
<el-table-column prop="contactName" label="联系人" align="center" /> <el-table-column prop="contactName" label="联系人" align="center" />
<el-table-column prop="contactMobile" label="联系电话" align="center" /> <el-table-column prop="contactMobile" label="联系电话" align="center" />
</el-table> </el-table>
@ -58,8 +56,7 @@
<div class="pages"> <div class="pages">
<div class="tit" /> <div class="tit" />
<!-- 翻页 --> <!-- 翻页 -->
<pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" <pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList" />
:limit.sync="listQuery.size" class="pagination" @pagination="getList" />
</div> </div>
<!--End查询列表部分--> <!--End查询列表部分-->
</div> </div>

Loading…
Cancel
Save