|
@@ -148,12 +148,20 @@ const clickCancel = () => {
|
|
|
};
|
|
|
onMounted(() => {
|
|
|
proxy.post("/stockPreparation/outBomList", formData.data).then((res) => {
|
|
|
- inOutStorageBomList.value = Object.freeze(res);
|
|
|
+ if (res && res.length > 0) {
|
|
|
+ inOutStorageBomList.value = Object.freeze(res.filter((item) => !["吊牌", "不干胶"].includes(item.classifyName)));
|
|
|
+ } else {
|
|
|
+ inOutStorageBomList.value = [];
|
|
|
+ }
|
|
|
});
|
|
|
});
|
|
|
const changeDepartment = () => {
|
|
|
proxy.post("/stockPreparation/outBomList", formData.data).then((res) => {
|
|
|
- inOutStorageBomList.value = Object.freeze(res);
|
|
|
+ if (res && res.length > 0) {
|
|
|
+ inOutStorageBomList.value = Object.freeze(res.filter((item) => !["吊牌", "不干胶"].includes(item.classifyName)));
|
|
|
+ } else {
|
|
|
+ inOutStorageBomList.value = [];
|
|
|
+ }
|
|
|
});
|
|
|
};
|
|
|
const statisticalQuantity = () => {
|