@things-factory/operato-wms 4.1.35 → 4.1.36
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/inbound/unload-product.js +2 -2
- package/client/pages/inventory/non-loaded-inventory.js +38 -34
- package/client/pages/outbound/packing-product.js +14 -11
- package/client/pages/report/outbound-serial-number-report.js +11 -4
- package/dist-server/graphql/resolvers/reports/outbound-serial-number-report.js +4 -2
- package/dist-server/graphql/resolvers/reports/outbound-serial-number-report.js.map +1 -1
- package/dist-server/graphql/types/reports/outbound-serial-number-report.js +2 -1
- package/dist-server/graphql/types/reports/outbound-serial-number-report.js.map +1 -1
- package/package.json +5 -5
- package/server/graphql/resolvers/reports/outbound-serial-number-report.ts +4 -2
- package/server/graphql/types/reports/outbound-serial-number-report.ts +2 -1
- package/translations/en.json +1 -0
|
@@ -859,7 +859,6 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
859
859
|
this._showToast(e)
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
|
-
|
|
863
862
|
async _scanProductUnload() {
|
|
864
863
|
if (this._scanning) return this._showToast({ message: i18next.t('text.previous_scan_is_executing') })
|
|
865
864
|
this._scanning = true
|
|
@@ -1011,8 +1010,9 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1011
1010
|
}
|
|
1012
1011
|
} catch (e) {
|
|
1013
1012
|
this._showToast(e)
|
|
1013
|
+
} finally {
|
|
1014
|
+
this._scanning = false
|
|
1014
1015
|
}
|
|
1015
|
-
this._scanning = false
|
|
1016
1016
|
}
|
|
1017
1017
|
|
|
1018
1018
|
async fetchProductDetail(gtin, productId) {
|
|
@@ -8,7 +8,7 @@ import { connect } from 'pwa-helpers/connect-mixin'
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
9
|
import { client, PageView, store } from '@things-factory/shell'
|
|
10
10
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
11
|
-
import {
|
|
11
|
+
import { isMobileDevice } from '@things-factory/utils'
|
|
12
12
|
|
|
13
13
|
class NonLoadedInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
14
14
|
static get styles() {
|
|
@@ -96,7 +96,7 @@ class NonLoadedInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
96
96
|
{ type: 'gutter', gutterName: 'row-selector', multiple: true },
|
|
97
97
|
{
|
|
98
98
|
type: 'string',
|
|
99
|
-
name: '
|
|
99
|
+
name: 'releaseOrderNo',
|
|
100
100
|
header: i18next.t('field.ro_no'),
|
|
101
101
|
sortable: true,
|
|
102
102
|
width: 150
|
|
@@ -125,42 +125,41 @@ class NonLoadedInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
type: 'string',
|
|
128
|
-
name: '
|
|
128
|
+
name: 'productSku',
|
|
129
129
|
header: i18next.t('field.sku'),
|
|
130
130
|
sortable: true,
|
|
131
131
|
width: 150
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
type: 'string',
|
|
135
|
-
name: '
|
|
135
|
+
name: 'productName',
|
|
136
136
|
header: i18next.t('field.product'),
|
|
137
137
|
sortable: true,
|
|
138
138
|
width: 250
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
type: 'string',
|
|
142
|
-
name: '
|
|
142
|
+
name: 'productBrand',
|
|
143
143
|
header: i18next.t('field.brand'),
|
|
144
144
|
sortable: true,
|
|
145
145
|
width: 150
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
|
-
type: '
|
|
148
|
+
type: 'string',
|
|
149
149
|
name: 'packingType',
|
|
150
150
|
header: i18next.t('field.packing_type'),
|
|
151
|
-
record: { codeName: 'PACKING_TYPES' },
|
|
152
151
|
sortable: true,
|
|
153
152
|
width: 150
|
|
154
153
|
},
|
|
155
154
|
{
|
|
156
155
|
type: 'number',
|
|
157
|
-
name: '
|
|
156
|
+
name: 'pickedQty',
|
|
158
157
|
header: i18next.t('field.qty'),
|
|
159
158
|
width: 80
|
|
160
159
|
},
|
|
161
160
|
{
|
|
162
161
|
type: 'float',
|
|
163
|
-
name: '
|
|
162
|
+
name: 'pickedUomValue',
|
|
164
163
|
header: i18next.t('field.total_uom_value'),
|
|
165
164
|
width: 110
|
|
166
165
|
},
|
|
@@ -184,7 +183,7 @@ class NonLoadedInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
184
183
|
this._searchFields = [
|
|
185
184
|
{
|
|
186
185
|
label: i18next.t('field.product_info'),
|
|
187
|
-
name: '
|
|
186
|
+
name: 'productInfo',
|
|
188
187
|
type: 'text',
|
|
189
188
|
props: { searchOper: 'eq' }
|
|
190
189
|
},
|
|
@@ -208,13 +207,13 @@ class NonLoadedInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
208
207
|
},
|
|
209
208
|
{
|
|
210
209
|
label: i18next.t('field.ro_no'),
|
|
211
|
-
name: '
|
|
210
|
+
name: 'roNo',
|
|
212
211
|
type: 'text',
|
|
213
212
|
props: { searchOper: 'i_like' }
|
|
214
213
|
},
|
|
215
214
|
{
|
|
216
215
|
label: i18next.t('field.bin_location'),
|
|
217
|
-
name: '
|
|
216
|
+
name: 'binLocation',
|
|
218
217
|
type: 'text',
|
|
219
218
|
props: { searchOper: 'i_like' }
|
|
220
219
|
}
|
|
@@ -239,17 +238,20 @@ class NonLoadedInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
239
238
|
const filters = await this.searchForm.getQueryFilters()
|
|
240
239
|
const response = await client.query({
|
|
241
240
|
query: gql`
|
|
242
|
-
query
|
|
243
|
-
|
|
241
|
+
query nonLoadedOrderInventories($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
|
|
242
|
+
nonLoadedOrderInventories(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
244
243
|
items {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
244
|
+
releaseGood {
|
|
245
|
+
name
|
|
246
|
+
}
|
|
247
|
+
inventory {
|
|
248
|
+
palletId
|
|
249
|
+
cartonId
|
|
250
|
+
}
|
|
250
251
|
packingType
|
|
251
|
-
|
|
252
|
-
|
|
252
|
+
batchId
|
|
253
|
+
pickedQty
|
|
254
|
+
pickedUomValue
|
|
253
255
|
uom
|
|
254
256
|
product {
|
|
255
257
|
sku
|
|
@@ -257,7 +259,9 @@ class NonLoadedInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
257
259
|
brand
|
|
258
260
|
description
|
|
259
261
|
}
|
|
260
|
-
binLocation
|
|
262
|
+
binLocation {
|
|
263
|
+
name
|
|
264
|
+
}
|
|
261
265
|
updatedAt
|
|
262
266
|
}
|
|
263
267
|
total
|
|
@@ -272,19 +276,19 @@ class NonLoadedInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
272
276
|
})
|
|
273
277
|
|
|
274
278
|
return {
|
|
275
|
-
total: response.data.
|
|
279
|
+
total: response.data.nonLoadedOrderInventories.total || 0,
|
|
276
280
|
records:
|
|
277
|
-
response.data.
|
|
278
|
-
return
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
281
|
+
response.data.nonLoadedOrderInventories.items.map(item => {
|
|
282
|
+
return {
|
|
283
|
+
...item,
|
|
284
|
+
productName: `${item.product.name} ${item.product.description}`,
|
|
285
|
+
productSku: item.product.sku,
|
|
286
|
+
productBrand: item.product.brand,
|
|
287
|
+
binLocation: item.binLocation.name,
|
|
288
|
+
palletId: item.inventory.palletId,
|
|
289
|
+
cartonId: item.inventory.cartonId,
|
|
290
|
+
releaseOrderNo: item.releaseGood.name
|
|
291
|
+
}
|
|
288
292
|
}) || []
|
|
289
293
|
}
|
|
290
294
|
}
|
|
@@ -698,19 +698,22 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
698
698
|
}
|
|
699
699
|
|
|
700
700
|
//find product match with input barcode
|
|
701
|
-
const foundOrderInventory = this.data.records.
|
|
702
|
-
itm
|
|
703
|
-
|
|
704
|
-
detail
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
701
|
+
const foundOrderInventory = this.data.records.find(
|
|
702
|
+
itm =>
|
|
703
|
+
itm.product.productDetails.find(
|
|
704
|
+
detail =>
|
|
705
|
+
detail.gtin === this.productBarcodeInput.value.trim() &&
|
|
706
|
+
detail.packingType == itm.packingType &&
|
|
707
|
+
detail.packingSize == itm.packingSize
|
|
708
|
+
) != undefined
|
|
708
709
|
)
|
|
709
710
|
|
|
710
|
-
if (foundOrderInventory
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
711
|
+
if (foundOrderInventory) {
|
|
712
|
+
if (foundOrderInventory?.status === WORKSHEET_STATUS.EXECUTING.value) {
|
|
713
|
+
this._selectedOrderInventory = foundOrderInventory
|
|
714
|
+
} else if (foundOrderInventory?.status === WORKSHEET_STATUS.DONE.value) {
|
|
715
|
+
throw new Error(i18next.t('text.scanned_product_status_is_done'))
|
|
716
|
+
}
|
|
714
717
|
} else {
|
|
715
718
|
throw new Error(i18next.t('text.incorrect_product_barcode'))
|
|
716
719
|
}
|
|
@@ -185,8 +185,14 @@ class OutboundSerialNumberReport extends connect(store)(localize(i18next)(PageVi
|
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
type: 'string',
|
|
188
|
-
name: '
|
|
189
|
-
header: i18next.t('field.
|
|
188
|
+
name: 'attentionTo',
|
|
189
|
+
header: i18next.t('field.attention_to'),
|
|
190
|
+
width: 200
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
type: 'string',
|
|
194
|
+
name: 'fullDeliveryAddress',
|
|
195
|
+
header: i18next.t('field.full_delivery_address'),
|
|
190
196
|
width: 200
|
|
191
197
|
},
|
|
192
198
|
{
|
|
@@ -258,7 +264,7 @@ class OutboundSerialNumberReport extends connect(store)(localize(i18next)(PageVi
|
|
|
258
264
|
'refNo1',
|
|
259
265
|
'refNo2',
|
|
260
266
|
'refNo3',
|
|
261
|
-
'
|
|
267
|
+
'fullDeliveryAddress',
|
|
262
268
|
'palletId',
|
|
263
269
|
'cartonId',
|
|
264
270
|
'product|sku',
|
|
@@ -336,7 +342,8 @@ class OutboundSerialNumberReport extends connect(store)(localize(i18next)(PageVi
|
|
|
336
342
|
refNo1
|
|
337
343
|
refNo2
|
|
338
344
|
refNo3
|
|
339
|
-
|
|
345
|
+
fullDeliveryAddress
|
|
346
|
+
attentionTo
|
|
340
347
|
palletId
|
|
341
348
|
cartonId
|
|
342
349
|
product {
|
|
@@ -41,7 +41,8 @@ exports.outboundSerialNumberReport = {
|
|
|
41
41
|
select * from (
|
|
42
42
|
select
|
|
43
43
|
row_number() over(partition by rg."name" order by coalesce(w.started_at, ii.created_at), p.sku ) as "no",
|
|
44
|
-
rg."name" as "order_no",
|
|
44
|
+
rg."name" as "order_no", concat_ws(', ',rg.delivery_address_1,rg.delivery_address_2,rg.delivery_address_3,rg.delivery_address_4,rg.delivery_address_5,rg.postal_code,rg.city,rg.state) as "full_delivery_address",
|
|
45
|
+
rg."attention_to" as "attention_to",
|
|
45
46
|
i.pallet_id, i.carton_id, rg.ref_no, rg.ref_no_2, rg.ref_no_3,
|
|
46
47
|
p.id as "product_id", p.sku as "product_sku", p.brand_sku as "product_brand_sku",
|
|
47
48
|
p.name as "product_name", p.description as "product_description", p."type" as "product_type",
|
|
@@ -82,7 +83,8 @@ exports.outboundSerialNumberReport = {
|
|
|
82
83
|
description: bizplace.description,
|
|
83
84
|
name: bizplace.name
|
|
84
85
|
},
|
|
85
|
-
|
|
86
|
+
fullDeliveryAddress: itm.full_delivery_address,
|
|
87
|
+
attentionTo: itm.attention_to,
|
|
86
88
|
palletId: itm.pallet_id,
|
|
87
89
|
cartonId: itm.carton_id,
|
|
88
90
|
orderNo: itm.order_no,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-serial-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BAAE,MAAM,eAAe,CAAA;gBAEpC,cAAc,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAA;aAC1E;iBAAM;gBACL,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;aACvE;YAED,IAAI,CAAC,cAAc,IAAI,CAAC,QAAQ,IAAI,CAAC,MAAM;gBAAE,MAAM,eAAe,CAAA;YAElE,MAAM,QAAQ,GAAa,MAAM,EAAE,CAAC,aAAa,CAAC,mBAAQ,CAAC,CAAC,OAAO,CAAC;gBAClE,EAAE,EAAE,cAAc,CAAC,KAAK;aACzB,CAAC,CAAA;YAEF,MAAM,IAAA,wBAAgB,EAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAA;YAE5C,IAAI,iBAAiB,GAAG,EAAE,CAAA;YAC1B,IAAI,KAAK,EAAE;gBACT,iBAAiB,GAAG,GAAG,iBAAiB,wBAAwB,KAAK,CAAC,KAAK,KAAK,CAAA;aACjF;YAED,MAAM,EAAE,CAAC,KAAK,CACZ
|
|
1
|
+
{"version":3,"file":"outbound-serial-number-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/outbound-serial-number-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,0BAA0B,GAAG;IACxC,KAAK,CAAC,0BAA0B,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACtE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,cAAc,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAA;YAC1D,IAAI,UAAU,GAAG,MAAM,CAAC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,EAAE,GAAG,CAAC,QAAQ;oBACrB,MAAM,EAAE,GAAG,CAAC,MAAM;oBAClB,MAAM,EAAE,GAAG,CAAC,QAAQ;oBACpB,MAAM,EAAE,GAAG,CAAC,QAAQ;oBACpB,OAAO,EAAE;wBACP,EAAE,EAAE,GAAG,CAAC,UAAU;wBAClB,GAAG,EAAE,GAAG,CAAC,WAAW;wBACpB,QAAQ,EAAE,GAAG,CAAC,iBAAiB;wBAC/B,IAAI,EAAE,GAAG,CAAC,YAAY;wBACtB,WAAW,EAAE,GAAG,CAAC,mBAAmB;wBACpC,IAAI,EAAE,GAAG,CAAC,YAAY;wBACtB,MAAM,EAAE,GAAG,CAAC,cAAc;qBAC3B;oBACD,YAAY,EAAE,GAAG,CAAC,aAAa;oBAC/B,GAAG,EAAE,GAAG,CAAC,GAAG;iBACb,CAAA;gBAED,OAAO,IAAI,CAAA;YACb,CAAC,CAAC,CAAA;YAEF,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;aACtB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
|
@@ -9,7 +9,8 @@ exports.OutboundSerialNumberReport = (0, graphql_tag_1.default) `
|
|
|
9
9
|
type OutboundSerialNumberReport {
|
|
10
10
|
no: Int
|
|
11
11
|
bizplace: Bizplace
|
|
12
|
-
|
|
12
|
+
fullDeliveryAddress: String
|
|
13
|
+
attentionTo:String
|
|
13
14
|
palletId: String
|
|
14
15
|
cartonId: String
|
|
15
16
|
orderNo: String
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-serial-number-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/outbound-serial-number-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA
|
|
1
|
+
{"version":3,"file":"outbound-serial-number-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/outbound-serial-number-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;CAgB5C,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.36",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@things-factory/print-ui": "^4.1.28",
|
|
87
87
|
"@things-factory/product-base": "^4.1.34",
|
|
88
88
|
"@things-factory/resource-ui": "^4.1.28",
|
|
89
|
-
"@things-factory/sales-ui": "^4.1.
|
|
89
|
+
"@things-factory/sales-ui": "^4.1.36",
|
|
90
90
|
"@things-factory/scene-data-transform": "^4.1.28",
|
|
91
91
|
"@things-factory/scene-excel": "^4.1.28",
|
|
92
92
|
"@things-factory/scene-firebase": "^4.1.28",
|
|
@@ -102,11 +102,11 @@
|
|
|
102
102
|
"@things-factory/system-ui": "^4.1.28",
|
|
103
103
|
"@things-factory/transport-base": "^4.1.28",
|
|
104
104
|
"@things-factory/tutorial-ui": "^4.1.28",
|
|
105
|
-
"@things-factory/warehouse-base": "^4.1.
|
|
106
|
-
"@things-factory/worksheet-base": "^4.1.
|
|
105
|
+
"@things-factory/warehouse-base": "^4.1.36",
|
|
106
|
+
"@things-factory/worksheet-base": "^4.1.36"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@things-factory/builder": "^4.1.28"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "5b86caac48cdae550c7469ec25dd4c71f73b5582"
|
|
112
112
|
}
|
|
@@ -50,7 +50,8 @@ export const outboundSerialNumberReport = {
|
|
|
50
50
|
select * from (
|
|
51
51
|
select
|
|
52
52
|
row_number() over(partition by rg."name" order by coalesce(w.started_at, ii.created_at), p.sku ) as "no",
|
|
53
|
-
rg."name" as "order_no",
|
|
53
|
+
rg."name" as "order_no", concat_ws(', ',rg.delivery_address_1,rg.delivery_address_2,rg.delivery_address_3,rg.delivery_address_4,rg.delivery_address_5,rg.postal_code,rg.city,rg.state) as "full_delivery_address",
|
|
54
|
+
rg."attention_to" as "attention_to",
|
|
54
55
|
i.pallet_id, i.carton_id, rg.ref_no, rg.ref_no_2, rg.ref_no_3,
|
|
55
56
|
p.id as "product_id", p.sku as "product_sku", p.brand_sku as "product_brand_sku",
|
|
56
57
|
p.name as "product_name", p.description as "product_description", p."type" as "product_type",
|
|
@@ -99,7 +100,8 @@ export const outboundSerialNumberReport = {
|
|
|
99
100
|
description: bizplace.description,
|
|
100
101
|
name: bizplace.name
|
|
101
102
|
},
|
|
102
|
-
|
|
103
|
+
fullDeliveryAddress: itm.full_delivery_address,
|
|
104
|
+
attentionTo:itm.attention_to,
|
|
103
105
|
palletId: itm.pallet_id,
|
|
104
106
|
cartonId: itm.carton_id,
|
|
105
107
|
orderNo: itm.order_no,
|
package/translations/en.json
CHANGED
|
@@ -245,6 +245,7 @@
|
|
|
245
245
|
"field.from_date": "from date",
|
|
246
246
|
"field.from_pallet": "from pallet",
|
|
247
247
|
"field.from": "from",
|
|
248
|
+
"field.full_delivery_address": "full delivery address",
|
|
248
249
|
"field.gan_no": "GAN No.",
|
|
249
250
|
"field.gan_status": "GAN status",
|
|
250
251
|
"field.gan": "GAN",
|