diff --git a/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/home.vue b/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/home.vue index ab6b4abe..62c4a75c 100644 --- a/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/home.vue +++ b/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/home.vue @@ -21,7 +21,7 @@ - - + --> + @@ -487,11 +498,14 @@ import { } from '@/api/store/warehousing' import vueEasyPrint from 'vue-easy-print' import { getLeaseAuditListAll } from '@/api/claimAndRefund/receive' +import { listPartTypeApi } from '@/api/repairTest/repair.js' +import Treeselect from '@riophae/vue-treeselect' +import '@riophae/vue-treeselect/dist/vue-treeselect.css' export default { // name: "NewDevicesList", dicts: ['sys_normal_disable'], - components: { vueEasyPrint }, + components: { vueEasyPrint, Treeselect }, data() { return { // 遮罩层 @@ -534,7 +548,7 @@ export default { pageSize: 10, time: null, //申请时间 name: undefined, - typeId: '', + typeId: undefined, keyWord: '', taskState: '', }, @@ -551,12 +565,15 @@ export default { }, methods: { getTypeList() { - getTypeList({ level: '3' }).then((response) => { - this.typesList = response.data - }) + // getTypeList({ level: '3' }).then((response) => { + // this.typesList = response.data + // }) getTypeList({ level: '4' }).then((response) => { this.modelList = response.data }) + listPartTypeApi().then((res) => { + this.typesList = res.data + }) }, getList() {