@things-factory/operato-wms 4.3.111 → 4.3.112

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.
@@ -23,14 +23,12 @@ class BulkOperation extends localize(i18next)(PageView) {
23
23
  display: block;
24
24
  --menu-cards-size: 300px;
25
25
  }
26
-
27
26
  ul {
28
27
  margin: var(--margin-wide) 0;
29
28
  padding: 0;
30
29
  overflow: hidden;
31
30
  list-style: none;
32
31
  }
33
-
34
32
  li {
35
33
  display: block;
36
34
  float: left;
@@ -42,17 +40,14 @@ class BulkOperation extends localize(i18next)(PageView) {
42
40
  padding: var(--padding-default) var(--padding-default) var(--padding-narrow) var(--padding-default);
43
41
  text-align: center;
44
42
  }
45
-
46
43
  li:hover {
47
44
  border: 1px solid var(--primary-color);
48
45
  }
49
-
50
46
  a {
51
47
  cursor: pointer;
52
48
  text-decoration: none;
53
49
  color: var(--secondary-color);
54
50
  }
55
-
56
51
  mwc-icon {
57
52
  font-size: 18px;
58
53
  color: var(--primary-color);
@@ -60,14 +55,12 @@ class BulkOperation extends localize(i18next)(PageView) {
60
55
  border-radius: var(--border-radius);
61
56
  background-color: var(--theme-white-color);
62
57
  }
63
-
64
58
  a,
65
59
  span {
66
60
  overflow: hidden;
67
61
  white-space: nowrap;
68
62
  text-overflow: ellipsis;
69
63
  }
70
-
71
64
  [subtitle] {
72
65
  padding: var(--subtitle-padding);
73
66
  font: var(--subtitle-font);
@@ -77,28 +70,23 @@ class BulkOperation extends localize(i18next)(PageView) {
77
70
  justify-content: center;
78
71
  align-items: center;
79
72
  }
80
-
81
73
  form {
82
74
  display: block;
83
75
  width: var(--menu-cards-size);
84
76
  }
85
-
86
77
  .multi-column-form input {
87
78
  min-width: 85% !important;
88
79
  }
89
-
90
80
  [attachment-wrap] {
91
81
  display: flex;
92
82
  flex-direction: row;
93
83
  justify-content: center;
94
84
  grid-column: span 24;
95
85
  }
96
-
97
86
  [attachment-wrap] file-uploader {
98
87
  flex: 1;
99
88
  background-color: var(--theme-white-color);
100
89
  }
101
-
102
90
  .button-container {
103
91
  padding: var(--button-container-padding);
104
92
  margin: var(--button-container-margin);
@@ -106,7 +94,6 @@ class BulkOperation extends localize(i18next)(PageView) {
106
94
  background-color: var(--button-container-background);
107
95
  height: var(--button-container-height);
108
96
  }
109
-
110
97
  @media screen and (max-width: 600px) {
111
98
  ul {
112
99
  display: grid;
@@ -117,7 +104,6 @@ class BulkOperation extends localize(i18next)(PageView) {
117
104
  grid-column: span 2;
118
105
  }
119
106
  }
120
-
121
107
  @media screen and (max-width: 460px) {
122
108
  [attachment-wrap] {
123
109
  grid-column: span 12;
@@ -170,12 +156,13 @@ class BulkOperation extends localize(i18next)(PageView) {
170
156
  }
171
157
 
172
158
  get _ganData() {
159
+ let date = (new Date().getMonth() + 1).toString() + '-' + new Date().getDate().toString() + '-' + new Date().getFullYear()
173
160
  return [
174
161
  {
175
162
  refNo: '',
176
163
  refNo2: '',
177
164
  refNo3: '',
178
- etaDate: new Date(),
165
+ etaDate: date,
179
166
  truckNo: '',
180
167
  containerNo: '',
181
168
  containerSize: '',
@@ -189,7 +176,7 @@ class BulkOperation extends localize(i18next)(PageView) {
189
176
  uom: '',
190
177
  packQty: 0,
191
178
  palletQty: 0,
192
- manufactureDate: new Date(),
179
+ manufactureDate: '',
193
180
  unitPrice: ''
194
181
  }
195
182
  ]
@@ -268,7 +255,6 @@ class BulkOperation extends localize(i18next)(PageView) {
268
255
  >
269
256
  </div>
270
257
  </li>
271
-
272
258
  <li>
273
259
  <div subtitle>
274
260
  Release Order &nbsp;
@@ -276,7 +262,6 @@ class BulkOperation extends localize(i18next)(PageView) {
276
262
  <mwc-icon>file_download</mwc-icon>
277
263
  </a>
278
264
  </div>
279
-
280
265
  <form name="input-form" class="multi-column-form" autocomplete="off">
281
266
  <fieldset>
282
267
  <div attachment-wrap>
@@ -302,7 +287,6 @@ class BulkOperation extends localize(i18next)(PageView) {
302
287
  </div>
303
288
  </fieldset>
304
289
  </form>
305
-
306
290
  <div class="button-container">
307
291
  <mwc-button raised @click=${async () => await this._extractRawDataFromExcel(this._roDocument, 'RO')}
308
292
  >${i18next.t('button.validate')}</mwc-button
@@ -404,9 +388,10 @@ class BulkOperation extends localize(i18next)(PageView) {
404
388
  html`
405
389
  <validate-gan-popup
406
390
  .records=${records.map(raw => {
407
- let etaDate = new Date((raw.etaDate - (25567 + 1)) * 86400 * 1000 || null)
408
- let mfgDate = new Date((raw.manufactureDate - (25567 + 1)) * 86400 * 1000 || null)
409
-
391
+ // let etaDate = new Date((raw.etaDate - (25567 + 1)) * 86400 * 1000 || null)
392
+ // let mfgDate = new Date((raw.manufactureDate - (25567 + 1)) * 86400 * 1000 || null)
393
+ let etaDate = new Date(String(raw.etaDate || ''))
394
+ let mfgDate = new Date(String(raw.manufactureDate || ''))
410
395
  return {
411
396
  refNo: String(raw.refNo || ''),
412
397
  refNo2: String(raw.refNo2 || ''),
@@ -426,14 +411,8 @@ class BulkOperation extends localize(i18next)(PageView) {
426
411
  packQty: parseInt(raw.packQty || 0),
427
412
  palletQty: parseInt(raw.palletQty || 0),
428
413
  unitPrice: Number(raw.unitPrice || 0),
429
- manufactureDate: `${mfgDate.getFullYear()}-${(mfgDate.getMonth() + 1).toString().padStart(2, 0)}-${mfgDate
430
- .getDate()
431
- .toString()
432
- .padStart(2, 0)}`,
433
- etaDate: `${etaDate.getFullYear()}-${(etaDate.getMonth() + 1).toString().padStart(2, 0)}-${etaDate
434
- .getDate()
435
- .toString()
436
- .padStart(2, 0)}`
414
+ manufactureDate: this._getStdDateStr(mfgDate),
415
+ etaDate: this._getStdDateStr(etaDate)
437
416
  }
438
417
  })}
439
418
  .ganProcessing=${this.ganProcessingSetting}
@@ -461,7 +440,6 @@ class BulkOperation extends localize(i18next)(PageView) {
461
440
  <validate-ro-popup
462
441
  .records=${records.map(record => {
463
442
  let releaseDate = new Date(String(record.releaseDate || ''))
464
-
465
443
  return {
466
444
  refNo: String(record.refNo || ''),
467
445
  refNo2: String(record.refNo2 || ''),
@@ -480,11 +458,7 @@ class BulkOperation extends localize(i18next)(PageView) {
480
458
  packingType: record.packingType && record.packingType != '' ? String(record.packingType) : null,
481
459
  packingSize: !isNaN(Number(record.packingSize || 'x')) ? Number(record.packingSize) : null,
482
460
  uom: record.uom && record.uom != '' ? String(record.uom) : null,
483
- releaseQty: Number(record.releaseQty)
484
- ? Math.floor(Number(record.releaseQty)) < 1
485
- ? 1
486
- : Math.floor(Number(record.releaseQty))
487
- : null,
461
+ releaseQty: parseInt(record.releaseQty),
488
462
  postalCode: String(record.postalCode || ''),
489
463
  phone1: String(record.phone1 || ''),
490
464
  exportOption: false,
@@ -1,12 +1,22 @@
1
1
  import '@things-factory/grist-ui'
2
2
 
3
3
  import gql from 'graphql-tag'
4
- import { css, html, LitElement } from 'lit-element'
4
+ import {
5
+ css,
6
+ html,
7
+ LitElement
8
+ } from 'lit-element'
5
9
  import { connect } from 'pwa-helpers/connect-mixin'
6
10
 
7
11
  import { SingleColumnFormStyles } from '@things-factory/form-ui'
8
- import { i18next, localize } from '@things-factory/i18n-base'
9
- import { client, store } from '@things-factory/shell'
12
+ import {
13
+ i18next,
14
+ localize
15
+ } from '@things-factory/i18n-base'
16
+ import {
17
+ client,
18
+ store
19
+ } from '@things-factory/shell'
10
20
  import { isMobileDevice } from '@things-factory/utils'
11
21
 
12
22
  class UndoUnloadPopup extends connect(store)(localize(i18next)(LitElement)) {
@@ -19,13 +29,15 @@ class UndoUnloadPopup extends connect(store)(localize(i18next)(LitElement)) {
19
29
  enableProductScanning: Boolean,
20
30
  orderType: String,
21
31
  orderNo: String,
22
- unloadedInventories: Array
32
+ unloadedInventories: Array,
33
+ _isExecuting: Boolean
23
34
  }
24
35
  }
25
36
 
26
37
  constructor() {
27
38
  super()
28
39
  this._selectedRecords = []
40
+ this._isExecuting= false
29
41
  }
30
42
 
31
43
  static get styles() {
@@ -123,7 +135,7 @@ class UndoUnloadPopup extends connect(store)(localize(i18next)(LitElement)) {
123
135
  </div>
124
136
 
125
137
  <div class="button-container">
126
- <mwc-button raised @click="${this._undoUnloading.bind(this)}" label="${i18next.t('button.undo')}"></mwc-button>
138
+ <mwc-button raised @click="${this._undoUnloading.bind(this)}" label="${i18next.t('button.undo')}" ?disabled=${this._isExecuting}></mwc-button>
127
139
  </div>
128
140
  `
129
141
  }
@@ -214,6 +226,8 @@ class UndoUnloadPopup extends connect(store)(localize(i18next)(LitElement)) {
214
226
 
215
227
  async _undoUnloading() {
216
228
  try {
229
+ if(!this._isExecuting){
230
+ this._isExecuting = true
217
231
  let selectedInventoryIds = []
218
232
  selectedInventoryIds = this.dataGrist.selected.map(inventory => inventory.id)
219
233
 
@@ -233,9 +247,13 @@ class UndoUnloadPopup extends connect(store)(localize(i18next)(LitElement)) {
233
247
  if (!response.errors) {
234
248
  this.dispatchEvent(new CustomEvent('undo-inventory'))
235
249
  }
250
+ }
236
251
  } catch (e) {
237
252
  this._showToast(e)
253
+ }finally {
254
+ this._isExecuting = false
238
255
  }
256
+
239
257
  }
240
258
 
241
259
  _populateTargetedInventory(e) {
@@ -56,7 +56,6 @@ class CheckInventoryPopup extends localize(i18next)(LitElement) {
56
56
  height: var(--button-container-button-height);
57
57
  border: var(--button-container-button-border);
58
58
  margin: var(--button-container-button-margin);
59
-
60
59
  padding: var(--button-padding);
61
60
  color: var(--theme-white-color);
62
61
  font: var(--button-font);
@@ -109,12 +108,10 @@ class CheckInventoryPopup extends localize(i18next)(LitElement) {
109
108
  <legend>${i18next.t('title.scan_area')}</legend>
110
109
  <label>${i18next.t('label.lot_id')}</label>
111
110
  <barcode-scanable-input name="palletId" custom-input></barcode-scanable-input>
112
-
113
111
  <label>${i18next.t('label.current_location')}</label>
114
112
  <barcode-scanable-input name="location" custom-input></barcode-scanable-input>
115
113
  </fieldset>
116
114
  </form>
117
-
118
115
  <div class="button-container">
119
116
  <mwc-button raised @click="${this._checkPalletId}" label="${i18next.t('button.check')}"></mwc-button>
120
117
  </div>
@@ -149,7 +146,17 @@ class CheckInventoryPopup extends localize(i18next)(LitElement) {
149
146
  )
150
147
  } else {
151
148
  const invInfo = await this._checkCurrentLocationinCC(this.palletIdInput.value, this.cycleCountNo)
152
- if (invInfo.currentLocation !== this.locationInput.value) {
149
+
150
+ if (!invInfo) {
151
+ this.dispatchEvent(
152
+ new CustomEvent('not-in-cc', {
153
+ detail: {
154
+ palletId: this.palletIdInput.value,
155
+ cycleCountNo: this.cycleCountNo
156
+ }
157
+ })
158
+ )
159
+ } else if (invInfo?.currentLocation !== this.locationInput.value) {
153
160
  this.dispatchEvent(
154
161
  new CustomEvent('relocate-inventory', {
155
162
  detail: {
@@ -170,7 +177,6 @@ class CheckInventoryPopup extends localize(i18next)(LitElement) {
170
177
  }
171
178
  }
172
179
  } catch (e) {
173
- history.back()
174
180
  this._showToast(e)
175
181
  }
176
182
  }
@@ -223,6 +229,8 @@ class CheckInventoryPopup extends localize(i18next)(LitElement) {
223
229
 
224
230
  if (!response.errors) {
225
231
  return response.data.checkStockTakeCurrentLocation
232
+ } else {
233
+ return response.errors
226
234
  }
227
235
  } catch (e) {
228
236
  this.showToast(e)
@@ -62,14 +62,12 @@ class CycleCountReport extends localize(i18next)(PageView) {
62
62
  font: var(--grist-title-font);
63
63
  color: var(--secondary-color);
64
64
  }
65
-
66
65
  .grist h2 mwc-icon {
67
66
  vertical-align: middle;
68
67
  margin: var(--grist-title-icon-margin);
69
68
  font-size: var(--grist-title-icon-size);
70
69
  color: var(--grist-title-icon-color);
71
70
  }
72
-
73
71
  h2 + data-grist {
74
72
  padding-top: var(--grist-title-with-grid-padding);
75
73
  }
@@ -87,18 +85,20 @@ class CycleCountReport extends localize(i18next)(PageView) {
87
85
  ]
88
86
 
89
87
  if (this._reportStatus === ORDER_STATUS.PENDING_REVIEW.value) {
90
- actions.push({
91
- title: i18next.t('button.adjust_inventory'),
92
- action: this._adjustInventory.bind(this),
93
- ...CommonButtonStyles.edit
94
- })
95
-
96
- if (this.cycleCountType === WORKSHEET_TYPE.CYCLE_COUNT.value) {
88
+ if (this.isUserBelongsDomain) {
97
89
  actions.push({
98
- title: i18next.t('button.reject'),
99
- action: this.openCycleCountRecheckPopup.bind(this),
100
- ...CommonButtonStyles.reject
90
+ title: i18next.t('button.adjust_inventory'),
91
+ action: this._adjustInventory.bind(this),
92
+ ...CommonButtonStyles.edit
101
93
  })
94
+
95
+ if (this.cycleCountType === WORKSHEET_TYPE.CYCLE_COUNT.value) {
96
+ actions.push({
97
+ title: i18next.t('button.reject'),
98
+ action: this.openCycleCountRecheckPopup.bind(this),
99
+ ...CommonButtonStyles.reject
100
+ })
101
+ }
102
102
  }
103
103
  }
104
104
 
@@ -125,16 +125,12 @@ class CycleCountReport extends localize(i18next)(PageView) {
125
125
  <legend>${i18next.t('title.cycle_count')}</legend>
126
126
  <label>${i18next.t('label.company')}</label>
127
127
  <input name="bizplace" readonly />
128
-
129
128
  <label>${i18next.t('label.cycle_count_no')}</label>
130
129
  <input name="cycleCountNo" readonly />
131
-
132
130
  <label>${i18next.t('label.execute_date')}</label>
133
131
  <input name="executionDate" readonly />
134
-
135
132
  <label>${i18next.t('label.inventory_accuracy')}</label>
136
133
  <input name="inventoryAccuracy" value="${this.inventoryAccuracy ? this.inventoryAccuracy : ''}" readonly />
137
-
138
134
  <label>${i18next.t('label.status')}</label>
139
135
  <select name="status" disabled>
140
136
  ${Object.keys(ORDER_STATUS).map(
@@ -146,10 +142,8 @@ class CycleCountReport extends localize(i18next)(PageView) {
146
142
  </fieldset>
147
143
  </form>
148
144
  </div>
149
-
150
145
  <div class="grist">
151
146
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.inventory')}</h2>
152
-
153
147
  <data-grist
154
148
  id="grist"
155
149
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
@@ -171,7 +165,8 @@ class CycleCountReport extends localize(i18next)(PageView) {
171
165
  }
172
166
  }
173
167
 
174
- pageInitialized() {
168
+ async pageInitialized() {
169
+ this.isUserBelongsDomain = await this._checkUserBelongsDomain()
175
170
  this.config = {
176
171
  rows: {
177
172
  appendable: false,
@@ -577,6 +572,24 @@ class CycleCountReport extends localize(i18next)(PageView) {
577
572
  )
578
573
  }
579
574
 
575
+ async _checkUserBelongsDomain() {
576
+ try {
577
+ const response = await client.query({
578
+ query: gql`
579
+ query {
580
+ checkUserBelongsDomain
581
+ }
582
+ `
583
+ })
584
+
585
+ if (!response.errors) {
586
+ return response.data.checkUserBelongsDomain
587
+ }
588
+ } catch (e) {
589
+ this._showToast(e)
590
+ }
591
+ }
592
+
580
593
  async _exportableData() {
581
594
  try {
582
595
  let data = []
@@ -61,14 +61,12 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
61
61
  flex: 1;
62
62
  overflow: auto;
63
63
  }
64
-
65
64
  .left-column {
66
65
  flex: 1;
67
66
  overflow: auto;
68
67
  display: flex;
69
68
  flex-direction: column;
70
69
  }
71
-
72
70
  .right-column {
73
71
  flex: 1;
74
72
  overflow: auto;
@@ -93,14 +91,12 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
93
91
  font: var(--grist-title-font);
94
92
  color: var(--secondary-color);
95
93
  }
96
-
97
94
  .grist h2 mwc-icon {
98
95
  vertical-align: middle;
99
96
  margin: var(--grist-title-icon-margin);
100
97
  font-size: var(--grist-title-icon-size);
101
98
  color: var(--grist-title-icon-color);
102
99
  }
103
-
104
100
  h2 + data-grist {
105
101
  padding-top: var(--grist-title-with-grid-padding);
106
102
  }
@@ -130,20 +126,16 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
130
126
  }}"
131
127
  ></barcode-scanable-input>
132
128
  </fieldset>
133
-
134
129
  <fieldset>
135
130
  <legend>
136
131
  ${`${i18next.t('title.inventory_inspection')} ${`: ${this.cycleCountNo ? this.cycleCountNo : ''}`}`}
137
132
  </legend>
138
-
139
133
  <label>${i18next.t('label.company')}</label>
140
134
  <input name="bizplace" readonly />
141
-
142
135
  <label>${i18next.t('label.started_at')}</label>
143
136
  <input name="startedAt" type="datetime-local" readonly />
144
137
  </fieldset>
145
138
  </form>
146
-
147
139
  <div class="grist">
148
140
  <div class="left-column">
149
141
  <form id="condition-form" class="multi-column-form" @change="${this.fillUpGrist.bind(this)}">
@@ -157,19 +149,16 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
157
149
  <option></option>
158
150
  ${this.warehouses.map(warehouse => html` <option>${warehouse}</option> `)}
159
151
  </select>
160
-
161
152
  <label>${i18next.t('field.zone')}</label>
162
153
  <select name="zone" .disabled="${!this.formattedLocations?.length}">
163
154
  <option></option>
164
155
  ${this.zones.map(zone => html`<option>${zone}</option>`)}
165
156
  </select>
166
-
167
157
  <label>${i18next.t('field.row')}</label>
168
158
  <select name="row" .disabled="${!this.formattedLocations?.length}">
169
159
  <option selected></option>
170
160
  ${this.rows.map(row => html`<option ?selected="${row === this.selectedRow}">${row}</option>`)}
171
161
  </select>
172
-
173
162
  <label>${i18next.t('field.column')}</label>
174
163
  <select name="column" .disabled="${!this.formattedLocations?.length}">
175
164
  <option selected></option>
@@ -179,7 +168,6 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
179
168
  </select>
180
169
  </fieldset>
181
170
  </form>
182
-
183
171
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.location')}</h2>
184
172
  <data-grist
185
173
  id="location-grist"
@@ -187,7 +175,6 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
187
175
  .config="${this.locationConfig}"
188
176
  .data="${this.locationData}"
189
177
  ></data-grist>
190
-
191
178
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.inventories')}</h2>
192
179
  <data-grist
193
180
  id="inventory-grist"
@@ -196,7 +183,6 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
196
183
  .data="${this.inventoryData}"
197
184
  ></data-grist>
198
185
  </div>
199
-
200
186
  <div class="right-column">
201
187
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.missing_pallets')}</h2>
202
188
  <data-grist
@@ -205,7 +191,6 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
205
191
  .config="${this.missingInventoryConfig}"
206
192
  .data="${this.missingInventoryData}"
207
193
  ></data-grist>
208
-
209
194
  <div id="input-form-container">
210
195
  <form
211
196
  id="input-form"
@@ -226,15 +211,12 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
226
211
  ${this.selectedInventory?.productName ? this.selectedInventory.productName : ''}
227
212
  (${this.selectedInventory?.productDescription ? this.selectedInventory.productDescription : ''})
228
213
  </legend>
229
-
230
214
  <label>${i18next.t('field.lot_id')}</label>
231
215
  ${this.viewType === VIEW_TYPE.INVENTORY_SELECTED || this.viewType === VIEW_TYPE.MISSING_PALLET_SELECTED
232
216
  ? html` <input name="palletId" readonly .value="${this.selectedInventory?.palletId || ''}" /> `
233
217
  : html` <barcode-scanable-input name="palletId" custom-input></barcode-scanable-input>`}
234
-
235
218
  <label>${i18next.t('label.inspected_batch_no')}</label>
236
219
  <input name="inspectedBatchNo" .value="${this.selectedInventory?.batchId || ''}" />
237
-
238
220
  <label>${i18next.t('label.inspected_qty')}</label>
239
221
  <input
240
222
  name="inspectedQty"
@@ -243,7 +225,6 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
243
225
  ? this.selectedInventory?.inspectedQty || ''
244
226
  : this.selectedInventory?.inspectedQty || this.selectedInventory?.qty || ''}"
245
227
  />
246
-
247
228
  <label>${i18next.t('label.inspected_uom_value')}</label>
248
229
  <input
249
230
  name="inspectedUomValue"
@@ -253,10 +234,8 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
253
234
  ? this.selectedInventory?.inspectedUomValue || ''
254
235
  : this.selectedInventory?.inspectedUomValue || this.selectedInventory?.uomValue || ''}"
255
236
  />
256
-
257
237
  <label>${i18next.t('label.uom')}</label>
258
238
  <input name="uom" .value="${this.selectedInventory?.uom || ''}" readonly />
259
-
260
239
  <label>${i18next.t('field.location')}</label>
261
240
  ${this.viewType === VIEW_TYPE.INVENTORY_SELECTED
262
241
  ? html` <input name="location" readonly .value="${this.selectedLocation?.name || ''}" /> `
@@ -280,6 +259,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
280
259
  this.zones = []
281
260
  this.rows = []
282
261
  this.columns = []
262
+ this.selectedLocation = { records: [] }
283
263
  }
284
264
 
285
265
  get context() {
@@ -331,10 +311,16 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
331
311
  }
332
312
 
333
313
  get locationInput() {
334
- if (this.viewType === VIEW_TYPE.INVENTORY_SELECTED) {
335
- return this.renderRoot.querySelector('input[name=location]')
336
- } else {
314
+ // if (this.viewType === VIEW_TYPE.INVENTORY_SELECTED) {
315
+ // return this.renderRoot.querySelector('input[name=location]')
316
+ // } else {
317
+ // return this.renderRoot.querySelector('barcode-scanable-input[name=location]').renderRoot.querySelector('input')
318
+ // }
319
+
320
+ if (this.renderRoot?.querySelector('barcode-scanable-input[name=location]')) {
337
321
  return this.renderRoot.querySelector('barcode-scanable-input[name=location]').renderRoot.querySelector('input')
322
+ } else {
323
+ return this.renderRoot.querySelector('input[name=location]')
338
324
  }
339
325
  }
340
326
 
@@ -401,6 +387,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
401
387
  click: async (columns, data, column, record, rowIndex) => {
402
388
  if (!this.selectedInventory?.id !== record.id) {
403
389
  this.selectedInventory = record
390
+ this.locationInput.value = this.selectedLocation.name
404
391
  this.viewType = VIEW_TYPE.INVENTORY_SELECTED
405
392
  await this.checkOrderInventory()
406
393
  this.updateContext(this.viewType)
@@ -993,13 +980,25 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
993
980
  this.viewType = VIEW_TYPE.INVENTORY_SELECTED
994
981
  this.updateContext(this.viewType)
995
982
  this.selectedInventory = e.detail.recordInformation
996
- this.locationInput.value = e.detail.locationInput
997
983
  await CustomAlert({
998
984
  title: i18next.t('title.inventory_in_current_location'),
999
985
  text: i18next.t('text.kindly_continue_inspect_the_inventory'),
1000
986
  confirmButton: { text: i18next.t('button.okay') }
1001
987
  })
1002
988
  }}"
989
+ @not-in-cc="${async e => {
990
+ history.back()
991
+ this.viewType = VIEW_TYPE.INVENTORY_SELECTED
992
+ this.updateContext(this.viewType)
993
+ await CustomAlert({
994
+ title: i18next.t('title.inventory_not_found'),
995
+ text: i18next.t('text.pallet_(x)_is_not_found_in_cycle_count_worksheet_(y)', {
996
+ x: e.detail.palletId,
997
+ y: e.detail.cycleCountNo
998
+ }),
999
+ confirmButton: { text: i18next.t('button.okay') }
1000
+ })
1001
+ }}"
1003
1002
  ></check-inventory-popup>
1004
1003
  `,
1005
1004
  {
@@ -1192,6 +1191,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
1192
1191
  if (!response.errors) {
1193
1192
  await this.fetchCycleCountWorksheet()
1194
1193
  this.renewInventoryGrist()
1194
+ this.resetInput()
1195
1195
  }
1196
1196
  } catch (e) {
1197
1197
  this.showToast(e)
@@ -1276,7 +1276,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
1276
1276
  return response.data.checkInventoryOwner
1277
1277
  }
1278
1278
  } catch (e) {
1279
- this.showToast(e)
1279
+ return false
1280
1280
  }
1281
1281
  }
1282
1282
 
@@ -1348,14 +1348,16 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
1348
1348
  throw new Error(i18next.t('text.x_should_be_positive', { state: { x: i18next.t('field.inspected_uom_value') } }))
1349
1349
  }
1350
1350
 
1351
- const locationName = this.locationInput.value
1352
- if (!locationName) {
1353
- this.selectOnInput(this.locationInput)
1354
- throw new Error(i18next.t('text.invalid_x', { state: { x: i18next.t('label.location') } }))
1355
- } else {
1356
- const locationExist = await this.validateLocation(locationName)
1357
- if (!locationExist) {
1351
+ if (this.locationInput) {
1352
+ const locationName = this.locationInput?.value
1353
+ if (!locationName) {
1354
+ this.selectOnInput(this.locationInput)
1358
1355
  throw new Error(i18next.t('text.invalid_x', { state: { x: i18next.t('label.location') } }))
1356
+ } else {
1357
+ const locationExist = await this.validateLocation(locationName)
1358
+ if (!locationExist) {
1359
+ throw new Error(i18next.t('text.invalid_x', { state: { x: i18next.t('label.location') } }))
1360
+ }
1359
1361
  }
1360
1362
  }
1361
1363
  }
@@ -25,7 +25,6 @@ class InventoryCheckList extends localize(i18next)(PageView) {
25
25
  flex-direction: column;
26
26
  overflow: hidden;
27
27
  }
28
-
29
28
  search-form {
30
29
  overflow: visible;
31
30
  }
@@ -48,7 +47,6 @@ class InventoryCheckList extends localize(i18next)(PageView) {
48
47
  render() {
49
48
  return html`
50
49
  <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
51
-
52
50
  <data-grist
53
51
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
54
52
  .config=${this.config}
@@ -170,56 +168,105 @@ class InventoryCheckList extends localize(i18next)(PageView) {
170
168
  name: 'inventoryCheck',
171
169
  header: i18next.t('field.inventory_check_no'),
172
170
  sortable: true,
173
- width: 150
171
+ width: 150,
172
+ imex: {
173
+ header: i18next.t('field.inventory_check_no'),
174
+ key: 'inventoryCheck.name',
175
+ width: 50,
176
+ type: 'string'
177
+ }
174
178
  },
175
179
  {
176
180
  type: 'object',
177
181
  name: 'bizplace',
178
182
  header: i18next.t('field.company'),
179
183
  sortable: true,
180
- width: 250
184
+ width: 250,
185
+ imex: {
186
+ header: i18next.t('field.company'),
187
+ key: 'bizplace.name',
188
+ width: 30,
189
+ type: 'array',
190
+ arrData: []
191
+ }
181
192
  },
182
193
  {
183
194
  type: 'date',
184
195
  name: 'executionDate',
185
196
  header: i18next.t('field.execution_date'),
186
197
  sortable: true,
187
- width: 120
198
+ width: 120,
199
+ imex: {
200
+ header: i18next.t('field.execution_date'),
201
+ key: 'executionDate',
202
+ width: 30,
203
+ type: 'string'
204
+ }
188
205
  },
189
206
  {
190
207
  type: 'string',
191
208
  name: 'inventoryCheckStatus',
192
209
  header: i18next.t('field.order_status'),
193
210
  sortable: true,
194
- width: 120
211
+ width: 120,
212
+ imex: {
213
+ header: i18next.t('field.order_status'),
214
+ key: 'inventoryCheckStatus',
215
+ width: 20,
216
+ type: 'string'
217
+ }
195
218
  },
196
219
  {
197
220
  type: 'string',
198
221
  name: 'status',
199
222
  header: i18next.t('field.task_status'),
200
223
  sortable: true,
201
- width: 120
224
+ width: 120,
225
+ imex: {
226
+ header: i18next.t('field.task_status'),
227
+ key: 'status',
228
+ width: 20,
229
+ type: 'string'
230
+ }
202
231
  },
203
232
  {
204
233
  type: 'datetime',
205
234
  name: 'startedAt',
206
235
  header: i18next.t('field.started_at'),
207
236
  sortable: true,
208
- width: 160
237
+ width: 160,
238
+ imex: {
239
+ header: i18next.t('field.started_at'),
240
+ key: 'startedAt',
241
+ width: 30,
242
+ type: 'datetime'
243
+ }
209
244
  },
210
245
  {
211
246
  type: 'datetime',
212
247
  name: 'endedAt',
213
248
  header: i18next.t('field.ended_at'),
214
249
  sortable: true,
215
- width: 160
250
+ width: 160,
251
+ imex: {
252
+ header: i18next.t('field.ended_at'),
253
+ key: 'endedAt',
254
+ width: 30,
255
+ type: 'datetime'
256
+ }
216
257
  },
217
258
  {
218
259
  type: 'object',
219
260
  name: 'updater',
220
261
  header: i18next.t('field.updater'),
221
262
  sortable: true,
222
- width: 150
263
+ width: 150,
264
+ imex: {
265
+ header: i18next.t('field.updater'),
266
+ key: 'updater.name',
267
+ width: 30,
268
+ type: 'object'
269
+ }
223
270
  }
224
271
  ]
225
272
  }
@@ -373,8 +420,43 @@ class InventoryCheckList extends localize(i18next)(PageView) {
373
420
  return this.config.columns
374
421
  }
375
422
 
376
- _exportableData() {
377
- return this.dataGrist.exportRecords()
423
+ async _exportableData() {
424
+ let records = []
425
+ records = this.dataGrist.data.records
426
+
427
+ const fetchBizplaces = await this._fetchBizplaceList()
428
+
429
+ var headerSetting = this.dataGrist._config.columns
430
+ .filter(column => column.type !== 'gutter' && column.record !== undefined && column.imex !== undefined)
431
+ .map(column => {
432
+ if (column.imex.key == 'bizplace.name') {
433
+ column.imex.arrData = fetchBizplaces.map(item => {
434
+ return {
435
+ id: item.id,
436
+ name: item.name
437
+ }
438
+ })
439
+ }
440
+ return column.imex
441
+ })
442
+
443
+ var data = records.map(item => {
444
+ return {
445
+ id: item.id,
446
+ ...this.config.columns
447
+ .filter(column => column.type !== 'gutter' /* && column.record !== undefined */ && column.imex !== undefined)
448
+ .reduce((record, column) => {
449
+ record[column.imex.key] = column.imex.key
450
+ .split('.')
451
+ .reduce((obj, key) => (obj && obj[key] !== 'undefined' ? obj[key] : undefined), item)
452
+ if (column.type === 'datetime' && record[column.imex.key] !== '' && record[column.imex.key] !== null) {
453
+ record[column.imex.key] = new Date(parseInt(record[column.imex.key])).toLocaleString()
454
+ }
455
+ return record
456
+ }, {})
457
+ }
458
+ })
459
+ return { header: headerSetting, data: data }
378
460
  }
379
461
  }
380
462
 
@@ -2,11 +2,21 @@ import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import { css, html } from 'lit-element'
5
+ import {
6
+ css,
7
+ html
8
+ } from 'lit-element'
6
9
 
7
10
  import { getCodeByName } from '@things-factory/code-base'
8
- import { i18next, localize } from '@things-factory/i18n-base'
9
- import { client, navigate, PageView } from '@things-factory/shell'
11
+ import {
12
+ i18next,
13
+ localize
14
+ } from '@things-factory/i18n-base'
15
+ import {
16
+ client,
17
+ navigate,
18
+ PageView
19
+ } from '@things-factory/shell'
10
20
  import { ScrollbarStyles } from '@things-factory/styles'
11
21
  import { isMobileDevice } from '@things-factory/utils'
12
22
 
@@ -212,7 +222,7 @@ class ReceivedNoteList extends localize(i18next)(PageView) {
212
222
  type: 'object',
213
223
  name: 'bizplace',
214
224
  header: i18next.t('field.company'),
215
- imex: { header: i18next.t('field.company'), key: 'bizplace.name', width: 25, type: 'string' },
225
+ imex: { header: i18next.t('field.company'), key: 'bizplace', width: 25, type: 'string' },
216
226
  sortable: true,
217
227
  width: 230
218
228
  },
@@ -244,7 +254,7 @@ class ReceivedNoteList extends localize(i18next)(PageView) {
244
254
  type: 'object',
245
255
  name: 'arrivalNotice',
246
256
  header: i18next.t('field.gan'),
247
- imex: { header: i18next.t('field.arrivalNotice'), key: 'arrivalNotice.name', width: 25, type: 'string' },
257
+ imex: { header: i18next.t('field.gan'), key: 'arrivalNotice', width: 25, type: 'string' },
248
258
  sortable: true,
249
259
  width: 180
250
260
  },
@@ -268,7 +278,7 @@ class ReceivedNoteList extends localize(i18next)(PageView) {
268
278
  type: 'datetime',
269
279
  name: 'updatedAt',
270
280
  header: i18next.t('field.updated_at'),
271
- imex: { header: i18next.t('field.updated_at'), key: 'updatedAt', width: 25, type: 'datetime' },
281
+ imex: { header: i18next.t('field.updated_at'), key: 'updatedAt', width: 25, type: 'date' },
272
282
  sortable: true,
273
283
  width: 160
274
284
  },
@@ -276,7 +286,7 @@ class ReceivedNoteList extends localize(i18next)(PageView) {
276
286
  type: 'object',
277
287
  name: 'updater',
278
288
  header: i18next.t('field.updater'),
279
- imex: { header: i18next.t('field.updater'), key: 'updater.name', width: 25, type: 'string' },
289
+ imex: { header: i18next.t('field.updater'), key: 'updater', width: 25, type: 'string' },
280
290
  sortable: true,
281
291
  width: 160
282
292
  }
@@ -440,7 +450,6 @@ class ReceivedNoteList extends localize(i18next)(PageView) {
440
450
 
441
451
  var data = records.map(item => {
442
452
  return {
443
- id: item.id,
444
453
  ...this._columns
445
454
  .filter(column => column.type !== 'gutter' && column.record !== undefined && column.imex !== undefined)
446
455
  .reduce((record, column) => {
@@ -451,11 +460,25 @@ class ReceivedNoteList extends localize(i18next)(PageView) {
451
460
  record[column.imex.key] = new Date(parseInt(record[column.imex.key])).toLocaleString()
452
461
  }
453
462
  return record
454
- }, {})
463
+ }, {}),
464
+ id: item.id,
465
+ name:item.name,
466
+ bizplace:item.bizplace.name,
467
+ refNo:item.refNo,
468
+ refNo2:item.refNo2,
469
+ refNo3:item.refNo3,
470
+ arrivalNotice:item.arrivalNotice.name,
471
+ ganStatus:item.ganStatus,
472
+ status:item.status,
473
+ updatedAt:item.updatedAt,
474
+ updater:item.updater.name
475
+
476
+
455
477
  }
456
478
  })
457
479
  return { header: headerSetting, data: data }
458
480
  }
481
+
459
482
  }
460
483
 
461
484
  window.customElements.define('received-note-list', ReceivedNoteList)
@@ -314,7 +314,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
314
314
  `
315
315
  )}
316
316
  </select>
317
-
318
317
  <label>
319
318
  ${this.refPickingType === PICKING_TYPES.PICKING.value
320
319
  ? i18next.t('label.release_good_no')
@@ -355,7 +354,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
355
354
  this._enableProductScanning = enableProductScanning
356
355
  this._enableToteScanning = enableToteScanning
357
356
  this._enableInputQty = enableInputQty
358
-
359
357
  this.focusOnInput()
360
358
  }
361
359
  } catch (e) {}
@@ -364,7 +362,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
364
362
  </barcode-scanable-input>
365
363
  </fieldset>
366
364
  </form>
367
-
368
365
  <form id="input-form" class="multi-column-form" @keypress="${this.picking.bind(this)}">
369
366
  ${this.scannable
370
367
  ? html`
@@ -449,7 +446,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
449
446
  `
450
447
  : ''}
451
448
  </form>
452
-
453
449
  <data-grist .mode=${isMobileDevice() ? 'LIST' : 'GRID'} .config=${this.config} .data=${this.data}
454
450
  ><div slot="headroom" id="form-section">
455
451
  <form id="info-form" class="multi-column-form">
@@ -61,7 +61,6 @@ class ShowRoListPopup extends localize(i18next)(LitElement) {
61
61
  height: var(--button-container-button-height);
62
62
  border: var(--button-container-button-border);
63
63
  margin: var(--button-container-button-margin);
64
-
65
64
  padding: var(--button-padding);
66
65
  color: var(--theme-white-color);
67
66
  font: var(--button-font);
@@ -90,7 +89,6 @@ class ShowRoListPopup extends localize(i18next)(LitElement) {
90
89
  ></data-grist>
91
90
  </div>
92
91
  </div>
93
-
94
92
  <div class="button-container">
95
93
  <mwc-button raised @click=${this._selectReleaseOrder.bind(this)}>${i18next.t('button.confirm')}</mwc-button>
96
94
  </div>
@@ -46,23 +46,19 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
46
46
  flex-direction: column;
47
47
  overflow: hidden;
48
48
  }
49
-
50
49
  data-grist {
51
50
  overflow: auto;
52
51
  flex: 1;
53
52
  }
54
-
55
53
  #form-section {
56
54
  background-color: white;
57
55
  }
58
-
59
56
  h2 {
60
57
  padding: var(--subtitle-padding);
61
58
  font: var(--subtitle-font);
62
59
  color: var(--subtitle-text-color);
63
60
  border-bottom: var(--subtitle-border-bottom);
64
61
  }
65
-
66
62
  legend mwc-icon {
67
63
  vertical-align: middle;
68
64
  margin: var(--grist-title-icon-margin);
@@ -189,7 +185,6 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
189
185
  ></barcode-scanable-input>
190
186
  </fieldset>
191
187
  </form>
192
-
193
188
  <form id="input-form" class="multi-column-form" @keypress="${this._sorting.bind(this)}">
194
189
  <fieldset>
195
190
  ${this._enableProductScanning
@@ -213,7 +208,6 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
213
208
  : ``}
214
209
  </fieldset>
215
210
  </form>
216
-
217
211
  <data-grist .mode=${isMobileDevice() ? 'LIST' : 'GRID'} .config=${this.config} .data=${this.data}>
218
212
  <div slot="headroom" id="form-section">
219
213
  <form id="info-form" class="multi-column-form">
@@ -4,45 +4,33 @@ module.exports = {
4
4
  useVirtualHostBasedDomain: false,
5
5
  fallbackRoute: '/',
6
6
  subdomainOffset: 2,
7
- port: 4000,
8
- inspect: '9330',
7
+ port: 1100,
8
+ inspect: '9430',
9
+ ormconfig: {
10
+ name: 'default',
11
+ type: 'postgres',
12
+ database: 'dev',
13
+ username: 'postgres',
14
+ password: 'hatio',
15
+ host: '192.168.0.153',
16
+ port: 15432,
17
+ synchronize: true,
18
+ logging: true
19
+ },
9
20
  // ormconfig: {
10
21
  // name: 'default',
11
22
  // type: 'postgres',
12
- // database: 'dev2',
23
+ // database: 'dev',
13
24
  // username: 'postgres',
14
- // password: 'hatio',
15
- // host: '192.168.0.153',
16
- // port: 15432,
17
- // synchronize: true,
25
+ // password: 'abcd1234',
26
+ // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
27
+ // port: 55432,
28
+ // synchronize: false,
18
29
  // logging: true
19
30
  // },
20
- ormconfig: {
21
- name: 'default',
22
- type: 'postgres',
23
- host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
24
- port: 55432,
25
- database: 'dev',
26
- username: 'postgres',
27
- password: 'abcd1234',
28
- synchronize: false,
29
- logging: true,
30
- connectTimeoutMS: 30000,
31
- extra: { poolSize: 30 }
31
+ sellercraftIntegrationConfig: {
32
+ apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
32
33
  },
33
- //ormconfig: {
34
- // name: 'default',
35
- // type: 'postgres',
36
- // database: 'dev2',
37
- // username: 'postgres',
38
- // password: 'hatio',
39
- // host: 'localhost',
40
- // port: 15432,
41
- // synchronize: false,
42
- // logging: true,
43
- // connectTimeoutMS: 30000,
44
- // extra: { poolSize: 30 }
45
- //},
46
34
  SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
47
35
  password: {
48
36
  lowerCase: true,
@@ -56,6 +44,13 @@ module.exports = {
56
44
  looseCharacterLength: 4,
57
45
  history: 2
58
46
  },
47
+ // storage: {
48
+ // type: 's3',
49
+ // accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
50
+ // secretAccessKey: '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',
51
+ // bucketName: 'opa-one',
52
+ // region: 'ap-southeast-1'
53
+ // },
59
54
  uploads: 'uploads',
60
55
  attachmentsPath: 'attachments',
61
56
  logger: {
@@ -105,6 +100,5 @@ module.exports = {
105
100
  // privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
106
101
  // }
107
102
  },
108
- // reportApiUrl: 'http://localhost:8888/rest/report/show_html'
109
103
  reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
110
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.111",
3
+ "version": "4.3.112",
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.111",
93
93
  "@things-factory/product-base": "^4.3.111",
94
94
  "@things-factory/resource-ui": "^4.3.111",
95
- "@things-factory/sales-ui": "^4.3.111",
95
+ "@things-factory/sales-ui": "^4.3.112",
96
96
  "@things-factory/scene-data-transform": "^4.3.111",
97
97
  "@things-factory/scene-excel": "^4.3.111",
98
98
  "@things-factory/scene-firebase": "^4.3.111",
@@ -108,8 +108,8 @@
108
108
  "@things-factory/system-ui": "^4.3.111",
109
109
  "@things-factory/transport-base": "^4.3.111",
110
110
  "@things-factory/tutorial-ui": "^4.3.111",
111
- "@things-factory/warehouse-base": "^4.3.111",
112
- "@things-factory/worksheet-base": "^4.3.111"
111
+ "@things-factory/warehouse-base": "^4.3.112",
112
+ "@things-factory/worksheet-base": "^4.3.112"
113
113
  },
114
114
  "devDependencies": {
115
115
  "@things-factory/builder": "^4.3.111",
@@ -118,5 +118,5 @@
118
118
  "cypress-localstorage-commands": "^1.6.1",
119
119
  "eslint-plugin-cypress": "^2.12.1"
120
120
  },
121
- "gitHead": "71a701731b643b32dd78334647dbcc287519aa1d"
121
+ "gitHead": "f4c818e06686edfec9a3ca80e1f818254fcc1593"
122
122
  }
@@ -62,7 +62,7 @@
62
62
  "button.move_to_x": "move to {state.x}",
63
63
  "button.move": "move",
64
64
  "button.my_worksheet_list": "my worksheet list",
65
- "button.next_order":"next order",
65
+ "button.next_order": "next order",
66
66
  "button.okay": "okay",
67
67
  "button.order_remark": "order remark",
68
68
  "button.order_sorted": "order sorted",
@@ -493,8 +493,8 @@
493
493
  "field.replenishment_order_no": "replenishment order no",
494
494
  "field.request_date": "request date",
495
495
  "field.require_packing": "require packing",
496
- "field.require_serial_number_scanning_inbound":"require serial number scanning inbound",
497
- "field.require_serial_number_scanning_outbound":"require serial number scanning outbound",
496
+ "field.require_serial_number_scanning_inbound": "require serial number scanning inbound",
497
+ "field.require_serial_number_scanning_outbound": "require serial number scanning outbound",
498
498
  "field.require_serial_number_scanning": "require serial number scanning",
499
499
  "field.reserve_qty": "reserve qty",
500
500
  "field.reserve_stock_only": "reserve stock only",
@@ -537,6 +537,7 @@
537
537
  "field.sku_code": "sku code",
538
538
  "field.sku": "SKU",
539
539
  "field.so_no": "SO No",
540
+ "field.sorted_by": "sorted by",
540
541
  "field.sorting_end": "sorting end",
541
542
  "field.sorting_start": "sorting start",
542
543
  "field.start_date": "start date",
@@ -635,7 +636,6 @@
635
636
  "field.your_name": "your name",
636
637
  "field.zone": "zone",
637
638
  "filed.role": "role",
638
- "field.delivery_address": "delivery address",
639
639
  "field.total_pallet": "total pallet",
640
640
  "label.activated": "activated",
641
641
  "label.actual_qty": "actual qty",
@@ -1263,11 +1263,11 @@
1263
1263
  "text.invalid_form": "invalid form",
1264
1264
  "text.invalid_format_of_location_id": "invalid format of location id",
1265
1265
  "text.invalid_inventory": "invalid_inventory",
1266
- "text.invalid_manufacture_date":"invalid manufacture date",
1266
+ "text.invalid_manufacture_date": "invalid manufacture date",
1267
1267
  "text.invalid_no_of_random_item_value": "invalid no of random item value",
1268
1268
  "text.invalid_pack_qty": "invalid pack qty",
1269
- "text.invalid_packing_size":"invalid packing size",
1270
- "text.invalid_packing_type":"invalid packing type",
1269
+ "text.invalid_packing_size": "invalid packing size",
1270
+ "text.invalid_packing_type": "invalid packing type",
1271
1271
  "text.invalid_pallet_id": "invalid pallet id",
1272
1272
  "text.invalid_pallet_qty": "invalid pallet qty",
1273
1273
  "text.invalid_print_qty": "invalid print qty",
@@ -1277,7 +1277,7 @@
1277
1277
  "text.invalid_release_date": "invalid release date",
1278
1278
  "text.invalid_release_qty": "invalid release qty",
1279
1279
  "text.invalid_return_location": "invalid return location",
1280
- "text.invalid_unit_cost":"invalid unit cost",
1280
+ "text.invalid_unit_cost": "invalid unit cost",
1281
1281
  "text.invalid_uom_value_input": "invalid uom value input",
1282
1282
  "text.invalid_uom_value": "invalid uom value",
1283
1283
  "text.invalid_value_in_list": "invalid value in list",
@@ -1348,6 +1348,7 @@
1348
1348
  "text.owner_field_is_empty": "owner field is empty",
1349
1349
  "text.pack_qty_and_unit_price_will_be_updated_to_1_if_the_value_is_empty_or_0": "pack qty and unit price will be updated to 1 if the value is empty or 0",
1350
1350
  "text.packing_is_completed": "packing is completed",
1351
+ "text.pallet_(x)_is_not_found_in_cycle_count_worksheet_(y)": "pallet ({x}) is not found in cycle count worksheet ({y})",
1351
1352
  "text.pallet_is_in_progressing": "pallet is in progressing",
1352
1353
  "text.pallet_qty_is_empty": "pallet qty is empty",
1353
1354
  "text.parcels_are_found_with_cancelled_or_pending_cancelled_status": "parcels are found with cancelled or pending cancelled status",
@@ -1395,6 +1396,7 @@
1395
1396
  "text.qty_exceed_limit": "qty exceed limit",
1396
1397
  "text.qty_is_empty": "qty is empty",
1397
1398
  "text.qty_should_be_positive": "qty should be positive value",
1399
+ "text.qty_should_not_have_decimal": "qty should not have decimal",
1398
1400
  "text.reassignment_done": "reassignment done",
1399
1401
  "text.recall_release_order_cant_be_generated_together_with_normal_release_order": "Recall Release Order can't be generated together with Normal Release Order",
1400
1402
  "text.receive_arrival_notice": "receive arrival notice",
@@ -1908,4 +1910,4 @@
1908
1910
  "title.worksheet_vas": "worksheet vas",
1909
1911
  "title.worksheet": "worksheet",
1910
1912
  "vas_order_created": "vas order created"
1911
- }
1913
+ }
@@ -1,10 +1,10 @@
1
1
  {
2
- "field.require_serial_number_scanning_inbound":"[ko]require serial number scanning inbound",
3
- "field.require_serial_number_scanning_outbound":"[ko]require serial number scanning outbound",
4
- "text.invalid_packing_type":"[ko]invalid packing type",
5
- "text.invalid_packing_size":"[ko]invalid packing size",
6
- "text.invalid_unit_cost":"[ko]invalid unit cost",
7
- "text.invalid_manufacture_date":"[ko]invalid manufacture date",
2
+ "field.require_serial_number_scanning_inbound": "[ko]require serial number scanning inbound",
3
+ "field.require_serial_number_scanning_outbound": "[ko]require serial number scanning outbound",
4
+ "text.invalid_packing_type": "[ko]invalid packing type",
5
+ "text.invalid_packing_size": "[ko]invalid packing size",
6
+ "text.invalid_unit_cost": "[ko]invalid unit cost",
7
+ "text.invalid_manufacture_date": "[ko]invalid manufacture date",
8
8
  "text.no_record_selected": "[ko]no record selected",
9
9
  "field.return_uom": "[ko]return uom",
10
10
  "field.execute_date": "[ko]execute date",
@@ -650,7 +650,6 @@
650
650
  "field.zone_end": "[ko] zone end",
651
651
  "field.zone_start": "[ko] zone start",
652
652
  "field.zone": "존",
653
- "field.delivery_address": "[ko]delivery address",
654
653
  "field.total_pallet": "[ko]total pallet",
655
654
  "label.activated": "활성화",
656
655
  "label.actual_qty": "실제 수량",
@@ -2022,7 +2021,7 @@
2022
2021
  "vas_order_created": "부가서비스주문 생성됨",
2023
2022
  "title.order(s)_is_at_pending_cancelled_or_cancelled": "[ko] Order(s) is at Pending Cancelled or Cancelled",
2024
2023
  "text.do_you_want_to_ignore": "[ko] do you want to ignore?",
2025
- "button.next_order":"[ko]next order",
2024
+ "button.next_order": "[ko]next order",
2026
2025
  "button.ignore": "[ko] ignore",
2027
2026
  "field.order_info": "[ko] order info",
2028
2027
  "field.total_tracking_no": "[ko] total tracking no",
@@ -2044,5 +2043,8 @@
2044
2043
  "text.release_order_without_route_labelling_is_included_in_the_batch_picking": "[ko] Release Order without route labelling is included in the batch picking",
2045
2044
  "field.merged_worksheet": "[ko] merged worksheet",
2046
2045
  "text.selected_release_order(s)_is_not_in_pending_worksheet_status": "[ko] selected release order(s) is not in pending worksheet status",
2047
- "field.release_order": "[ko] release order"
2046
+ "field.release_order": "[ko] release order",
2047
+ "field.sorted_by": "[ko] sorted by",
2048
+ "text.pallet_(x)_is_not_found_in_cycle_count_worksheet_(y)": "[ko] pallet ({x}) is not found in cycle count worksheet ({y})",
2049
+ "text.qty_should_not_have_decimal": "[ko] qty should not have decimal"
2048
2050
  }
@@ -1,10 +1,10 @@
1
1
  {
2
- "field.require_serial_number_scanning_inbound":"[ms]require serial number scanning inbound",
3
- "field.require_serial_number_scanning_outbound":"[ms]require serial number scanning outbound",
4
- "text.invalid_packing_type":"[ms]invalid packing type",
5
- "text.invalid_packing_size":"[ms]invalid packing size",
6
- "text.invalid_unit_cost":"[ms]invalid unit cost",
7
- "text.invalid_manufacture_date":"[ms]invalid manufacture date",
2
+ "field.require_serial_number_scanning_inbound": "[ms]require serial number scanning inbound",
3
+ "field.require_serial_number_scanning_outbound": "[ms]require serial number scanning outbound",
4
+ "text.invalid_packing_type": "[ms]invalid packing type",
5
+ "text.invalid_packing_size": "[ms]invalid packing size",
6
+ "text.invalid_unit_cost": "[ms]invalid unit cost",
7
+ "text.invalid_manufacture_date": "[ms]invalid manufacture date",
8
8
  "text.no_record_selected": "[ms]no record selected",
9
9
  "field.return_uom": "[ms]return uom",
10
10
  "field.execute_date": "[ms]execute date",
@@ -86,7 +86,7 @@
86
86
  "button.move_to_x": "move to {state.x}",
87
87
  "button.move": "move",
88
88
  "button.my_worksheet_list": "[ms] my worksheet list",
89
- "button.next_order":"[ms]next order",
89
+ "button.next_order": "[ms]next order",
90
90
  "button.okay": "okay",
91
91
  "button.order_remark": "[ms] order remark",
92
92
  "button.order_sorted": "[ms] order sorted",
@@ -630,7 +630,6 @@
630
630
  "field.zone_end": "[ms] zone end",
631
631
  "field.zone_start": "[ms] zone start",
632
632
  "field.zone": "zon",
633
- "field.delivery_address": "[ms]delivery address",
634
633
  "field.total_pallet": "[ms]total pallet",
635
634
  "label.activated": "activated",
636
635
  "label.actual_qty": "qty sebenar",
@@ -1917,5 +1916,8 @@
1917
1916
  "text.release_order_without_route_labelling_is_included_in_the_batch_picking": "[ms] Release Order without route labelling is included in the batch picking",
1918
1917
  "field.merged_worksheet": "[ms] merged worksheet",
1919
1918
  "text.selected_release_order(s)_is_not_in_pending_worksheet_status": "[ms] selected release order(s) is not in pending worksheet status",
1920
- "field.release_order": "[ms] release order"
1919
+ "field.release_order": "[ms] release order",
1920
+ "field.sorted_by": "[ms] sorted by",
1921
+ "text.pallet_(x)_is_not_found_in_cycle_count_worksheet_(y)": "[ms] pallet ({x}) is not found in cycle count worksheet ({y})",
1922
+ "text.qty_should_not_have_decimal": "[ms] qty should not have decimal"
1921
1923
  }
@@ -608,7 +608,6 @@
608
608
  "field.zone_end": "[zh] zone end",
609
609
  "field.zone_start": "[zh] zone start",
610
610
  "field.zone": "zone",
611
- "field.delivery_address": "[zh]delivery address",
612
611
  "field.total_pallet": "[zh]total pallet",
613
612
  "label.activated": "activated",
614
613
  "label.actual_qty": "actual qty",
@@ -1867,5 +1866,8 @@
1867
1866
  "text.release_order_without_route_labelling_is_included_in_the_batch_picking": "[zh] Release Order without route labelling is included in the batch picking",
1868
1867
  "field.merged_worksheet": "[zh] merged worksheet",
1869
1868
  "text.selected_release_order(s)_is_not_in_pending_worksheet_status": "[zh] selected release order(s) is not in pending worksheet status",
1870
- "field.release_order": "[zh] release order"
1869
+ "field.release_order": "[zh] release order",
1870
+ "field.sorted_by": "[zh] sorted by",
1871
+ "text.pallet_(x)_is_not_found_in_cycle_count_worksheet_(y)": "[zh] pallet ({x}) is not found in cycle count worksheet ({y})",
1872
+ "text.qty_should_not_have_decimal": "[zh] qty should not have decimal"
1871
1873
  }