|
@@ -89,7 +89,7 @@ import BaseForm from './modules/BaseForm'
|
|
|
import Detail from './modules/Detail'
|
|
|
import DownloadModal from '@/views/download/DownloadModal'
|
|
|
import PreviewModal from '@/views/preview/PreviewModal'
|
|
|
-import { getSbInfoPage, deleteSbInfos, fetchSbInfo, exportSbInfo, getSbInfoTree } from '@/api/sb/info'
|
|
|
+import { getSbInfoPage, deleteSbInfos, fetchSbInfo, exportSbInfo } from '@/api/sb/info'
|
|
|
import { selectSpareInfoListByModelId } from '@/api/sb/modelbom'
|
|
|
import { fetchSbTypeTree } from '@/api/sb/type'
|
|
|
|
|
@@ -277,7 +277,7 @@ export default {
|
|
|
handleEdit (record) {
|
|
|
selectSpareInfoListByModelId({ id: record.id }).then(res => {
|
|
|
const modal = this.$refs.baseModal
|
|
|
- const data = {data:res.data,modelId:record.id}
|
|
|
+ const data = { data: res.data, modelId: record.id }
|
|
|
modal.base(data)
|
|
|
})
|
|
|
},
|
|
@@ -324,7 +324,7 @@ export default {
|
|
|
onExpand (expandedKeys) {
|
|
|
this.expandedKeys = expandedKeys
|
|
|
this.autoExpandParent = false
|
|
|
- },
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
}
|