-
-
+
+
- -
+
-
位置:
- {{checkObj.streetName}}-{{direction==1?"左":"右"}}-{{side==1?"浅":"深"}}-{{checkObj.column}}列-{{checkObj.row}}层
+ {{streetName}}-{{direction==1?"左":"右"}}-{{side==1?"浅":"深"}}-{{checkObj.column}}列-{{checkObj.row}}层
-
- -
+
+ -
核对状态:
@@ -22,51 +22,35 @@
{{ statusMap[checkObj.status] }}
- -
+
-
{{ item.label }}:
- {{ checkObj[item.key] ==null? checkObj[item.key]: item.value}}
+ {{ checkObj[item.key] }}
-
-
-
-
-
- 暂无图片
-
-
盘点图1
-
-
+
+
+
+
![]()
+
+
+
+
+
盘点图
+
+
@@ -109,7 +93,7 @@ import { message } from 'ant-design-vue';
export default {
data() {
return {
-
+ checkPics:[],
upUrl:"",
checkObj: {},
row: 1,
@@ -137,13 +121,11 @@ export default {
},
{
label:'品规',
- key: 'trayCode',
- value: '123'
+ key: 'category'
},
{
label:'个数',
- key: 'trayCode',
- value: '24'
+ key: 'count'
},
{
label:'盘点时间',
@@ -205,7 +187,9 @@ export default {
}).then(res => {
if (res.data) {
this.checkObj = res.data;
- this.checkObj.checkPic2 = this.checkObj.checkPic + ".jpg"
+ var pic = this.checkObj.checkPic;
+ this.checkPics = pic.toString().split(';')
+ this.$forceUpdate()
//this.shelveId = res.data.shelveId;
//this.getScanAndCheck();
}
@@ -243,7 +227,7 @@ export default {
});
},
checkfalse(row, column, shelveId, index) {
- this.$api.httpApi.stockCheckCorrect({
+ this.$api.httpApi.stockCheckCorrectErr({
data: {
row: Number(row),
column: Number(column),
@@ -294,7 +278,7 @@ export default {
this.side = res.data.side
this.streetId = res.data.streetId
this.streetName = res.data.streetName
- this.checkObj.checkPic2 = this.checkObj.checkPic + ".jpg"
+ this.checkPics = this.checkObj.checkPic.slpit(';');
}else{
message.info('全部盘点已完成')
@@ -308,9 +292,8 @@ export default {
}
diff --git a/src/views/historyCheck/index.vue b/src/views/historyCheck/index.vue
index 39cfa91..10d7fe3 100644
--- a/src/views/historyCheck/index.vue
+++ b/src/views/historyCheck/index.vue
@@ -1,21 +1,35 @@