fix: package => remove work id when create package

This commit is contained in:
puriphatt 2024-11-27 11:27:31 +07:00
parent ebc9c3e773
commit 718659cdfc

View file

@ -1083,6 +1083,7 @@ async function submitService(notClose = false) {
formDataProductService.value.image = profileFileImg.value;
if (dialogService.value) {
formDataProductService.value.productGroupId = currentIdGroup.value;
formDataProductService.value.work.forEach((s) => (s.id = undefined));
if (
formDataProductService.value.code === '' ||