kts-component-invoice-operate 3.2.23 → 3.2.24
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/AutoComplete/index.d.ts +4 -0
- package/dist/Invoice/InvoiceController/fns/importGoodsDrawer.d.ts +6 -0
- package/dist/Invoice/InvoiceController/index.d.ts +2 -0
- package/dist/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.d.ts +1 -0
- package/dist/Invoice/ui/digtal/Stakeholder/index.d.ts +1 -1
- package/dist/index.esm.js +6993 -6736
- package/dist/index.js +6993 -6736
- package/package.json +1 -1
- package/src/Invoice/Invoice-digtal/_test/header/index.tsx +68 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.ts +7 -1
- package/src/Invoice/InvoiceController/fns/importGoodsDrawer.ts +68 -0
- package/src/Invoice/InvoiceController/index.ts +5 -1
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +61 -61
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +33 -7
- package/src/Invoice/ui/digtal/Stakeholder/index.tsx +88 -14
|
@@ -3,4 +3,8 @@ import IGood from "../GoodsListState/IGood";
|
|
|
3
3
|
export default class AutoComplete {
|
|
4
4
|
/** 商品名称自动补全 */
|
|
5
5
|
onItemNameSearch?: (searchText: string) => Promise<IGood[]>;
|
|
6
|
+
/** 购方名称自动补全 */
|
|
7
|
+
onBuyerNameSearch?: (searchText: string) => Promise<any[]>;
|
|
8
|
+
/** 统一社会信用代码/纳税人识别号 */
|
|
9
|
+
onBuyerTaxIdSearch?: (searchText: string) => Promise<any[]>;
|
|
6
10
|
}
|
|
@@ -30,6 +30,8 @@ export default class InvoiceController extends InvoiceControllerForm {
|
|
|
30
30
|
addGoodDiscount: (option?: import("./fns/addGoodDiscount").IOptions | undefined) => Promise<any>;
|
|
31
31
|
/** 给一组货物添加折扣行 */
|
|
32
32
|
addGoodDiscountV2: (option?: import("./fns/addGoodDiscountV2").IOptions[] | undefined) => Promise<any>;
|
|
33
|
+
/** 导入商品 */
|
|
34
|
+
importGoodsDrawer: (option?: any) => Promise<any>;
|
|
33
35
|
/** 获取 商品 列表 */
|
|
34
36
|
getGoodsList?: (option?: IGetGoodsListOption | undefined) => Promise<any>;
|
|
35
37
|
/** 税收分类编码列表 */
|