|
|
|
@ -7,8 +7,11 @@
|
|
|
|
<div class="img-box">
|
|
|
|
<div class="img-box">
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<span >
|
|
|
|
<span class="img-box-title">
|
|
|
|
{{streetName}}-{{this.direction == 1?"左":"右"}}-{{this.side == 1?"浅":"深"}}-{{row}}层-{{column}}列
|
|
|
|
位置:
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span class="img-box-value">
|
|
|
|
|
|
|
|
{{checkObj.streetName}}-{{checkObj.direction == 1?"左":"右"}}-{{checkObj.side == 1?"浅":"深"}}-{{checkObj.row}}层-{{checkObj.column}}列
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
@ -30,8 +33,18 @@
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="img-box" style="margin:auto;display: flex;align-items: center">
|
|
|
|
<div class="img-box">
|
|
|
|
<viewer v-if="checkObj.checkPic" style="height:400px">
|
|
|
|
|
|
|
|
<img :src="imgUrl+checkObj.checkPic"/>
|
|
|
|
|
|
|
|
</viewer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div v-else style="display: flex;align-items: center;justify-content: center;width:300px;height:300px;">
|
|
|
|
|
|
|
|
暂无图片
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>盘点照片</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 不再展示操作照片 -->
|
|
|
|
|
|
|
|
<!-- <div class="img-box">
|
|
|
|
<viewer v-if="checkObj.preoperationPic" style="height:300px;">
|
|
|
|
<viewer v-if="checkObj.preoperationPic" style="height:300px;">
|
|
|
|
<img :src="imgUrl+checkObj.preoperationPic"/>
|
|
|
|
<img :src="imgUrl+checkObj.preoperationPic"/>
|
|
|
|
</viewer>
|
|
|
|
</viewer>
|
|
|
|
@ -53,15 +66,21 @@
|
|
|
|
暂无图片
|
|
|
|
暂无图片
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<p>操作后照片</p>
|
|
|
|
<p>操作后照片</p>
|
|
|
|
</div>
|
|
|
|
</div> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="bottom-btn" >
|
|
|
|
<div class="bottom-btn" >
|
|
|
|
<a-button class="btn"
|
|
|
|
<a-button class="btn"
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
style="background:#29c12b;border-color:#29c12b;"
|
|
|
|
style="background:#29c12b;border-color:#29c12b;"
|
|
|
|
@click="checkSure(checkObj.row,checkObj.column,checkObj.shelveId,index)"
|
|
|
|
@click="checkSure(checkObj.row,checkObj.column,checkObj.shelveId,index)">
|
|
|
|
>核对
|
|
|
|
核对
|
|
|
|
|
|
|
|
</a-button>
|
|
|
|
|
|
|
|
<a-button class="btn"
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
style="background:#29c12b;border-color:#29c12b;"
|
|
|
|
|
|
|
|
@click="nextOne(checkObj.id)">
|
|
|
|
|
|
|
|
下一个盘点
|
|
|
|
</a-button>
|
|
|
|
</a-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@ -79,7 +98,9 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import Model from "./model.vue"
|
|
|
|
import Model from "./model.vue"
|
|
|
|
import {imgUrl} from "@/api/importExcel";
|
|
|
|
import {imgUrl} from "@/api/importExcel";
|
|
|
|
|
|
|
|
import { message } from 'ant-design-vue';
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
@ -175,6 +196,9 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).then(res => {
|
|
|
|
}).then(res => {
|
|
|
|
if (res.data) {
|
|
|
|
if (res.data) {
|
|
|
|
|
|
|
|
if(res.data.trayCode ==""){
|
|
|
|
|
|
|
|
res.data.trayCode = "NG";
|
|
|
|
|
|
|
|
}
|
|
|
|
this.checkObj = res.data;
|
|
|
|
this.checkObj = res.data;
|
|
|
|
//this.shelveId = res.data.shelveId;
|
|
|
|
//this.shelveId = res.data.shelveId;
|
|
|
|
//this.getScanAndCheck();
|
|
|
|
//this.getScanAndCheck();
|
|
|
|
@ -197,6 +221,9 @@ export default {
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
row: Number(row),
|
|
|
|
row: Number(row),
|
|
|
|
column: Number(column),
|
|
|
|
column: Number(column),
|
|
|
|
|
|
|
|
side: Number(this.side),
|
|
|
|
|
|
|
|
streetId: Number(this.streetId),
|
|
|
|
|
|
|
|
direction: Number(this.direction),
|
|
|
|
shelveId: shelveId,
|
|
|
|
shelveId: shelveId,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).then(res => {
|
|
|
|
}).then(res => {
|
|
|
|
@ -224,7 +251,34 @@ export default {
|
|
|
|
this.visible = visible
|
|
|
|
this.visible = visible
|
|
|
|
this.modelData = data
|
|
|
|
this.modelData = data
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
nextOne(id){
|
|
|
|
|
|
|
|
console.log(1111);
|
|
|
|
|
|
|
|
this.$api.httpApi.nextOne({
|
|
|
|
|
|
|
|
data: {
|
|
|
|
|
|
|
|
id:Number(id)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|
|
|
if (res.data) {
|
|
|
|
|
|
|
|
this.checkObj = {}
|
|
|
|
|
|
|
|
if(res.data.trayCode ==""){
|
|
|
|
|
|
|
|
res.data.trayCode = "NG";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.checkObj = res.data;
|
|
|
|
|
|
|
|
this.id = res.data.id
|
|
|
|
|
|
|
|
this.row = res.data.row
|
|
|
|
|
|
|
|
this.column = res.data.column
|
|
|
|
|
|
|
|
this.direction = res.data.direction
|
|
|
|
|
|
|
|
this.side = res.data.side
|
|
|
|
|
|
|
|
this.streetId = res.data.streetId
|
|
|
|
|
|
|
|
this.streetName = res.data.streetName
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
message.info('全部盘点已完成')
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
|
|
console.log(err)
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|