@things-factory/operato-wms 4.0.39 → 4.0.43
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/bootstrap.js +24 -1
- package/client/pages/bulk-operation/bulk-operation.js +2 -1
- package/client/pages/bulk-operation/validate-gan-popup.js +8 -0
- package/client/pages/bulk-operation/validate-ro-popup.js +0 -8
- package/client/pages/components/popup-reusable-pallet.js +0 -1
- package/client/pages/inbound/unload-product.js +5 -14
- package/client/pages/inventory/inventory-adjustment.js +22 -26
- package/client/pages/inventory/inventory-by-product.js +0 -12
- package/client/pages/manifest/create-loading-manifest.js +1 -1
- package/client/pages/manifest/loading-manifest-list.js +3 -3
- package/client/pages/order/arrival-notice/assign-buffer-location.js +24 -9
- package/client/pages/order/release-order/b2c/b2c-order-requests.js +55 -3
- package/client/pages/order/transport-order/contact-point-selector-popup.js +11 -10
- package/client/pages/outbound/single-outbound-worksheet.js +3 -3
- package/client/pages/outbound/worksheet-picking.js +1 -1
- package/client/pages/report/custom-elccl/elccl-daily-order-inventory-report.js +5 -1
- package/client/pages/report/custom-elccl/elccl-delivery-order-summary.js +1 -1
- package/client/pages/report/custom-elccl/elccl-inventory-report.js +13 -1
- package/client/pages/report/inventory-report.js +1 -0
- package/client/pages/report/product-label-report.js +0 -39
- package/helps/release-note.ko.md +3 -0
- package/helps/release-note.md +3 -0
- package/helps/release-note.ms.md +3 -0
- package/helps/release-note.zh.md +3 -0
- package/package.json +66 -66
- package/translations/en.json +6 -1
- package/translations/ko.json +6 -1
- package/translations/ms.json +6 -1
- package/translations/zh.json +6 -1
package/client/bootstrap.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '@things-factory/barcode-base'
|
|
2
2
|
import '@things-factory/notification'
|
|
3
|
+
import '@things-factory/system-ui'
|
|
3
4
|
|
|
4
5
|
import gql from 'graphql-tag'
|
|
5
6
|
import { html } from 'lit-element'
|
|
@@ -8,12 +9,14 @@ import { registerDefaultGroups } from '@operato/board/register-default-groups.js
|
|
|
8
9
|
import { APPEND_APP_TOOL } from '@things-factory/apptool-base'
|
|
9
10
|
import { auth } from '@things-factory/auth-base'
|
|
10
11
|
import { setAuthManagementMenus } from '@things-factory/auth-ui'
|
|
11
|
-
import {
|
|
12
|
+
import { i18next } from '@things-factory/i18n-base'
|
|
13
|
+
import { appendViewpart, openPopup, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION } from '@things-factory/layout-base'
|
|
12
14
|
import { updateMenuProvider } from '@things-factory/menu-base'
|
|
13
15
|
import { USE_ROLE_BY_MENUS_MANAGEMENT } from '@things-factory/menu-base/client/actions/menu'
|
|
14
16
|
import { ADD_MORENDA } from '@things-factory/more-base'
|
|
15
17
|
import { ADD_REFRESH_HANDLER, ADD_SETTING } from '@things-factory/setting-base'
|
|
16
18
|
import { client, navigate, store, UPDATE_BASE_URL } from '@things-factory/shell'
|
|
19
|
+
import { ReleaseNoteNotice } from '@things-factory/system-ui/client/viewparts/release-note-notice'
|
|
17
20
|
import { isMobileDevice } from '@things-factory/utils'
|
|
18
21
|
|
|
19
22
|
import { UPDATE_DASHBOARD_SETTINGS } from './actions/dashboard-settings'
|
|
@@ -81,6 +84,14 @@ export default function bootstrap() {
|
|
|
81
84
|
}
|
|
82
85
|
})
|
|
83
86
|
|
|
87
|
+
store.dispatch({
|
|
88
|
+
type: ADD_SETTING,
|
|
89
|
+
setting: {
|
|
90
|
+
seq: 30,
|
|
91
|
+
template: html` <release-note-setting-let></release-note-setting-let> `
|
|
92
|
+
}
|
|
93
|
+
})
|
|
94
|
+
|
|
84
95
|
store.dispatch({
|
|
85
96
|
type: ADD_MORENDA,
|
|
86
97
|
morenda: {
|
|
@@ -162,6 +173,18 @@ export default function bootstrap() {
|
|
|
162
173
|
})
|
|
163
174
|
|
|
164
175
|
store.dispatch({ type: USE_ROLE_BY_MENUS_MANAGEMENT })
|
|
176
|
+
|
|
177
|
+
if (!ReleaseNoteNotice.seen) {
|
|
178
|
+
i18next.on('initialized', () =>
|
|
179
|
+
setTimeout(() => {
|
|
180
|
+
openPopup(html` <release-note-notice></release-note-notice> `, {
|
|
181
|
+
backdrop: true,
|
|
182
|
+
size: 'large',
|
|
183
|
+
title: i18next.t('title.release-note')
|
|
184
|
+
})
|
|
185
|
+
}, 1000)
|
|
186
|
+
)
|
|
187
|
+
}
|
|
165
188
|
}
|
|
166
189
|
|
|
167
190
|
async function loadOpaAppSettings() {
|
|
@@ -175,7 +175,7 @@ class BulkOperation extends localize(i18next)(PageView) {
|
|
|
175
175
|
importCargo: false,
|
|
176
176
|
sku: '',
|
|
177
177
|
batchId: '',
|
|
178
|
-
|
|
178
|
+
batchIdRef: '',
|
|
179
179
|
packingType: '',
|
|
180
180
|
packingSize: 0,
|
|
181
181
|
uom: '',
|
|
@@ -362,6 +362,7 @@ class BulkOperation extends localize(i18next)(PageView) {
|
|
|
362
362
|
containerSize: String(raw.containerSize || ''),
|
|
363
363
|
sku: String(raw.sku || ''),
|
|
364
364
|
batchId: String(raw.batchId || ''),
|
|
365
|
+
batchIdRef: String(raw.batchIdRef || ''),
|
|
365
366
|
packingType: raw.packingType && raw.packingType != '' ? String(raw.packingType) : null,
|
|
366
367
|
packingSize: !isNaN(Number(raw.packingSize || 'x')) ? Number(raw.packingSize) : null,
|
|
367
368
|
uom: raw.uom && raw.uom != '' ? String(raw.uom) : null,
|
|
@@ -162,6 +162,12 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
|
|
|
162
162
|
header: i18next.t('field.batch_no'),
|
|
163
163
|
width: 150
|
|
164
164
|
},
|
|
165
|
+
{
|
|
166
|
+
type: 'string',
|
|
167
|
+
name: 'batchIdRef',
|
|
168
|
+
header: i18next.t('field.batch_no_ref'),
|
|
169
|
+
width: 150
|
|
170
|
+
},
|
|
165
171
|
{
|
|
166
172
|
type: 'integer',
|
|
167
173
|
name: 'packQty',
|
|
@@ -276,6 +282,7 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
|
|
|
276
282
|
sku
|
|
277
283
|
productInfo
|
|
278
284
|
batchId
|
|
285
|
+
batchIdRef
|
|
279
286
|
packingType
|
|
280
287
|
packingSize
|
|
281
288
|
uom
|
|
@@ -332,6 +339,7 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
|
|
|
332
339
|
containerSize: raw.containerSize,
|
|
333
340
|
sku: raw.sku,
|
|
334
341
|
batchId: raw.batchId,
|
|
342
|
+
batchIdRef: raw.batchIdRef,
|
|
335
343
|
packingType: raw.packingType,
|
|
336
344
|
packingSize: raw.packingSize,
|
|
337
345
|
uom: raw.uom,
|
|
@@ -372,14 +372,6 @@ class ValidateRoPopup extends localize(i18next)(LitElement) {
|
|
|
372
372
|
this.records = JSON.parse(invalidDataError.extensions.exception.detail.data)
|
|
373
373
|
this._showToast({ message: i18next.t('text.please_recheck_your_request_data') })
|
|
374
374
|
}
|
|
375
|
-
|
|
376
|
-
// let insufficientStockError = response.errors.find(err => err.extensions.exception.errorCode == 'ins1')
|
|
377
|
-
// if (insufficientStockError) {
|
|
378
|
-
// // if system suddenly found that any item is insufficient,
|
|
379
|
-
// // display the available items again.
|
|
380
|
-
// await this._getAvailableItems(this.records, this.bizplaceId)
|
|
381
|
-
// this._showToast({ message: i18next.t('text.please_recheck_your_request_data') })
|
|
382
|
-
// }
|
|
383
375
|
}
|
|
384
376
|
} catch (e) {
|
|
385
377
|
this._showToast(e)
|
|
@@ -460,14 +460,14 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
460
460
|
type: 'integer',
|
|
461
461
|
name: 'palletQty',
|
|
462
462
|
label: true,
|
|
463
|
-
header: i18next.t('field.
|
|
463
|
+
header: i18next.t('field.lot_qty'),
|
|
464
464
|
width: 90
|
|
465
465
|
},
|
|
466
466
|
{
|
|
467
467
|
type: 'integer',
|
|
468
468
|
name: 'actualPalletQty',
|
|
469
469
|
label: true,
|
|
470
|
-
header: i18next.t('field.
|
|
470
|
+
header: i18next.t('field.actual_lot_qty'),
|
|
471
471
|
width: 100
|
|
472
472
|
},
|
|
473
473
|
{
|
|
@@ -795,7 +795,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
795
795
|
|
|
796
796
|
if (this._isRequiredCheckExpiry && this._expirationPeriod > 0) {
|
|
797
797
|
const answer = await this._checkExpiry()
|
|
798
|
-
if (!answer
|
|
798
|
+
if (answer && !answer.value) return (this._scanning = false)
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
try {
|
|
@@ -857,7 +857,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
857
857
|
|
|
858
858
|
if (this._isRequiredCheckExpiry && this._expirationPeriod > 0) {
|
|
859
859
|
const answer = await this._checkExpiry()
|
|
860
|
-
if (!answer
|
|
860
|
+
if (answer && !answer.value) return (this._scanning = false)
|
|
861
861
|
}
|
|
862
862
|
|
|
863
863
|
try {
|
|
@@ -1139,16 +1139,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1139
1139
|
}
|
|
1140
1140
|
|
|
1141
1141
|
if (!response.errors) {
|
|
1142
|
-
|
|
1143
|
-
title: i18next.t('title.completed'),
|
|
1144
|
-
text: i18next.t('text.unloading_completed'),
|
|
1145
|
-
confirmButton: { text: i18next.t('button.confirm') }
|
|
1146
|
-
})
|
|
1147
|
-
|
|
1148
|
-
if (this._enableProductScanning) {
|
|
1149
|
-
if (this.cartonInput?.value) this.cartonInput.value = ''
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1142
|
+
if (this._enableProductScanning && this.cartonInput?.value) this.cartonInput.value = ''
|
|
1152
1143
|
await this._fetchProducts(this._orderNo)
|
|
1153
1144
|
}
|
|
1154
1145
|
} catch (e) {
|
|
@@ -117,7 +117,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
117
117
|
this._searchFields = [
|
|
118
118
|
{
|
|
119
119
|
label: i18next.t('field.company'),
|
|
120
|
-
name: '
|
|
120
|
+
name: 'bizplace',
|
|
121
121
|
type: 'select',
|
|
122
122
|
options: [
|
|
123
123
|
{ value: '' },
|
|
@@ -511,6 +511,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
511
511
|
id
|
|
512
512
|
name
|
|
513
513
|
sku
|
|
514
|
+
productInformation
|
|
514
515
|
brand
|
|
515
516
|
auxUnit1
|
|
516
517
|
auxValue1
|
|
@@ -571,8 +572,8 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
571
572
|
const filters = await this.searchForm.getQueryFilters()
|
|
572
573
|
const response = await client.query({
|
|
573
574
|
query: gql`
|
|
574
|
-
query
|
|
575
|
-
|
|
575
|
+
query inventoriesForExport($filters: [Filter!]!, $pagination: Pagination, $sortings: [Sorting!]!) {
|
|
576
|
+
inventoriesForExport(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
576
577
|
items {
|
|
577
578
|
id
|
|
578
579
|
palletId
|
|
@@ -598,6 +599,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
598
599
|
brand
|
|
599
600
|
name
|
|
600
601
|
description
|
|
602
|
+
productInformation
|
|
601
603
|
}
|
|
602
604
|
qty
|
|
603
605
|
warehouse {
|
|
@@ -612,10 +614,6 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
612
614
|
description
|
|
613
615
|
}
|
|
614
616
|
updatedAt
|
|
615
|
-
updater {
|
|
616
|
-
name
|
|
617
|
-
description
|
|
618
|
-
}
|
|
619
617
|
}
|
|
620
618
|
total
|
|
621
619
|
}
|
|
@@ -628,7 +626,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
628
626
|
}
|
|
629
627
|
})
|
|
630
628
|
|
|
631
|
-
return response.data.
|
|
629
|
+
return response.data.inventoriesForExport.items || []
|
|
632
630
|
}
|
|
633
631
|
|
|
634
632
|
async _fetchPartners(filters = []) {
|
|
@@ -836,7 +834,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
836
834
|
})
|
|
837
835
|
]
|
|
838
836
|
|
|
839
|
-
const bizplaceFilters = (await this.searchForm.getQueryFilters()).filter(x => x.name === '
|
|
837
|
+
const bizplaceFilters = (await this.searchForm.getQueryFilters()).filter(x => x.name === 'bizplace')
|
|
840
838
|
|
|
841
839
|
if (bizplaceFilters.length == 0) {
|
|
842
840
|
throw new Error(`Please select a customer for export.`)
|
|
@@ -848,7 +846,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
848
846
|
data = await this.fetchInventoriesForExport()
|
|
849
847
|
}
|
|
850
848
|
|
|
851
|
-
let [
|
|
849
|
+
let [products, bizplaces, locations] = await Promise.all([
|
|
852
850
|
this.fetchProduct(bizplaceFilters),
|
|
853
851
|
this.fetchBizplaces([{ ...bizplaceFilters[0], name: 'bizplace' }]),
|
|
854
852
|
this.fetchLocation()
|
|
@@ -857,15 +855,13 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
857
855
|
headerSetting = headerSetting.map(column => {
|
|
858
856
|
switch (column.key) {
|
|
859
857
|
case 'bizplace.name':
|
|
860
|
-
column.arrData =
|
|
858
|
+
column.arrData = bizplaces
|
|
861
859
|
break
|
|
862
860
|
case 'product.name':
|
|
863
|
-
column.arrData =
|
|
864
|
-
return { ...itm, name: `(${itm.sku}) ${itm.name} - ${itm.description}` }
|
|
865
|
-
})
|
|
861
|
+
column.arrData = products
|
|
866
862
|
break
|
|
867
863
|
case 'location.name':
|
|
868
|
-
column.arrData =
|
|
864
|
+
column.arrData = locations
|
|
869
865
|
break
|
|
870
866
|
default:
|
|
871
867
|
break
|
|
@@ -878,7 +874,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
878
874
|
item.expirationDate = new Date(item.expirationDate).getTime()
|
|
879
875
|
}
|
|
880
876
|
|
|
881
|
-
item.product.name =
|
|
877
|
+
item.product.name = item.product.productInformation
|
|
882
878
|
return {
|
|
883
879
|
id: item.id,
|
|
884
880
|
...this.columns
|
|
@@ -893,7 +889,6 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
893
889
|
}
|
|
894
890
|
})
|
|
895
891
|
|
|
896
|
-
// throw new error('test')
|
|
897
892
|
return { header: headerSetting, data: data }
|
|
898
893
|
} catch (e) {
|
|
899
894
|
this._showToast(e)
|
|
@@ -930,20 +925,20 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
930
925
|
bizplace[0].name = 'bizplace'
|
|
931
926
|
const response = await client.query({
|
|
932
927
|
query: gql`
|
|
933
|
-
query
|
|
934
|
-
|
|
928
|
+
query pureProductsByBizplace($filters: [Filter!]!) {
|
|
929
|
+
pureProductsByBizplace(filters: $filters) {
|
|
935
930
|
items {
|
|
936
931
|
id
|
|
937
|
-
|
|
938
|
-
name
|
|
939
|
-
description
|
|
932
|
+
productInformation
|
|
940
933
|
}
|
|
941
934
|
}
|
|
942
935
|
}
|
|
943
936
|
`,
|
|
944
937
|
variables: { filters: [...bizplace] }
|
|
945
938
|
})
|
|
946
|
-
return response.data.
|
|
939
|
+
return response.data.pureProductsByBizplace.items.map(product => {
|
|
940
|
+
return { id: product.id, name: product.productInformation }
|
|
941
|
+
})
|
|
947
942
|
} catch (ex) {
|
|
948
943
|
throw ex
|
|
949
944
|
}
|
|
@@ -952,8 +947,8 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
952
947
|
async fetchLocation() {
|
|
953
948
|
const response = await client.query({
|
|
954
949
|
query: gql`
|
|
955
|
-
query
|
|
956
|
-
|
|
950
|
+
query pureLocations($filters: [Filter!]!) {
|
|
951
|
+
pureLocations(filters: $filters) {
|
|
957
952
|
items {
|
|
958
953
|
id
|
|
959
954
|
name
|
|
@@ -963,7 +958,8 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
963
958
|
`,
|
|
964
959
|
variables: { filters: [] }
|
|
965
960
|
})
|
|
966
|
-
|
|
961
|
+
this._locations = response.data.pureLocations.items
|
|
962
|
+
return response.data.pureLocations.items
|
|
967
963
|
}
|
|
968
964
|
|
|
969
965
|
async updateRemark(id, remark) {
|
|
@@ -164,11 +164,6 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
164
164
|
type: 'object',
|
|
165
165
|
name: 'bizplace',
|
|
166
166
|
header: i18next.t('field.company'),
|
|
167
|
-
record: {
|
|
168
|
-
options: {
|
|
169
|
-
queryName: 'bizplaces'
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
167
|
imex: {
|
|
173
168
|
header: i18next.t('field.company'),
|
|
174
169
|
key: 'bizplace.name',
|
|
@@ -243,13 +238,6 @@ class InventoryByProduct extends localize(i18next)(PageView) {
|
|
|
243
238
|
header: i18next.t('field.qty'),
|
|
244
239
|
width: 80
|
|
245
240
|
}
|
|
246
|
-
// {
|
|
247
|
-
// type: 'decimal',
|
|
248
|
-
// name: 'averageUnitCost',
|
|
249
|
-
// imex: { header: i18next.t('field.average_unit_cost'), key: 'averageUnitCost', width: 50, type: 'decimal' },
|
|
250
|
-
// header: i18next.t('field.average_unit_cost'),
|
|
251
|
-
// width: 160
|
|
252
|
-
// }
|
|
253
241
|
]
|
|
254
242
|
}
|
|
255
243
|
}
|
|
@@ -95,7 +95,7 @@ class LoadingManifestList extends localize(i18next)(PageView) {
|
|
|
95
95
|
props: { searchOper: 'i_like' }
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
|
-
label: i18next.t('field.
|
|
98
|
+
label: i18next.t('field.transporter'),
|
|
99
99
|
name: 'shippingProvider',
|
|
100
100
|
type: 'text',
|
|
101
101
|
props: { searchOper: 'i_like' }
|
|
@@ -174,7 +174,7 @@ class LoadingManifestList extends localize(i18next)(PageView) {
|
|
|
174
174
|
{
|
|
175
175
|
type: 'string',
|
|
176
176
|
name: 'shippingProvider',
|
|
177
|
-
header: i18next.t('field.
|
|
177
|
+
header: i18next.t('field.transporter'),
|
|
178
178
|
label: true,
|
|
179
179
|
sortable: true,
|
|
180
180
|
width: 150
|
|
@@ -272,7 +272,7 @@ class LoadingManifestList extends localize(i18next)(PageView) {
|
|
|
272
272
|
|
|
273
273
|
var headerSetting = [
|
|
274
274
|
{ header: i18next.t('field.manifest_no'), key: 'name', width: 25, type: 'string' },
|
|
275
|
-
{ header: i18next.t('field.
|
|
275
|
+
{ header: i18next.t('field.transporter'), key: 'shippingProvider', width: 25, type: 'string' },
|
|
276
276
|
{ header: i18next.t('field.dispatch_at'), key: 'dispatchedAt', width: 25, type: 'date' },
|
|
277
277
|
{ header: i18next.t('field.status'), key: 'status', width: 25, type: 'string' },
|
|
278
278
|
{ header: i18next.t('field.created_at'), key: 'createdAt', width: 30, type: 'date' },
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
2
|
-
import { CommonButtonStyles } from '@things-factory/styles'
|
|
3
1
|
import '@things-factory/grist-ui'
|
|
2
|
+
import '../../components/attachment-viewer'
|
|
3
|
+
import '../../components/popup-note'
|
|
4
|
+
import '../../components/vas-templates'
|
|
5
|
+
import '@things-factory/warehouse-ui'
|
|
6
|
+
|
|
7
|
+
import gql from 'graphql-tag'
|
|
8
|
+
import { css, html } from 'lit-element'
|
|
9
|
+
|
|
10
|
+
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
4
11
|
import { getRenderer } from '@things-factory/grist-ui'
|
|
5
12
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
6
13
|
import { openPopup } from '@things-factory/layout-base'
|
|
7
14
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
15
|
+
import { CommonButtonStyles } from '@things-factory/styles'
|
|
8
16
|
import { isMobileDevice } from '@things-factory/utils'
|
|
9
|
-
|
|
10
|
-
import { css, html } from 'lit-element'
|
|
11
|
-
import '../../components/attachment-viewer'
|
|
12
|
-
import '../../components/popup-note'
|
|
13
|
-
import '../../components/vas-templates'
|
|
17
|
+
|
|
14
18
|
import {
|
|
15
19
|
ORDER_STATUS,
|
|
16
20
|
VAS_BATCH_AND_PRODUCT_TYPE,
|
|
@@ -18,7 +22,6 @@ import {
|
|
|
18
22
|
VAS_ETC_TYPE,
|
|
19
23
|
VAS_PRODUCT_TYPE
|
|
20
24
|
} from '../../constants'
|
|
21
|
-
import { BufferLocationSelector } from '@things-factory/warehouse-ui'
|
|
22
25
|
|
|
23
26
|
class AssignBufferLocation extends localize(i18next)(PageView) {
|
|
24
27
|
static get properties() {
|
|
@@ -432,6 +435,12 @@ class AssignBufferLocation extends localize(i18next)(PageView) {
|
|
|
432
435
|
refNo2
|
|
433
436
|
refNo3
|
|
434
437
|
importCargo
|
|
438
|
+
purchaseOrder {
|
|
439
|
+
bufferLocation {
|
|
440
|
+
id
|
|
441
|
+
name
|
|
442
|
+
}
|
|
443
|
+
}
|
|
435
444
|
attachment {
|
|
436
445
|
id
|
|
437
446
|
name
|
|
@@ -504,7 +513,13 @@ class AssignBufferLocation extends localize(i18next)(PageView) {
|
|
|
504
513
|
|
|
505
514
|
if (!response.errors) {
|
|
506
515
|
const { arrivalNotice } = response.data
|
|
507
|
-
const { orderProducts, orderVass } = arrivalNotice
|
|
516
|
+
const { orderProducts, orderVass, purchaseOrder } = arrivalNotice
|
|
517
|
+
|
|
518
|
+
if (purchaseOrder) {
|
|
519
|
+
const bufferLocation = purchaseOrder.bufferLocation
|
|
520
|
+
this.bufferLocationField.value = bufferLocation?.name
|
|
521
|
+
this.bufferLocationField.setAttribute('location-id', bufferLocation.id)
|
|
522
|
+
}
|
|
508
523
|
|
|
509
524
|
this.orderBizplace = arrivalNotice.bizplace
|
|
510
525
|
this._hasContainer = arrivalNotice.containerNo ? true : false
|
|
@@ -6,6 +6,7 @@ import '../batch-generate-single-picking-worksheet-popup'
|
|
|
6
6
|
import gql from 'graphql-tag'
|
|
7
7
|
import { css, html } from 'lit-element'
|
|
8
8
|
|
|
9
|
+
import { GhostPrint } from '@operato/ghost-print'
|
|
9
10
|
import { getCodeByName } from '@things-factory/code-base'
|
|
10
11
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
11
12
|
import { openPopup } from '@things-factory/layout-base'
|
|
@@ -15,6 +16,11 @@ import { isMobileDevice } from '@things-factory/utils'
|
|
|
15
16
|
|
|
16
17
|
import { ORDER_STATUS } from '../../../constants'
|
|
17
18
|
|
|
19
|
+
const HEADER_JSON = {
|
|
20
|
+
'Content-Type': 'application/json',
|
|
21
|
+
Accept: 'application/json'
|
|
22
|
+
}
|
|
23
|
+
|
|
18
24
|
class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
19
25
|
static get styles() {
|
|
20
26
|
return [
|
|
@@ -62,6 +68,11 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
|
62
68
|
return {
|
|
63
69
|
title: i18next.t('title.release_order_requests'),
|
|
64
70
|
actions: [
|
|
71
|
+
{
|
|
72
|
+
title: i18next.t('button.print_invoice'),
|
|
73
|
+
action: this._printInvoices.bind(this),
|
|
74
|
+
...CommonButtonStyles.label
|
|
75
|
+
},
|
|
65
76
|
{
|
|
66
77
|
title: i18next.t('button.generate_packing_list'),
|
|
67
78
|
action: this._generatePackingList.bind(this),
|
|
@@ -179,7 +190,7 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
|
179
190
|
value: new Date().toISOString().split('T')[0]
|
|
180
191
|
},
|
|
181
192
|
{
|
|
182
|
-
label: i18next.t('field.
|
|
193
|
+
label: i18next.t('field.transporter'),
|
|
183
194
|
name: 'transporter',
|
|
184
195
|
type: 'select',
|
|
185
196
|
props: {
|
|
@@ -288,7 +299,7 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
|
288
299
|
{
|
|
289
300
|
type: 'string',
|
|
290
301
|
name: 'transporter',
|
|
291
|
-
header: i18next.t('field.
|
|
302
|
+
header: i18next.t('field.transporter'),
|
|
292
303
|
sortable: true,
|
|
293
304
|
width: 120
|
|
294
305
|
},
|
|
@@ -495,6 +506,47 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
|
495
506
|
)
|
|
496
507
|
}
|
|
497
508
|
|
|
509
|
+
async _printInvoices() {
|
|
510
|
+
try {
|
|
511
|
+
if (this.dataGrist.selected && this.dataGrist.selected.length > 0) {
|
|
512
|
+
var timezoneOffSet = new Date().getTimezoneOffset().toString()
|
|
513
|
+
let url = new URL(window.location)
|
|
514
|
+
|
|
515
|
+
let data = await Promise.all(
|
|
516
|
+
this.dataGrist.selected.map(async x => {
|
|
517
|
+
return x.id
|
|
518
|
+
})
|
|
519
|
+
)
|
|
520
|
+
|
|
521
|
+
let response = await fetch(`/view_invoices/${timezoneOffSet}`, {
|
|
522
|
+
method: 'POST',
|
|
523
|
+
credentials: 'include',
|
|
524
|
+
headers: HEADER_JSON,
|
|
525
|
+
body: JSON.stringify({ roIds: data })
|
|
526
|
+
}).then(function (response) {
|
|
527
|
+
return response.text()
|
|
528
|
+
})
|
|
529
|
+
|
|
530
|
+
this._callPrintDialog(response)
|
|
531
|
+
|
|
532
|
+
// navigate(`print_invoices/${data}`)
|
|
533
|
+
} else {
|
|
534
|
+
throw new Error(`Please select a record.`)
|
|
535
|
+
}
|
|
536
|
+
} catch (e) {
|
|
537
|
+
this._showToast(e)
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
async _callPrintDialog(contentSource) {
|
|
542
|
+
GhostPrint.print({
|
|
543
|
+
srcdoc: contentSource,
|
|
544
|
+
onfinish: () => {
|
|
545
|
+
this._showToast({ message: i18next.t('text.document_has_been_generated') })
|
|
546
|
+
}
|
|
547
|
+
})
|
|
548
|
+
}
|
|
549
|
+
|
|
498
550
|
_compareValues(key, order = 'asc') {
|
|
499
551
|
return function innerSort(a, b) {
|
|
500
552
|
if (!a.hasOwnProperty(key) || !b.hasOwnProperty(key)) {
|
|
@@ -547,7 +599,7 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
|
547
599
|
type: 'string'
|
|
548
600
|
},
|
|
549
601
|
{ header: i18next.t('field.warehouse_status'), key: 'status', width: 30, type: 'string' },
|
|
550
|
-
{ header: i18next.t('field.
|
|
602
|
+
{ header: i18next.t('field.transporter'), key: 'transporter', width: 30, type: 'string' },
|
|
551
603
|
{ header: i18next.t('field.delivery_address'), key: 'deliveryAddress1', width: 30, type: 'string' },
|
|
552
604
|
{ header: i18next.t('field.attention_to'), key: 'attentionTo', width: 30, type: 'string' },
|
|
553
605
|
{ header: i18next.t('field.phone'), key: 'phone1', width: 30, type: 'string' }
|
|
@@ -209,17 +209,18 @@ class ContactPointSelectorPopup extends localize(i18next)(LitElement) {
|
|
|
209
209
|
|
|
210
210
|
const response = await client.query({
|
|
211
211
|
query: gql`
|
|
212
|
-
query contactPoints(
|
|
213
|
-
contactPoints(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
212
|
+
query contactPoints($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
|
|
213
|
+
contactPoints(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
214
|
+
items {
|
|
215
|
+
id
|
|
216
|
+
name
|
|
217
|
+
companyName
|
|
218
|
+
email
|
|
219
|
+
address
|
|
220
|
+
billingAddress
|
|
221
|
+
}
|
|
222
|
+
total
|
|
221
223
|
}
|
|
222
|
-
total
|
|
223
224
|
}
|
|
224
225
|
`,
|
|
225
226
|
variables: {
|
|
@@ -167,7 +167,7 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
|
|
|
167
167
|
attrs: ['indeterminate']
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
|
-
label: i18next.t('field.
|
|
170
|
+
label: i18next.t('field.transporter'),
|
|
171
171
|
name: 'courierOption',
|
|
172
172
|
type: 'checkbox',
|
|
173
173
|
props: { searchOper: 'eq' },
|
|
@@ -241,8 +241,8 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
|
|
|
241
241
|
{
|
|
242
242
|
type: 'boolean',
|
|
243
243
|
name: 'courierOption',
|
|
244
|
-
header: i18next.t('field.
|
|
245
|
-
imex: { header: i18next.t('field.
|
|
244
|
+
header: i18next.t('field.transporter'),
|
|
245
|
+
imex: { header: i18next.t('field.transporter'), key: 'courierOption', width: 20, type: 'string' },
|
|
246
246
|
width: 60
|
|
247
247
|
},
|
|
248
248
|
{
|
|
@@ -196,7 +196,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
196
196
|
<label>${i18next.t('field.cross_docking')}</label>
|
|
197
197
|
|
|
198
198
|
<input name="courierOption" type="checkbox" .checked="${this.courierOption}" disabled />
|
|
199
|
-
<label>${i18next.t('field.
|
|
199
|
+
<label>${i18next.t('field.transporter')}</label>
|
|
200
200
|
|
|
201
201
|
<input name="packingOption" type="checkbox" .checked="${this.packingOption}" disabled />
|
|
202
202
|
<label>${i18next.t('field.packing')}</label>
|
|
@@ -357,7 +357,11 @@ class ElcclDailyOrderInventoryReport extends connect(store)(localize(i18next)(Pa
|
|
|
357
357
|
})
|
|
358
358
|
]
|
|
359
359
|
|
|
360
|
-
|
|
360
|
+
header.filter(hdr => hdr.type == 'date').map(hdr => (hdr.type = 'string'))
|
|
361
|
+
|
|
362
|
+
let data = (await this.fetchHandler({ page: 1, limit: 9999999 })).records.map(itm =>
|
|
363
|
+
flattenObject({ ...itm, createdAt: new Date(parseInt(itm.createdAt)).toLocaleDateString() })
|
|
364
|
+
)
|
|
361
365
|
|
|
362
366
|
return { header, data }
|
|
363
367
|
} catch (e) {
|
|
@@ -229,7 +229,7 @@ class ElcclDeliveryOrderSummary extends connect(store)(localize(i18next)(PageVie
|
|
|
229
229
|
|
|
230
230
|
const response = await client.query({
|
|
231
231
|
query: gql`
|
|
232
|
-
query
|
|
232
|
+
query deliveryOrderSummaryReport($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
|
|
233
233
|
deliveryOrders(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
234
234
|
items {
|
|
235
235
|
id
|
|
@@ -332,7 +332,7 @@ class ElcclInventoryReport extends connect(store)(localize(i18next)(PageView)) {
|
|
|
332
332
|
_validate() {
|
|
333
333
|
if (!this.searchForm.shadowRoot.querySelector('form').checkValidity())
|
|
334
334
|
throw new Error(i18next.t('text.invalid_form_value'))
|
|
335
|
-
if (!this._partnerselector.value) throw new Error(i18next.t('text.
|
|
335
|
+
if (!this._partnerselector.value) throw new Error(i18next.t('text.company_is_not_selected'))
|
|
336
336
|
if (!this._fromDateInput.value) throw new Error(i18next.t('text.from_date_is_empty'))
|
|
337
337
|
if (!this._toDateInput.value) throw new Error(i18next.t('text.to_date_is_empty'))
|
|
338
338
|
}
|
|
@@ -370,6 +370,7 @@ class ElcclInventoryReport extends connect(store)(localize(i18next)(PageView)) {
|
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
+
// unused function ?
|
|
373
374
|
async _bizplaceChange(e) {
|
|
374
375
|
let bizplace = [{ name: 'bizplace', operator: 'eq', value: e.currentTarget.value }]
|
|
375
376
|
if (e.currentTarget.value == '') {
|
|
@@ -429,6 +430,17 @@ class ElcclInventoryReport extends connect(store)(localize(i18next)(PageView)) {
|
|
|
429
430
|
this._showToast(e)
|
|
430
431
|
}
|
|
431
432
|
}
|
|
433
|
+
|
|
434
|
+
_showToast({ type, message }) {
|
|
435
|
+
document.dispatchEvent(
|
|
436
|
+
new CustomEvent('notify', {
|
|
437
|
+
detail: {
|
|
438
|
+
type,
|
|
439
|
+
message
|
|
440
|
+
}
|
|
441
|
+
})
|
|
442
|
+
)
|
|
443
|
+
}
|
|
432
444
|
}
|
|
433
445
|
|
|
434
446
|
window.customElements.define('elccl-inventory-report', ElcclInventoryReport)
|
|
@@ -401,6 +401,7 @@ class InventoryReport extends connect(store)(localize(i18next)(PageView)) {
|
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
+
// unused function ?
|
|
404
405
|
async _bizplaceChange(e) {
|
|
405
406
|
let bizplace = [{ name: 'bizplace', operator: 'eq', value: e.currentTarget.value }]
|
|
406
407
|
if (e.currentTarget.value == '') {
|
|
@@ -325,45 +325,6 @@ class ProductLabelReport extends connect(store)(localize(i18next)(PageView)) {
|
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
// @farishelmi any usage for this function? If no please remove.
|
|
329
|
-
async _bizplaceChange(e) {
|
|
330
|
-
/* let bizplace = [{ name: 'bizplace', operator: 'eq', value: e.currentTarget.value }]
|
|
331
|
-
if (e.currentTarget.value == '') {
|
|
332
|
-
this.searchFields
|
|
333
|
-
this._searchFields.filter(x => x.name == 'product')[0].options = [{ name: 'All', value: '' }]
|
|
334
|
-
this._searchFields = [...this._searchFields]
|
|
335
|
-
} else {
|
|
336
|
-
const response = await client.query({
|
|
337
|
-
query: gql`
|
|
338
|
-
query {
|
|
339
|
-
productsByBizplace(${gqlBuilder.buildArgs({
|
|
340
|
-
filters: [...bizplace]
|
|
341
|
-
})}) {
|
|
342
|
-
items {
|
|
343
|
-
id
|
|
344
|
-
name
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
`
|
|
349
|
-
})
|
|
350
|
-
|
|
351
|
-
if (!response.errors) {
|
|
352
|
-
this.searchFields
|
|
353
|
-
this._searchFields.filter(x => x.name == 'product')[0].options = [
|
|
354
|
-
{ name: 'All', value: '' },
|
|
355
|
-
...response.data.productsByBizplace.items.map(item => {
|
|
356
|
-
return {
|
|
357
|
-
name: item.name,
|
|
358
|
-
value: item.id
|
|
359
|
-
}
|
|
360
|
-
})
|
|
361
|
-
]
|
|
362
|
-
this._searchFields = [...this._searchFields]
|
|
363
|
-
}
|
|
364
|
-
} */
|
|
365
|
-
}
|
|
366
|
-
|
|
367
328
|
_exportableData() {
|
|
368
329
|
try {
|
|
369
330
|
const report = this.report
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.43",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -41,72 +41,72 @@
|
|
|
41
41
|
"docker:run": "docker run --platform linux/amd64 -p 4000:3000 hatiolab/operato-wms:latest"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@operato/ghost-print": "^0.3.
|
|
45
|
-
"@operato/scene-chartjs": "^0.1.
|
|
46
|
-
"@operato/scene-clock": "^0.1.
|
|
47
|
-
"@operato/scene-clone": "^0.1.
|
|
48
|
-
"@operato/scene-compass": "^0.1.
|
|
49
|
-
"@operato/scene-gauge": "^0.1.
|
|
50
|
-
"@operato/scene-
|
|
51
|
-
"@operato/scene-
|
|
52
|
-
"@operato/scene-
|
|
53
|
-
"@operato/scene-
|
|
54
|
-
"@operato/scene-
|
|
55
|
-
"@operato/scene-
|
|
56
|
-
"@operato/scene-
|
|
57
|
-
"@operato/scene-
|
|
58
|
-
"@
|
|
59
|
-
"@things-factory/
|
|
60
|
-
"@things-factory/
|
|
61
|
-
"@things-factory/
|
|
62
|
-
"@things-factory/
|
|
63
|
-
"@things-factory/
|
|
64
|
-
"@things-factory/board-
|
|
65
|
-
"@things-factory/
|
|
66
|
-
"@things-factory/
|
|
67
|
-
"@things-factory/
|
|
68
|
-
"@things-factory/export-ui
|
|
69
|
-
"@things-factory/export-ui-
|
|
70
|
-
"@things-factory/
|
|
71
|
-
"@things-factory/
|
|
72
|
-
"@things-factory/
|
|
73
|
-
"@things-factory/
|
|
74
|
-
"@things-factory/
|
|
75
|
-
"@things-factory/
|
|
76
|
-
"@things-factory/
|
|
77
|
-
"@things-factory/import-ui
|
|
78
|
-
"@things-factory/
|
|
79
|
-
"@things-factory/
|
|
80
|
-
"@things-factory/
|
|
81
|
-
"@things-factory/
|
|
82
|
-
"@things-factory/
|
|
83
|
-
"@things-factory/print-service": "^4.0.
|
|
84
|
-
"@things-factory/print-
|
|
85
|
-
"@things-factory/
|
|
86
|
-
"@things-factory/
|
|
87
|
-
"@things-factory/
|
|
88
|
-
"@things-factory/
|
|
89
|
-
"@things-factory/scene-
|
|
90
|
-
"@things-factory/scene-
|
|
91
|
-
"@things-factory/scene-
|
|
92
|
-
"@things-factory/scene-
|
|
93
|
-
"@things-factory/scene-
|
|
94
|
-
"@things-factory/scene-
|
|
95
|
-
"@things-factory/scene-label": "^4.0.
|
|
96
|
-
"@things-factory/scene-marker": "^4.0.
|
|
97
|
-
"@things-factory/scene-mqtt": "^4.0.
|
|
98
|
-
"@things-factory/scene-news-ticker": "^4.0.
|
|
99
|
-
"@things-factory/scene-restful": "^4.0.
|
|
100
|
-
"@things-factory/scene-visualizer": "^4.0.
|
|
101
|
-
"@things-factory/setting-ui": "^4.0.
|
|
102
|
-
"@things-factory/system-ui": "^4.0.
|
|
103
|
-
"@things-factory/transport-base": "^4.0.
|
|
104
|
-
"@things-factory/tutorial-ui": "^4.0.
|
|
105
|
-
"@things-factory/warehouse-base": "^4.0.
|
|
106
|
-
"@things-factory/worksheet-base": "^4.0.
|
|
44
|
+
"@operato/ghost-print": "^0.3.26",
|
|
45
|
+
"@operato/scene-chartjs": "^0.1.4",
|
|
46
|
+
"@operato/scene-clock": "^0.1.4",
|
|
47
|
+
"@operato/scene-clone": "^0.1.4",
|
|
48
|
+
"@operato/scene-compass": "^0.1.4",
|
|
49
|
+
"@operato/scene-gauge": "^0.1.4",
|
|
50
|
+
"@operato/scene-half-roundrect": "^0.1.4",
|
|
51
|
+
"@operato/scene-indoor-map": "^0.1.4",
|
|
52
|
+
"@operato/scene-legend": "^0.1.4",
|
|
53
|
+
"@operato/scene-progressbar": "^0.1.4",
|
|
54
|
+
"@operato/scene-random": "^0.1.4",
|
|
55
|
+
"@operato/scene-switch": "^0.1.4",
|
|
56
|
+
"@operato/scene-tab": "^0.1.4",
|
|
57
|
+
"@operato/scene-table": "^0.1.4",
|
|
58
|
+
"@operato/scene-wheel-sorter": "^0.1.4",
|
|
59
|
+
"@things-factory/apptool-ui": "^4.0.43",
|
|
60
|
+
"@things-factory/attachment-ui": "^4.0.43",
|
|
61
|
+
"@things-factory/auth-ui": "^4.0.43",
|
|
62
|
+
"@things-factory/barcode-ui": "^4.0.43",
|
|
63
|
+
"@things-factory/biz-ui": "^4.0.43",
|
|
64
|
+
"@things-factory/board-service": "^4.0.43",
|
|
65
|
+
"@things-factory/board-ui": "^4.0.43",
|
|
66
|
+
"@things-factory/code-ui": "^4.0.43",
|
|
67
|
+
"@things-factory/context-ui": "^4.0.43",
|
|
68
|
+
"@things-factory/export-ui": "^4.0.43",
|
|
69
|
+
"@things-factory/export-ui-csv": "^4.0.43",
|
|
70
|
+
"@things-factory/export-ui-excel": "^4.0.43",
|
|
71
|
+
"@things-factory/fav-base": "^4.0.43",
|
|
72
|
+
"@things-factory/form-ui": "^4.0.43",
|
|
73
|
+
"@things-factory/grist-ui": "^4.0.43",
|
|
74
|
+
"@things-factory/help": "^4.0.43",
|
|
75
|
+
"@things-factory/i18n-base": "^4.0.43",
|
|
76
|
+
"@things-factory/id-rule-base": "^4.0.43",
|
|
77
|
+
"@things-factory/import-ui": "^4.0.43",
|
|
78
|
+
"@things-factory/import-ui-excel": "^4.0.43",
|
|
79
|
+
"@things-factory/menu-ui": "^4.0.43",
|
|
80
|
+
"@things-factory/more-ui": "^4.0.43",
|
|
81
|
+
"@things-factory/notification": "^4.0.43",
|
|
82
|
+
"@things-factory/pdf": "^4.0.43",
|
|
83
|
+
"@things-factory/print-proxy-service": "^4.0.43",
|
|
84
|
+
"@things-factory/print-service": "^4.0.43",
|
|
85
|
+
"@things-factory/print-ui": "^4.0.43",
|
|
86
|
+
"@things-factory/product-base": "^4.0.43",
|
|
87
|
+
"@things-factory/resource-ui": "^4.0.43",
|
|
88
|
+
"@things-factory/sales-ui": "^4.0.43",
|
|
89
|
+
"@things-factory/scene-data-transform": "^4.0.43",
|
|
90
|
+
"@things-factory/scene-excel": "^4.0.43",
|
|
91
|
+
"@things-factory/scene-firebase": "^4.0.43",
|
|
92
|
+
"@things-factory/scene-form": "^4.0.43",
|
|
93
|
+
"@things-factory/scene-google-map": "^4.0.43",
|
|
94
|
+
"@things-factory/scene-graphql": "^4.0.43",
|
|
95
|
+
"@things-factory/scene-label": "^4.0.43",
|
|
96
|
+
"@things-factory/scene-marker": "^4.0.43",
|
|
97
|
+
"@things-factory/scene-mqtt": "^4.0.43",
|
|
98
|
+
"@things-factory/scene-news-ticker": "^4.0.43",
|
|
99
|
+
"@things-factory/scene-restful": "^4.0.43",
|
|
100
|
+
"@things-factory/scene-visualizer": "^4.0.43",
|
|
101
|
+
"@things-factory/setting-ui": "^4.0.43",
|
|
102
|
+
"@things-factory/system-ui": "^4.0.43",
|
|
103
|
+
"@things-factory/transport-base": "^4.0.43",
|
|
104
|
+
"@things-factory/tutorial-ui": "^4.0.43",
|
|
105
|
+
"@things-factory/warehouse-base": "^4.0.43",
|
|
106
|
+
"@things-factory/worksheet-base": "^4.0.43"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@things-factory/builder": "^4.0.
|
|
109
|
+
"@things-factory/builder": "^4.0.43"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "8f2a8008eb61b6efd266412be267186c5059fab6"
|
|
112
112
|
}
|
package/translations/en.json
CHANGED
|
@@ -491,6 +491,7 @@
|
|
|
491
491
|
"field.transaction": "transaction",
|
|
492
492
|
"field.transport_driver": "transport driver",
|
|
493
493
|
"field.transport_vehicle": "transport vehicle",
|
|
494
|
+
"field.transporter": "transporter",
|
|
494
495
|
"field.truck_no": "truck no.",
|
|
495
496
|
"field.type": "type",
|
|
496
497
|
"field.unit_cost": "unit cost",
|
|
@@ -989,6 +990,7 @@
|
|
|
989
990
|
"text.collection_order_form_invalid": "collection order form invalid",
|
|
990
991
|
"text.collection_order_received": "collection order received",
|
|
991
992
|
"text.collection_order_rejected": "collection order rejected",
|
|
993
|
+
"text.company_is_not_selected": "company is not selected",
|
|
992
994
|
"text.company_selection_is_empty": "company selection is empty",
|
|
993
995
|
"text.company_was_not_selected": "company was not selected",
|
|
994
996
|
"text.complete_inspection": "complete inspection",
|
|
@@ -1165,6 +1167,7 @@
|
|
|
1165
1167
|
"text.online": "online",
|
|
1166
1168
|
"text.optional": "optional",
|
|
1167
1169
|
"text.order_has_been_set_to_ready_to_ship": "order has been set to ready to ship",
|
|
1170
|
+
"text.order_is_not_selected": "order is not selected",
|
|
1168
1171
|
"text.order_no_is_empty": "order no is empty",
|
|
1169
1172
|
"text.order_status_not_qualified_for_bulk_printing_packing_list": "order status not qualified for bulk printing packing list",
|
|
1170
1173
|
"text.orders_has_been_activated": "orders has been activated",
|
|
@@ -1674,5 +1677,7 @@
|
|
|
1674
1677
|
"title.worksheet_unloading": "worksheet unloading",
|
|
1675
1678
|
"title.worksheet_vas": "worksheet vas",
|
|
1676
1679
|
"title.worksheet": "worksheet",
|
|
1677
|
-
"vas_order_created": "vas order created"
|
|
1680
|
+
"vas_order_created": "vas order created",
|
|
1681
|
+
"field.lot_qty": "lot qty",
|
|
1682
|
+
"field.actual_lot_qty": "actual lot qty"
|
|
1678
1683
|
}
|
package/translations/ko.json
CHANGED
|
@@ -1867,5 +1867,10 @@
|
|
|
1867
1867
|
"button.disable": "[ko] disable",
|
|
1868
1868
|
"text.x_is_expiring": "[ko] {x} is expiring",
|
|
1869
1869
|
"text.orders_has_been_activated": "[ko] orders has been activated",
|
|
1870
|
-
"title.partner": "[ko] partner"
|
|
1870
|
+
"title.partner": "[ko] partner",
|
|
1871
|
+
"text.order_is_not_selected": "[ko] order is not selected",
|
|
1872
|
+
"text.company_is_not_selected": "[ko] company is not selected",
|
|
1873
|
+
"field.transporter": "[ko] transporter",
|
|
1874
|
+
"field.lot_qty": "[ko] lot qty",
|
|
1875
|
+
"field.actual_lot_qty": "[ko] actual lot qty"
|
|
1871
1876
|
}
|
package/translations/ms.json
CHANGED
|
@@ -1737,5 +1737,10 @@
|
|
|
1737
1737
|
"button.disable": "[ms] disable",
|
|
1738
1738
|
"text.x_is_expiring": "[ms] {x} is expiring",
|
|
1739
1739
|
"text.orders_has_been_activated": "[ms] orders has been activated",
|
|
1740
|
-
"title.partner": "[ms] partner"
|
|
1740
|
+
"title.partner": "[ms] partner",
|
|
1741
|
+
"text.order_is_not_selected": "[ms] order is not selected",
|
|
1742
|
+
"text.company_is_not_selected": "[ms] company is not selected",
|
|
1743
|
+
"field.transporter": "[ms] transporter",
|
|
1744
|
+
"field.lot_qty": "[ms] lot qty",
|
|
1745
|
+
"field.actual_lot_qty": "[ms] actual lot qty"
|
|
1741
1746
|
}
|
package/translations/zh.json
CHANGED
|
@@ -1687,5 +1687,10 @@
|
|
|
1687
1687
|
"button.disable": "[zh] disable",
|
|
1688
1688
|
"text.x_is_expiring": "[zh] {x} is expiring",
|
|
1689
1689
|
"text.orders_has_been_activated": "[zh] orders has been activated",
|
|
1690
|
-
"title.partner": "[zh] partner"
|
|
1690
|
+
"title.partner": "[zh] partner",
|
|
1691
|
+
"text.order_is_not_selected": "[zh] order is not selected",
|
|
1692
|
+
"text.company_is_not_selected": "[zh] company is not selected",
|
|
1693
|
+
"field.transporter": "[zh] transporter",
|
|
1694
|
+
"field.lot_qty": "[zh] lot qty",
|
|
1695
|
+
"field.actual_lot_qty": "[zh] actual lot qty"
|
|
1691
1696
|
}
|