tangning hace 11 meses
padre
commit
4aa93fcde5
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/views/work/quoteModel.vue

+ 4 - 0
src/views/work/quoteModel.vue

@@ -501,6 +501,10 @@
                   return;
                 }
                 let discount = params[`discount${ele.priceListId}`]?.length ? 1 : 0;
+                if (params[`priceList${ele.priceListId}`] == undefined) {
+                  console.log('discount', params[`priceList${ele.priceListId}`]);
+                  return;
+                }
                 priceListsparams.push({
                   priceListId: ele.priceListId,
                   type: ele.type,