图片修改,上位信息增加

泸州-烟草
LAPTOP-S9HJSOEB\昊天 9 months ago
parent 71b3d74d1a
commit 44e734aa2f

@ -1381,7 +1381,7 @@ tr.ant-table-expanded-row:hover {background: #fbfbfb;}
.ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;} .ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;}
.ant-tag-volcano {color: #fa541c;background: #fff2e8;border-color: #ffbb96;} .ant-tag-volcano {color: #fa541c;background: #fff2e8;border-color: #ffbb96;}
.ant-tag-volcano-inverse {color: #fff;background: #fa541c;border-color: #fa541c;} .ant-tag-volcano-inverse {color: #fff;background: #fa541c;border-color: #fa541c;}
.ant-tag-orange {color: #fa8c16;background: color(~`colorPalette("@{heading-color}", 1)`);border-color: #ffd591;} .ant-tag-orange {color: #fa8c16;background: #fff7e6;border-color: #ffd591;}
.ant-tag-orange-inverse {color: #fff;background: #fa8c16;border-color: #fa8c16;} .ant-tag-orange-inverse {color: #fff;background: #fa8c16;border-color: #fa8c16;}
.ant-tag-yellow {color: #fadb14;background: #feffe6;border-color: #fffb8f;} .ant-tag-yellow {color: #fadb14;background: #feffe6;border-color: #fffb8f;}
.ant-tag-yellow-inverse {color: #fff;background: #fadb14;border-color: #fadb14;} .ant-tag-yellow-inverse {color: #fff;background: #fadb14;border-color: #fadb14;}

@ -12,7 +12,12 @@
</li> </li>
<li> <li>
<span class="img-box-title"> <span class="img-box-title">
系统条码:{{realCheck.code}} 系统条码:{{realCheck.wmsCode}}
</span>
</li>
<li>
<span class="img-box-title">
扫描条码:{{realCheck.code}}
</span> </span>
</li> </li>
<li> <li>
@ -23,7 +28,14 @@
<li> <li>
<span class="img-box-title"> <span class="img-box-title">
盘点结果数量:{{realCheck.count}} 盘点数量:{{realCheck.count}}
</span>
</li>
<li>
<span class="img-box-title">
系统数量:{{realCheck.wmsCount}}
</span> </span>
</li> </li>
<li> <li>
@ -31,22 +43,20 @@
盘点时间:{{realCheck.createTime}} 盘点时间:{{realCheck.createTime}}
</span> </span>
</li> </li>
</ul> </ul>
</div> </div>
<div style="width: 70%;"> <div style="width: 70%;">
<a-row type="flex" justify="space-around" style="height:300,margin-left:400">
<a-col :span="4">
<viewer > <viewer >
<img class="historyImg" :src="realCheck.path"/> <img style="width: 900px;height: 600px;" class="historyImg" :src="'http://'+realCheck.path"/>
</viewer> </viewer>
</a-col>
</a-row>
</div> </div>
</div> </div>
<div style="display: flex; justify-content: center;">
<a-button v-if="realCheck.flag != 1" type="primary"></a-button>
</div>
</div> </div>
</template> </template>
<script> <script>

@ -10,17 +10,18 @@
@change="handleGetHistoryList" @change="handleGetHistoryList"
> >
<span slot="status" slot-scope="text"> <span slot="status" slot-scope="text">
{{realCheck.flag == 1?"盘点正确":"盘点异常"}} {{text.flag}}
</span> </span>
<span slot="pic" slot-scope="text" style="width:auto"> <span slot="pic" slot-scope="text" style="width:auto">
<template> <template>
<span style="height:100%;"> <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="width:320px;height:90px;">
<viewer :images="text.pics">
<img class="historyImg" v-for="(src,index) in text.pics" :src="imgUrl+src" <viewer >
:key="index"/> <img class="historyImg" :src="'http://'+text.path"
:key="'http://'+text.path"/>
</viewer> </viewer>
</happy-scroll> </happy-scroll>
</span> </span>
@ -28,6 +29,17 @@
</template> </template>
</span> </span>
<span slot="operate" slot-scope="text" style="width:auto">
<template>
<span style="height:100%;">
</span>
</template>
</span>
</a-table> </a-table>
</div> </div>
@ -75,6 +87,18 @@ export default {
title: "数量", title: "数量",
dataIndex: "count", dataIndex: "count",
}, },
{
title: "上位条码",
dataIndex: "wmsCode",
},
{
title: "上位数量",
dataIndex: "wmsCount",
},
{
title: "状态",
dataIndex: "flagString",
},
{ {
title: "照片", title: "照片",
scopedSlots: {customRender: 'pic'}, scopedSlots: {customRender: 'pic'},
@ -84,6 +108,10 @@ export default {
title: "时间", title: "时间",
dataIndex: "createTime", dataIndex: "createTime",
}, },
{
title: "操作",
scopedSlots: {customRender: 'operate'},
},
], ],
} }

@ -279,6 +279,10 @@ export default {
rightSensorGunIp:newVal.rightSensorGunIp, rightSensorGunIp:newVal.rightSensorGunIp,
leftSensorGunPort:newVal.leftSensorGunPort, leftSensorGunPort:newVal.leftSensorGunPort,
rightSensorGunPort:newVal.rightSensorGunPort, rightSensorGunPort:newVal.rightSensorGunPort,
leftDeepSensorGunIp:newVal.leftDeepSensorGunIp,
rightDeepSensorGunIp:newVal.rightDeepSensorGunIp,
leftDeepSensorGunPort:newVal.leftDeepSensorGunPort,
rightDeepSensorGunPort:newVal.rightDeepSensorGunPort,
camera1Id:newVal.camera1Id, camera1Id:newVal.camera1Id,
camera2Id:newVal.camera2Id, camera2Id:newVal.camera2Id,
camera1Name:newVal.camera1Name, camera1Name:newVal.camera1Name,

Loading…
Cancel
Save