@feedmepos/mf-inventory-portal 0.0.22-dev.4 → 0.0.22-dev.40
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/{ApprovalView-xF73Z1jN.js → ApprovalView-JOsQBu1z.js} +25 -26
- package/dist/{BindingsDialog-CCSAxGT4.js → BindingsDialog-DG2ZolH1.js} +9 -9
- package/dist/{BindingsPicker-ErFH0uEQ.js → BindingsPicker-B7h_iST8.js} +22 -22
- package/dist/{BindingsTable-D8ffJgIJ.js → BindingsTable-BToh6gcG.js} +1 -1
- package/dist/ClosingTemplateView-BwMJAxuz.js +1688 -0
- package/dist/FmDroppableField-CJNAT3h2.js +152 -0
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-4NHQdjz7.js +266 -0
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Cc_P0kss.js +364 -0
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-DMOalXUS.js +51 -0
- package/dist/IngredientsView-ChnCqdWi.js +1611 -0
- package/dist/{IntegrationView-54yz2EqS.js → IntegrationView-NWkc9PLW.js} +71 -71
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKvKlCk-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQW6HYyD.js} +1 -1
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BQqcpZIJ.js +116 -0
- package/dist/{PurchaseOrderPrintPreview-pcpWSfl4.js → PurchaseOrderPrintPreview-BvED8ZbQ.js} +7 -7
- package/dist/ReceiveRequestView-DdxBaqmU.js +4069 -0
- package/dist/RecipeView-YdSRy_yP.js +591 -0
- package/dist/Standalone.vue.d.ts +2 -0
- package/dist/StockView-WF5z4dTF.js +7762 -0
- package/dist/{SupplierView-TYCkPXan.js → SupplierView-H2Vi5lSs.js} +111 -111
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D48gSqHW.js +1137 -0
- package/dist/TransferTemplateView-DeT32cat.js +2054 -0
- package/dist/{UnitView-B9yE4-rc.js → UnitView-qD9JSdHT.js} +18 -18
- package/dist/{WarehouseView-DUtVLTjb.js → WarehouseView-C19Dd53y.js} +176 -177
- package/dist/api/bill.d.ts +84 -238
- package/dist/api/closing-template.d.ts +6 -4
- package/dist/api/inventory.d.ts +72 -85
- package/dist/api/netsuite.d.ts +47 -0
- package/dist/api/purchase-order-template.d.ts +4 -6
- package/dist/{app-w8TOQVZc.js → app-DKE_n9Mo.js} +24520 -23671
- package/dist/app.d.ts +7 -0
- package/dist/app.js +3 -3
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
- package/dist/components/FmMinMaxInputRules.d.ts +2 -0
- package/dist/components/FmUnitInputRules.d.ts +2 -0
- package/dist/components/map/GoogleMap.vue.d.ts +4 -4
- package/dist/{decimal-C4q7UMfr.js → decimal-veoPLYim.js} +1 -1
- package/dist/defineDeepModel-u6t3hXU9.js +13 -0
- package/dist/format-time-from-id-8gjg5B98.js +15 -0
- package/dist/helper/rules.d.ts +7 -0
- package/dist/helper/rules.spec.d.ts +1 -0
- package/dist/helper/xlsx.util.d.ts +7 -0
- package/dist/purchase-order-transaction-type-CIDEpjJB.js +348 -0
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/feature.d.ts +0 -1
- package/dist/stores/helper/core-store-proxy.d.ts +3 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/inventory.d.ts +85 -0
- package/dist/stores/location.d.ts +508 -503
- package/dist/stores/netsuite.d.ts +69 -0
- package/dist/stores/route.d.ts +0 -5
- package/dist/stores/supplier.d.ts +120 -3
- package/dist/style.css +1 -1
- package/dist/supplier-DLcmVScz.js +70 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-template-enabled-locations-2-CdJVJikY.js +85 -0
- package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1093 -1026
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +1098 -1037
- package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +45 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1944 -82
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2351 -284
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2300 -233
- package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +42 -119
- package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1263 -1466
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1688 -897
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -0
- package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
- package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
- package/dist/{xlsx-BggStaH1.js → xlsx-CrKrCGZz.js} +1525 -1525
- package/dist/xlsx.util-Bcpkvw1Z.js +78 -0
- package/package.json +5 -5
- package/dist/ClosingTemplateView-DdZlX1ug.js +0 -1030
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ZYtBNoaE.js +0 -372
- package/dist/IngredientsView-DnwwQJTN.js +0 -1758
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Bom_KvXW.js +0 -88
- package/dist/ReceiveRequestView-D5HXMY4Z.js +0 -215
- package/dist/RecipeView-BHkTgm5H.js +0 -581
- package/dist/StockView-iczCFYxn.js +0 -1892
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-EN3JgHKF.js +0 -740
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DC0Ss5hi.js +0 -1409
- package/dist/TransferTemplateView-Bbvpuys7.js +0 -1230
- package/dist/defineDeepModel-BOApqV24.js +0 -13
- package/dist/format-time-from-id-Cafjo8fn.js +0 -15
- package/dist/id-to-date-CtSHSVJF.js +0 -30
- package/dist/layout/layout-routes.d.ts +0 -6
- package/dist/purchase-order-transaction-type-CIC5h-6x.js +0 -712
- package/dist/supplier-CM-vZ4bQ.js +0 -69
- package/dist/use-template-enabled-locations-Bm00vEzC.js +0 -57
- package/dist/xlsx.util-CqlYZLKW.js +0 -109
- /package/dist/{layout/InventoryLayout.vue.d.ts → views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts} +0 -0
|
@@ -2,95 +2,19 @@ export declare function useTemplateEnabledLocations(controller: {
|
|
|
2
2
|
getLocations(): FdoInventoryLocation[] | undefined | null;
|
|
3
3
|
setLocations(locations: FdoInventoryLocation[] | undefined | null): void;
|
|
4
4
|
}): {
|
|
5
|
-
enabledLocations: import("vue").ComputedRef<
|
|
6
|
-
|
|
7
|
-
type: "restaurant";
|
|
8
|
-
name: string;
|
|
9
|
-
acceptRequest: boolean;
|
|
10
|
-
dbName: string;
|
|
11
|
-
} | {
|
|
12
|
-
type: "warehouse";
|
|
5
|
+
enabledLocations: import("vue").ComputedRef<{
|
|
6
|
+
type: "restaurant" | "warehouse";
|
|
13
7
|
name: string;
|
|
14
8
|
acceptRequest: boolean;
|
|
15
9
|
dbName: string;
|
|
16
10
|
doc: {
|
|
17
|
-
pf_business?: {
|
|
18
|
-
internal?: boolean | null | undefined;
|
|
19
|
-
url?: string | null | undefined;
|
|
20
|
-
expiredAt?: string | null | undefined;
|
|
21
|
-
agentId?: string | null | undefined;
|
|
22
|
-
restaurantTagGroups?: {
|
|
23
|
-
name: string;
|
|
24
|
-
id: string;
|
|
25
|
-
tags: {
|
|
26
|
-
name: string;
|
|
27
|
-
id: string;
|
|
28
|
-
}[];
|
|
29
|
-
}[] | null | undefined;
|
|
30
|
-
pf_agent?: {
|
|
31
|
-
clickupId?: string | null | undefined;
|
|
32
|
-
members?: {
|
|
33
|
-
pf_user?: {
|
|
34
|
-
email?: string | null | undefined;
|
|
35
|
-
phoneNumber?: string | null | undefined;
|
|
36
|
-
birthday?: string | null | undefined;
|
|
37
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
38
|
-
addresses?: {
|
|
39
|
-
name: string;
|
|
40
|
-
address: string;
|
|
41
|
-
coordinates: number[];
|
|
42
|
-
}[] | null | undefined;
|
|
43
|
-
photoURL?: string | null | undefined;
|
|
44
|
-
displayName?: string | null | undefined;
|
|
45
|
-
imported?: {
|
|
46
|
-
raw: Record<string, any>;
|
|
47
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
48
|
-
} | null | undefined;
|
|
49
|
-
_id: string;
|
|
50
|
-
} | null | undefined;
|
|
51
|
-
role: "ADMIN";
|
|
52
|
-
userId: string;
|
|
53
|
-
}[] | null | undefined;
|
|
54
|
-
code: string;
|
|
55
|
-
name: string;
|
|
56
|
-
_id: string;
|
|
57
|
-
isReseller: boolean;
|
|
58
|
-
} | null | undefined;
|
|
59
|
-
thumbnail?: string | null | undefined;
|
|
60
|
-
billingInfos?: {
|
|
61
|
-
_id?: string | null | undefined;
|
|
62
|
-
name: string;
|
|
63
|
-
address: {
|
|
64
|
-
coordinates?: number[] | null | undefined;
|
|
65
|
-
line2?: string | null | undefined;
|
|
66
|
-
state: string;
|
|
67
|
-
country: string;
|
|
68
|
-
line1: string;
|
|
69
|
-
city: string;
|
|
70
|
-
postcode: string;
|
|
71
|
-
};
|
|
72
|
-
email: string;
|
|
73
|
-
companyName: string;
|
|
74
|
-
contact: string;
|
|
75
|
-
}[] | null | undefined;
|
|
76
|
-
customerDisplayImages?: {
|
|
77
|
-
url: string;
|
|
78
|
-
restaurantIds: string[];
|
|
79
|
-
}[] | null | undefined;
|
|
80
|
-
name: string;
|
|
81
|
-
_id: string;
|
|
82
|
-
ownerId: string;
|
|
83
|
-
restaurantQuota: number;
|
|
84
|
-
warehouseQuota: number;
|
|
85
|
-
menuVersion: string;
|
|
86
|
-
} | null | undefined;
|
|
87
11
|
_id: string;
|
|
88
12
|
businessId: string;
|
|
89
13
|
profile: {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
name
|
|
93
|
-
address
|
|
14
|
+
code?: string | null | undefined;
|
|
15
|
+
_id?: string | null | undefined;
|
|
16
|
+
name?: string | undefined;
|
|
17
|
+
address?: {
|
|
94
18
|
coordinates?: number[] | null | undefined;
|
|
95
19
|
line2?: string | null | undefined;
|
|
96
20
|
state: string;
|
|
@@ -98,11 +22,73 @@ export declare function useTemplateEnabledLocations(controller: {
|
|
|
98
22
|
line1: string;
|
|
99
23
|
city: string;
|
|
100
24
|
postcode: string;
|
|
101
|
-
};
|
|
102
|
-
|
|
25
|
+
} | undefined;
|
|
26
|
+
email?: string | undefined;
|
|
27
|
+
regNo?: string | undefined;
|
|
28
|
+
sstRegNo?: string | null | undefined;
|
|
29
|
+
phoneNo?: string | undefined;
|
|
30
|
+
legalName?: string | null | undefined;
|
|
31
|
+
discovery?: boolean | null | undefined;
|
|
32
|
+
coverPhoto?: string | null | undefined;
|
|
33
|
+
thumbnailPhoto?: string | null | undefined;
|
|
34
|
+
description?: string | null | undefined;
|
|
35
|
+
photos?: string[] | null | undefined;
|
|
36
|
+
operatingHours?: {
|
|
37
|
+
0: {
|
|
38
|
+
hours: {
|
|
39
|
+
end: string;
|
|
40
|
+
start: string;
|
|
41
|
+
}[];
|
|
42
|
+
enable: boolean;
|
|
43
|
+
};
|
|
44
|
+
2: {
|
|
45
|
+
hours: {
|
|
46
|
+
end: string;
|
|
47
|
+
start: string;
|
|
48
|
+
}[];
|
|
49
|
+
enable: boolean;
|
|
50
|
+
};
|
|
51
|
+
1: {
|
|
52
|
+
hours: {
|
|
53
|
+
end: string;
|
|
54
|
+
start: string;
|
|
55
|
+
}[];
|
|
56
|
+
enable: boolean;
|
|
57
|
+
};
|
|
58
|
+
3: {
|
|
59
|
+
hours: {
|
|
60
|
+
end: string;
|
|
61
|
+
start: string;
|
|
62
|
+
}[];
|
|
63
|
+
enable: boolean;
|
|
64
|
+
};
|
|
65
|
+
4: {
|
|
66
|
+
hours: {
|
|
67
|
+
end: string;
|
|
68
|
+
start: string;
|
|
69
|
+
}[];
|
|
70
|
+
enable: boolean;
|
|
71
|
+
};
|
|
72
|
+
5: {
|
|
73
|
+
hours: {
|
|
74
|
+
end: string;
|
|
75
|
+
start: string;
|
|
76
|
+
}[];
|
|
77
|
+
enable: boolean;
|
|
78
|
+
};
|
|
79
|
+
6: {
|
|
80
|
+
hours: {
|
|
81
|
+
end: string;
|
|
82
|
+
start: string;
|
|
83
|
+
}[];
|
|
84
|
+
enable: boolean;
|
|
85
|
+
};
|
|
86
|
+
} | null | undefined;
|
|
87
|
+
tags?: string[] | null | undefined;
|
|
88
|
+
url?: string | null | undefined;
|
|
103
89
|
};
|
|
104
90
|
};
|
|
105
|
-
}
|
|
91
|
+
}[] | undefined>;
|
|
106
92
|
enabledLocationsSwitch: import("vue").WritableComputedRef<boolean, boolean>;
|
|
107
93
|
promptSelectLocations: () => void;
|
|
108
94
|
removeLocation: (id: string) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ISelectItem } from '@feedmepos/ui-library';
|
|
2
|
-
export declare function useTransferLocations(modelGetter: () =>
|
|
3
|
-
transferLocationModel: import("vue").WritableComputedRef<string, string>;
|
|
2
|
+
export declare function useTransferLocations(modelGetter: () => Partial<FdoPurchaseOrder>, modelSetter: (model: Partial<FdoPurchaseOrder>) => void, filterCurrentLocation?: boolean, includeLocationSupplier?: boolean): {
|
|
3
|
+
transferLocationModel: import("vue").WritableComputedRef<string | undefined, string | undefined>;
|
|
4
4
|
transferLocationOptions: import("vue").ComputedRef<ISelectItem[]>;
|
|
5
5
|
locationOptionsTypePurchase: import("vue").ComputedRef<{
|
|
6
6
|
phoneNumber?: string | null | undefined;
|
|
@@ -39,6 +39,43 @@ export declare function useTransferLocations(modelGetter: () => Pick<FdoPurchase
|
|
|
39
39
|
country: string;
|
|
40
40
|
};
|
|
41
41
|
}[]>;
|
|
42
|
+
locationOptionsTypePurchaseLocationLevel: import("vue").ComputedRef<{
|
|
43
|
+
phoneNumber?: string | null | undefined;
|
|
44
|
+
email?: string | null | undefined;
|
|
45
|
+
_rev?: string | null | undefined;
|
|
46
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
47
|
+
contactName?: string | null | undefined;
|
|
48
|
+
registrationNumber?: string | undefined;
|
|
49
|
+
supplyItems?: {
|
|
50
|
+
defaultCost: {
|
|
51
|
+
measurement?: {
|
|
52
|
+
id: string;
|
|
53
|
+
name: string;
|
|
54
|
+
abbrev: string;
|
|
55
|
+
conversion: {
|
|
56
|
+
amount: number;
|
|
57
|
+
precision: number;
|
|
58
|
+
};
|
|
59
|
+
} | null | undefined;
|
|
60
|
+
costPerUnit: {
|
|
61
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
62
|
+
amount: number;
|
|
63
|
+
precision: number;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
skuId: string;
|
|
67
|
+
}[] | null | undefined;
|
|
68
|
+
_id: string;
|
|
69
|
+
name: string;
|
|
70
|
+
address: {
|
|
71
|
+
line2?: string | null | undefined;
|
|
72
|
+
line1: string;
|
|
73
|
+
state: string;
|
|
74
|
+
city: string;
|
|
75
|
+
postcode: string;
|
|
76
|
+
country: string;
|
|
77
|
+
};
|
|
78
|
+
}[]>;
|
|
42
79
|
locationOptionsTypeTransfer: import("vue").ComputedRef<{
|
|
43
80
|
phoneNumber?: string | null | undefined;
|
|
44
81
|
email?: string | null | undefined;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { TransferTemplateImportItemProps } from './TransferTemplateImportItemProps';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferTemplateImportItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferTemplateImportItemProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PurchaseOrderTransactionType } from '@/views/receive-request/constants/purchase-order-transaction-type';
|
|
2
|
+
export interface TransferTemplateImportItemProps {
|
|
3
|
+
type: 'create' | 'update';
|
|
4
|
+
name: string;
|
|
5
|
+
transferType?: PurchaseOrderTransactionType;
|
|
6
|
+
locations?: FdoInventoryLocation[] | null | undefined;
|
|
7
|
+
items?: FdoPurchaseOrderItem[] | null | undefined;
|
|
8
|
+
errors: string[];
|
|
9
|
+
}
|