|
@ -83,7 +83,6 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="pop-grid_r"> |
|
|
<div class="pop-grid_r"> |
|
|
<p style="font-size: 22px; color: #fff;">{{ imgSrc1 }}</p> |
|
|
|
|
|
<img v-if="imgSrc !== ''" class="img_pallet" :src="imgSrc" alt=""> |
|
|
<img v-if="imgSrc !== ''" class="img_pallet" :src="imgSrc" alt=""> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -306,7 +305,6 @@ export default { |
|
|
vcode: '', |
|
|
vcode: '', |
|
|
disabled: false, |
|
|
disabled: false, |
|
|
imgSrc: '', |
|
|
imgSrc: '', |
|
|
imgSrc1: '', |
|
|
|
|
|
alertShow: false |
|
|
alertShow: false |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -388,12 +386,14 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
handleCurrentChange(val) { |
|
|
handleCurrentChange(val) { |
|
|
|
|
|
this.imgSrc = '' |
|
|
if (val) { |
|
|
if (val) { |
|
|
this.currentRow = val |
|
|
this.currentRow = val |
|
|
this.imgSrc = '//images.weserv.nl/?url=' + val.vehicle_path |
|
|
|
|
|
this.imgSrc1 = val.vehicle_path |
|
|
|
|
|
crudProduceScreen.fabMaterial({ vehicle_code: this.currentRow.vehicle_code }).then(res => { |
|
|
crudProduceScreen.fabMaterial({ vehicle_code: this.currentRow.vehicle_code }).then(res => { |
|
|
this.popSecList = [...res] |
|
|
this.popSecList = [...res] |
|
|
|
|
|
if (res.length > 0) { |
|
|
|
|
|
this.imgSrc = '//images.weserv.nl/?url=' + res[0].vehicle_path |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|