refactor: remove unused watch functionality in CuttingPosForm.vue to streamline component logic and improve maintainability
This commit is contained in:
parent
d10d330a7b
commit
e5c79727c4
@ -186,16 +186,6 @@ watch(
|
|||||||
{ immediate: true },
|
{ immediate: true },
|
||||||
);
|
);
|
||||||
|
|
||||||
watch(
|
|
||||||
[materialCart, resultCart],
|
|
||||||
() => {
|
|
||||||
if (materialCart.value.length > 0 && resultCart.value.length > 0) {
|
|
||||||
costModalOpen.value = true;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ deep: true },
|
|
||||||
);
|
|
||||||
|
|
||||||
type CatalogPrice = CuttingRawMaterialCatalogItem['prices'][number];
|
type CatalogPrice = CuttingRawMaterialCatalogItem['prices'][number];
|
||||||
|
|
||||||
const filteredRawMaterials = computed(() => {
|
const filteredRawMaterials = computed(() => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user