| | |
| | | <a-form layout="inline"> |
| | | <a-row :gutter="48"> |
| | | <a-col :md="8" :sm="24"> |
| | | <a-form-item label="客户编号"> |
| | | <a-input v-model="queryParam.custCode" allow-clear placeholder="请输入客户编号"/> |
| | | <a-form-item label="编号"> |
| | | <a-input v-model="queryParam.custCode" allow-clear placeholder="请输入编号"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :md="8" :sm="24"> |
| | | <a-form-item label="客户中文名称"> |
| | | <a-input v-model="queryParam.custChinaName" allow-clear placeholder="请输入客户中文名称"/> |
| | | <a-form-item label="中文名称"> |
| | | <a-input v-model="queryParam.custChinaName" allow-clear placeholder="请输入中文名称"/> |
| | | </a-form-item> |
| | | </a-col><template v-if="advanced"> |
| | | <a-col :md="8" :sm="24"> |
| | | <a-form-item label="客户英文名称"> |
| | | <a-input v-model="queryParam.custEnglishName" allow-clear placeholder="请输入客户英文名称"/> |
| | | <a-form-item label="英文名称"> |
| | | <a-input v-model="queryParam.custEnglishName" allow-clear placeholder="请输入英文名称"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :md="8" :sm="24"> |
| | |
| | | <a-button type="info" v-if="hasPerm('BaseCustomer:exportExcel')" icon="download" @click="BaseCustomerToExcel()"> |
| | | 导出 |
| | | </a-button> |
| | | <a-button type="primary" v-if="hasPerm('BaseCustomer:add')" icon="plus" @click="$refs.addForm.add()">新增客户档案</a-button> |
| | | <a-button type="primary" v-if="hasPerm('BaseCustomer:add')" icon="plus" @click="$refs.addForm.add()">新增往来关系</a-button> |
| | | </div> |
| | | </template> |
| | | <span slot="custTypescopedSlots" slot-scope="text"> |
| | |
| | | customRender: (text, record, index) => `${index + 1 + (this.pageInfo.current - 1) * this.pageInfo.pageSize}` |
| | | }, |
| | | { |
| | | title: '客户编号', |
| | | title: '编号', |
| | | align: 'center', |
| | | customHeaderCell: () => { |
| | | return { |
| | |
| | | dataIndex: 'custCode' |
| | | }, |
| | | { |
| | | title: '客户中文名称', |
| | | title: '中文名称', |
| | | align: 'center', |
| | | customHeaderCell: () => { |
| | | return { |
| | |
| | | dataIndex: 'custChinaName' |
| | | }, |
| | | { |
| | | title: '客户英文名称', |
| | | title: '英文名称', |
| | | align: 'center', |
| | | customHeaderCell: () => { |
| | | return { |