diff --git a/lms/nladmin-ui/src/views/wms/produceScreen/index.vue b/lms/nladmin-ui/src/views/wms/produceScreen/index.vue index ab8f080..d60a002 100644 --- a/lms/nladmin-ui/src/views/wms/produceScreen/index.vue +++ b/lms/nladmin-ui/src/views/wms/produceScreen/index.vue @@ -83,7 +83,6 @@
-

{{ imgSrc1 }}

@@ -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 + } }) } }, diff --git a/lms/nladmin-ui/src/views/wms/produceScreen/mork.js b/lms/nladmin-ui/src/views/wms/produceScreen/mork.js index 287d5c9..4b6945f 100644 --- a/lms/nladmin-ui/src/views/wms/produceScreen/mork.js +++ b/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)