|
@@ -476,7 +476,7 @@ export default {
|
|
|
},
|
|
|
// 获取页面统计数据
|
|
|
getStatisticsData () {
|
|
|
- this.getBasicsData()
|
|
|
+ this.getBasicsData(true)
|
|
|
queryPageCount({ sparePartsReturnSn: this.sparePartsReturnSn }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
if (res.data) {
|
|
@@ -491,7 +491,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
// 获取基础信息
|
|
|
- getBasicsData () {
|
|
|
+ getBasicsData (flag) {
|
|
|
sparePartsReturnInfo({ sn: this.sparePartsReturnSn }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.detailsData = res.data
|
|
@@ -499,9 +499,11 @@ export default {
|
|
|
this.detailsData = null
|
|
|
}
|
|
|
const _this = this
|
|
|
- this.$nextTick(() => {
|
|
|
- _this.getChooseList()
|
|
|
- })
|
|
|
+ if(!flag){
|
|
|
+ this.$nextTick(() => {
|
|
|
+ _this.getChooseList()
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
},
|