@things-factory/operato-wms 3.8.22 → 3.8.26
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.
|
@@ -1,16 +1,19 @@
|
|
|
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
|
+
|
|
6
|
+
import gql from 'graphql-tag'
|
|
7
|
+
import { css, html } from 'lit-element'
|
|
8
|
+
|
|
9
|
+
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
4
10
|
import { getRenderer } from '@things-factory/grist-ui'
|
|
5
11
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
6
12
|
import { openPopup } from '@things-factory/layout-base'
|
|
7
13
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
import '../../components/attachment-viewer'
|
|
12
|
-
import '../../components/popup-note'
|
|
13
|
-
import '../../components/vas-templates'
|
|
14
|
+
import { CommonButtonStyles } from '@things-factory/styles'
|
|
15
|
+
import { isMobileDevice } from '@things-factory/utils'
|
|
16
|
+
|
|
14
17
|
import {
|
|
15
18
|
ORDER_STATUS,
|
|
16
19
|
VAS_BATCH_AND_PRODUCT_TYPE,
|
|
@@ -18,7 +21,6 @@ import {
|
|
|
18
21
|
VAS_ETC_TYPE,
|
|
19
22
|
VAS_PRODUCT_TYPE
|
|
20
23
|
} from '../../constants'
|
|
21
|
-
import { BufferLocationSelector } from '@things-factory/warehouse-ui'
|
|
22
24
|
|
|
23
25
|
class AssignBufferLocation extends localize(i18next)(PageView) {
|
|
24
26
|
static get properties() {
|
|
@@ -432,6 +434,12 @@ class AssignBufferLocation extends localize(i18next)(PageView) {
|
|
|
432
434
|
refNo2
|
|
433
435
|
refNo3
|
|
434
436
|
importCargo
|
|
437
|
+
purchaseOrder {
|
|
438
|
+
bufferLocation {
|
|
439
|
+
id
|
|
440
|
+
name
|
|
441
|
+
}
|
|
442
|
+
}
|
|
435
443
|
attachment {
|
|
436
444
|
id
|
|
437
445
|
name
|
|
@@ -504,7 +512,13 @@ class AssignBufferLocation extends localize(i18next)(PageView) {
|
|
|
504
512
|
|
|
505
513
|
if (!response.errors) {
|
|
506
514
|
const { arrivalNotice } = response.data
|
|
507
|
-
const { orderProducts, orderVass } = arrivalNotice
|
|
515
|
+
const { orderProducts, orderVass, purchaseOrder } = arrivalNotice
|
|
516
|
+
|
|
517
|
+
if (purchaseOrder) {
|
|
518
|
+
const bufferLocation = purchaseOrder.bufferLocation
|
|
519
|
+
this.bufferLocationField.value = bufferLocation?.name
|
|
520
|
+
this.bufferLocationField.setAttribute('location-id', bufferLocation.id)
|
|
521
|
+
}
|
|
508
522
|
|
|
509
523
|
this.orderBizplace = arrivalNotice.bizplace
|
|
510
524
|
this._hasContainer = arrivalNotice.containerNo ? true : false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.26",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@things-factory/attachment-ui": "^3.8.0",
|
|
47
47
|
"@things-factory/auth-ui": "^3.8.0",
|
|
48
48
|
"@things-factory/barcode-ui": "^3.8.0",
|
|
49
|
-
"@things-factory/biz-ui": "^3.8.
|
|
49
|
+
"@things-factory/biz-ui": "^3.8.26",
|
|
50
50
|
"@things-factory/board-service": "^3.8.0",
|
|
51
51
|
"@things-factory/board-ui": "^3.8.0",
|
|
52
52
|
"@things-factory/code-ui": "^3.8.0",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"@things-factory/print-proxy-service": "^3.8.0",
|
|
70
70
|
"@things-factory/print-service": "^3.8.0",
|
|
71
71
|
"@things-factory/print-ui": "^3.8.0",
|
|
72
|
-
"@things-factory/product-base": "^3.8.
|
|
72
|
+
"@things-factory/product-base": "^3.8.26",
|
|
73
73
|
"@things-factory/resource-ui": "^3.8.0",
|
|
74
|
-
"@things-factory/sales-ui": "^3.8.
|
|
74
|
+
"@things-factory/sales-ui": "^3.8.26",
|
|
75
75
|
"@things-factory/scene-chartjs": "^3.7.5",
|
|
76
76
|
"@things-factory/scene-clock": "^3.7.5",
|
|
77
77
|
"@things-factory/scene-clone": "^3.7.5",
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
"@things-factory/scene-wheel-sorter": "^3.7.5",
|
|
101
101
|
"@things-factory/setting-ui": "^3.8.19",
|
|
102
102
|
"@things-factory/system-ui": "^3.8.0",
|
|
103
|
-
"@things-factory/transport-base": "^3.8.
|
|
103
|
+
"@things-factory/transport-base": "^3.8.26",
|
|
104
104
|
"@things-factory/tutorial-ui": "^3.8.0",
|
|
105
|
-
"@things-factory/warehouse-base": "^3.8.
|
|
106
|
-
"@things-factory/worksheet-base": "^3.8.
|
|
105
|
+
"@things-factory/warehouse-base": "^3.8.26",
|
|
106
|
+
"@things-factory/worksheet-base": "^3.8.26"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@things-factory/builder": "^3.7.5"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "6ca26d91b7dad8eec6bc7859391bbd50374c744b"
|
|
112
112
|
}
|