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

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

@ -40,7 +40,7 @@ export function regionOrder(code) {
// 5.查询载具物料信息 // 5.查询载具物料信息
export function fabMaterial() { export function fabMaterial() {
const res = [ 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) => { return new Promise((resolve, reject) => {
resolve(res) resolve(res)

Loading…
Cancel
Save