@things-factory/operato-wms 4.3.156 → 4.3.161
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/bulk-operation/validate-gan-popup.js +1 -9
- package/client/pages/components/select-product-popup.js +3 -17
- package/client/pages/inventory/inventory-adjustment-approval.js +6 -0
- package/client/pages/inventory/inventory-adjustment.js +51 -18
- package/client/pages/manifest/loading-manifest-detail.js +22 -13
- package/client/pages/order/arrival-notice/arrival-notice-detail.js +0 -6
- package/client/pages/order/arrival-notice/create-arrival-notice.js +19 -32
- package/client/pages/outbound/inventory-reassign-popup.js +20 -17
- package/client/pages/outbound/picking-product.js +7 -3
- package/client/pages/outbound/worksheet-batch-picking.js +15 -2
- package/client/pages/outbound/worksheet-picking.js +14 -2
- package/config.development.js +15 -15
- package/helps/release-note.ko.md +1 -1
- package/helps/release-note.md +1 -1
- package/helps/release-note.ms.md +1 -1
- package/helps/release-note.zh.md +1 -1
- package/package.json +50 -50
- package/translations/en.json +2 -0
- package/translations/ko.json +3 -1
- package/translations/ms.json +3 -1
- package/translations/zh.json +3 -1
|
@@ -310,14 +310,6 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
|
|
|
310
310
|
if (record.unitPrice) {
|
|
311
311
|
record.unitPrice = record.unitPrice.toFixed(2)
|
|
312
312
|
}
|
|
313
|
-
if (record.unitPrice < 0) {
|
|
314
|
-
if (record.unitPrice == -1) {
|
|
315
|
-
record.unitPrice = 'negative value'
|
|
316
|
-
}
|
|
317
|
-
if (record.unitPrice == -2) {
|
|
318
|
-
record.unitPrice = 'not a number'
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
313
|
})
|
|
322
314
|
}
|
|
323
315
|
} catch (e) {
|
|
@@ -353,7 +345,7 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
|
|
|
353
345
|
uom: raw.uom,
|
|
354
346
|
packQty: raw.packQty,
|
|
355
347
|
palletQty: raw.palletQty,
|
|
356
|
-
unitPrice: raw.unitPrice,
|
|
348
|
+
unitPrice: parseFloat(raw.unitPrice),
|
|
357
349
|
manufactureDate: new Date(parseInt(raw.manufactureDate))
|
|
358
350
|
}
|
|
359
351
|
})
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import '@things-factory/grist-ui'
|
|
2
2
|
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
|
-
import {
|
|
5
|
-
css,
|
|
6
|
-
html,
|
|
7
|
-
LitElement
|
|
8
|
-
} from 'lit-element'
|
|
4
|
+
import { css, html, LitElement } from 'lit-element'
|
|
9
5
|
|
|
10
|
-
import {
|
|
11
|
-
i18next,
|
|
12
|
-
localize
|
|
13
|
-
} from '@things-factory/i18n-base'
|
|
6
|
+
import { i18next, localize } from '@things-factory/i18n-base'
|
|
14
7
|
import { client } from '@things-factory/shell'
|
|
15
8
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
16
9
|
import { isMobileDevice } from '@things-factory/utils'
|
|
@@ -244,13 +237,6 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
|
|
|
244
237
|
total: response.data.productDetails.total || 0,
|
|
245
238
|
records:
|
|
246
239
|
response.data.productDetails.items.map(item => {
|
|
247
|
-
if (item.costPrice) {
|
|
248
|
-
item.costPrice = item.costPrice.toFixed(2)
|
|
249
|
-
}
|
|
250
|
-
if (item.costPrice == 0 || item.costPrice == null) {
|
|
251
|
-
item.costPrice = 0
|
|
252
|
-
item.costPrice == item.costPrice.toFixed(2)
|
|
253
|
-
}
|
|
254
240
|
return {
|
|
255
241
|
...item,
|
|
256
242
|
productName: item.product.name,
|
|
@@ -259,7 +245,7 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
|
|
|
259
245
|
brand: item.product.brand,
|
|
260
246
|
name: item.name,
|
|
261
247
|
description: item.product.description,
|
|
262
|
-
costPrice:
|
|
248
|
+
costPrice: (item.costPrice = (item?.costPrice || 0).toFixed(2))
|
|
263
249
|
}
|
|
264
250
|
}) || []
|
|
265
251
|
}
|
|
@@ -360,6 +360,12 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
|
|
|
360
360
|
type: 'text',
|
|
361
361
|
props: { searchOper: 'i_like' }
|
|
362
362
|
},
|
|
363
|
+
{
|
|
364
|
+
label: i18next.t('field.carton_id'),
|
|
365
|
+
name: 'cartonId',
|
|
366
|
+
type: 'text',
|
|
367
|
+
props: { searchOper: 'i_like' }
|
|
368
|
+
},
|
|
363
369
|
{
|
|
364
370
|
label: i18next.t('field.status'),
|
|
365
371
|
name: 'status',
|
|
@@ -4,16 +4,31 @@ import '@things-factory/import-ui'
|
|
|
4
4
|
import '../components/popup-note'
|
|
5
5
|
import './inventory-history-by-pallet'
|
|
6
6
|
import '../inventory/serial-number-list-popup'
|
|
7
|
+
import '../components/select-product-popup'
|
|
7
8
|
|
|
8
9
|
import gql from 'graphql-tag'
|
|
9
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
css,
|
|
12
|
+
html
|
|
13
|
+
} from 'lit-element'
|
|
10
14
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
11
15
|
|
|
12
16
|
import { DirectPrinter } from '@things-factory/barcode-base'
|
|
13
|
-
import {
|
|
17
|
+
import {
|
|
18
|
+
i18next,
|
|
19
|
+
localize
|
|
20
|
+
} from '@things-factory/i18n-base'
|
|
14
21
|
import { openPopup } from '@things-factory/layout-base'
|
|
15
|
-
import {
|
|
16
|
-
|
|
22
|
+
import {
|
|
23
|
+
client,
|
|
24
|
+
CustomAlert,
|
|
25
|
+
PageView,
|
|
26
|
+
store
|
|
27
|
+
} from '@things-factory/shell'
|
|
28
|
+
import {
|
|
29
|
+
CommonButtonStyles,
|
|
30
|
+
ScrollbarStyles
|
|
31
|
+
} from '@things-factory/styles'
|
|
17
32
|
import { isMobileDevice } from '@things-factory/utils'
|
|
18
33
|
|
|
19
34
|
import { fetchPageSettings } from '../../util/index'
|
|
@@ -758,7 +773,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
758
773
|
...item,
|
|
759
774
|
sku: item.product.sku,
|
|
760
775
|
brand: item.product.brand,
|
|
761
|
-
|
|
776
|
+
unitCost: parseFloat(item.unitCost == null ? 0: item.unitCost).toFixed(2),
|
|
762
777
|
lockedQty: item.lockedQty || 0,
|
|
763
778
|
remainQty: item.qty - (item.lockedQty || 0)
|
|
764
779
|
}
|
|
@@ -849,7 +864,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
849
864
|
}
|
|
850
865
|
break
|
|
851
866
|
case 'unitCost':
|
|
852
|
-
if (e.detail.after < 0) {
|
|
867
|
+
if (e.detail.after < 0 || isNaN(e.detail.after)) {
|
|
853
868
|
item._data.records[e.detail.row].unitCost = e.detail.before
|
|
854
869
|
this.showToast({ level: 'error', message: i18next.t('text.invalid_unit_cost') })
|
|
855
870
|
}
|
|
@@ -880,9 +895,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
880
895
|
item._data.records[e.detail.row].sku = e.detail.after?.sku ? e.detail.after.sku : ''
|
|
881
896
|
|
|
882
897
|
if (e.detail.before == undefined) {
|
|
883
|
-
item._data.records[e.detail.row].unitCost = e.detail.after?.costPrice ? e.detail.after.costPrice : undefined
|
|
884
|
-
} else {
|
|
885
|
-
item._data.records[e.detail.row].unitCost
|
|
898
|
+
item._data.records[e.detail.row].unitCost = e.detail.after?.costPrice >= 0 ? e.detail.after.costPrice : undefined
|
|
886
899
|
}
|
|
887
900
|
break
|
|
888
901
|
|
|
@@ -1079,7 +1092,16 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1079
1092
|
throw new Error(i18next.t('text.invalid_expiration_date'))
|
|
1080
1093
|
}
|
|
1081
1094
|
}
|
|
1082
|
-
if (
|
|
1095
|
+
if (
|
|
1096
|
+
itm?.adjustmentCode?.trim() == '' ||
|
|
1097
|
+
(itm?.adjustmentCode?.trim() != ADJUSTMENT_CODE.AC01.value &&
|
|
1098
|
+
itm?.adjustmentCode?.trim() != ADJUSTMENT_CODE.AC02.value &&
|
|
1099
|
+
itm?.adjustmentCode?.trim() != ADJUSTMENT_CODE.AC03.value &&
|
|
1100
|
+
itm?.adjustmentCode?.trim() != ADJUSTMENT_CODE.AC04.value &&
|
|
1101
|
+
itm?.adjustmentCode?.trim() != ADJUSTMENT_CODE.AC05.value &&
|
|
1102
|
+
itm?.adjustmentCode?.trim() != ADJUSTMENT_CODE.AC06.value &&
|
|
1103
|
+
itm?.adjustmentCode?.trim() != ADJUSTMENT_CODE.AC07.value)
|
|
1104
|
+
) {
|
|
1083
1105
|
throw new Error(i18next.t('text.invalid_adjustment_code'))
|
|
1084
1106
|
}
|
|
1085
1107
|
if (itm?.adjustmentNote?.trim() == '') {
|
|
@@ -1116,19 +1138,24 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1116
1138
|
itm.qty = parseInt(itm.qty)
|
|
1117
1139
|
itm.packingSize = parseFloat(itm.packingSize)
|
|
1118
1140
|
itm.uomValue = parseFloat(itm.uomValue)
|
|
1141
|
+
|
|
1119
1142
|
if (itm.unitCost == null && itm.unitCost != 0) {
|
|
1120
1143
|
itm.unitCost = null
|
|
1121
1144
|
}
|
|
1122
1145
|
if (itm.unitCost != null) {
|
|
1123
|
-
itm.unitCost = parseFloat(itm.unitCost
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
if (itm.location.zone || itm.location.row || itm.location.column) {
|
|
1128
|
-
delete itm.location.zone
|
|
1129
|
-
delete itm.location.row
|
|
1130
|
-
delete itm.location.column
|
|
1146
|
+
itm.unitCost = parseFloat(itm.unitCost)
|
|
1147
|
+
if (isNaN(itm.unitCost)) {
|
|
1148
|
+
throw new Error(i18next.t('text.invalid_unit_cost'))
|
|
1149
|
+
}
|
|
1131
1150
|
}
|
|
1151
|
+
|
|
1152
|
+
if (itm.unit)
|
|
1153
|
+
if (itm.location.zone || itm.location.row || itm.location.column) {
|
|
1154
|
+
//if user repic location after import
|
|
1155
|
+
delete itm.location.zone
|
|
1156
|
+
delete itm.location.row
|
|
1157
|
+
delete itm.location.column
|
|
1158
|
+
}
|
|
1132
1159
|
|
|
1133
1160
|
//if user repick product after import
|
|
1134
1161
|
if (itm.product.productId) {
|
|
@@ -1182,6 +1209,12 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1182
1209
|
}
|
|
1183
1210
|
|
|
1184
1211
|
importableData(records) {
|
|
1212
|
+
records.map(record => {
|
|
1213
|
+
if (typeof record.unitCost == 'object') {
|
|
1214
|
+
record.unitCost = 0
|
|
1215
|
+
}
|
|
1216
|
+
})
|
|
1217
|
+
|
|
1185
1218
|
let columns = this.config.columns
|
|
1186
1219
|
.filter(column => column.imex !== undefined)
|
|
1187
1220
|
.map(column => {
|
|
@@ -9,7 +9,7 @@ import { GhostPrint } from '@operato/ghost-print'
|
|
|
9
9
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
10
10
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
11
11
|
import { openPopup } from '@things-factory/layout-base'
|
|
12
|
-
import { client, navigate, PageView
|
|
12
|
+
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
13
13
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
14
14
|
import { isMobileDevice } from '@things-factory/utils'
|
|
15
15
|
|
|
@@ -90,7 +90,7 @@ class LoadingManifestDetail extends localize(i18next)(PageView) {
|
|
|
90
90
|
shippingGristConfig: Object,
|
|
91
91
|
_manifestNo: String,
|
|
92
92
|
_status: String,
|
|
93
|
-
|
|
93
|
+
_removePackages: Array,
|
|
94
94
|
_selectedStatus: String,
|
|
95
95
|
_addExpanded: Boolean
|
|
96
96
|
}
|
|
@@ -248,7 +248,7 @@ class LoadingManifestDetail extends localize(i18next)(PageView) {
|
|
|
248
248
|
|
|
249
249
|
constructor() {
|
|
250
250
|
super()
|
|
251
|
-
this.
|
|
251
|
+
this._removePackages = []
|
|
252
252
|
this._addExpanded = false
|
|
253
253
|
}
|
|
254
254
|
|
|
@@ -270,7 +270,7 @@ class LoadingManifestDetail extends localize(i18next)(PageView) {
|
|
|
270
270
|
if (this._status && this._status == MANIFEST_STATUS.CLOSED.value) return
|
|
271
271
|
const newData = data.records.filter((_, idx) => idx !== rowIndex)
|
|
272
272
|
this.shippingData = { ...this.shippingData, records: newData }
|
|
273
|
-
this.
|
|
273
|
+
this._removePackages.push(record.packageName)
|
|
274
274
|
this._showReset = true
|
|
275
275
|
} catch (e) {}
|
|
276
276
|
}
|
|
@@ -366,6 +366,7 @@ class LoadingManifestDetail extends localize(i18next)(PageView) {
|
|
|
366
366
|
phone
|
|
367
367
|
postalCode
|
|
368
368
|
city
|
|
369
|
+
packageName
|
|
369
370
|
refNo
|
|
370
371
|
dispatchmentStatus
|
|
371
372
|
orderStatus
|
|
@@ -387,14 +388,14 @@ class LoadingManifestDetail extends localize(i18next)(PageView) {
|
|
|
387
388
|
shippingProvider: manifest.shippingProvider,
|
|
388
389
|
records: manifest.trackingNos
|
|
389
390
|
}
|
|
390
|
-
this.
|
|
391
|
+
this._removePackages = []
|
|
391
392
|
this._showReset = false
|
|
392
393
|
this.updateContext()
|
|
393
394
|
}
|
|
394
395
|
}
|
|
395
396
|
|
|
396
397
|
async _updateManifestDetails() {
|
|
397
|
-
if ((!this._selectedStatus || this._selectedStatus == this._status) && this.
|
|
398
|
+
if ((!this._selectedStatus || this._selectedStatus == this._status) && this._removePackages?.length == 0) {
|
|
398
399
|
return
|
|
399
400
|
}
|
|
400
401
|
const response = await client.mutate({
|
|
@@ -403,13 +404,13 @@ class LoadingManifestDetail extends localize(i18next)(PageView) {
|
|
|
403
404
|
$manifestId: String
|
|
404
405
|
$status: String
|
|
405
406
|
$shippingProvider: String
|
|
406
|
-
$
|
|
407
|
+
$removePackages: [String!]
|
|
407
408
|
) {
|
|
408
409
|
updateManifest(
|
|
409
410
|
manifestId: $manifestId
|
|
410
411
|
status: $status
|
|
411
412
|
shippingProvider: $shippingProvider
|
|
412
|
-
|
|
413
|
+
removePackages: $removePackages
|
|
413
414
|
)
|
|
414
415
|
}
|
|
415
416
|
`,
|
|
@@ -417,7 +418,7 @@ class LoadingManifestDetail extends localize(i18next)(PageView) {
|
|
|
417
418
|
manifestId: this.shippingData.manifestId,
|
|
418
419
|
status: this._selectedStatus,
|
|
419
420
|
shippingProvider: this.shippingData.shippingProvider,
|
|
420
|
-
|
|
421
|
+
removePackages: this._removePackages
|
|
421
422
|
}
|
|
422
423
|
})
|
|
423
424
|
if (!response.errors) {
|
|
@@ -529,11 +530,18 @@ class LoadingManifestDetail extends localize(i18next)(PageView) {
|
|
|
529
530
|
async _checkReleaseOrderStatus() {
|
|
530
531
|
const response = await client.query({
|
|
531
532
|
query: gql`
|
|
532
|
-
query
|
|
533
|
-
|
|
533
|
+
query orderPackage($trackingNo: String) {
|
|
534
|
+
orderPackage(trackingNo: $trackingNo) {
|
|
534
535
|
id
|
|
535
536
|
name
|
|
536
|
-
|
|
537
|
+
trackingNo
|
|
538
|
+
transporter
|
|
539
|
+
releaseGood {
|
|
540
|
+
id
|
|
541
|
+
name
|
|
542
|
+
refNo
|
|
543
|
+
status
|
|
544
|
+
}
|
|
537
545
|
}
|
|
538
546
|
}
|
|
539
547
|
`,
|
|
@@ -541,7 +549,8 @@ class LoadingManifestDetail extends localize(i18next)(PageView) {
|
|
|
541
549
|
})
|
|
542
550
|
|
|
543
551
|
if (!response.error) {
|
|
544
|
-
let
|
|
552
|
+
let orderPackage = response.data.orderPackage
|
|
553
|
+
let releaseGood = orderPackage.releaseGood
|
|
545
554
|
|
|
546
555
|
if (
|
|
547
556
|
releaseGood?.status === ORDER_STATUS.CANCELLED.value ||
|
|
@@ -188,12 +188,6 @@ class ArrivalNoticeDetail extends localize(i18next)(PageView) {
|
|
|
188
188
|
action: () => history.back(),
|
|
189
189
|
...CommonButtonStyles.back
|
|
190
190
|
}
|
|
191
|
-
//uncomment this for testing only
|
|
192
|
-
// {
|
|
193
|
-
// title: i18next.t('button.inspect_changes'),
|
|
194
|
-
// action: this.openApproveProductPopup.bind(this),
|
|
195
|
-
// ...CommonButtonStyles.approve
|
|
196
|
-
// }
|
|
197
191
|
]
|
|
198
192
|
|
|
199
193
|
if (this._status === ORDER_STATUS.PENDING.value) {
|
|
@@ -1195,6 +1195,10 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1195
1195
|
throw new Error(i18next.t('text.empty_value_in_list'))
|
|
1196
1196
|
}
|
|
1197
1197
|
|
|
1198
|
+
if (records.some(({ unitPrice }) => isNaN(unitPrice))) {
|
|
1199
|
+
throw new Error(i18next.t('text.invalid_unit_price_not_a_number'))
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1198
1202
|
if (records.some(({ unitPrice }) => unitPrice < 0)) {
|
|
1199
1203
|
throw new Error(i18next.t('text.x_should_be_positive', { state: { x: i18next.t('label.unit_price') } }))
|
|
1200
1204
|
}
|
|
@@ -1671,6 +1675,7 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1671
1675
|
}
|
|
1672
1676
|
productDetail {
|
|
1673
1677
|
id
|
|
1678
|
+
costPrice
|
|
1674
1679
|
}
|
|
1675
1680
|
}
|
|
1676
1681
|
}
|
|
@@ -1684,20 +1689,16 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1684
1689
|
if (!foundErrors) {
|
|
1685
1690
|
if (!response.errors) {
|
|
1686
1691
|
const data = response.data.bulkUploadValidateOrderProducts.map(item => {
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
if (item.product.costPrice == null) {
|
|
1694
|
-
unitPrice = 0
|
|
1695
|
-
}
|
|
1696
|
-
}
|
|
1692
|
+
item.unitPrice =
|
|
1693
|
+
item.unitPrice || item.unitPrice == 0
|
|
1694
|
+
? item.unitPrice
|
|
1695
|
+
: item.productDetail.costPrice != null
|
|
1696
|
+
? item.productDetail.costPrice
|
|
1697
|
+
: null
|
|
1697
1698
|
return {
|
|
1698
1699
|
...item,
|
|
1699
1700
|
productName: item?.productName,
|
|
1700
|
-
unitPrice: unitPrice.toFixed(2) || 0,
|
|
1701
|
+
unitPrice: item.unitPrice.toFixed(2) || 0,
|
|
1701
1702
|
packQty: parseFloat(item.packQty) || '',
|
|
1702
1703
|
palletQty: parseFloat(item.palletQty) || ''
|
|
1703
1704
|
}
|
|
@@ -1736,18 +1737,10 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1736
1737
|
})
|
|
1737
1738
|
|
|
1738
1739
|
const orderProducts = patches.map(patch => {
|
|
1739
|
-
let unitPrice = patch.unitPrice
|
|
1740
|
-
if (patch.unitPrice == null) {
|
|
1741
|
-
unitPrice = null
|
|
1742
|
-
}
|
|
1743
|
-
if (patch.unitPrice != null) {
|
|
1744
|
-
unitPrice = parseFloat(unitPrice)
|
|
1745
|
-
}
|
|
1746
1740
|
delete patch.cuFlag
|
|
1747
|
-
// delete patch.costPrice
|
|
1748
1741
|
return {
|
|
1749
1742
|
...patch,
|
|
1750
|
-
unitPrice: unitPrice,
|
|
1743
|
+
unitPrice: patch.unitPrice ? parseFloat(patch.unitPrice) : null,
|
|
1751
1744
|
uomValue: parseFloat(patch.uomValue) || 0,
|
|
1752
1745
|
packQty: parseInt(patch.packQty) || 0,
|
|
1753
1746
|
palletQty: parseInt(patch.palletQty) || 0
|
|
@@ -1771,18 +1764,12 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1771
1764
|
records = records
|
|
1772
1765
|
.filter(record => record.productSKU)
|
|
1773
1766
|
.map(record => {
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
if (record.unitPrice == NaN) {
|
|
1781
|
-
record.unitPrice = NaN
|
|
1782
|
-
} else {
|
|
1783
|
-
record.unitPrice = null
|
|
1784
|
-
}
|
|
1785
|
-
}
|
|
1767
|
+
record.unitPrice =
|
|
1768
|
+
record.unitPrice == null && record.unitPrice !== undefined
|
|
1769
|
+
? '0.00'
|
|
1770
|
+
: record.unitPrice === undefined
|
|
1771
|
+
? null
|
|
1772
|
+
: parseFloat(record.unitPrice).toFixed(2)
|
|
1786
1773
|
return {
|
|
1787
1774
|
...record
|
|
1788
1775
|
}
|
|
@@ -260,6 +260,12 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
260
260
|
name: 'releaseUomValue',
|
|
261
261
|
header: i18next.t('field.release_uom_value'),
|
|
262
262
|
width: 140
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
type: 'boolean',
|
|
266
|
+
name: 'obsolete',
|
|
267
|
+
header: i18next.t('field.obsolete'),
|
|
268
|
+
width: 60
|
|
263
269
|
}
|
|
264
270
|
]
|
|
265
271
|
}
|
|
@@ -420,12 +426,6 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
420
426
|
name: 'batchIdRef',
|
|
421
427
|
header: i18next.t('field.batch_no_ref'),
|
|
422
428
|
width: 100
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
type: 'boolean',
|
|
426
|
-
name: 'obsolete',
|
|
427
|
-
header: i18next.t('field.obsolete'),
|
|
428
|
-
width: 60
|
|
429
429
|
}
|
|
430
430
|
]
|
|
431
431
|
}
|
|
@@ -529,7 +529,7 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
529
529
|
})
|
|
530
530
|
|
|
531
531
|
if (!response.errors) {
|
|
532
|
-
|
|
532
|
+
this.orderProductData =
|
|
533
533
|
response.data.orderProducts.items.map(item => {
|
|
534
534
|
return {
|
|
535
535
|
...item,
|
|
@@ -538,20 +538,15 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
538
538
|
}
|
|
539
539
|
}) || []
|
|
540
540
|
|
|
541
|
-
if (
|
|
542
|
-
this._selectedOrderProduct =
|
|
543
|
-
this.recallOption =
|
|
541
|
+
if (this.orderProductData?.length > 0) {
|
|
542
|
+
this._selectedOrderProduct = this.orderProductData[0]
|
|
543
|
+
this.recallOption = this.orderProductData[0]?.releaseGood?.recall || false
|
|
544
544
|
if (!this.bizplaceId) this.bizplaceId = this._selectedOrderProduct?.bizplace?.id
|
|
545
545
|
|
|
546
546
|
await this.fetchOrderInventories({ page: 1, limit: 9999999 })
|
|
547
547
|
} else {
|
|
548
548
|
this._selectedOrderProduct = null
|
|
549
549
|
}
|
|
550
|
-
|
|
551
|
-
return {
|
|
552
|
-
total: response.data.orderProducts.total || 0,
|
|
553
|
-
records: orderProductItems
|
|
554
|
-
}
|
|
555
550
|
}
|
|
556
551
|
}
|
|
557
552
|
|
|
@@ -642,11 +637,19 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
642
637
|
records: data
|
|
643
638
|
}
|
|
644
639
|
|
|
645
|
-
this.orderProductGrist.data
|
|
646
|
-
|
|
640
|
+
this.orderProductGrist.data = {
|
|
641
|
+
total: this.orderProductData?.length || 0,
|
|
642
|
+
records: this.orderProductData
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
this.orderProductData = this.orderProductData.map(itm => {
|
|
646
|
+
if (itm.id === this._selectedOrderProduct?.id) {
|
|
647
647
|
itm.obsolete = isObsolete
|
|
648
648
|
}
|
|
649
|
+
|
|
650
|
+
return itm
|
|
649
651
|
})
|
|
652
|
+
|
|
650
653
|
this._updateOrderInventoryConfig()
|
|
651
654
|
}
|
|
652
655
|
}
|
|
@@ -1789,7 +1789,9 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1789
1789
|
response = await client.mutate({
|
|
1790
1790
|
mutation: gql`
|
|
1791
1791
|
mutation completePicking($releaseGoodNo: String!) {
|
|
1792
|
-
completePicking(releaseGoodNo: $releaseGoodNo)
|
|
1792
|
+
completePicking(releaseGoodNo: $releaseGoodNo) {
|
|
1793
|
+
obsolete
|
|
1794
|
+
}
|
|
1793
1795
|
}
|
|
1794
1796
|
`,
|
|
1795
1797
|
variables: { releaseGoodNo: this.releaseGoodNo }
|
|
@@ -1800,7 +1802,9 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1800
1802
|
response = await client.mutate({
|
|
1801
1803
|
mutation: gql`
|
|
1802
1804
|
mutation completeBatchPicking($taskNo: String!) {
|
|
1803
|
-
completeBatchPicking(taskNo: $taskNo)
|
|
1805
|
+
completeBatchPicking(taskNo: $taskNo) {
|
|
1806
|
+
obsolete
|
|
1807
|
+
}
|
|
1804
1808
|
}
|
|
1805
1809
|
`,
|
|
1806
1810
|
variables: { taskNo: this.taskNo }
|
|
@@ -1809,7 +1813,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1809
1813
|
}
|
|
1810
1814
|
|
|
1811
1815
|
if (!response.errors) {
|
|
1812
|
-
if (
|
|
1816
|
+
if (response.data?.completePicking?.obsolete || response.data?.completeBatchPicking?.obsolete) {
|
|
1813
1817
|
showToast({ message: i18next.t('text.obsolete_inventory_found_please_reassign') })
|
|
1814
1818
|
} else {
|
|
1815
1819
|
this.clearView()
|
|
@@ -32,7 +32,8 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
|
|
|
32
32
|
wsdGristConfig: Object,
|
|
33
33
|
productGristData: Object,
|
|
34
34
|
worksheetDetailData: Object,
|
|
35
|
-
releaseGoodNoRows: Number
|
|
35
|
+
releaseGoodNoRows: Number,
|
|
36
|
+
isRecall: Boolean
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
|
|
@@ -148,6 +149,14 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
|
|
|
148
149
|
)
|
|
149
150
|
}
|
|
150
151
|
|
|
152
|
+
if (!this.activatable && this.worksheetDetailData?.records.find(itm => itm.obsolete == true)) {
|
|
153
|
+
actions.push({
|
|
154
|
+
title: i18next.t('button.reassign'),
|
|
155
|
+
action: this._openReassignInventoryPopup.bind(this),
|
|
156
|
+
...CommonButtonStyles.assignment
|
|
157
|
+
})
|
|
158
|
+
}
|
|
159
|
+
|
|
151
160
|
if (this.assignable) {
|
|
152
161
|
actions.push({
|
|
153
162
|
title: i18next.t('button.auto_assign'),
|
|
@@ -475,7 +484,8 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
|
|
|
475
484
|
|
|
476
485
|
get activatable() {
|
|
477
486
|
if (this.productGristData?.records.every(record => record.completed)) {
|
|
478
|
-
|
|
487
|
+
let foundObsoleteItems = this.worksheetDetailData?.records.find(itm => itm.obsolete == true)
|
|
488
|
+
return this._worksheetStatus === WORKSHEET_STATUS.DEACTIVATED.value && (!foundObsoleteItems || this.isRecall)
|
|
479
489
|
}
|
|
480
490
|
}
|
|
481
491
|
|
|
@@ -542,6 +552,7 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
|
|
|
542
552
|
releaseGood {
|
|
543
553
|
id
|
|
544
554
|
name
|
|
555
|
+
recall
|
|
545
556
|
}
|
|
546
557
|
}
|
|
547
558
|
worksheetDetails {
|
|
@@ -637,6 +648,8 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
|
|
|
637
648
|
this.releaseGoodNoRows = uniqueReleaseGoods.length
|
|
638
649
|
worksheet.releaseGoodNo = uniqueReleaseGoods.join(',\n')
|
|
639
650
|
|
|
651
|
+
this.isRecall = uniqueReleaseGoods.map(itm => itm.recall == true)
|
|
652
|
+
|
|
640
653
|
this._fillupForm({ ...worksheet, bizplace: worksheet.bizplace.name, assignee: worksheet.assignee?.name || '' })
|
|
641
654
|
|
|
642
655
|
// if (this._worksheetStatus !== WORKSHEET_STATUS.DEACTIVATED.value) this.fetchWorksheetDetails()
|
|
@@ -50,7 +50,8 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
50
50
|
exportOption: Boolean,
|
|
51
51
|
targetBizplace: Object,
|
|
52
52
|
worksheetId: String,
|
|
53
|
-
orderNo: String
|
|
53
|
+
orderNo: String,
|
|
54
|
+
isRecall: Boolean
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
|
|
@@ -170,6 +171,14 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
170
171
|
)
|
|
171
172
|
}
|
|
172
173
|
|
|
174
|
+
if (!this.activatable && this.worksheetDetailData?.records.find(itm => itm.obsolete == true)) {
|
|
175
|
+
actions.push({
|
|
176
|
+
title: i18next.t('button.reassign'),
|
|
177
|
+
action: this._openReassignInventoryPopup.bind(this),
|
|
178
|
+
...CommonButtonStyles.assignment
|
|
179
|
+
})
|
|
180
|
+
}
|
|
181
|
+
|
|
173
182
|
if (this.assignable) {
|
|
174
183
|
actions.push({
|
|
175
184
|
title: i18next.t('button.auto_assign'),
|
|
@@ -668,6 +677,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
668
677
|
exportOption
|
|
669
678
|
packingOption
|
|
670
679
|
releaseDate
|
|
680
|
+
recall
|
|
671
681
|
arrivalNotice {
|
|
672
682
|
name
|
|
673
683
|
}
|
|
@@ -755,6 +765,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
755
765
|
this._worksheetStatus = worksheet.status
|
|
756
766
|
this._roId = worksheet?.releaseGood?.id || ''
|
|
757
767
|
this._roNo = worksheet?.releaseGood?.name || ''
|
|
768
|
+
this.isRecall = worksheet?.releaseGood?.recall
|
|
758
769
|
this.worksheetType = worksheet?.type
|
|
759
770
|
this.crossDocking = worksheet?.releaseGood?.crossDocking
|
|
760
771
|
this.courierOption = worksheet.releaseGood.courierOption
|
|
@@ -1114,7 +1125,8 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
1114
1125
|
this._worksheetStatus === WORKSHEET_STATUS.DEACTIVATED.value
|
|
1115
1126
|
)
|
|
1116
1127
|
} else {
|
|
1117
|
-
|
|
1128
|
+
let foundObsoleteItems = this.worksheetDetailData?.records.find(itm => itm.obsolete == true)
|
|
1129
|
+
return this._worksheetStatus === WORKSHEET_STATUS.DEACTIVATED.value && (!foundObsoleteItems || this.isRecall)
|
|
1118
1130
|
}
|
|
1119
1131
|
}
|
|
1120
1132
|
}
|
package/config.development.js
CHANGED
|
@@ -6,28 +6,28 @@ module.exports = {
|
|
|
6
6
|
subdomainOffset: 2,
|
|
7
7
|
port: 1100,
|
|
8
8
|
inspect: '9430',
|
|
9
|
+
ormconfig: {
|
|
10
|
+
name: 'default',
|
|
11
|
+
type: 'postgres',
|
|
12
|
+
database: 'chris',
|
|
13
|
+
username: 'postgres',
|
|
14
|
+
password: 'hatio',
|
|
15
|
+
host: '192.168.0.161',
|
|
16
|
+
port: 15432,
|
|
17
|
+
synchronize: true,
|
|
18
|
+
logging: false
|
|
19
|
+
},
|
|
9
20
|
// ormconfig: {
|
|
10
21
|
// name: 'default',
|
|
11
22
|
// type: 'postgres',
|
|
12
23
|
// database: 'dev',
|
|
13
24
|
// username: 'postgres',
|
|
14
|
-
// password: '
|
|
15
|
-
// host: '
|
|
16
|
-
// port:
|
|
25
|
+
// password: 'abcd1234',
|
|
26
|
+
// host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
27
|
+
// port: 55432,
|
|
17
28
|
// synchronize: true,
|
|
18
|
-
// logging:
|
|
29
|
+
// logging: true
|
|
19
30
|
// },
|
|
20
|
-
ormconfig: {
|
|
21
|
-
name: 'default',
|
|
22
|
-
type: 'postgres',
|
|
23
|
-
database: 'dev',
|
|
24
|
-
username: 'postgres',
|
|
25
|
-
password: 'abcd1234',
|
|
26
|
-
host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
27
|
-
port: 55432,
|
|
28
|
-
synchronize: true,
|
|
29
|
-
logging: true
|
|
30
|
-
},
|
|
31
31
|
sellercraftIntegrationConfig: {
|
|
32
32
|
apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
|
|
33
33
|
},
|
package/helps/release-note.ko.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<br>
|
|
16
16
|
For additional information about the aspects of the release, see the following link
|
|
17
|
-
<a href="
|
|
17
|
+
<a href="http://bitly.ws/y52i">V4.3.159 Release Note</a>
|
|
18
18
|
<br>
|
|
19
19
|
|
|
20
20
|
Should you have any inquiries, feel free to contact support@hatio.asia! Stay safe and positively negative!
|
package/helps/release-note.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<br>
|
|
16
16
|
For additional information about the aspects of the release, see the following link
|
|
17
|
-
<a href="
|
|
17
|
+
<a href="http://bitly.ws/y52i">V4.3.159 Release Note</a>
|
|
18
18
|
<br>
|
|
19
19
|
|
|
20
20
|
Should you have any inquiries, feel free to contact support@hatio.asia! Stay safe and positively negative!
|
package/helps/release-note.ms.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<br>
|
|
16
16
|
For additional information about the aspects of the release, see the following link
|
|
17
|
-
<a href="
|
|
17
|
+
<a href="http://bitly.ws/y52i">V4.3.159 Release Note</a>
|
|
18
18
|
<br>
|
|
19
19
|
|
|
20
20
|
Should you have any inquiries, feel free to contact support@hatio.asia! Stay safe and positively negative!
|
package/helps/release-note.zh.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<br>
|
|
16
16
|
For additional information about the aspects of the release, see the following link
|
|
17
|
-
<a href="
|
|
17
|
+
<a href="http://bitly.ws/y52i">V4.3.159 Release Note</a>
|
|
18
18
|
<br>
|
|
19
19
|
|
|
20
20
|
Should you have any inquiries, feel free to contact support@hatio.asia! Stay safe and positively negative!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.161",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -62,60 +62,60 @@
|
|
|
62
62
|
"@operato/scene-tab": "^0.1.8",
|
|
63
63
|
"@operato/scene-table": "^0.1.8",
|
|
64
64
|
"@operato/scene-wheel-sorter": "^0.1.8",
|
|
65
|
-
"@things-factory/apptool-ui": "^4.3.
|
|
66
|
-
"@things-factory/attachment-ui": "^4.3.
|
|
67
|
-
"@things-factory/auth-ui": "^4.3.
|
|
68
|
-
"@things-factory/barcode-ui": "^4.3.
|
|
69
|
-
"@things-factory/biz-ui": "^4.3.
|
|
70
|
-
"@things-factory/board-service": "^4.3.
|
|
71
|
-
"@things-factory/board-ui": "^4.3.
|
|
72
|
-
"@things-factory/code-ui": "^4.3.
|
|
73
|
-
"@things-factory/context-ui": "^4.3.
|
|
74
|
-
"@things-factory/export-ui": "^4.3.
|
|
75
|
-
"@things-factory/export-ui-csv": "^4.3.
|
|
76
|
-
"@things-factory/export-ui-excel": "^4.3.
|
|
77
|
-
"@things-factory/fav-base": "^4.3.
|
|
78
|
-
"@things-factory/form-ui": "^4.3.
|
|
79
|
-
"@things-factory/geography": "^4.3.
|
|
80
|
-
"@things-factory/grist-ui": "^4.3.
|
|
81
|
-
"@things-factory/help": "^4.3.
|
|
82
|
-
"@things-factory/i18n-base": "^4.3.
|
|
83
|
-
"@things-factory/id-rule-base": "^4.3.
|
|
84
|
-
"@things-factory/import-ui": "^4.3.
|
|
85
|
-
"@things-factory/import-ui-excel": "^4.3.
|
|
86
|
-
"@things-factory/menu-ui": "^4.3.
|
|
87
|
-
"@things-factory/more-ui": "^4.3.
|
|
88
|
-
"@things-factory/notification": "^4.3.
|
|
89
|
-
"@things-factory/pdf": "^4.3.
|
|
90
|
-
"@things-factory/print-proxy-service": "^4.3.
|
|
91
|
-
"@things-factory/print-ui": "^4.3.
|
|
92
|
-
"@things-factory/product-base": "^4.3.
|
|
93
|
-
"@things-factory/resource-ui": "^4.3.
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
95
|
-
"@things-factory/scene-data-transform": "^4.3.
|
|
96
|
-
"@things-factory/scene-excel": "^4.3.
|
|
97
|
-
"@things-factory/scene-firebase": "^4.3.
|
|
98
|
-
"@things-factory/scene-form": "^4.3.
|
|
99
|
-
"@things-factory/scene-google-map": "^4.3.
|
|
100
|
-
"@things-factory/scene-graphql": "^4.3.
|
|
101
|
-
"@things-factory/scene-label": "^4.3.
|
|
102
|
-
"@things-factory/scene-marker": "^4.3.
|
|
103
|
-
"@things-factory/scene-mqtt": "^4.3.
|
|
104
|
-
"@things-factory/scene-restful": "^4.3.
|
|
105
|
-
"@things-factory/scene-visualizer": "^4.3.
|
|
106
|
-
"@things-factory/setting-ui": "^4.3.
|
|
107
|
-
"@things-factory/system-ui": "^4.3.
|
|
108
|
-
"@things-factory/transport-base": "^4.3.
|
|
109
|
-
"@things-factory/tutorial-ui": "^4.3.
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
65
|
+
"@things-factory/apptool-ui": "^4.3.159",
|
|
66
|
+
"@things-factory/attachment-ui": "^4.3.159",
|
|
67
|
+
"@things-factory/auth-ui": "^4.3.159",
|
|
68
|
+
"@things-factory/barcode-ui": "^4.3.159",
|
|
69
|
+
"@things-factory/biz-ui": "^4.3.159",
|
|
70
|
+
"@things-factory/board-service": "^4.3.159",
|
|
71
|
+
"@things-factory/board-ui": "^4.3.159",
|
|
72
|
+
"@things-factory/code-ui": "^4.3.159",
|
|
73
|
+
"@things-factory/context-ui": "^4.3.159",
|
|
74
|
+
"@things-factory/export-ui": "^4.3.159",
|
|
75
|
+
"@things-factory/export-ui-csv": "^4.3.159",
|
|
76
|
+
"@things-factory/export-ui-excel": "^4.3.159",
|
|
77
|
+
"@things-factory/fav-base": "^4.3.159",
|
|
78
|
+
"@things-factory/form-ui": "^4.3.159",
|
|
79
|
+
"@things-factory/geography": "^4.3.159",
|
|
80
|
+
"@things-factory/grist-ui": "^4.3.159",
|
|
81
|
+
"@things-factory/help": "^4.3.159",
|
|
82
|
+
"@things-factory/i18n-base": "^4.3.159",
|
|
83
|
+
"@things-factory/id-rule-base": "^4.3.159",
|
|
84
|
+
"@things-factory/import-ui": "^4.3.159",
|
|
85
|
+
"@things-factory/import-ui-excel": "^4.3.159",
|
|
86
|
+
"@things-factory/menu-ui": "^4.3.159",
|
|
87
|
+
"@things-factory/more-ui": "^4.3.159",
|
|
88
|
+
"@things-factory/notification": "^4.3.159",
|
|
89
|
+
"@things-factory/pdf": "^4.3.159",
|
|
90
|
+
"@things-factory/print-proxy-service": "^4.3.159",
|
|
91
|
+
"@things-factory/print-ui": "^4.3.159",
|
|
92
|
+
"@things-factory/product-base": "^4.3.161",
|
|
93
|
+
"@things-factory/resource-ui": "^4.3.159",
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.161",
|
|
95
|
+
"@things-factory/scene-data-transform": "^4.3.159",
|
|
96
|
+
"@things-factory/scene-excel": "^4.3.159",
|
|
97
|
+
"@things-factory/scene-firebase": "^4.3.159",
|
|
98
|
+
"@things-factory/scene-form": "^4.3.159",
|
|
99
|
+
"@things-factory/scene-google-map": "^4.3.159",
|
|
100
|
+
"@things-factory/scene-graphql": "^4.3.159",
|
|
101
|
+
"@things-factory/scene-label": "^4.3.159",
|
|
102
|
+
"@things-factory/scene-marker": "^4.3.159",
|
|
103
|
+
"@things-factory/scene-mqtt": "^4.3.159",
|
|
104
|
+
"@things-factory/scene-restful": "^4.3.159",
|
|
105
|
+
"@things-factory/scene-visualizer": "^4.3.159",
|
|
106
|
+
"@things-factory/setting-ui": "^4.3.159",
|
|
107
|
+
"@things-factory/system-ui": "^4.3.159",
|
|
108
|
+
"@things-factory/transport-base": "^4.3.159",
|
|
109
|
+
"@things-factory/tutorial-ui": "^4.3.159",
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.161",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.161"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
|
-
"@things-factory/builder": "^4.3.
|
|
114
|
+
"@things-factory/builder": "^4.3.159",
|
|
115
115
|
"cypress": "^9.4.1",
|
|
116
116
|
"cypress-file-upload": "^5.0.8",
|
|
117
117
|
"cypress-localstorage-commands": "^1.6.1",
|
|
118
118
|
"eslint-plugin-cypress": "^2.12.1"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "7fe9232a64285ebaa04382258806889c47924157"
|
|
121
121
|
}
|
package/translations/en.json
CHANGED
|
@@ -1302,6 +1302,7 @@
|
|
|
1302
1302
|
"text.invalid_release_qty": "invalid release qty",
|
|
1303
1303
|
"text.invalid_return_location": "invalid return location",
|
|
1304
1304
|
"text.invalid_unit_cost": "invalid unit cost",
|
|
1305
|
+
"text.invalid_unit_price": "invalid unit price",
|
|
1305
1306
|
"text.invalid_uom_value_input": "invalid uom value input",
|
|
1306
1307
|
"text.invalid_uom_value": "invalid uom value",
|
|
1307
1308
|
"text.invalid_value_in_list": "invalid value in list",
|
|
@@ -1620,6 +1621,7 @@
|
|
|
1620
1621
|
"text.invalid_product_sku": "invalid product SKU",
|
|
1621
1622
|
"text.invalid_expiration_date": "invalid expiration date",
|
|
1622
1623
|
"text.invalid_batch_no": "invalid batch no",
|
|
1624
|
+
"text.invalid_unit_price_not_a_number": "invalid unit price (not a number)",
|
|
1623
1625
|
"title.add_product": "add product",
|
|
1624
1626
|
"title.add_rule_field": "add rule field",
|
|
1625
1627
|
"title.add_tracking_no": "add tracking no",
|
package/translations/ko.json
CHANGED
|
@@ -2082,6 +2082,7 @@
|
|
|
2082
2082
|
"text.qty_should_not_have_decimal": "[ko] qty should not have decimal",
|
|
2083
2083
|
"text.tracking_no_already_exist_in_other_manifest_list": "[ko]tracking no already exist in other manifest list",
|
|
2084
2084
|
"text.invalid_product_sku": "[ko]invalid product SKU",
|
|
2085
|
+
"text.invalid_unit_price": "[ko] invalid unit price",
|
|
2085
2086
|
"text.invalid_expiration_date": "[ko]invalid expiration date",
|
|
2086
2087
|
"title.loading_qc_report": "[ko] loading qc report",
|
|
2087
2088
|
"field.route_id": "[ko] route id",
|
|
@@ -2092,5 +2093,6 @@
|
|
|
2092
2093
|
"field.tote_box": "[ko] tote box",
|
|
2093
2094
|
"field.total_seal": "[ko] total seal",
|
|
2094
2095
|
"field.obsolete": "[ko] obsolete",
|
|
2095
|
-
"text.obsolete_inventory_found_please_reassign": "[ko] obsolete inventory found, please reassign"
|
|
2096
|
+
"text.obsolete_inventory_found_please_reassign": "[ko] obsolete inventory found, please reassign",
|
|
2097
|
+
"text.invalid_unit_price_not_a_number": "[ko] invalid unit price (not a number)"
|
|
2096
2098
|
}
|
package/translations/ms.json
CHANGED
|
@@ -1265,6 +1265,7 @@
|
|
|
1265
1265
|
"text.invalid_vas_setting": "tetapan VAS tidak sah",
|
|
1266
1266
|
"text.invalid_x_input": "[ms]invalid {state.x} input",
|
|
1267
1267
|
"text.invalid_x": "tidak sah {state.x}",
|
|
1268
|
+
"text.invalid_unit_price": " [ms] invalid unit price",
|
|
1268
1269
|
"text.inventory_adjustment": "perubahan inventori",
|
|
1269
1270
|
"text.inventory_auto_assign_completed": "penetapan automatik inventori selesai",
|
|
1270
1271
|
"text.inventory_does_not_belong_to_current_company_account": "inventori bukan kepunyaan akaun syarikat semasa",
|
|
@@ -1965,5 +1966,6 @@
|
|
|
1965
1966
|
"field.tote_box": "[ms] tote box",
|
|
1966
1967
|
"field.total_seal": "[ms] total seal",
|
|
1967
1968
|
"field.obsolete": "[ms] obsolete",
|
|
1968
|
-
"text.obsolete_inventory_found_please_reassign": "[ms] obsolete inventory found, please reassign"
|
|
1969
|
+
"text.obsolete_inventory_found_please_reassign": "[ms] obsolete inventory found, please reassign",
|
|
1970
|
+
"text.invalid_unit_price_not_a_number": "[ms] invalid unit price (not a number)"
|
|
1969
1971
|
}
|
package/translations/zh.json
CHANGED
|
@@ -1232,6 +1232,7 @@
|
|
|
1232
1232
|
"text.invalid_vas_setting": "invalid VAS setting",
|
|
1233
1233
|
"text.invalid_x_input": "[zh]invalid {state.x} input",
|
|
1234
1234
|
"text.invalid_x": "invalid {state.x}",
|
|
1235
|
+
"text.invalid_unit_price": "[zh] invalid unit price",
|
|
1235
1236
|
"text.inventory_adjustment": "inventory adjustment",
|
|
1236
1237
|
"text.inventory_auto_assign_completed": "inventory auto assign completed",
|
|
1237
1238
|
"text.inventory_does_not_belong_to_current_company_account": "inventory does not belong to current company account",
|
|
@@ -1915,5 +1916,6 @@
|
|
|
1915
1916
|
"field.tote_box": "[zh] tote box",
|
|
1916
1917
|
"field.total_seal": "[zh] total seal",
|
|
1917
1918
|
"field.obsolete": "[zh] obsolete",
|
|
1918
|
-
"text.obsolete_inventory_found_please_reassign": "[zh] obsolete inventory found, please reassign"
|
|
1919
|
+
"text.obsolete_inventory_found_please_reassign": "[zh] obsolete inventory found, please reassign",
|
|
1920
|
+
"text.invalid_unit_price_not_a_number": "[zh] invalid unit price (not a number)"
|
|
1919
1921
|
}
|