倾倒识别

新疆科信智慧盘点
LAPTOP-S9HJSOEB\昊天 3 months ago
parent c14e7f67f7
commit c80a60b1f2

@ -25,47 +25,12 @@
</li>
<li>
<span class="img-box-title">
品规选择:
倾倒识别:
</span>
<span class="img-box-value">
<a-select showSearch
ref="select"
style="width: 100%"
:value="checkObj.category"
@change="change"
>
<a-select-option v-for="(name, code) in categorys" :key="code">
{{ code+"("+name+")"}}
</a-select-option>
</a-select>
</span>
</li>
<li>
<span class="img-box-title">
上位个数:
</span>
<span class="img-box-value">
{{this.checkObj.wmsCount}}
</span>
</li>
<li>
<span class="img-box-title">
识别+顶部个数
{{ checkObj.category }}
</span>
<span class="img-box-value">
{{this.checkObj.count}}+
<a-input-number
id="inputNumber"
style="width: 50%"
v-model="checkObj.countTop"
:min="-120"
:max="150"
/>
={{getCountAdd()}}
</span>
</li>
<li
v-for="item in params"
@ -84,38 +49,15 @@
<div class="img-box" style="margin-left: 200px;">
<viewer :images = "pics">
<a-row type="flex" gutter="16px" justify="space-around" align="middle" style="height:300">
<a-col :span="11">
<p>顶部图片1</p>
<img class="historyImg" :src="checkObj.topPic1"/>
</a-col>
<a-col :span="11">
<p>顶部图片2</p>
<img class="historyImg" :src="checkObj.topPic2"/>
</a-col>
</a-row>
<a-row type="flex" gutter="16px" justify="space-around" align="middle" style="height:300">
<a-col :span="11">
<p>侧面图片1</p>
<img class="historyImg" :src="checkObj.sidePic1"/>
</a-col>
<a-col :span="11">
<p>侧面图片2</p>
<img class="historyImg" :src="checkObj.sidePic2"/>
</a-col>
</a-row>
<a-row type="flex" justify="space-around" align="middle" style="height:300">
<a-col :span="11">
<p>侧面图片3</p>
<img class="historyImg" :src="checkObj.sidePic3"/>
</a-col>
<a-col :span="11">
<p>侧面图片4</p>
<img class="historyImg" :src="checkObj.sidePic4"/>
<a-row type="flex" gutter="16px" justify="space-around" align="middle" style="height:500">
<a-col :span="24">
<p>图片</p>
<img class="historyImg" :src="checkObj.checkPic"/>
</a-col>
</a-row>
</viewer>
</div>
@ -263,12 +205,7 @@ export default {
this.checkObj = res.data;
this.checkObj.checkPic2 =
this.checkObj.checkPic + ".jpg";
this.pics.push(this.checkObj.topPic1);
this.pics.push(this.checkObj.topPic2);
this.pics.push(this.checkObj.sidePic1);
this.pics.push(this.checkObj.sidePic2);
this.pics.push(this.checkObj.sidePic3);
this.pics.push(this.checkObj.sidePic4);
this.pics.push(this.checkObj.checkPic);
//this.shelveId = res.data.shelveId;
//this.getScanAndCheck();
}
@ -386,12 +323,7 @@ export default {
this.checkObj.checkPic2 =
this.checkObj.checkPic + ".jpg";
this.pics.push(this.checkObj.topPic1);
this.pics.push(this.checkObj.topPic2);
this.pics.push(this.checkObj.sidePic1);
this.pics.push(this.checkObj.sidePic2);
this.pics.push(this.checkObj.sidePic3);
this.pics.push(this.checkObj.sidePic4);
this.pics.push(this.checkObj.checkPic);
} else {
message.info("全部盘点已完成");
}

@ -90,74 +90,17 @@
style="margin-left: 200px;"
>
<viewer :images="pics">
<a-row
type="flex"
justify="space-around"
align="middle"
style="height:300"
>
<a-col :span="11">
<p>顶部图片1</p>
<img
class="historyImg"
:src="checkObj.topPic1"
/>
</a-col>
<a-col :span="11">
<p>顶部图片2</p>
<img
class="historyImg"
:src="checkObj.topPic2"
/>
</a-col>
</a-row>
<a-row
type="flex"
:gutter="16"
justify="space-around"
align="middle"
style="height:300"
>
<a-col :span="11">
<p>侧面图片1</p>
<img
class="historyImg"
:src="checkObj.sidePic1"
/>
</a-col>
<a-col :span="11">
<p>侧面图片2</p>
<img
class="historyImg"
:src="checkObj.sidePic2"
/>
</a-col>
</a-row>
<a-row
type="flex"
justify="space-around"
align="middle"
style="height:300"
>
<a-col :span="11">
<p>侧面图片3</p>
<img
class="historyImg"
:src="checkObj.sidePic3"
/>
</a-col>
<a-col :span="11">
<p>侧面图片4</p>
<img
class="historyImg"
:src="checkObj.sidePic4"
/>
</a-col>
</a-row>
</viewer>
<viewer :images = "pics">
<a-row type="flex" gutter="16px" justify="space-around" align="middle" style="height:500">
<a-col :span="24">
<p>图片</p>
<img class="historyImg" :src="checkObj.checkPic"/>
</a-col>
</a-row>
</viewer>
</div>
</div>
@ -321,12 +264,7 @@ export default {
//
initPics() {
this.pics = [];
if (this.checkObj.topPic1) this.pics.push(this.checkObj.topPic1);
if (this.checkObj.topPic2) this.pics.push(this.checkObj.topPic2);
if (this.checkObj.sidePic1) this.pics.push(this.checkObj.sidePic1);
if (this.checkObj.sidePic2) this.pics.push(this.checkObj.sidePic2);
if (this.checkObj.sidePic3) this.pics.push(this.checkObj.sidePic3);
if (this.checkObj.sidePic4) this.pics.push(this.checkObj.sidePic4);
if (this.checkObj.checkPic) this.pics.push(this.checkObj.checkPic);
},
handleCountTopChange(value) {

Loading…
Cancel
Save