| | |
| | | <a-button type="info" v-if="hasPerm('WmsMaterial:exportExcel')" icon="download" @click="WmsMaterialToExcel()"> |
| | | 导出 |
| | | </a-button> |
| | | <a-button type="primary" v-if="hasPerm('WmsMaterial:add')" icon="plus" @click="$refs.addForm.add()">新增物料信息表</a-button> |
| | | <!-- <a-button type="primary" v-if="hasPerm('WmsMaterial:add')" icon="plus" @click="$refs.addForm.add()">新增物料信息表</a-button> --> |
| | | <!-- 自定义 --> |
| | | <a-button type="primary" v-if="hasPerm('WmsMaterial:add')" icon="plus" @click="$refs.tabForm.add()">新增物料信息</a-button> |
| | | </div> |
| | | </template> |
| | | <span slot="isDisabledscopedSlots" slot-scope="text"> |
| | |
| | | <add-form ref="addForm" @ok="handleOk" /> |
| | | <edit-form ref="editForm" @ok="handleOk" /> |
| | | <excel-form ref="excelForm" @ok="handleOk" /> |
| | | <!-- 自定义 --> |
| | | <tab-form ref="tabForm" @ok="handleOk" /> |
| | | |
| | | </a-card> |
| | | </div> |
| | | </template> |
| | |
| | | //自定义table高度 |
| | | import setTableHtMixin from '@/mixins/handleTableHt.js' |
| | | import addForm from './addForm.vue' |
| | | //自定义 |
| | | import tabForm from './tabForm.vue' |
| | | |
| | | import { exportExcel } from '@/utils/exportToExcel' |
| | | import { downloadFile } from '@/utils/util' |
| | | import editForm from './editForm.vue' |
| | |
| | | STable, |
| | | addForm, |
| | | editForm, |
| | | excelForm |
| | | excelForm, |
| | | tabForm //自定义 |
| | | }, |
| | | data () { |
| | | return { |