|
|
@ -507,9 +507,13 @@ export default { |
|
|
|
color: '#0bbd87' |
|
|
|
}) |
|
|
|
this.billNoImg = this.checkDateLine[this.timeIndex].stockType === 0 ? this.checkDateLine[1].stockBill : this.checkDateLine[this.timeIndex].stockBill |
|
|
|
console.log('this.checkDateLine', this.checkDateLine) |
|
|
|
} else { |
|
|
|
this.checkDateLine = [] |
|
|
|
this.checkDateLine.unshift({ |
|
|
|
stockType: 0, |
|
|
|
icon: 'el-icon-more', |
|
|
|
color: '#0bbd87' |
|
|
|
}) |
|
|
|
} |
|
|
|
}).catch(() => { |
|
|
|
}) |
|
|
@ -615,6 +619,7 @@ export default { |
|
|
|
console.error(error) |
|
|
|
}) |
|
|
|
} else { |
|
|
|
console.log('this.billNoImg', this.billNoImg) |
|
|
|
Vue.set(this, 'bigImg', `${this.baseApi}/api/fileRelevant/getImg?imgType=1&imgId=/${this.libcode}/${this.billNoImg}/${this.detailCurrent.gridCode}/img_result/result_LSD_compressed.jpg`) |
|
|
|
} |
|
|
|
} else { |
|
|
@ -801,7 +806,7 @@ export default { |
|
|
|
this.detailCurrent = {} |
|
|
|
this.shelfAllGridDataLoading = true |
|
|
|
this.timeIndex = index |
|
|
|
this.billNoImg = item.stockType === 0 ? this.checkDateLine[1].stockBill : item.stockBill |
|
|
|
this.billNoImg = item.stockType === 0 ? '' : item.stockBill |
|
|
|
if (item.stockType === 0) { |
|
|
|
this.initData() |
|
|
|
setTimeout(() => { |
|
|
|