tangning 11 月之前
父節點
當前提交
4aa93fcde5
共有 1 個文件被更改,包括 4 次插入0 次删除
  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,