| | |
| | | placeholder: '请输入', |
| | | defaultValue: '', |
| | | }, |
| | | // { |
| | | // type: 'text', |
| | | // dataIndex: 'goodsTemplateName', |
| | | // label: '物品名称', |
| | | // placeholder: '可模糊搜索', |
| | | // defaultValue: '', |
| | | // }, |
| | | { |
| | | type: 'text', |
| | | dataIndex: 'goodsTemplateName', |
| | | type: 'select', |
| | | dataIndex: 'goodsTemplateId', |
| | | label: '物品名称', |
| | | placeholder: '可模糊搜索', |
| | | placeholder: '请输入', |
| | | defaultValue: '', |
| | | options: [], |
| | | optionsConfig: { |
| | | label: 'goodsName', |
| | | value: 'id', |
| | | url: SettingIplatform.apiBaseURL + '/pc/base/goods/template/query/goodsTemplate', |
| | | }, |
| | | }, |
| | | { |
| | | type: 'cascader', |
| | |
| | | }, |
| | | }; |
| | | }, |
| | | created(){ |
| | | this.fetchData() |
| | | }, |
| | | methods: { |
| | | fetchData() { |
| | | this.loading = true; |
| | |
| | | } |
| | | if (this.filterFrom.incomeTimeEnd) { |
| | | this.filterFrom.incomeTimeEnd = this.filterFrom.incomeTimeEnd.replace(/\-/g, ''); |
| | | } |
| | | if (this.filterFrom.agencyId && this.filterFrom.agencyId.length) { |
| | | this.filterFrom.agencyId = this.filterFrom.agencyId[this.filterFrom.agencyId.length - 1]; |
| | | } |
| | | this.search(1); |
| | | }, |