Browse Source

图片

master
蔡玲玲 1 month ago
parent
commit
9d3244fb50
  1. 8
      lms/nladmin-ui/src/views/wms/produceScreen/index.vue
  2. 2
      lms/nladmin-ui/src/views/wms/produceScreen/mork.js

8
lms/nladmin-ui/src/views/wms/produceScreen/index.vue

@ -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
}
})
}
},

2
lms/nladmin-ui/src/views/wms/produceScreen/mork.js

@ -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)

Loading…
Cancel
Save