This commit is contained in:
2025-01-21 14:28:28 +08:00
parent da14e01f88
commit 9d3244fb50
2 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -40,7 +40,7 @@ export function regionOrder(code) {
// 5.查询载具物料信息
export function fabMaterial() {
const res = [
{ order_code: '111-02', material_qty: '', vehicle_path: '' }
{ order_code: '111-02', material_qty: '', vehicle_path: 'https://img-home.csdnimg.cn/images/20250110121058.png' }
]
return new Promise((resolve, reject) => {
resolve(res)