|
@@ -153,16 +153,12 @@ export default {
|
|
|
this.oid = oid
|
|
|
this.cid = cid
|
|
|
this.isView = isView == 1 ? true : false
|
|
|
-
|
|
|
await this.getOrderDetail()
|
|
|
-
|
|
|
await this.getCollectImgTypeList()
|
|
|
if (this.orderDetail.orderType == 'REPAIR') {
|
|
|
await this.getFaultImgTypeList()
|
|
|
}
|
|
|
-
|
|
|
this.getDetail()
|
|
|
-
|
|
|
const lo = await this.$getAddress()
|
|
|
this.address = lo.address || ''
|
|
|
},
|
|
@@ -180,9 +176,7 @@ export default {
|
|
|
})
|
|
|
.then(res => {
|
|
|
this.detail = res.data
|
|
|
-
|
|
|
const data = res.data
|
|
|
-
|
|
|
let collectImgList = data.pgOrderProductDetails.filter(o => o.type == 'INSTALL')
|
|
|
let faultImgList = data.pgOrderProductDetails.filter(o => o.type == 'BUG')
|
|
|
for (let i = 0; i < this.collectImgList.length; i++) {
|
|
@@ -203,7 +197,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
this.faultRemark = data.bugRemark
|
|
|
this.isBaoNei = data.isDefend == 'YES' ? true : false
|
|
|
this.remarkVal = data.detailRemark
|