kts-component-invoice-operate 2.0.0 → 2.0.1
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.
- package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.d.ts +2 -0
- package/dist/Invoice/InvoiceController/fns/getGoodsSearch.d.ts +2 -0
- package/dist/Invoice/InvoiceController/index.d.ts +3 -0
- package/dist/Invoice/_test/buyerNameSearch/index.d.ts +0 -1
- package/dist/Invoice/_test/deduction/index.d.ts +0 -1
- package/dist/Invoice/_test/draft/index.d.ts +0 -1
- package/dist/Invoice/_test/easiest/index.d.ts +0 -1
- package/dist/Invoice/_test/endowCode/index.d.ts +0 -1
- package/dist/Invoice/_test/goodsMenuExpand/index.d.ts +0 -1
- package/dist/Invoice/_test/importBuyer/index.d.ts +0 -1
- package/dist/Invoice/_test/importGoods/index.d.ts +0 -1
- package/dist/Invoice/_test/invoiceType/index.d.ts +0 -1
- package/dist/Invoice/_test/isInvoiceNo/index.d.ts +0 -1
- package/dist/Invoice/_test/replaceHead/index.d.ts +0 -1
- package/dist/Invoice/_test/retrieveData/index.d.ts +0 -1
- package/dist/Invoice/_test/seller/index.d.ts +0 -1
- package/dist/Invoice/_test/setDataSource/index.d.ts +0 -1
- package/dist/Invoice/_test/unit/index.d.ts +0 -1
- package/dist/Invoice/ui/AddComparisonDrawer/index.d.ts +1 -1
- package/dist/Invoice/ui/Buyer/ui/BuyerNameInput/index.d.ts +0 -1
- package/dist/Invoice/ui/Buyer/ui/ImportBuyerButton/index.d.ts +0 -1
- package/dist/Invoice/ui/EndowCodeDrawer/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowEditButton/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddComparison/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowSaveButton/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/hook/useRowSelection/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/ui/AddRowButton/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/ui/{AddDiscountRowButton → BulkMenu/hooks/useAddDiscountRowButton}/index.d.ts +4 -2
- package/dist/Invoice/ui/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.d.ts +4 -0
- package/dist/Invoice/ui/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.d.ts +4 -0
- package/dist/Invoice/ui/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.d.ts +4 -0
- package/dist/Invoice/ui/GoodsList/ui/BulkMenu/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/ui/DescribeSwitch/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/ui/Search/index.d.ts +2 -0
- package/dist/Invoice/ui/GoodsList/ui/Statistics/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/ui/TableRow/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/ui/TableVirtual/index.d.ts +0 -1
- package/dist/Invoice/ui/GoodsList/ui/TaxIncludedSwitch/index.d.ts +0 -1
- package/dist/Invoice/ui/ImportBuyerDrawer/index.d.ts +0 -1
- package/dist/Invoice/ui/ImportGoodsDrawer/index.d.ts +0 -1
- package/dist/index.esm.js +715 -457
- package/dist/index.js +714 -456
- package/package.json +3 -1
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +3 -0
- package/src/Invoice/InvoiceController/fns/getGoodsSearch.ts +17 -0
- package/src/Invoice/InvoiceController/index.ts +4 -0
- package/src/Invoice/ui/AddComparisonDrawer/index.tsx +154 -158
- package/src/Invoice/ui/GoodsList/hook/useColumns/index.tsx +34 -8
- package/src/Invoice/ui/GoodsList/hook/useRowSelection/index.tsx +34 -8
- package/src/Invoice/ui/GoodsList/index.less +10 -2
- package/src/Invoice/ui/GoodsList/index.tsx +17 -21
- package/src/Invoice/ui/GoodsList/ui/AddRowButton/index.tsx +5 -2
- package/src/Invoice/ui/GoodsList/ui/{AddDiscountRowButton → BulkMenu/hooks/useAddDiscountRowButton}/index.less +0 -0
- package/src/Invoice/ui/GoodsList/ui/{AddDiscountRowButton → BulkMenu/hooks/useAddDiscountRowButton}/index.tsx +20 -17
- package/src/Invoice/ui/GoodsList/ui/{CommodityComparisonButton → BulkMenu/hooks/useCommodityComparisonButton}/index.tsx +17 -11
- package/src/Invoice/ui/GoodsList/ui/{DelRowButton → BulkMenu/hooks/useDelRowButton}/index.tsx +15 -7
- package/src/Invoice/ui/GoodsList/ui/{EndowCodeButton → BulkMenu/hooks/useEndowCodeButton}/index.tsx +13 -9
- package/src/Invoice/ui/GoodsList/ui/BulkMenu/index.tsx +43 -0
- package/src/Invoice/ui/GoodsList/ui/Search/icon/magnifier.svg +1 -0
- package/src/Invoice/ui/GoodsList/ui/Search/index.less +10 -0
- package/src/Invoice/ui/GoodsList/ui/Search/index.tsx +47 -0
- package/yarn.e.lock +14331 -0
- package/dist/Invoice/ui/GoodsList/ui/CommodityComparisonButton/index.d.ts +0 -3
- package/dist/Invoice/ui/GoodsList/ui/DelRowButton/index.d.ts +0 -3
- package/dist/Invoice/ui/GoodsList/ui/EndowCodeButton/index.d.ts +0 -3
- package/docs-dist/404.html +0 -33
- package/docs-dist/index.html +0 -33
- package/docs-dist/static/auto.a6cd905c.svg +0 -1
- package/docs-dist/static/spot.42e620e1.svg +0 -1
- package/docs-dist/umi.css +0 -20
- package/docs-dist/umi.js +0 -1
|
@@ -2,6 +2,7 @@ import InvoiceControllerForm from './InvoiceControllerForm';
|
|
|
2
2
|
import InvoiceControllerState from './InvoiceControllerState';
|
|
3
3
|
import { IGetBuyerListOption } from './InvoiceControllerState/BuyerState';
|
|
4
4
|
import { IGetGoodsListOption } from './InvoiceControllerState/GoodsListState/ImportGoods';
|
|
5
|
+
import getGoodsSearch from './fns/getGoodsSearch';
|
|
5
6
|
export { default as InvoiceControllerState } from './InvoiceControllerState';
|
|
6
7
|
export { default as IGood } from './InvoiceControllerState/GoodsListState/IGood';
|
|
7
8
|
export { default as LineAttributeType } from './InvoiceControllerState/GoodsListState/LineAttributeType';
|
|
@@ -27,4 +28,6 @@ export default class InvoiceController extends InvoiceControllerForm {
|
|
|
27
28
|
getGoodsList?: (option?: IGetGoodsListOption | undefined) => Promise<any>;
|
|
28
29
|
/** 税收分类编码列表 */
|
|
29
30
|
getTaxCategoryCodeList?: () => Promise<any>;
|
|
31
|
+
/** 获取筛选后的列表 */
|
|
32
|
+
getGoodsSearch: typeof getGoodsSearch;
|
|
30
33
|
}
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
* 不含税扣额 = 含税折扣额 / (1+税率)
|
|
6
6
|
* 折扣税额 = 含税折扣额 - 不含税扣额
|
|
7
7
|
*/
|
|
8
|
-
import React from 'react';
|
|
9
8
|
import './index.less';
|
|
10
|
-
declare const _default:
|
|
9
|
+
declare const _default: () => {
|
|
10
|
+
menuItem: JSX.Element | undefined;
|
|
11
|
+
drawer: JSX.Element;
|
|
12
|
+
};
|
|
11
13
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function BulkMenu(): JSX.Element;
|