| | |
| | | options: [], |
| | | cascader: [ |
| | | {key: 'warehouseId', queryKey: 'agencyId'}, |
| | | {key: 'goodsTemplateId', queryKey: 'agencyId'}, |
| | | {key: 'baseGoodsTemplateId', queryKey: 'agencyId'}, |
| | | ], |
| | | optionsConfig: {url: '/pc/fin/sys/tenant/select/tree_fin_tenant', props: null}, |
| | | }, |
| | |
| | | dialogShow: false, |
| | | fileSettings: { |
| | | data: {}, |
| | | uploadUrl: getBaseUrl() + "/pc/fin/sys/tenant/import", // 上传地址 |
| | | uploadUrl: getBaseUrl() + "/pc/warehouse/warningConfig/import", // 上传地址 |
| | | accept: '.xls', // 格式 |
| | | type: 'text', // 回显形式 |
| | | loading: false // 导入效果 |
| | |
| | | /* 模板下载 */ |
| | | templateSettings: { |
| | | templateName: '导入模板.xls', // 名称 |
| | | templateUrl: SettingIplatform.apiBaseURL + '/pc/fin/sys/tenant/getImportTemplate' // 下载地址 |
| | | templateUrl: SettingIplatform.apiBaseURL + '/pc/warehouse/warningConfig/getWarnConfImportTemplate' // 下载地址 |
| | | }, |
| | | onSuccess: null |
| | | }, |
| | |
| | | // 查询table列表 |
| | | search(pageNum) { |
| | | if (pageNum != undefined) { |
| | | this.$refs.myTable.search(pageNum); |
| | | this.$refs.myTable.search({pageNum}); |
| | | } else { |
| | | this.$refs.myTable.search(); |
| | | } |