diff --git a/App.vue b/App.vue
index 6efffeb..62bc7c4 100644
--- a/App.vue
+++ b/App.vue
@@ -54,7 +54,7 @@
background-color: white;
}
- /* 存在顶部nav与tab通用主容器 可使用高度 */
+ /* 存在顶部nav主容器 可使用高度 */
.common-nav-container {
width: 360px;
height: 644px;
diff --git a/components/material-item/material-item.vue b/components/material-item/material-item.vue
index b87d7ee..1a49bf7 100644
--- a/components/material-item/material-item.vue
+++ b/components/material-item/material-item.vue
@@ -5,6 +5,17 @@
+
+
+ 零件号:{{ materialInfo.partNumner }}
+ 描述:{{ materialInfo.productionDescribe }}
+
+
+ 数量:{{ materialInfo.quantity }}
+ 生产日期
+ {{ materialInfo.productionTime }}
+
+
@@ -19,7 +19,7 @@
拼箱清单
-
+
@@ -133,15 +133,19 @@
handleGetInfo(data, type) {
if (type === 2) {
// 此时扫描的是箱号
- // if (this.newMaterialList.length > 1) {
- // uni.showModal({
- // title: '提示',
- // content: '盘点仅支持单个货物盘点',
- // showCancel: false,
- // confirmText: '确定'
- // });
- // return;
- // }
+ if (this.newMaterialList.length > 0) {
+ for(let item of this.newMaterialList){
+ if(data.patchCode === item.patchCode){
+ uni.showModal({
+ title: '提示',
+ content: '已扫过此箱!',
+ showCancel: false,
+ confirmText: '确定'
+ });
+ return;
+ }
+ }
+ }
const checkData = {
originalCode: data.originalCode
};
@@ -195,7 +199,7 @@
if (res.code === 200) {
uni.showModal({
title: '提示',
- content: '拼箱成功!',
+ content: '拼箱成功!'+res.data.description,
showCancel: false,
confirmText: '确认'
});
@@ -287,7 +291,9 @@
background-color: rgba(179, 179, 179, 0.7);
border-radius: 5px;
}
-
+ .scroll-view-height{
+ height: 300px;
+ }
.scroll-view-last {
width: 100%;
height: 60px;
diff --git a/pages/inWarehouse/inWarehouse.vue b/pages/inWarehouse/inWarehouse.vue
index ac0d8b6..4ef1c35 100644
--- a/pages/inWarehouse/inWarehouse.vue
+++ b/pages/inWarehouse/inWarehouse.vue
@@ -58,7 +58,7 @@ export default {
data() {
return {
// 入库模式(true严格追溯 false不严格不追溯)
- isStrict:true,
+ isStrict:false,
loading: false,
// 双击判定
touchNum: 0,
@@ -139,13 +139,21 @@ export default {
if (item.patchCode === data.patchCode) {
uni.showModal({
title: '提示',
- content: '此货物已录入过',
+ content: '此货物已录入过!',
showCancel: false,
confirmText: '确定'
});
return;
}
}
+ if (this.newMaterialList[this.newMaterialList.length - 1].workoderID !== data.workoderID) {
+ uni.showModal({
+ title: '提示',
+ content: '已更换入库批次!',
+ showCancel: false,
+ confirmText: '确定'
+ });
+ }
}
const checkData = {
production_packcode: data.originalCode,
diff --git a/pages/menuChouse/menuChouse.vue b/pages/menuChouse/menuChouse.vue
index 64bf097..a35bbab 100644
--- a/pages/menuChouse/menuChouse.vue
+++ b/pages/menuChouse/menuChouse.vue
@@ -133,10 +133,19 @@
isShow: true,
name: '拆箱',
// 触发跳转
- url: '',
+ url: '/pages/unpacking/unpacking',
icon: '',
color: 'linear-gradient(to bottom, #243949 0%, #517fa4 100%)'
},
+ {
+ isShowType: 4,
+ isShow: true,
+ name: '仓库操作日志',
+ // 触发跳转
+ url: '/pages/warehoseActionList/warehoseActionList',
+ icon: '',
+ color: 'linear-gradient(to right, #6a11cb 0%, #2575fc 100%)'
+ },
{
isShowType: 4,
isShow: true,
@@ -145,7 +154,8 @@
url: '/pages/watchGoods/watchGoods',
icon: '',
color: 'linear-gradient(to top, #0ba360 0%, #3cba92 100%)'
- }
+ },
+
]
}
},
diff --git a/pages/unpacking/unpacking.vue b/pages/unpacking/unpacking.vue
new file mode 100644
index 0000000..c54ae2c
--- /dev/null
+++ b/pages/unpacking/unpacking.vue
@@ -0,0 +1,334 @@
+
+
+
+
+
+
+ 已扫货物数:{{ quantityTotal }}
+ 已扫箱数:{{ newMaterialList.length }}
+
+
+ 请扫货物码
+
+
+
+
+
+
+
+
+
+ 拆箱清单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/warehoseActionList/warehoseActionList.vue b/pages/warehoseActionList/warehoseActionList.vue
new file mode 100644
index 0000000..61b08ab
--- /dev/null
+++ b/pages/warehoseActionList/warehoseActionList.vue
@@ -0,0 +1,213 @@
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+ {{quantityParse(item.jsonMsg,item.type)}}
+
+
+
+
+ {{item.description}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file