@things-factory/operato-wms 4.3.616 → 4.3.617
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/outbound/loading-v2/loading.js +2 -0
- package/client/pages/outbound/show-ro-list-popup.js +49 -1
- package/client/pages/outbound/sorting-product.js +2 -0
- package/package.json +7 -7
- package/translations/en.json +1 -0
- package/translations/ko.json +1 -0
- package/translations/ms.json +1 -0
- package/translations/zh.json +1 -0
|
@@ -81,8 +81,18 @@ class ShowRoListPopup extends localize(i18next)(LitElement) {
|
|
|
81
81
|
return this.shadowRoot.querySelector('data-grist')
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
get searchForm() {
|
|
85
|
+
return this.shadowRoot.querySelector('search-form')
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
get searchInput() {
|
|
89
|
+
return this.searchForm.shadowRoot.querySelector('input[name="orderInfo"]')
|
|
90
|
+
}
|
|
91
|
+
|
|
84
92
|
render() {
|
|
85
93
|
return html`
|
|
94
|
+
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.filterData(e)}></search-form>
|
|
95
|
+
|
|
86
96
|
<div class="grist-container">
|
|
87
97
|
<div class="grist">
|
|
88
98
|
<data-grist
|
|
@@ -99,6 +109,15 @@ class ShowRoListPopup extends localize(i18next)(LitElement) {
|
|
|
99
109
|
`
|
|
100
110
|
}
|
|
101
111
|
|
|
112
|
+
filterData(e) {
|
|
113
|
+
const searchValue = this.searchInput.value
|
|
114
|
+
this.data = {
|
|
115
|
+
records: this.releaseOrders.filter(ro =>
|
|
116
|
+
Object.values(ro).some(value => String(value).toLowerCase().includes(searchValue.toLowerCase()))
|
|
117
|
+
)
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
102
121
|
updated(changeProps) {
|
|
103
122
|
if (changeProps.has('releaseOrders')) {
|
|
104
123
|
if (this.releaseOrders && this.releaseOrders.length) {
|
|
@@ -108,10 +127,20 @@ class ShowRoListPopup extends localize(i18next)(LitElement) {
|
|
|
108
127
|
}
|
|
109
128
|
|
|
110
129
|
firstUpdated() {
|
|
130
|
+
this._searchFields = [
|
|
131
|
+
{
|
|
132
|
+
type: 'string',
|
|
133
|
+
name: 'orderInfo',
|
|
134
|
+
label: i18next.t('field.order_info')
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
|
|
111
138
|
this.config = {
|
|
112
139
|
rows: { selectable: { multiple: false }, appendable: false },
|
|
113
140
|
pagination: { infinite: true },
|
|
114
|
-
list: {
|
|
141
|
+
list: {
|
|
142
|
+
fields: ['name', 'refNo', 'refNo2', 'district', 'attentionCompany', 'status', 'sortedByUser']
|
|
143
|
+
},
|
|
115
144
|
columns: [
|
|
116
145
|
{ type: 'gutter', gutterName: 'sequence' },
|
|
117
146
|
{ type: 'gutter', gutterName: 'row-selector', multiple: false },
|
|
@@ -119,30 +148,49 @@ class ShowRoListPopup extends localize(i18next)(LitElement) {
|
|
|
119
148
|
type: 'string',
|
|
120
149
|
name: 'name',
|
|
121
150
|
header: i18next.t('field.name'),
|
|
151
|
+
label: true,
|
|
122
152
|
width: 180
|
|
123
153
|
},
|
|
124
154
|
{
|
|
125
155
|
type: 'string',
|
|
126
156
|
name: 'refNo',
|
|
127
157
|
header: i18next.t('field.ref_no'),
|
|
158
|
+
label: true,
|
|
128
159
|
width: 120
|
|
129
160
|
},
|
|
130
161
|
{
|
|
131
162
|
type: 'string',
|
|
132
163
|
name: 'refNo2',
|
|
133
164
|
header: i18next.t('field.ref_no_2'),
|
|
165
|
+
label: true,
|
|
166
|
+
width: 120
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
type: 'string',
|
|
170
|
+
name: 'district',
|
|
171
|
+
header: i18next.t('field.district'),
|
|
172
|
+
label: true,
|
|
173
|
+
width: 120
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
type: 'string',
|
|
177
|
+
name: 'attentionCompany',
|
|
178
|
+
header: i18next.t('field.attention_company'),
|
|
179
|
+
label: true,
|
|
134
180
|
width: 120
|
|
135
181
|
},
|
|
136
182
|
{
|
|
137
183
|
type: 'string',
|
|
138
184
|
name: 'status',
|
|
139
185
|
header: i18next.t('field.status'),
|
|
186
|
+
label: true,
|
|
140
187
|
width: 120
|
|
141
188
|
},
|
|
142
189
|
{
|
|
143
190
|
type: 'string',
|
|
144
191
|
name: 'sortedByUser',
|
|
145
192
|
header: i18next.t('field.sorted_by'),
|
|
193
|
+
label: true,
|
|
146
194
|
width: 120
|
|
147
195
|
}
|
|
148
196
|
]
|
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.617",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@things-factory/barcode-ui": "^4.3.612",
|
|
69
69
|
"@things-factory/biz-ui": "^4.3.595",
|
|
70
70
|
"@things-factory/board-service": "^4.3.591",
|
|
71
|
-
"@things-factory/board-ui": "^4.3.
|
|
71
|
+
"@things-factory/board-ui": "^4.3.617",
|
|
72
72
|
"@things-factory/code-ui": "^4.3.591",
|
|
73
73
|
"@things-factory/context-ui": "^4.3.591",
|
|
74
74
|
"@things-factory/export-ui": "^4.3.591",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@things-factory/export-ui-excel": "^4.3.591",
|
|
77
77
|
"@things-factory/fav-base": "^4.3.591",
|
|
78
78
|
"@things-factory/form-ui": "^4.3.591",
|
|
79
|
-
"@things-factory/geography": "^4.3.
|
|
79
|
+
"@things-factory/geography": "^4.3.617",
|
|
80
80
|
"@things-factory/grist-ui": "^4.3.591",
|
|
81
81
|
"@things-factory/help": "^4.3.591",
|
|
82
82
|
"@things-factory/i18n-base": "^4.3.591",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@things-factory/print-ui": "^4.3.591",
|
|
92
92
|
"@things-factory/product-base": "^4.3.595",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.591",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.617",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.591",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.591",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.591",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"@things-factory/system-ui": "^4.3.591",
|
|
108
108
|
"@things-factory/transport-base": "^4.3.595",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.591",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.617",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.617"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.591",
|
|
@@ -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": "12739fffd56d5e153c6b6d0241c1e61d3c53a834"
|
|
121
121
|
}
|
package/translations/en.json
CHANGED
|
@@ -321,6 +321,7 @@
|
|
|
321
321
|
"field.description": "description",
|
|
322
322
|
"field.dispatch_at": "dispatch at",
|
|
323
323
|
"field.dispatched_at": "dispatched at",
|
|
324
|
+
"field.district": "district",
|
|
324
325
|
"field.do_delivery_date": "DO delivery date",
|
|
325
326
|
"field.do_generated_date": "DO generated date",
|
|
326
327
|
"field.do_no": "DO No.",
|
package/translations/ko.json
CHANGED
|
@@ -324,6 +324,7 @@
|
|
|
324
324
|
"field.description": "설명",
|
|
325
325
|
"field.dispatch_at": "[ko] dispatch at",
|
|
326
326
|
"field.dispatched_at": "[ko]dispatched at",
|
|
327
|
+
"field.district": "[ko] district",
|
|
327
328
|
"field.do_delivery_date": "[ko]DO delivery date",
|
|
328
329
|
"field.do_generated_date": "[ko]DO generated date",
|
|
329
330
|
"field.do_no": "운송지시번호",
|
package/translations/ms.json
CHANGED
|
@@ -311,6 +311,7 @@
|
|
|
311
311
|
"field.description": "keterangan",
|
|
312
312
|
"field.dispatch_at": "[ms] dispatch at",
|
|
313
313
|
"field.dispatched_at": "[ms]dispatched at",
|
|
314
|
+
"field.district": "[ms] district",
|
|
314
315
|
"field.do_delivery_date": "[ms]DO delivery date",
|
|
315
316
|
"field.do_generated_date": "[ms]DO generated date",
|
|
316
317
|
"field.do_no": "nombor DO",
|
package/translations/zh.json
CHANGED
|
@@ -301,6 +301,7 @@
|
|
|
301
301
|
"field.description": "描述",
|
|
302
302
|
"field.dispatch_at": "[zh] dispatch at",
|
|
303
303
|
"field.dispatched_at": "[zh]dispatched at",
|
|
304
|
+
"field.district": "[zh] district",
|
|
304
305
|
"field.do_delivery_date": "[zh]DO delivery date",
|
|
305
306
|
"field.do_generated_date": "[zh]DO generated date",
|
|
306
307
|
"field.do_no": "DO编号",
|