fix: work product installmentNo

This commit is contained in:
puriphatt 2024-10-30 10:38:24 +07:00
parent 57f0e39821
commit b96989b559

View file

@ -1210,6 +1210,7 @@ function submitAddWorkProduct() {
if (!productExists) {
workItems.value[currentWorkIndex.value].product.push({
...i,
installmentNo: 1,
nameEn: '',
});
workItems.value[currentWorkIndex.value].attributes.stepProperties.forEach(