|
@@ -398,7 +398,7 @@ import { queryRepairRecord, fetchCustomDataForRepairRecord, fetchRepairTicketRec
|
|
|
import DetailSbBom from '@/views/sb/modelbom/modules/DetailSbBom'
|
|
|
import DetailSbCheck from '@/views/check/checkstandard/modules/DetailSbCheck'
|
|
|
import { fetchSbInfo } from '@/api/sb/info'
|
|
|
-import { getRepairSchemePage, fetchRepairScheme } from '@/api/repair/repair'
|
|
|
+import { getRepairSchemePage, fetchRepairScheme, getRepairSpare } from '@/api/repair/repair'
|
|
|
import BaseForm from '@/views/repair/repairproject/modules/BaseForm'
|
|
|
import Detail from '@/views/repair/repairproject/modules/Detail'
|
|
|
import ResolveBaseForm from '@/views/repair/repair/modules/BaseForm'
|
|
@@ -901,7 +901,11 @@ export default {
|
|
|
queryRepairProject({ repairId: this.model.id }).then(res => {
|
|
|
this.data = res.data
|
|
|
})
|
|
|
- selectLongYanListByRepairId({ id: this.model.id }).then(res => {
|
|
|
+ // selectLongYanListByRepairId({ id: this.model.id }).then(res => {
|
|
|
+ // this.dataSpare = res.data
|
|
|
+ // })
|
|
|
+ getRepairSpare({ id: this.model.id }).then(res => {
|
|
|
+ console.log(res)
|
|
|
this.dataSpare = res.data
|
|
|
})
|
|
|
queryRepairFee({ repairId: this.model.id }).then(res => {
|