图片显示问题
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="renderer" content="webkit">
|
<meta name="renderer" content="webkit">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||||
|
<meta name="referrer" content="no-referrer">
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||||
<script type="text/javascript" src="<%= BASE_URL %>config.js"></script>
|
<script type="text/javascript" src="<%= BASE_URL %>config.js"></script>
|
||||||
<title><%= webpackConfig.name %></title>
|
<title><%= webpackConfig.name %></title>
|
||||||
|
|||||||
@@ -372,7 +372,7 @@ export default {
|
|||||||
const arr = []
|
const arr = []
|
||||||
arr.push(this.popData.device_code)
|
arr.push(this.popData.device_code)
|
||||||
crudProduceScreen.fabOrders({ deviceCodes: arr }).then(res => {
|
crudProduceScreen.fabOrders({ deviceCodes: arr }).then(res => {
|
||||||
this.imgSrc = res.path
|
this.imgSrc = '//images.weserv.nl/?url=' + res.path
|
||||||
this.popList = [...res.material]
|
this.popList = [...res.material]
|
||||||
this.popList.map(el => {
|
this.popList.map(el => {
|
||||||
this.$set(el, 'material_qty', 0)
|
this.$set(el, 'material_qty', 0)
|
||||||
@@ -389,7 +389,7 @@ export default {
|
|||||||
handleCurrentChange(val) {
|
handleCurrentChange(val) {
|
||||||
if (val) {
|
if (val) {
|
||||||
this.currentRow = val
|
this.currentRow = val
|
||||||
this.imgSrc = val.vehicle_path
|
this.imgSrc = '//images.weserv.nl/?url=' + 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]
|
||||||
})
|
})
|
||||||
@@ -465,7 +465,7 @@ export default {
|
|||||||
},
|
},
|
||||||
handleCurrentChange1(val) {
|
handleCurrentChange1(val) {
|
||||||
if (val) {
|
if (val) {
|
||||||
this.imgSrc = val.material_path
|
this.imgSrc = '//images.weserv.nl/?url=' + val.material_path
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ export function deviceInLogin() {
|
|||||||
// 4.根据工序查询订单
|
// 4.根据工序查询订单
|
||||||
export function regionOrder(code) {
|
export function regionOrder(code) {
|
||||||
const res = {
|
const res = {
|
||||||
content: [{ vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11', vehicle_path: '' }, { order_code: '1', vehicle_path: '' }, { order_code: '2' }, { order_code: '3' }, { order_code: '4' }, { order_code: '5' }, { order_code: '6' }, { order_code: '7' }, { order_code: '8' }, { order_code: '9' }]
|
content: [{ vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11', vehicle_path: 'https://img-home.csdnimg.cn/images/20250110121058.png' }, { order_code: '1', vehicle_path: '' }, { order_code: '2' }, { order_code: '3' }, { order_code: '4' }, { order_code: '5' }, { order_code: '6' }, { order_code: '7' }, { order_code: '8' }, { order_code: '9' }]
|
||||||
}
|
}
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
resolve(res)
|
resolve(res)
|
||||||
|
|||||||
Reference in New Issue
Block a user