@things-factory/operato-wms 4.3.70 → 4.3.71
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.
|
@@ -176,6 +176,7 @@ class PrintDeliveryOrder extends localize(i18next)(PageView) {
|
|
|
176
176
|
|
|
177
177
|
let orderInfo = deliveryOrderData.deliveryOrderInfo
|
|
178
178
|
let contactPoints = deliveryOrderData.contactPointInfo
|
|
179
|
+
this._roNo = orderInfo.releaseGood.name
|
|
179
180
|
this._status = orderInfo.doStatus
|
|
180
181
|
this._ownCollection = orderInfo.ownCollection
|
|
181
182
|
// this._customerContactPoints = deliveryOrderData.contactPointInfo
|
|
@@ -6,6 +6,7 @@ import gql from 'graphql-tag'
|
|
|
6
6
|
import { isMobileDevice } from '@things-factory/utils'
|
|
7
7
|
import { fetchSettingRule } from '../../fetch-setting-value'
|
|
8
8
|
import { ORDER_STATUS } from '../constants'
|
|
9
|
+
import { sleep } from '@things-factory/utils'
|
|
9
10
|
|
|
10
11
|
class GenerateWorksheetPopup extends localize(i18next)(LitElement) {
|
|
11
12
|
static get properties() {
|
|
@@ -127,8 +128,18 @@ class GenerateWorksheetPopup extends localize(i18next)(LitElement) {
|
|
|
127
128
|
<div class="button-container">
|
|
128
129
|
<mwc-button
|
|
129
130
|
raised
|
|
130
|
-
@click="${async
|
|
131
|
-
|
|
131
|
+
@click="${async e => {
|
|
132
|
+
const button = e.currentTarget
|
|
133
|
+
this.disableButton(button)
|
|
134
|
+
try {
|
|
135
|
+
this._generateStd == 'single'
|
|
136
|
+
? await this._generatePickingWorksheet()
|
|
137
|
+
: await this._generateBatchPickingWorksheet()
|
|
138
|
+
} finally {
|
|
139
|
+
await sleep(200)
|
|
140
|
+
this.enableButton(button)
|
|
141
|
+
}
|
|
142
|
+
}}"
|
|
132
143
|
label="${i18next.t('button.confirm')}"
|
|
133
144
|
></mwc-button>
|
|
134
145
|
</div>
|
|
@@ -322,6 +333,18 @@ class GenerateWorksheetPopup extends localize(i18next)(LitElement) {
|
|
|
322
333
|
}
|
|
323
334
|
}
|
|
324
335
|
|
|
336
|
+
disableButton(button) {
|
|
337
|
+
button.icon = 'rotate_right'
|
|
338
|
+
button.setAttribute('working', true)
|
|
339
|
+
button.disabled = true
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
enableButton(button) {
|
|
343
|
+
button.disabled = false
|
|
344
|
+
button.icon = ''
|
|
345
|
+
button.removeAttribute('working')
|
|
346
|
+
}
|
|
347
|
+
|
|
325
348
|
_showToast({ type, message }) {
|
|
326
349
|
document.dispatchEvent(
|
|
327
350
|
new CustomEvent('notify', {
|
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.71",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@things-factory/print-ui": "^4.3.69",
|
|
93
93
|
"@things-factory/product-base": "^4.3.69",
|
|
94
94
|
"@things-factory/resource-ui": "^4.3.69",
|
|
95
|
-
"@things-factory/sales-ui": "^4.3.
|
|
95
|
+
"@things-factory/sales-ui": "^4.3.71",
|
|
96
96
|
"@things-factory/scene-data-transform": "^4.3.69",
|
|
97
97
|
"@things-factory/scene-excel": "^4.3.69",
|
|
98
98
|
"@things-factory/scene-firebase": "^4.3.69",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@things-factory/transport-base": "^4.3.69",
|
|
110
110
|
"@things-factory/tutorial-ui": "^4.3.69",
|
|
111
111
|
"@things-factory/warehouse-base": "^4.3.69",
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.71"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"@things-factory/builder": "^4.3.66",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"cypress-localstorage-commands": "^1.6.1",
|
|
119
119
|
"eslint-plugin-cypress": "^2.12.1"
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "b625baf20f3ff9b95925a19f6dfd6fd0f797b6fd"
|
|
122
122
|
}
|