This commit is contained in:
赵正易 2024-08-05 17:54:28 +08:00
parent 8618130792
commit d7830d29ba

View File

@ -31,14 +31,6 @@
<view class="scroll-view-last" v-if="newMaterialList.length === 1">上次批次号</view>
<packageCard v-if="newMaterialList.length > 0" :packageInfo="newMaterialList[newMaterialList.length - 1]">
</packageCard>
<!-- <scroll-view class="scroll-view-box" :scroll-y="true">
<view v-for="(item, index) in oldMaterialList">
<materialItem style="background-color: darkgray" :materialInfo="item"></materialItem>
</view>
<view v-for="(item, index) in newMaterialList">
<materialItem style="background-color: whitesmoke" :materialInfo="item" @click.native="handleDeleteItem(item, index)"></materialItem>
</view>
</scroll-view> -->
</view>
<!-- 底部按钮 -->
<view class="button-box">
@ -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;