| | |
| | | <a-card |
| | | :loading="cardLoading" |
| | | :bordered="false" |
| | | title="工具信息" |
| | | title="工具出库" |
| | | style="height: 100%;" |
| | | > |
| | | <a-spin :spinning="loading"> |
| | |
| | | </Tooltip> |
| | | <a-button type="primary" @click="selectOutboundOrder">申请单出库</a-button> |
| | | <a-button type="primary" icon="download" @click="handleExportXls('tms_tools_classify')">导出</a-button> |
| | | <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> |
| | | <a-button type="primary" icon="import">导入</a-button> |
| | | </a-upload> |
| | | <!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">--> |
| | | <!-- <a-button type="primary" icon="import">导入</a-button>--> |
| | | <!-- </a-upload>--> |
| | | </div> |
| | | |
| | | <!-- table区域-begin --> |
| | |
| | | { |
| | | title:'工具类型', |
| | | align:"center", |
| | | dataIndex: 'signCode' |
| | | dataIndex: 'applicationType' |
| | | }, |
| | | { |
| | | title:'中文名称', |
| | |
| | | title:'出库类型', |
| | | align:"center", |
| | | dataIndex: 'outStorehouseType_dictText' |
| | | }, |
| | | { |
| | | title:'出库方式', |
| | | align:"center", |
| | | dataIndex: 'operateType' |
| | | }, |
| | | { |
| | | title:'库位号', |
| | |
| | | delete: "/tms/baseTools/delete", |
| | | deleteBatch: "/tms/baseTools/deleteBatch", |
| | | edit: '/tms/baseTools/edit', |
| | | exportXlsUrl: "/tms/baseTools/exportXls", |
| | | exportXlsUrl: "/tms/outStoreDetail/exportXls", |
| | | importExcelUrl: "tms/baseTools/importExcel", |
| | | queryParaByToolCode:"/tms/baseTools/queryByToolCode", |
| | | queryByToolCode:"/tms/toolsConfigProperty/queryByToolCode" |
| | |
| | | close () { |
| | | this.$emit('close'); |
| | | this.addShow = true |
| | | this.selectBorrowTool = false |
| | | this.model = {} |
| | | this.visible = false; |
| | | this.$refs.form.clearValidate(); |
| | | }, |