diff --git a/pages/inWarehouse/inWarehouse.vue b/pages/inWarehouse/inWarehouse.vue index f32d828..0c51b4d 100644 --- a/pages/inWarehouse/inWarehouse.vue +++ b/pages/inWarehouse/inWarehouse.vue @@ -31,14 +31,6 @@ 上次批次号: - @@ -201,37 +193,6 @@ this.loading = false; } }); - // const checkData = { - // originalCode: data.originalCode - // }; - // WarehoseApi.isExistedWarehouse(checkData).then((res) => { - // if (res.code !== 200 || res.data) { - // uni.showModal({ - // title: '提示', - // content: '货物录入异常,已在其他库录入!', - // showCancel: false, - // confirmText: '确定' - // }); - // return; - // } - // // 此时扫描的是箱号 - // // 当前录入的箱号是否在同一批次录入过 - // // 曾经是否扫过 - // if (this.newMaterialList.length > 0) { - // for (let item of this.newMaterialList) { - // if (item.patchCode === data.patchCode) { - // uni.showModal({ - // title: '提示', - // content: '此货物已录入过', - // showCancel: false, - // confirmText: '确定' - // }); - // return; - // } - // } - // } - - // }); } }, @@ -302,7 +263,7 @@ return; } uni.showToast({ - icon: 'success', + icon: 'none', title: '入库成功!' + res.msg }); this.loading = false;