Przeglądaj źródła

feat(销售订单): 默认税率设置

liujt 2 miesięcy temu
rodzic
commit
7c8f4eb091

+ 1 - 0
src/BIZComponents/inventoryTable.vue

@@ -2201,6 +2201,7 @@
             item['customerMark'] = item.customerMark || this.customerMark;
             item['arrivalWay'] = item.arrivalWay || 1;
             item.discountRatio = Number(item.discountRatio) || 100; 
+            item.taxRate = item.taxRate || this.defTaxRate;
             item.quoteWay = item.quoteWay || 1;
           });
           this.form.datasource = productList;

+ 1 - 0
src/views/purchasingManage/purchaseOrder/components/inventoryTableNew.vue

@@ -1424,6 +1424,7 @@
             if (item.colorKey) {
               item.colorKey = item.colorKey.split(',');
             }
+            item.taxRate = item.taxRate || 13;
             item.discountRatio = Number(item.discountRatio) || 100; 
             item.quoteWay = item.quoteWay || 1;
           });

+ 1 - 0
src/views/saleManage/saleOrder/components/addDialogNew.vue

@@ -550,6 +550,7 @@
         :isProductionRequirements="true"
         :isIncreaseTotalWeight="true"
         :showSummary="true"
+        :defTaxRate="13"
       ></inventoryTable>
       <headerTitle
         title="类型清单"