12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <el-dialog
- title="添加商品"
- :visible.sync="dialogVisible"
- width="900px"
- :close-on-click-modal="false"
- :show-close="false"
- >
- <div class="filter-container">
- <div class="filter-control">
- <span>商品名称:</span>
- <el-input
- v-model="listQuery.shopName"
- placeholder="商品名称"
- clearable
- style="width: 160px"
- @keyup.enter.native="getList"
- @clear="getList"></el-input>
- </div>
- <div class="filter-control">
- <el-button type="primary" @click="getList"> 查询 </el-button>
- </div>
- </div>
- <el-table
- ref="table"
- v-loading="isLoading"
- :data="list"
- height="400px"
- border
- @selection-change="handleSelectionChange"
- >
- <el-table-column type="selection" width="55" :selectable="selectable"></el-table-column>
- <el-table-column label="供应商名称" prop="name" align="center"></el-table-column>
- <el-table-column label="联系人" prop="linkMan" align="center"></el-table-column>
- <el-table-column label="手机号" prop="contractMobile" align="center">
- <template slot-scope="{ row }">
- {{ row.contractMobile ? row.contractMobile : '---' }}
- </template>
- </el-table-column>
- <el-table-column label="供应商状态" prop="status" align="center">
- <template slot-scope="{ row }">
- <el-tag v-if="row.status === 90" type="success" size="small">已上线</el-tag>
- </template>
- </el-table-column>
- </el-table>
- <!-- 页码 -->
- <pagination
- :total="total"
- :page-sizes="[100, 200]"
- :page-size="100"
- :page.sync="listQuery.pageNum"
- :limit.sync="listQuery.pageSize"
- @pagination="getShopList"
- ></pagination>
- <div slot="footer">
- <el-button @click="handleCanle"> 取 消 </el-button>
- <el-button type="primary" :disabled="disabled" @click="handleConfirm"> 确 定 </el-button>
- </div>
- </el-dialog>
|