盘点管理6张图片

feature/nanjing-wuliu
yiming 3 years ago
parent 67c28460a9
commit 1b111c0bfa

@ -30,42 +30,57 @@
</li>
</ul>
</div>
<div class="img-box">
<viewer v-if="checkObj.checkPic" style="height: 300px">
<img :src="imgUrl+checkObj.checkPic"/>
<div >
<a-row type="flex" justify="space-around" style="height:300,margin-left:400">
<a-col :span="4">
<p>顶部图片1</p>
<viewer >
<img class="historyImg" :src="checkObj.topPic1"/>
</viewer>
<div
v-else
style="display: flex;align-items: center;justify-content: center;width:100px;height:300px;">
暂无图片
</div>
<p>盘点图</p>
</div>
<div class="img-box">
<viewer v-if="checkObj.preoperationPic" style="height:300px;">
<img :src="imgUrl+checkObj.preoperationPic"/>
</a-col>
<a-col :span="4">
<p>顶部图片2</p>
<viewer >
<img class="historyImg" :src="checkObj.topPic2"/>
</viewer>
</a-col>
</a-row>
<a-row type="flex" justify="space-around" align="middle" style="height:300">
<div v-else style="display: flex;align-items: center;justify-content: center;width:100px;height:300px;">
暂无图片
</div>
<p>操作前照片</p>
</div>
<div class="img-box">
<viewer v-if="checkObj.overoperationPic" style="width:100%;height:300px;">
<img :src="imgUrl+checkObj.overoperationPic"/>
<a-col :span="4">
<p>侧面图片1</p>
<viewer >
<img class="historyImg" :src="checkObj.sidePic1"/>
</viewer>
<div
v-else
style="display: flex;align-items: center;justify-content: center;width:100px;height:300px;">
暂无图片
</div>
<p>操作后照片</p>
</a-col>
<a-col :span="4">
<p>侧面图片2</p>
<viewer >
<img class="historyImg" :src="checkObj.sidePic2"/>
</viewer>
</a-col>
</a-row>
<a-row type="flex" justify="space-around" align="middle" style="height:300">
<a-col :span="4">
<p>侧面图片3</p>
<viewer >
<img class="historyImg" :src="checkObj.sidePic3"/>
</viewer>
</a-col>
<a-col :span="4">
<p>侧面图片4</p>
<viewer >
<img class="historyImg" :src="checkObj.sidePic4"/>
</viewer>
</a-col>
</a-row>
</div>
</div>
</div>
<!--
<div class="bottom-btn" >
<a-button class="btn"
type="primary"
@ -74,6 +89,8 @@
>核对
</a-button>
</div>
-->
</div>

@ -42,7 +42,7 @@
<template>
<span style="height:100%;">
<happy-scroll color="rgba(100,100,100,0.5)" size="8" class="scroll-box" style="width:320px;height:90px;">
<happy-scroll color="rgba(100,100,100,0.5)" size="8" class="scroll-box" style="height:30px;">
<img class="historyImg" :src="imgUrl+text.intoStockPic"
/>
@ -56,7 +56,7 @@
<template>
<span style="height:100%;">
<happy-scroll color="rgba(100,100,100,0.5)" size="8" class="scroll-box" style="width:320px;height:90px;">
<happy-scroll color="rgba(100,100,100,0.5)" size="8" class="scroll-box" style="height:30px;">
<img class="historyImg" :src="imgUrl+text.intoStockOverPic"
/>
@ -117,11 +117,10 @@ export default {
dataIndex: "goodsLocation",
},
{
title: "入库照片",
title: "入库顶部照片",
scopedSlots: {customRender: 'intoStockPic'},
width:320,
width:320,
width:200
},
{
title: "入库时间",
@ -131,7 +130,7 @@ export default {
title: "入库完成照片",
// dataIndex: "pic",
scopedSlots: {customRender: 'intoStockOverPic'},
width:320,
width:200,
},
{
title: "入库完成时间",
@ -140,8 +139,6 @@ export default {
],
visible: false,
vid1: '',
vid2: ''
}
},
mounted() {

@ -32,7 +32,7 @@ module.exports = {
}
},
'/api/pic': {
target: 'http://192.168.77.91:9007/api/pic',
target: 'http://127.0.0.1:9007/api/pic',
logLevel:'debug',
pathRewrite:{
'/api/pic':''

Loading…
Cancel
Save