@things-factory/operato-wms 4.3.335 → 4.3.336
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.
|
@@ -2,11 +2,22 @@ import '@things-factory/grist-ui'
|
|
|
2
2
|
import '@things-factory/barcode-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
css,
|
|
7
|
+
html
|
|
8
|
+
} from 'lit-element'
|
|
6
9
|
|
|
7
10
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
8
|
-
import {
|
|
9
|
-
|
|
11
|
+
import {
|
|
12
|
+
i18next,
|
|
13
|
+
localize
|
|
14
|
+
} from '@things-factory/i18n-base'
|
|
15
|
+
import {
|
|
16
|
+
client,
|
|
17
|
+
CustomAlert,
|
|
18
|
+
navigate,
|
|
19
|
+
PageView
|
|
20
|
+
} from '@things-factory/shell'
|
|
10
21
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
11
22
|
import { isMobileDevice } from '@things-factory/utils'
|
|
12
23
|
|
|
@@ -236,6 +247,11 @@ class CreateLoadingManifest extends localize(i18next)(PageView) {
|
|
|
236
247
|
if (orderPackage) {
|
|
237
248
|
let manifestItems = this.shippingData.records || []
|
|
238
249
|
|
|
250
|
+
if (manifestItems.some(itm => itm.trackingNo == orderPackage.trackingNo)) {
|
|
251
|
+
this._showToast({ message: i18next.t('text.tracking_no_already_exist_in_manifest_list') })
|
|
252
|
+
return
|
|
253
|
+
}
|
|
254
|
+
|
|
239
255
|
if (
|
|
240
256
|
orderPackage?.releaseGood?.status === ORDER_STATUS.CANCELLED.value ||
|
|
241
257
|
orderPackage?.releaseGood?.status === ORDER_STATUS.PENDING_CANCEL.value
|
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.336",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@things-factory/print-ui": "^4.3.281",
|
|
92
92
|
"@things-factory/product-base": "^4.3.318",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.281",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.336",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.281",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.281",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.281",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"@things-factory/system-ui": "^4.3.281",
|
|
108
108
|
"@things-factory/transport-base": "^4.3.301",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.281",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.336",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.336"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.281",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"cypress-localstorage-commands": "^1.6.1",
|
|
118
118
|
"eslint-plugin-cypress": "^2.12.1"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "97746a42dec3f21a613e14d894650cc474ff6241"
|
|
121
121
|
}
|