kts-component-invoice-operate 1.2.20 → 1.2.23
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/addGood.d.ts +1 -1
- package/dist/Invoice/InvoiceController/fns/addGoodDiscount.d.ts +1 -1
- package/dist/Invoice/InvoiceController/fns/delGood.d.ts +1 -1
- package/dist/Invoice/InvoiceController/fns/getGoodsSearch.d.ts +2 -0
- package/dist/Invoice/InvoiceController/fns/saveEditGood.d.ts +1 -1
- package/dist/Invoice/InvoiceController/fns/setEditGood.d.ts +1 -1
- package/dist/Invoice/InvoiceController/fns/setGoods.d.ts +1 -1
- package/dist/Invoice/InvoiceController/fns/updateInvoiceNo.d.ts +1 -1
- package/dist/Invoice/InvoiceController/index.d.ts +3 -0
- package/dist/Invoice/_test/buyerNameSearch/index.d.ts +1 -0
- package/dist/Invoice/_test/deduction/index.d.ts +1 -0
- package/dist/Invoice/_test/draft/index.d.ts +1 -0
- package/dist/Invoice/_test/easiest/index.d.ts +1 -0
- package/dist/Invoice/_test/endowCode/index.d.ts +1 -0
- package/dist/Invoice/_test/goodsMenuExpand/index.d.ts +1 -0
- package/dist/Invoice/_test/importBuyer/index.d.ts +1 -0
- package/dist/Invoice/_test/importGoods/index.d.ts +1 -0
- package/dist/Invoice/_test/invoiceType/index.d.ts +1 -0
- package/dist/Invoice/_test/isInvoiceNo/index.d.ts +1 -0
- package/dist/Invoice/_test/replaceHead/index.d.ts +1 -0
- package/dist/Invoice/_test/retrieveData/index.d.ts +1 -0
- package/dist/Invoice/_test/seller/index.d.ts +1 -0
- package/dist/Invoice/_test/setDataSource/index.d.ts +1 -0
- package/dist/Invoice/_test/unit/index.d.ts +1 -0
- package/dist/Invoice/tools/coolingFn/index.d.ts +1 -1
- package/dist/Invoice/tools/lazyFn/index.d.ts +1 -1
- package/dist/Invoice/ui/Buyer/ui/BuyerNameInput/index.d.ts +1 -0
- package/dist/Invoice/ui/Buyer/ui/ImportBuyerButton/index.d.ts +1 -0
- package/dist/Invoice/ui/EndowCodeDrawer/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowEditButton/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowSaveButton/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/hook/useRowSelection/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/ui/AddRowButton/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/ui/DelRowButton/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/ui/EndowCodeButton/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/ui/Search/index.d.ts +3 -0
- package/dist/Invoice/ui/GoodsList/ui/Statistics/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/ui/TableRow/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/ui/TableVirtual/index.d.ts +1 -0
- package/dist/Invoice/ui/GoodsList/ui/TaxIncludedSwitch/index.d.ts +1 -0
- package/dist/Invoice/ui/ImportBuyerDrawer/index.d.ts +1 -0
- package/dist/Invoice/ui/ImportGoodsDrawer/index.d.ts +1 -0
- package/dist/index.esm.js +1074 -522
- package/dist/index.js +1074 -522
- package/docs/index.md +2 -2
- package/docs-dist/404.html +1 -1
- package/docs-dist/index.html +1 -1
- package/docs-dist/static/magnifier.2b26be6e.svg +1 -0
- package/docs-dist/umi.css +2 -2
- package/docs-dist/umi.js +1 -1
- package/package.json +1 -1
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +5 -2
- package/src/Invoice/InvoiceController/fns/addGoodDiscount.ts +4 -3
- package/src/Invoice/InvoiceController/fns/getGoodsSearch.ts +17 -0
- package/src/Invoice/InvoiceController/index.ts +4 -0
- package/src/Invoice/ui/EndowCodeDrawer/index.tsx +19 -13
- package/src/Invoice/ui/GoodsList/hook/useColumns/autoFillFn/index.ts +6 -24
- package/src/Invoice/ui/GoodsList/hook/useColumns/index.tsx +17 -4
- package/src/Invoice/ui/GoodsList/hook/useRowSelection/index.tsx +34 -8
- package/src/Invoice/ui/GoodsList/index.less +41 -33
- package/src/Invoice/ui/GoodsList/index.tsx +11 -1
- package/src/Invoice/ui/GoodsList/ui/AddDiscountRowButton/index.tsx +6 -16
- package/src/Invoice/ui/GoodsList/ui/AddRowButton/index.tsx +5 -2
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InvoiceControllerState } from '../';
|
|
2
|
-
declare const _default: (state: InvoiceControllerState, options?: any) => Promise<any>;
|
|
3
2
|
/**
|
|
4
3
|
* 添加的编辑货物
|
|
5
4
|
*/
|
|
5
|
+
declare const _default: (state: InvoiceControllerState, options?: any) => Promise<any>;
|
|
6
6
|
export default _default;
|
|
@@ -15,8 +15,8 @@ export interface IOptions {
|
|
|
15
15
|
/** 折扣 金额 */
|
|
16
16
|
discolineAmountunt: number;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: (state: InvoiceControllerState, options?: IOptions | undefined) => Promise<void>;
|
|
19
18
|
/**
|
|
20
19
|
* 设置当前的编辑货物
|
|
21
20
|
*/
|
|
21
|
+
declare const _default: (state: InvoiceControllerState, options?: IOptions) => Promise<void>;
|
|
22
22
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InvoiceControllerState } from '../';
|
|
2
|
-
declare const _default: (state: InvoiceControllerState, $index?: number | undefined) => Promise<void>;
|
|
3
2
|
/**
|
|
4
3
|
* 设置当前的编辑货物
|
|
5
4
|
*/
|
|
5
|
+
declare const _default: (state: InvoiceControllerState, $index?: number) => Promise<void>;
|
|
6
6
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InvoiceControllerState } from '../';
|
|
2
|
-
declare const _default: (state: InvoiceControllerState, newEditGood?: any) => Promise<void>;
|
|
3
2
|
/**
|
|
4
3
|
* 设置当前的编辑货物
|
|
5
4
|
*/
|
|
5
|
+
declare const _default: (state: InvoiceControllerState, newEditGood?: any) => Promise<void>;
|
|
6
6
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InvoiceControllerState, IGood } from '../';
|
|
2
|
-
declare const _default: (state: InvoiceControllerState, options?: IGood | undefined) => Promise<void>;
|
|
3
2
|
/**
|
|
4
3
|
* 设置单个货物属性
|
|
5
4
|
*/
|
|
5
|
+
declare const _default: (state: InvoiceControllerState, options?: IGood) => Promise<void>;
|
|
6
6
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import InvoiceControllerState from '../InvoiceControllerState';
|
|
2
|
-
declare const _default: (state: InvoiceControllerState) => Promise<string>;
|
|
3
2
|
/**
|
|
4
3
|
* 更新 发票单据编号
|
|
5
4
|
*/
|
|
5
|
+
declare const _default: (state: InvoiceControllerState) => Promise<string>;
|
|
6
6
|
export default _default;
|
|
@@ -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
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: (key: string | undefined, delayed: number | undefined, fn: Function) => void;
|
|
2
1
|
/**
|
|
3
2
|
* 有冷却时间的函数
|
|
4
3
|
* @param fn 方法
|
|
5
4
|
* @param key 方法key
|
|
6
5
|
* @param delayed 冷却时间
|
|
7
6
|
*/
|
|
7
|
+
declare const _default: (key: string | undefined, delayed: number | undefined, fn: Function) => void;
|
|
8
8
|
export default _default;
|