kts-component-invoice-operate 3.2.154 → 3.2.155

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,6 +36,8 @@ export default interface IGood {
36
36
  lineAmountIncludeTax?: number;
37
37
  /** 金额(不含税) */
38
38
  lineAmountExcludeTax?: number;
39
+ /** 税率列表 */
40
+ goodsTaxRateList?: number[] | null;
39
41
  /** 税率 */
40
42
  taxRate?: number;
41
43
  /** 免税类型 */
@@ -16,6 +16,8 @@ export default class GoodsListState {
16
16
  isSwitchTax?: boolean;
17
17
  /** 切换含税时是否重新计算 */
18
18
  isRecalculateWhenSwitchTax: boolean;
19
+ /** 是否根据税收分类编码改变商品的可选税率 */
20
+ isUpdateGoodsTaxRateList: boolean;
19
21
  /** 是否能添加折扣行 */
20
22
  isAddDiscount?: boolean;
21
23
  /** 是否可以添加行 */
@@ -40,4 +40,6 @@ export default class InvoiceController extends InvoiceControllerForm {
40
40
  getTaxCategoryCodeList?: () => Promise<any>;
41
41
  /** 获取筛选后的列表 */
42
42
  getGoodsSearch: typeof getGoodsSearch;
43
+ /** 获取货物的税率可选列表, 如果没传taxClassificationCode,返回undefined */
44
+ getGoodsTaxRateList?: (taxClassificationCode: string) => Promise<number[] | undefined | null>;
43
45
  }