@things-factory/operato-wms 4.0.11 → 4.0.12
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/client/pages/adjustment/transfer-inventory.js +368 -165
- package/client/pages/bulk-operation/bulk-operation.js +316 -0
- package/client/pages/bulk-operation/validate-ro-popup.js +445 -0
- package/client/pages/components/select-product-popup.js +15 -2
- package/client/pages/constants/inventory.js +1 -0
- package/client/pages/constants/location.js +33 -6
- package/client/pages/constants/order.js +10 -0
- package/client/pages/constants/worksheet.js +2 -2
- package/client/pages/inbound/inbound-worksheet.js +78 -9
- package/client/pages/inbound/putaway-product.js +214 -139
- package/client/pages/inbound/putaway-worksheet-generate-popup.js +24 -2
- package/client/pages/inbound/unload-product.js +153 -61
- package/client/pages/inbound/worksheet-putaway-return.js +22 -5
- package/client/pages/inbound/worksheet-putaway.js +21 -8
- package/client/pages/inbound/worksheet-unloading-return.js +22 -5
- package/client/pages/inbound/worksheet-unloading.js +8 -0
- package/client/pages/inventory/inventory-adjustment-approval.js +11 -19
- package/client/pages/inventory/inventory-adjustment.js +88 -73
- package/client/pages/inventory/inventory-by-product-detail.js +3 -5
- package/client/pages/inventory/inventory-by-product.js +8 -0
- package/client/pages/inventory/inventory-history-by-pallet.js +12 -5
- package/client/pages/inventory/inventory-history.js +10 -0
- package/client/pages/inventory/onhand-inventory.js +11 -2
- package/client/pages/inventory-check/create-cycle-count.js +12 -6
- package/client/pages/inventory-check/cycle-count-report.js +8 -0
- package/client/pages/inventory-check/inspecting-product.js +146 -80
- package/client/pages/inventory-check/worksheet-cycle-count.js +14 -0
- package/client/pages/manifest/create-loading-manifest.js +314 -0
- package/client/pages/manifest/dispatcher-verification-popup.js +86 -0
- package/client/pages/manifest/loading-manifest-detail.js +345 -0
- package/client/pages/manifest/loading-manifest-list.js +305 -0
- package/client/pages/master/location-list.js +58 -17
- package/client/pages/master/product/product-detail-bizplace-setting-popup.js +2 -2
- package/client/pages/master/product/product-details-popup.js +2 -2
- package/client/pages/master/product/product-list.js +5 -5
- package/client/pages/order/arrival-notice/arrival-notice-detail.js +134 -115
- package/client/pages/order/arrival-notice/arrival-notice-list.js +87 -6
- package/client/pages/order/arrival-notice/arrival-notice-requests.js +83 -6
- package/client/pages/order/arrival-notice/assign-buffer-location.js +8 -1
- package/client/pages/order/arrival-notice/check-arrived-notice.js +9 -1
- package/client/pages/order/arrival-notice/create-arrival-notice.js +38 -3
- package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +290 -25
- package/client/pages/order/arrival-notice/edit-product-popup.js +36 -5
- package/client/pages/order/arrival-notice/receive-arrival-notice.js +8 -1
- package/client/pages/order/goods-received-note/received-note-list.js +138 -6
- package/client/pages/order/release-order/b2b/b2b-order-list.js +45 -5
- package/client/pages/order/release-order/b2b/b2b-order-requests.js +52 -12
- package/client/pages/order/release-order/b2c/b2c-order-requests.js +244 -24
- package/client/pages/order/release-order/bulk-print-packing-list.js +23 -0
- package/client/pages/order/release-order/create-release-order.js +55 -8
- package/client/pages/order/release-order/receive-release-order-request.js +35 -24
- package/client/pages/order/release-order/release-extra-product-popup.js +204 -63
- package/client/pages/order/release-order/release-order-detail.js +301 -74
- package/client/pages/order/return-order/check-return-order.js +9 -1
- package/client/pages/order/return-order/create-return-order.js +14 -2
- package/client/pages/order/return-order/receive-return-order-requests.js +9 -1
- package/client/pages/order/return-order/return-order-detail.js +15 -6
- package/client/pages/order/return-order/return-order-inventory-popup.js +7 -0
- package/client/pages/order/reverse-kitting-order/reverse-kitting-order-detail.js +115 -50
- package/client/pages/order/reverse-kitting-order/reverse-kitting-order-list.js +1 -6
- package/client/pages/order/reverse-kitting-order/reverse-kitting-pallet-label-popup.js +239 -0
- package/client/pages/order/transport-order/delivery-order-list.js +102 -59
- package/client/pages/outbound/inventory-assign-popup.js +23 -6
- package/client/pages/outbound/inventory-auto-assign-popup.js +22 -6
- package/client/pages/outbound/loading-product.js +4 -1
- package/client/pages/outbound/merged-outbound-worksheet.js +43 -1
- package/client/pages/outbound/packing-product.js +4 -1
- package/client/pages/outbound/packing-worksheet-list.js +39 -1
- package/client/pages/outbound/picking-product.js +803 -431
- package/client/pages/outbound/picking-replacement-popup.js +1 -1
- package/client/pages/outbound/serial-number-popup.js +280 -0
- package/client/pages/outbound/single-outbound-worksheet.js +47 -1
- package/client/pages/outbound/worksheet-batch-picking.js +22 -8
- package/client/pages/outbound/worksheet-loading.js +22 -5
- package/client/pages/outbound/worksheet-packing.js +8 -0
- package/client/pages/outbound/worksheet-picking.js +62 -8
- package/client/pages/outbound/worksheet-return.js +9 -1
- package/client/pages/outbound/worksheet-sorting.js +9 -1
- package/client/pages/report/custom-elccl/elccl-inventory-report.js +31 -30
- package/client/pages/report/custom-elccl/elccl-inventory-summary-report.js +23 -26
- package/client/pages/report/inventory-pallet-storage-report.js +11 -10
- package/client/pages/report/inventory-report.js +41 -43
- package/client/pages/report/inventory-summary-report.js +25 -28
- package/client/pages/report/product-label-report.js +401 -0
- package/client/pages/support/inventory-comparison.js +296 -0
- package/client/pages/vas/print-product-label.js +298 -132
- package/client/pages/vas/reverse-kitting/execute-reverse-kitting.js +32 -12
- package/client/pages/vas/reverse-kitting/popup-combination-sets.js +106 -10
- package/client/pages/vas/reverse-kitting/popup-reverse-kitting-template.js +130 -19
- package/client/pages/vas/vas-pallet-label-popup.js +5 -8
- package/client/route.js +28 -0
- package/dist-server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.js +1 -1
- package/dist-server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.js.map +1 -1
- package/dist-server/graphql/resolvers/custom/elccl/elccl-inventory-history-summary-report.js +64 -54
- package/dist-server/graphql/resolvers/custom/elccl/elccl-inventory-history-summary-report.js.map +1 -1
- package/dist-server/graphql/resolvers/extra/add-release-good-products.js +34 -9
- package/dist-server/graphql/resolvers/extra/add-release-good-products.js.map +1 -1
- package/dist-server/graphql/resolvers/index.js +5 -1
- package/dist-server/graphql/resolvers/index.js.map +1 -1
- package/dist-server/graphql/resolvers/inventory-comparison/index.js +6 -0
- package/dist-server/graphql/resolvers/inventory-comparison/index.js.map +1 -0
- package/dist-server/graphql/resolvers/inventory-comparison/inventory-comparison-list.js +78 -0
- package/dist-server/graphql/resolvers/inventory-comparison/inventory-comparison-list.js.map +1 -0
- package/dist-server/graphql/resolvers/reports/index.js +2 -1
- package/dist-server/graphql/resolvers/reports/index.js.map +1 -1
- package/dist-server/graphql/resolvers/reports/product-label-report.js +56 -0
- package/dist-server/graphql/resolvers/reports/product-label-report.js.map +1 -0
- package/dist-server/graphql/resolvers/shipping-provider/index.js +6 -0
- package/dist-server/graphql/resolvers/shipping-provider/index.js.map +1 -0
- package/dist-server/graphql/resolvers/shipping-provider/shipping-providers.js +20 -0
- package/dist-server/graphql/resolvers/shipping-provider/shipping-providers.js.map +1 -0
- package/dist-server/graphql/types/custom/elccl/elccl-inventory-report.js +1 -1
- package/dist-server/graphql/types/index.js +8 -2
- package/dist-server/graphql/types/index.js.map +1 -1
- package/dist-server/graphql/types/inventory-comparison/index.js +13 -0
- package/dist-server/graphql/types/inventory-comparison/index.js.map +1 -0
- package/dist-server/graphql/types/inventory-comparison/inventory-comparison-list.js +14 -0
- package/dist-server/graphql/types/inventory-comparison/inventory-comparison-list.js.map +1 -0
- package/dist-server/graphql/types/inventory-comparison/inventory-comparison.js +18 -0
- package/dist-server/graphql/types/inventory-comparison/inventory-comparison.js.map +1 -0
- package/dist-server/graphql/types/reports/index.js +6 -1
- package/dist-server/graphql/types/reports/index.js.map +1 -1
- package/dist-server/graphql/types/reports/product-label-report-list.js +14 -0
- package/dist-server/graphql/types/reports/product-label-report-list.js.map +1 -0
- package/dist-server/graphql/types/reports/product-label-report.js +16 -0
- package/dist-server/graphql/types/reports/product-label-report.js.map +1 -0
- package/dist-server/graphql/types/shipping-provider/index.js +10 -0
- package/dist-server/graphql/types/shipping-provider/index.js.map +1 -0
- package/dist-server/graphql/types/shipping-provider/shipping-provider-list.js +13 -0
- package/dist-server/graphql/types/shipping-provider/shipping-provider-list.js.map +1 -0
- package/dist-server/graphql/types/shipping-provider/shipping-provider.js +13 -0
- package/dist-server/graphql/types/shipping-provider/shipping-provider.js.map +1 -0
- package/package.json +65 -65
- package/server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.ts +4 -2
- package/server/graphql/resolvers/custom/elccl/elccl-inventory-history-summary-report.ts +75 -65
- package/server/graphql/resolvers/extra/add-release-good-products.ts +57 -15
- package/server/graphql/resolvers/index.ts +5 -1
- package/server/graphql/resolvers/inventory-comparison/index.ts +5 -0
- package/server/graphql/resolvers/inventory-comparison/inventory-comparison-list.ts +99 -0
- package/server/graphql/resolvers/reports/index.ts +3 -1
- package/server/graphql/resolvers/reports/product-label-report.ts +56 -0
- package/server/graphql/resolvers/shipping-provider/index.ts +5 -0
- package/server/graphql/resolvers/shipping-provider/shipping-providers.ts +20 -0
- package/server/graphql/types/custom/elccl/elccl-inventory-report.ts +1 -1
- package/server/graphql/types/index.ts +8 -2
- package/server/graphql/types/inventory-comparison/index.ts +11 -0
- package/server/graphql/types/inventory-comparison/inventory-comparison-list.ts +8 -0
- package/server/graphql/types/inventory-comparison/inventory-comparison.ts +12 -0
- package/server/graphql/types/reports/index.ts +6 -1
- package/server/graphql/types/reports/product-label-report-list.ts +8 -0
- package/server/graphql/types/reports/product-label-report.ts +10 -0
- package/server/graphql/types/shipping-provider/index.ts +8 -0
- package/server/graphql/types/shipping-provider/shipping-provider-list.ts +7 -0
- package/server/graphql/types/shipping-provider/shipping-provider.ts +7 -0
- package/things-factory.config.js +30 -0
- package/translations/en.json +91 -11
- package/translations/ko.json +109 -11
- package/translations/ms.json +111 -12
- package/translations/zh.json +123 -26
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import '@things-factory/form-ui'
|
|
2
|
+
import '@things-factory/grist-ui'
|
|
3
|
+
|
|
4
|
+
import gql from 'graphql-tag'
|
|
5
|
+
import { css, html } from 'lit-element'
|
|
6
|
+
import { connect } from 'pwa-helpers/connect-mixin'
|
|
7
|
+
|
|
8
|
+
import { getPartnerCodeByName } from '@things-factory/code-base'
|
|
9
|
+
import { i18next, localize } from '@things-factory/i18n-base'
|
|
10
|
+
import { client, PageView, store } from '@things-factory/shell'
|
|
11
|
+
import { ScrollbarStyles } from '@things-factory/styles'
|
|
12
|
+
import { isMobileDevice } from '@things-factory/utils'
|
|
13
|
+
|
|
14
|
+
class InventoryComparison extends connect(store)(localize(i18next)(PageView)) {
|
|
15
|
+
static get styles() {
|
|
16
|
+
return [
|
|
17
|
+
ScrollbarStyles,
|
|
18
|
+
css`
|
|
19
|
+
:host {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
search-form {
|
|
26
|
+
overflow: visible;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
data-grist {
|
|
30
|
+
overflow-y: auto;
|
|
31
|
+
flex: 1;
|
|
32
|
+
}
|
|
33
|
+
`
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static get properties() {
|
|
38
|
+
return {
|
|
39
|
+
_config: Object,
|
|
40
|
+
_searchFields: Object,
|
|
41
|
+
_partners: Object,
|
|
42
|
+
_gristData: Object,
|
|
43
|
+
_nonTally: Boolean,
|
|
44
|
+
data: Object
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
get dataGrist() {
|
|
49
|
+
return this.shadowRoot.querySelector('data-grist')
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
get searchForm() {
|
|
53
|
+
return this.shadowRoot.querySelector('search-form')
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
get _bizplaceSelector() {
|
|
57
|
+
return this.searchForm.shadowRoot.querySelector('select[name=bizplace]')
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
get _toDateInput() {
|
|
61
|
+
return this.searchForm.shadowRoot.querySelector('input[name=toDate]')
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
get searchFields() {
|
|
65
|
+
return [
|
|
66
|
+
{
|
|
67
|
+
label: i18next.t('field.company'),
|
|
68
|
+
name: 'bizplace',
|
|
69
|
+
type: 'select',
|
|
70
|
+
options: [
|
|
71
|
+
{ value: '' },
|
|
72
|
+
...this._partners
|
|
73
|
+
.map(partner => {
|
|
74
|
+
return {
|
|
75
|
+
name: `${partner.name} ${partner.description ? `(${partner.description})` : ''}`,
|
|
76
|
+
value: partner.id
|
|
77
|
+
}
|
|
78
|
+
})
|
|
79
|
+
.sort(this._compareValues('name', 'asc'))
|
|
80
|
+
],
|
|
81
|
+
props: { searchOper: 'eq' }
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
label: i18next.t('field.date'),
|
|
85
|
+
name: 'toDate',
|
|
86
|
+
type: 'date',
|
|
87
|
+
props: {
|
|
88
|
+
searchOper: 'eq',
|
|
89
|
+
min: (() => {
|
|
90
|
+
let date = new Date()
|
|
91
|
+
date.setMonth(date.getMonth() - 1)
|
|
92
|
+
return date.toISOString().split('T')[0]
|
|
93
|
+
})(),
|
|
94
|
+
max: new Date().toISOString().split('T')[0]
|
|
95
|
+
},
|
|
96
|
+
value: new Date().toISOString().split('T')[0]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
label: i18next.t('field.product_info'),
|
|
100
|
+
name: 'product',
|
|
101
|
+
type: 'string',
|
|
102
|
+
props: { searchOper: 'in' }
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
label: i18next.t('field.non_tally'),
|
|
106
|
+
name: 'nonTally',
|
|
107
|
+
type: 'checkbox',
|
|
108
|
+
value: this._nonTally,
|
|
109
|
+
props: { searchOper: 'eq' }
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
get context() {
|
|
115
|
+
return {
|
|
116
|
+
title: i18next.t('title.inventory_comparison_list')
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
async pageInitialized() {
|
|
121
|
+
this._partners = [...(await this._fetchPartners())]
|
|
122
|
+
this._searchFields = this.searchFields
|
|
123
|
+
this._gristData = { total: 0, records: [] }
|
|
124
|
+
this._config = {
|
|
125
|
+
list: {
|
|
126
|
+
fields: ['productSku', 'productName', 'batchId', 'packingType', 'closingQty', 'remainQty']
|
|
127
|
+
},
|
|
128
|
+
pagination: { limit: 50, pages: [50, 100, 200, 500, 1000] },
|
|
129
|
+
rows: {
|
|
130
|
+
selectable: false,
|
|
131
|
+
insertable: false,
|
|
132
|
+
appendable: false
|
|
133
|
+
},
|
|
134
|
+
columns: [
|
|
135
|
+
{ type: 'gutter', gutterName: 'sequence' },
|
|
136
|
+
{
|
|
137
|
+
type: 'string',
|
|
138
|
+
name: 'productSku',
|
|
139
|
+
header: i18next.t('field.sku'),
|
|
140
|
+
width: 150
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: 'string',
|
|
144
|
+
name: 'productName',
|
|
145
|
+
header: i18next.t('field.product'),
|
|
146
|
+
width: 400
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
type: 'string',
|
|
150
|
+
name: 'batchId',
|
|
151
|
+
header: i18next.t('field.batch_id'),
|
|
152
|
+
width: 150
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
type: 'string',
|
|
156
|
+
name: 'packingType',
|
|
157
|
+
header: i18next.t('field.packing_type'),
|
|
158
|
+
width: 150
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
type: 'number',
|
|
162
|
+
name: 'closingQty',
|
|
163
|
+
header: i18next.t('field.summary_report_quantity'),
|
|
164
|
+
width: 200
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
type: 'number',
|
|
168
|
+
name: 'remainQty',
|
|
169
|
+
header: i18next.t('field.onhand_inventory_quantity'),
|
|
170
|
+
width: 200
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
pageUpdated(changes, lifecycle) {
|
|
177
|
+
if (this.active) {
|
|
178
|
+
this.dataGrist.fetch()
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
async fetchHandler({ page, limit, sorters = [] }) {
|
|
183
|
+
try {
|
|
184
|
+
let filter = this.searchForm.queryFilters.map(filter => {
|
|
185
|
+
switch (filter.name) {
|
|
186
|
+
case 'toDate':
|
|
187
|
+
let toDt = new Date(filter.value)
|
|
188
|
+
toDt.setHours(23, 59, 59)
|
|
189
|
+
filter.value = toDt.toISOString()
|
|
190
|
+
break
|
|
191
|
+
default:
|
|
192
|
+
break
|
|
193
|
+
}
|
|
194
|
+
return filter
|
|
195
|
+
})
|
|
196
|
+
|
|
197
|
+
const response = await client.query({
|
|
198
|
+
query: gql`
|
|
199
|
+
query inventoryComparisonList($filters: [Filter], $pagination: Pagination, $sortings: [Sorting]) {
|
|
200
|
+
inventoryComparisonList(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
201
|
+
items {
|
|
202
|
+
productSku
|
|
203
|
+
productName
|
|
204
|
+
packingType
|
|
205
|
+
closingQty
|
|
206
|
+
remainQty
|
|
207
|
+
batchId
|
|
208
|
+
}
|
|
209
|
+
total
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
`,
|
|
213
|
+
variables: { filters: filter, pagination: { page, limit }, sortings: sorters }
|
|
214
|
+
})
|
|
215
|
+
|
|
216
|
+
if (!response.errors) {
|
|
217
|
+
return {
|
|
218
|
+
total: response.data?.inventoryComparisonList?.total || 0,
|
|
219
|
+
records: response.data?.inventoryComparisonList?.items || []
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
} catch (error) {
|
|
223
|
+
throw error
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
render() {
|
|
228
|
+
return html`
|
|
229
|
+
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
230
|
+
|
|
231
|
+
<data-grist
|
|
232
|
+
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
233
|
+
.config=${this._config}
|
|
234
|
+
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
235
|
+
></data-grist>
|
|
236
|
+
`
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
async _companyChanged(e) {
|
|
240
|
+
this._productType = !this._bizplaceSelector.value
|
|
241
|
+
? []
|
|
242
|
+
: await getPartnerCodeByName(
|
|
243
|
+
'PRODUCT_TYPES',
|
|
244
|
+
this._partners.find(p => p.id == this._bizplaceSelector.value)?.company?.domainId || ''
|
|
245
|
+
)
|
|
246
|
+
|
|
247
|
+
this._searchFields = [...this.searchFields]
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
_compareValues(key, order = 'asc') {
|
|
251
|
+
return function innerSort(a, b) {
|
|
252
|
+
if (!a.hasOwnProperty(key) || !b.hasOwnProperty(key)) {
|
|
253
|
+
return 0
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
const varA = typeof a[key] === 'string' ? a[key].toUpperCase() : a[key]
|
|
257
|
+
const varB = typeof b[key] === 'string' ? b[key].toUpperCase() : b[key]
|
|
258
|
+
|
|
259
|
+
let comparison = 0
|
|
260
|
+
if (varA > varB) {
|
|
261
|
+
comparison = 1
|
|
262
|
+
} else if (varA < varB) {
|
|
263
|
+
comparison = -1
|
|
264
|
+
}
|
|
265
|
+
return order === 'desc' ? comparison * -1 : comparison
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
async _fetchPartners() {
|
|
270
|
+
const filters = []
|
|
271
|
+
const response = await client.query({
|
|
272
|
+
query: gql`
|
|
273
|
+
query partnersBizplaces($filters: [Filter!]) {
|
|
274
|
+
partnersBizplaces(filters: $filters) {
|
|
275
|
+
items {
|
|
276
|
+
id
|
|
277
|
+
name
|
|
278
|
+
description
|
|
279
|
+
company {
|
|
280
|
+
id
|
|
281
|
+
domainId
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
`,
|
|
287
|
+
variables: { filters }
|
|
288
|
+
})
|
|
289
|
+
|
|
290
|
+
if (!response.errors) {
|
|
291
|
+
return response.data.partnersBizplaces.items
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
window.customElements.define('inventory-comparison', InventoryComparison)
|