| | |
| | | <Button @click="addEquipment" type="primary" icon="md-add">添加片区段</Button> |
| | | <Button @click="init" icon="md-refresh">刷新</Button> |
| | | </Row> |
| | | <Table :loading="loading" border :columns="columns2" :data="data2" ref="table" |
| | | <Table :loading="loading" border :columns="columns2" :data="data2" ref="table" style="height: 400px" > |
| | | sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"> |
| | | |
| | | |
| | | </Table> |
| | | </Modal> |
| | | <Modal :title="modalTitle3" v-model="customerVisible" :mask-closable="false" :width="1050"> |
| | |
| | | <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" |
| | | <Table :loading="loading" border :columns="columns3" :data="data3" ref="table" style="height: 350px" |
| | | sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"> |
| | | </Table> |
| | | <Row type="flex" justify="end" class="page"> |
| | |
| | | <Modal :title="modalTitle" v-model="addEquipmentVisible" :mask-closable="false" :width="500"> |
| | | <Form ref="areaSectionForm" :model="areaSectionForm" :label-width="80" :rules="areaSectionFormValidate"> |
| | | <FormItem label="片区名称" prop="code"> |
| | | <Input v-model="areaSectionForm.code" /> |
| | | <Input v-model="areaSectionForm.name" /> |
| | | </FormItem> |
| | | |
| | | </Form> |
| | |
| | | </div> |
| | | </Modal> |
| | | <Modal :title="modalTitle" v-model="addCustomerVisible" :mask-closable="false" :width="550"> |
| | | <Form ref="customerForm" :model="customerForm" :label-width="80" :rules="areaSectionFormValidate"> |
| | | <Form ref="customerForm" :model="customerForm" :label-width="120" :rules="areaSectionFormValidate"> |
| | | <FormItem label="商户名称" prop="name"> |
| | | <Input v-model="customerForm.name" /> |
| | | </FormItem> |
| | |
| | | align: "center", |
| | | }, |
| | | { |
| | | title: "分段编号或名称", |
| | | key: "code", |
| | | title: "分段名称", |
| | | key: "name", |
| | | }, |
| | | { |
| | | title: "操作", |