入库优化
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
"name" : "干巷仓库APP",
|
||||
"appid" : "__UNI__A67E78B",
|
||||
"description" : "",
|
||||
"versionName" : "2.2.7",
|
||||
"versionCode" : 227,
|
||||
"versionName" : "2.2.8",
|
||||
"versionCode" : 228,
|
||||
"transformPx" : false,
|
||||
"app-plus" : {
|
||||
"usingComponents" : true,
|
||||
|
||||
@@ -146,18 +146,18 @@ export default {
|
||||
// 当前录入的箱号是否在同一批次录入过
|
||||
// 曾经是否扫过
|
||||
if (this.newMaterialList.length > 0) {
|
||||
// for (let item of this.newMaterialList) {
|
||||
// if (item.patchCode === data.patchCode) {
|
||||
// uni.showModal({
|
||||
// title: '提示',
|
||||
// content: '此货物已录入过!',
|
||||
// showCancel: false,
|
||||
// confirmText: '确定'
|
||||
// });
|
||||
// this.loading = false;
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
for (let item of this.newMaterialList) {
|
||||
if (item.patchCode === data.patchCode) {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '此货物已录入过!',
|
||||
showCancel: false,
|
||||
confirmText: '确定'
|
||||
});
|
||||
this.loading = false;
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (this.newMaterialList[this.newMaterialList.length - 1].workoderID !== data.workoderID) {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
|
||||
Reference in New Issue
Block a user