| | |
| | | <Input v-model="searchForm.name" suffix="ios-search" @on-change="getCustList" placeholder="输入商户名称搜索" clearable style="width: 250px" |
| | | /> |
| | | </Row> |
| | | <Table :loading="loading" border :columns="columns3" :data="data3" ref="table" style="height: 350px" |
| | | <Table :loading="loading" border :columns="columns3" :data="data3" ref="table" |
| | | sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"> |
| | | </Table> |
| | | <Row type="flex" justify="end" class="page"> |
| | | <Page :current="searchForm.pageNumber" :total="total2" |
| | | :page-size="searchForm.pageSize" |
| | | @on-change="changePage" |
| | | @on-change="changePage1" |
| | | @on-page-size-change="changePageSize" |
| | | :page-size-opts="[10, 20, 50]" |
| | | size="small" |
| | |
| | | </Col> |
| | | <Col span="12"> |
| | | <FormItem label="联系方式" prop="phone"> |
| | | <Input v-model="customerForm.phone" type="number"/> |
| | | <Input v-model="customerForm.phone"/> |
| | | </FormItem> |
| | | </Col> |
| | | </Row> |
| | |
| | | title: "操作", |
| | | key: "action", |
| | | align: "center", |
| | | |
| | | render: (h, params) => { |
| | | return h("div", [ |
| | | h( |
| | |
| | | { |
| | | title: "商户名称", |
| | | key: "name", |
| | | width: 100, |
| | | tooltip:true, |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: "商户编号", |
| | | key: "code", |
| | | minWidth: 120, |
| | | key: "licence", |
| | | minWidth: 140, |
| | | }, |
| | | { |
| | | title: "联系方式", |
| | | key: "phone", |
| | | width: 140, |
| | | width: 135, |
| | | }, |
| | | { |
| | | title: "状态", |
| | | key: "status", |
| | | width:100, |
| | | sortable: true, |
| | | render: (h, params) => { |
| | | let re = ""; |
| | | if (params.row.status == 0) { |
| | |
| | | ]); |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | title: "上次配送日期", |
| | | key: "lastTime", |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: "商户注册地址", |
| | | key: "registeredAddress", |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: "联系人", |
| | |
| | | this.getDataList(); |
| | | this.clearSelectAll(); |
| | | }, |
| | | changePage1(v) { |
| | | this.searchForm.pageNumber = v; |
| | | this.getCustomerList(this.areaSectionId); |
| | | this.clearSelectAll(); |
| | | }, |
| | | changePageSize(v) { |
| | | this.searchForm.pageSize = v; |
| | | this.getDataList(); |
| | |
| | | this.loading = true; |
| | | this.searchForm.areaSectionId=areaSectionId; |
| | | getCustomer(this.searchForm).then((res) => { |
| | | console.log(this.searchForm) |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data3 = res.result.records; |
| | |
| | | let str = JSON.stringify(v); |
| | | let roleInfo = JSON.parse(str); |
| | | this.areaForm = roleInfo; |
| | | console.log(this.areaForm); |
| | | this.roleModalVisible = true; |
| | | }, |
| | | editEquipment(v) { |