@things-factory/operato-wms 7.0.1-alpha.85 → 7.0.1-alpha.87
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/bootstrap.js +2 -2
- package/client/pages/adjustment/transfer-inventory.js +2 -2
- package/client/pages/billing/claim-chit/claim-chit-detail.js +2 -2
- package/client/pages/billing/claim-chit/claim-chit-list.js +6 -6
- package/client/pages/billing/claim-chit/create-claim-chit.js +2 -2
- package/client/pages/billing/transport-summary-report.js +1 -1
- package/client/pages/bulk-operation/bulk-operation.js +1 -1
- package/client/pages/bulk-operation/validate-gan-popup.js +2 -2
- package/client/pages/bulk-operation/validate-ro-popup.js +3 -3
- package/client/pages/components/attachment-viewer.js +1 -1
- package/client/pages/components/image-viewer.js +1 -1
- package/client/pages/components/partner-selector.js +2 -2
- package/client/pages/components/popup-note.js +1 -1
- package/client/pages/components/popup-reusable-pallet.js +1 -1
- package/client/pages/components/select-inventory-popup.js +3 -3
- package/client/pages/components/select-product-popup.js +3 -3
- package/client/pages/components/vas-templates/vas-pallet-add-popup.js +1 -1
- package/client/pages/components/vas-templates/vas-relabel.js +2 -2
- package/client/pages/components/vas-templates/vas-repack-relabel.js +2 -2
- package/client/pages/components/vas-templates/vas-repack.js +2 -2
- package/client/pages/components/vas-templates/vas-repalletizing.js +2 -2
- package/client/pages/components/vas-templates/vas-template.js +1 -1
- package/client/pages/components/vas-templates/vas-unpack.js +1 -1
- package/client/pages/components/worksheet-information-popup.js +1 -1
- package/client/pages/constants/picking-strategy.js +1 -1
- package/client/pages/constants/vas-target-type.js +1 -1
- package/client/pages/constants/vas-template.js +1 -1
- package/client/pages/constants/worksheet.js +1 -1
- package/client/pages/inbound/adjust-pallet-qty.js +1 -1
- package/client/pages/inbound/carton-label-popup.js +1 -1
- package/client/pages/inbound/expiry-date-popup.js +1 -1
- package/client/pages/inbound/external-return-worksheet.js +3 -3
- package/client/pages/inbound/inbound-reusable-pallet.js +2 -2
- package/client/pages/inbound/inbound-worksheet.js +3 -3
- package/client/pages/inbound/pallet-label-popup.js +8 -3
- package/client/pages/inbound/palletizing-pallets-popup.js +2 -2
- package/client/pages/inbound/putaway-product.js +8 -9
- package/client/pages/inbound/putaway-same-carton-popup.js +2 -2
- package/client/pages/inbound/putaway-worksheet-generate-popup.js +2 -2
- package/client/pages/inbound/select-location-popup.js +2 -2
- package/client/pages/inbound/select-product-batch.js +2 -2
- package/client/pages/inbound/serial-number-list-popup.js +3 -3
- package/client/pages/inbound/undo-putaway-popup.js +2 -2
- package/client/pages/inbound/undo-unload-popup.js +2 -2
- package/client/pages/inbound/unload-product.js +3 -3
- package/client/pages/inbound/unloaded-inventories-popup.js +2 -2
- package/client/pages/inbound/vas-selector.js +3 -3
- package/client/pages/inbound/worksheet-putaway-return.js +2 -2
- package/client/pages/inbound/worksheet-putaway.js +2 -2
- package/client/pages/inbound/worksheet-unloading-return.js +2 -2
- package/client/pages/inbound/worksheet-unloading.js +1 -1
- package/client/pages/inventory/inventory-adjustment-approval.js +2 -2
- package/client/pages/inventory/inventory-adjustment.js +2 -2
- package/client/pages/inventory/inventory-by-product-detail.js +3 -3
- package/client/pages/inventory/inventory-by-product.js +3 -3
- package/client/pages/inventory/inventory-history-by-pallet.js +3 -3
- package/client/pages/inventory/inventory-history.js +3 -3
- package/client/pages/inventory/non-loaded-inventory.js +3 -3
- package/client/pages/inventory/onhand-inventory.js +2 -2
- package/client/pages/inventory/serial-number-list-popup.js +2 -2
- package/client/pages/inventory-check/check-inventory-popup.js +1 -1
- package/client/pages/inventory-check/create-cycle-count.js +2 -2
- package/client/pages/inventory-check/cycle-count-recheck-popup.js +2 -2
- package/client/pages/inventory-check/cycle-count-report.js +2 -2
- package/client/pages/inventory-check/inspecting-product.js +2 -2
- package/client/pages/inventory-check/inventory-check-list.js +3 -3
- package/client/pages/inventory-check/search-popup.js +2 -2
- package/client/pages/inventory-check/worksheet-cycle-count.js +2 -2
- package/client/pages/manifest/create-loading-manifest.js +2 -2
- package/client/pages/manifest/dispatcher-verification-popup.js +1 -1
- package/client/pages/manifest/loading-manifest-detail.js +2 -2
- package/client/pages/manifest/loading-manifest-list.js +3 -3
- package/client/pages/master/generate-location-list.js +8 -9
- package/client/pages/master/location-list.js +2 -2
- package/client/pages/master/pallet-list.js +2 -2
- package/client/pages/master/print-location-label.js +3 -3
- package/client/pages/master/product/product-detail-bizplace-setting-popup.js +2 -2
- package/client/pages/master/product/product-details-popup.js +3 -3
- package/client/pages/master/product/product-list.js +2 -2
- package/client/pages/master/tote-list.js +2 -2
- package/client/pages/master/transport-driver.js +2 -2
- package/client/pages/master/transport-vehicle.js +2 -2
- package/client/pages/master/warehouse-list.js +2 -2
- package/client/pages/master/worker-list.js +2 -2
- package/client/pages/order/arrival-notice/arrival-notice-detail.js +12 -16
- package/client/pages/order/arrival-notice/arrival-notice-list.js +3 -3
- package/client/pages/order/arrival-notice/arrival-notice-requests.js +3 -3
- package/client/pages/order/arrival-notice/assign-buffer-location.js +9 -10
- package/client/pages/order/arrival-notice/check-arrived-notice.js +9 -10
- package/client/pages/order/arrival-notice/create-arrival-notice.js +5 -6
- package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +10 -11
- package/client/pages/order/arrival-notice/edit-product-popup.js +3 -3
- package/client/pages/order/arrival-notice/proceed-edit-product-popup.js +3 -3
- package/client/pages/order/arrival-notice/receive-arrival-notice.js +9 -10
- package/client/pages/order/arrival-notice/rejected-arrival-notice.js +9 -10
- package/client/pages/order/arrival-notice/view-product-changes-popup.js +3 -3
- package/client/pages/order/draft-release-good/draft-release-good-detail.js +3 -3
- package/client/pages/order/draft-release-good/draft-release-good-list.js +2 -2
- package/client/pages/order/goods-received-note/customer-grn-list.js +3 -3
- package/client/pages/order/goods-received-note/customer-received-note.js +1 -1
- package/client/pages/order/goods-received-note/received-note-detail.js +1 -1
- package/client/pages/order/goods-received-note/received-note-list.js +3 -3
- package/client/pages/order/release-order/b2b/b2b-order-list.js +1 -1
- package/client/pages/order/release-order/b2b/b2b-order-requests.js +2 -2
- package/client/pages/order/release-order/b2c/b2c-order-requests.js +1 -1
- package/client/pages/order/release-order/batch-generate-single-picking-worksheet-popup.js +3 -3
- package/client/pages/order/release-order/batch-picking-popup.js +3 -3
- package/client/pages/order/release-order/bulk-print-packing-list.js +2 -2
- package/client/pages/order/release-order/create-release-order.js +7 -8
- package/client/pages/order/release-order/receive-release-order-request.js +9 -10
- package/client/pages/order/release-order/rejected-release-order.js +9 -10
- package/client/pages/order/release-order/release-extra-product-popup.js +3 -3
- package/client/pages/order/release-order/release-order-detail.js +27 -29
- package/client/pages/order/return-order/check-return-order.js +9 -10
- package/client/pages/order/return-order/create-return-order.js +2 -2
- package/client/pages/order/return-order/receive-return-order-requests.js +9 -10
- package/client/pages/order/return-order/rejected-return-order.js +9 -10
- package/client/pages/order/return-order/return-order-assign-buffer-location.js +9 -10
- package/client/pages/order/return-order/return-order-detail.js +9 -10
- package/client/pages/order/return-order/return-order-inventory-popup.js +2 -2
- package/client/pages/order/return-order/return-order-list.js +3 -3
- package/client/pages/order/return-order/return-order-requests.js +3 -3
- package/client/pages/order/reverse-kitting-order/reverse-kitting-order-detail.js +2 -2
- package/client/pages/order/reverse-kitting-order/reverse-kitting-order-list.js +2 -2
- package/client/pages/order/reverse-kitting-order/reverse-kitting-pallet-label-popup.js +8 -3
- package/client/pages/order/transfer-order/receive-transfer-order-request.js +1 -1
- package/client/pages/order/transfer-order/rejected-transfer-order.js +2 -2
- package/client/pages/order/transfer-order/transfer-order-detail.js +2 -2
- package/client/pages/order/transfer-order/transfer-order-requests.js +3 -3
- package/client/pages/order/transport-order/contact-point-selector-popup.js +3 -3
- package/client/pages/order/transport-order/create-delivery-order.js +2 -2
- package/client/pages/order/transport-order/delivery-note-popup.js +2 -2
- package/client/pages/order/transport-order/delivery-order-list.js +3 -3
- package/client/pages/order/transport-order/print-delivery-note.js +1 -1
- package/client/pages/order/transport-order/transport-driver-popup.js +3 -3
- package/client/pages/order/transport-order/upload-delivery-note.js +2 -2
- package/client/pages/order/transport-order/view-delivery-note.js +1 -1
- package/client/pages/order/vas-order/create-vas-order.js +2 -2
- package/client/pages/order/vas-order/popup/target-product-selector-popup.js +3 -3
- package/client/pages/order/vas-order/popup/vas-create-batch-product-type-form.js +17 -19
- package/client/pages/order/vas-order/popup/vas-create-batch-type-form.js +4 -5
- package/client/pages/order/vas-order/popup/vas-create-etc-type-form.js +1 -1
- package/client/pages/order/vas-order/popup/vas-create-popup.js +36 -36
- package/client/pages/order/vas-order/popup/vas-create-product-type-form.js +6 -7
- package/client/pages/order/vas-order/receive-vas-order.js +2 -2
- package/client/pages/order/vas-order/vas-order-detail.js +2 -2
- package/client/pages/order/vas-order/vas-order-list.js +3 -3
- package/client/pages/order/vas-order/vas-order-requests.js +3 -3
- package/client/pages/outbound/generate-worksheet-popup.js +2 -2
- package/client/pages/outbound/inventory-assign-popup.js +2 -2
- package/client/pages/outbound/inventory-auto-assign-popup.js +2 -2
- package/client/pages/outbound/inventory-reassign-popup.js +2 -2
- package/client/pages/outbound/loading-product.js +2 -2
- package/client/pages/outbound/logistics-init/branch-logistics-popup.js +3 -3
- package/client/pages/outbound/logistics-init/logistics-init-popup.js +1 -1
- package/client/pages/outbound/logistics-init/pickup-logistics-popup.js +3 -3
- package/client/pages/outbound/merged-outbound-worksheet.js +2 -2
- package/client/pages/outbound/order-remark-popup.js +1 -1
- package/client/pages/outbound/outbound-reusable-pallet.js +2 -2
- package/client/pages/outbound/packing-product.js +7 -7
- package/client/pages/outbound/packing-worksheet-list.js +2 -2
- package/client/pages/outbound/picking-product.js +16 -18
- package/client/pages/outbound/picking-replacement-popup.js +2 -2
- package/client/pages/outbound/return-pallet-check-popup.js +2 -2
- package/client/pages/outbound/route-label-popup.js +2 -2
- package/client/pages/outbound/select-operator-popup.js +2 -2
- package/client/pages/outbound/serial-number-popup.js +2 -2
- package/client/pages/outbound/show-my-worksheet-list-popup.js +1 -1
- package/client/pages/outbound/show-ro-list-popup.js +3 -3
- package/client/pages/outbound/single-outbound-worksheet.js +2 -2
- package/client/pages/outbound/sorting-product.js +2 -2
- package/client/pages/outbound/tote-popup.js +3 -3
- package/client/pages/outbound/transport-vehicles-popup.js +3 -3
- package/client/pages/outbound/worksheet-batch-picking.js +2 -2
- package/client/pages/outbound/worksheet-loading.js +2 -2
- package/client/pages/outbound/worksheet-packing.js +2 -2
- package/client/pages/outbound/worksheet-picking.js +2 -2
- package/client/pages/outbound/worksheet-return.js +2 -2
- package/client/pages/outbound/worksheet-sorting.js +2 -2
- package/client/pages/report/costing-report.js +1 -1
- package/client/pages/report/custom-elccl/elccl-daily-collection-report.js +1 -1
- package/client/pages/report/custom-elccl/elccl-daily-order-inventory-report.js +1 -1
- package/client/pages/report/custom-elccl/elccl-delivery-order-summary.js +7 -7
- package/client/pages/report/custom-elccl/elccl-inventory-pallet-detail-report.js +1 -1
- package/client/pages/report/custom-elccl/elccl-inventory-report.js +1 -1
- package/client/pages/report/custom-elccl/elccl-inventory-summary-report.js +1 -1
- package/client/pages/report/inbound-order-details-report.js +1 -1
- package/client/pages/report/inbound-serial-number-report.js +1 -1
- package/client/pages/report/inventory-pallet-report.js +1 -1
- package/client/pages/report/inventory-pallet-storage-report.js +1 -1
- package/client/pages/report/inventory-report.js +1 -1
- package/client/pages/report/inventory-summary-report.js +1 -1
- package/client/pages/report/job-sheet-list.js +2 -2
- package/client/pages/report/job-sheet-popup.js +1 -1
- package/client/pages/report/job-sheet-report.js +1 -1
- package/client/pages/report/outbound-order-details-report.js +1 -1
- package/client/pages/report/outbound-serial-number-report.js +1 -1
- package/client/pages/report/product-label-report.js +1 -1
- package/client/pages/report/release-inventory-report.js +1 -1
- package/client/pages/report/volume-summary-report.js +1 -1
- package/client/pages/support/inventory-comparison.js +3 -3
- package/client/pages/system/location-sorting-rule.js +2 -2
- package/client/pages/vas/abstract-execute-vas.js +1 -1
- package/client/pages/vas/execute-pure-vas.js +2 -2
- package/client/pages/vas/execute-ref-vas.js +3 -3
- package/client/pages/vas/execute-vas.js +1 -1
- package/client/pages/vas/print-product-label.js +2 -2
- package/client/pages/vas/related-vas-list.js +2 -2
- package/client/pages/vas/reverse-kitting/execute-reverse-kitting.js +2 -2
- package/client/pages/vas/reverse-kitting/popup-combination-sets.js +2 -2
- package/client/pages/vas/reverse-kitting/popup-reverse-kitting-template.js +2 -2
- package/client/pages/vas/target-inventory-assignment-popup.js +2 -2
- package/client/pages/vas/vas-pallet-label-popup.js +2 -2
- package/client/pages/vas/vas-worksheet-list.js +7 -7
- package/client/pages/vas/worksheet-ref-vas.js +7 -7
- package/client/pages/vas/worksheet-vas.js +2 -2
- package/client/route.js +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +15 -15
|
@@ -5,10 +5,10 @@ import gql from 'graphql-tag'
|
|
|
5
5
|
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { getCodeByName } from '@things-factory/code-base'
|
|
8
|
-
import { i18next, localize } from '@
|
|
8
|
+
import { i18next, localize } from '@operato/i18n'
|
|
9
9
|
import { client, navigate, PageView } from '@things-factory/shell'
|
|
10
|
-
import { ScrollbarStyles } from '@
|
|
11
|
-
import { isMobileDevice } from '@
|
|
10
|
+
import { ScrollbarStyles } from '@operato/styles'
|
|
11
|
+
import { isMobileDevice } from '@operato/utils'
|
|
12
12
|
|
|
13
13
|
class ArrivalNoticeList extends localize(i18next)(PageView) {
|
|
14
14
|
static get styles() {
|
|
@@ -5,10 +5,10 @@ import gql from 'graphql-tag'
|
|
|
5
5
|
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { getCodeByName } from '@things-factory/code-base'
|
|
8
|
-
import { i18next, localize } from '@
|
|
8
|
+
import { i18next, localize } from '@operato/i18n'
|
|
9
9
|
import { client, navigate, PageView } from '@things-factory/shell'
|
|
10
|
-
import { ScrollbarStyles } from '@
|
|
11
|
-
import { isMobileDevice } from '@
|
|
10
|
+
import { ScrollbarStyles } from '@operato/styles'
|
|
11
|
+
import { isMobileDevice } from '@operato/utils'
|
|
12
12
|
|
|
13
13
|
import { ORDER_STATUS } from '../../constants'
|
|
14
14
|
|
|
@@ -9,11 +9,11 @@ import { css, html } from 'lit'
|
|
|
9
9
|
|
|
10
10
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
11
11
|
import { getRenderer } from '@operato/data-grist'
|
|
12
|
-
import { i18next, localize } from '@
|
|
12
|
+
import { i18next, localize } from '@operato/i18n'
|
|
13
13
|
import { openPopup } from '@operato/layout'
|
|
14
14
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
15
15
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
16
|
-
import { isMobileDevice } from '@
|
|
16
|
+
import { isMobileDevice } from '@operato/utils'
|
|
17
17
|
|
|
18
18
|
import {
|
|
19
19
|
ORDER_STATUS,
|
|
@@ -229,14 +229,13 @@ class AssignBufferLocation extends localize(i18next)(PageView) {
|
|
|
229
229
|
<label>${i18next.t('label.attachment')}</label>
|
|
230
230
|
<ul attachment-wrap>
|
|
231
231
|
${(this._attachments || []).map(
|
|
232
|
-
attachment =>
|
|
233
|
-
|
|
234
|
-
<
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
`
|
|
232
|
+
attachment => html`
|
|
233
|
+
<li>
|
|
234
|
+
<a href="${location.origin}/attachment/${attachment.path}" download
|
|
235
|
+
><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
|
|
236
|
+
>
|
|
237
|
+
</li>
|
|
238
|
+
`
|
|
240
239
|
)}
|
|
241
240
|
</ul>
|
|
242
241
|
`
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
2
2
|
import '@operato/data-grist'
|
|
3
3
|
import { getRenderer } from '@operato/data-grist'
|
|
4
|
-
import { i18next, localize } from '@
|
|
4
|
+
import { i18next, localize } from '@operato/i18n'
|
|
5
5
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
6
6
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
7
|
-
import { isMobileDevice } from '@
|
|
7
|
+
import { isMobileDevice } from '@operato/utils'
|
|
8
8
|
import gql from 'graphql-tag'
|
|
9
9
|
import { css, html } from 'lit'
|
|
10
10
|
import '../../components/attachment-viewer'
|
|
@@ -225,14 +225,13 @@ class CheckArrivedNotice extends localize(i18next)(PageView) {
|
|
|
225
225
|
<label>${i18next.t('label.attachment')}</label>
|
|
226
226
|
<ul attachment-wrap>
|
|
227
227
|
${(this._attachments || []).map(
|
|
228
|
-
attachment =>
|
|
229
|
-
|
|
230
|
-
<
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
`
|
|
228
|
+
attachment => html`
|
|
229
|
+
<li>
|
|
230
|
+
<a href="${location.origin}/attachment/${attachment.path}" download
|
|
231
|
+
><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
|
|
232
|
+
>
|
|
233
|
+
</li>
|
|
234
|
+
`
|
|
236
235
|
)}
|
|
237
236
|
</ul>
|
|
238
237
|
`
|
|
@@ -9,11 +9,11 @@ import { css, html } from 'lit'
|
|
|
9
9
|
|
|
10
10
|
import { getCodeByName } from '@things-factory/code-base'
|
|
11
11
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
12
|
-
import { i18next, localize } from '@
|
|
12
|
+
import { i18next, localize } from '@operato/i18n'
|
|
13
13
|
import { openPopup } from '@operato/layout'
|
|
14
14
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
15
15
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
16
|
-
import { isMobileDevice } from '@
|
|
16
|
+
import { isMobileDevice } from '@operato/utils'
|
|
17
17
|
|
|
18
18
|
import { fetchSettingRule } from '../../../fetch-setting-value'
|
|
19
19
|
import { VAS_BATCH_AND_PRODUCT_TYPE, VAS_BATCH_NO_TYPE, VAS_PRODUCT_TYPE } from '../../constants'
|
|
@@ -314,10 +314,9 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
314
314
|
<select name="containerSize" ?hidden="${!this._hasContainer}">
|
|
315
315
|
<option value="">--${i18next.t('label.please_select_a_container_size')}--</option>
|
|
316
316
|
${(this.containerSizes || []).map(
|
|
317
|
-
containerSize =>
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
`
|
|
317
|
+
containerSize => html`
|
|
318
|
+
<option value="${containerSize && containerSize.name}">${containerSize && containerSize.name}</option>
|
|
319
|
+
`
|
|
321
320
|
)}
|
|
322
321
|
</select>
|
|
323
322
|
|
|
@@ -9,11 +9,11 @@ import { css, html } from 'lit'
|
|
|
9
9
|
|
|
10
10
|
import { getCodeByName } from '@things-factory/code-base'
|
|
11
11
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
12
|
-
import { i18next, localize } from '@
|
|
12
|
+
import { i18next, localize } from '@operato/i18n'
|
|
13
13
|
import { openPopup } from '@operato/layout'
|
|
14
14
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
15
15
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
16
|
-
import { isMobileDevice } from '@
|
|
16
|
+
import { isMobileDevice } from '@operato/utils'
|
|
17
17
|
|
|
18
18
|
import { fetchSettingRule } from '../../../fetch-setting-value'
|
|
19
19
|
import { VAS_BATCH_AND_PRODUCT_TYPE, VAS_BATCH_NO_TYPE, VAS_PRODUCT_TYPE } from '../../constants'
|
|
@@ -319,15 +319,14 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
319
319
|
<select name="containerSize" ?hidden="${!this._hasContainer}">
|
|
320
320
|
<option value="">--${i18next.t('label.please_select_a_container_size')}--</option>
|
|
321
321
|
${(this.containerSizes || []).map(
|
|
322
|
-
containerSize =>
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
`
|
|
322
|
+
containerSize => html`
|
|
323
|
+
<option
|
|
324
|
+
?selected=${this._containerSize === containerSize.name}
|
|
325
|
+
value="${containerSize && containerSize.name}"
|
|
326
|
+
>
|
|
327
|
+
${containerSize && containerSize.name}
|
|
328
|
+
</option>
|
|
329
|
+
`
|
|
331
330
|
)}
|
|
332
331
|
</select>
|
|
333
332
|
|
|
@@ -4,11 +4,11 @@ import '../../components/select-product-popup'
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html, LitElement } from 'lit'
|
|
6
6
|
|
|
7
|
-
import { i18next, localize } from '@
|
|
7
|
+
import { i18next, localize } from '@operato/i18n'
|
|
8
8
|
import { openPopup } from '@operato/layout'
|
|
9
9
|
import { client, CustomAlert } from '@things-factory/shell'
|
|
10
|
-
import { ScrollbarStyles } from '@
|
|
11
|
-
import { isMobileDevice } from '@
|
|
10
|
+
import { ScrollbarStyles } from '@operato/styles'
|
|
11
|
+
import { isMobileDevice } from '@operato/utils'
|
|
12
12
|
|
|
13
13
|
import { ORDER_PRODUCT_STATUS } from '../../constants'
|
|
14
14
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@operato/data-grist'
|
|
2
|
-
import { i18next, localize } from '@
|
|
2
|
+
import { i18next, localize } from '@operato/i18n'
|
|
3
3
|
import { client, CustomAlert } from '@things-factory/shell'
|
|
4
|
-
import { ScrollbarStyles } from '@
|
|
5
|
-
import { isMobileDevice } from '@
|
|
4
|
+
import { ScrollbarStyles } from '@operato/styles'
|
|
5
|
+
import { isMobileDevice } from '@operato/utils'
|
|
6
6
|
import gql from 'graphql-tag'
|
|
7
7
|
import { css, html, LitElement } from 'lit'
|
|
8
8
|
import { ORDER_PRODUCT_STATUS } from '../../constants'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
2
2
|
import '@operato/data-grist'
|
|
3
3
|
import { getRenderer } from '@operato/data-grist'
|
|
4
|
-
import { i18next, localize } from '@
|
|
4
|
+
import { i18next, localize } from '@operato/i18n'
|
|
5
5
|
import { openPopup } from '@operato/layout'
|
|
6
6
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
7
7
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
8
|
-
import { isMobileDevice } from '@
|
|
8
|
+
import { isMobileDevice } from '@operato/utils'
|
|
9
9
|
import gql from 'graphql-tag'
|
|
10
10
|
import { css, html } from 'lit'
|
|
11
11
|
import '../../components/attachment-viewer'
|
|
@@ -238,14 +238,13 @@ class ReceiveArrivalNotice extends localize(i18next)(PageView) {
|
|
|
238
238
|
<label>${i18next.t('label.attachment')}</label>
|
|
239
239
|
<ul attachment-wrap>
|
|
240
240
|
${(this._attachments || []).map(
|
|
241
|
-
attachment =>
|
|
242
|
-
|
|
243
|
-
<
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
`
|
|
241
|
+
attachment => html`
|
|
242
|
+
<li>
|
|
243
|
+
<a href="${location.origin}/attachment/${attachment.path}" download
|
|
244
|
+
><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
|
|
245
|
+
>
|
|
246
|
+
</li>
|
|
247
|
+
`
|
|
249
248
|
)}
|
|
250
249
|
</ul>
|
|
251
250
|
`
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
2
2
|
import '@operato/data-grist'
|
|
3
3
|
import { getRenderer } from '@operato/data-grist'
|
|
4
|
-
import { i18next, localize } from '@
|
|
4
|
+
import { i18next, localize } from '@operato/i18n'
|
|
5
5
|
import { client, PageView } from '@things-factory/shell'
|
|
6
6
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
7
|
-
import { isMobileDevice } from '@
|
|
7
|
+
import { isMobileDevice } from '@operato/utils'
|
|
8
8
|
import gql from 'graphql-tag'
|
|
9
9
|
import { css, html } from 'lit'
|
|
10
10
|
import '../../components/attachment-viewer'
|
|
@@ -236,14 +236,13 @@ class RejectedArrivalNotice extends localize(i18next)(PageView) {
|
|
|
236
236
|
<label>${i18next.t('label.attachment')}</label>
|
|
237
237
|
<ul attachment-wrap>
|
|
238
238
|
${(this._attachments || []).map(
|
|
239
|
-
attachment =>
|
|
240
|
-
|
|
241
|
-
<
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
`
|
|
239
|
+
attachment => html`
|
|
240
|
+
<li>
|
|
241
|
+
<a href="${location.origin}/attachment/${attachment.path}" download
|
|
242
|
+
><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
|
|
243
|
+
>
|
|
244
|
+
</li>
|
|
245
|
+
`
|
|
247
246
|
)}
|
|
248
247
|
</ul>
|
|
249
248
|
`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@operato/data-grist'
|
|
2
|
-
import { i18next, localize } from '@
|
|
3
|
-
import { ScrollbarStyles } from '@
|
|
4
|
-
import { isMobileDevice } from '@
|
|
2
|
+
import { i18next, localize } from '@operato/i18n'
|
|
3
|
+
import { ScrollbarStyles } from '@operato/styles'
|
|
4
|
+
import { isMobileDevice } from '@operato/utils'
|
|
5
5
|
import { css, html, LitElement } from 'lit'
|
|
6
6
|
import { ORDER_PRODUCT_STATUS } from '../../constants'
|
|
7
7
|
|
|
@@ -8,7 +8,7 @@ import { connect } from 'pwa-helpers/connect-mixin'
|
|
|
8
8
|
|
|
9
9
|
import { getCodeByName } from '@things-factory/code-base'
|
|
10
10
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
11
|
-
import { i18next, localize } from '@
|
|
11
|
+
import { i18next, localize } from '@operato/i18n'
|
|
12
12
|
import { openPopup } from '@operato/layout'
|
|
13
13
|
import { fetchSettingRule } from '@things-factory/setting-ui'
|
|
14
14
|
import { client, CustomAlert, navigate, PageView, store } from '@things-factory/shell'
|
|
@@ -288,8 +288,8 @@ class DraftReleaseGoodDetail extends connect(store)(localize(i18next)(PageView))
|
|
|
288
288
|
<form name="draftReleaseOrder" class="multi-column-form" autocomplete="off">
|
|
289
289
|
<fieldset>
|
|
290
290
|
<legend>${i18next.t('title.draft_release_order')} (${this._orderNo || 'NEW'}) [${
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
this._draftOrderData?.status
|
|
292
|
+
}]</legend>
|
|
293
293
|
|
|
294
294
|
<label>${i18next.t('label.options')}</label>
|
|
295
295
|
<div options-wrap>
|
|
@@ -5,10 +5,10 @@ import gql from 'graphql-tag'
|
|
|
5
5
|
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { GhostPrint } from '@operato/ghost-print'
|
|
8
|
-
import { i18next, localize } from '@
|
|
8
|
+
import { i18next, localize } from '@operato/i18n'
|
|
9
9
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
10
10
|
import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
|
|
11
|
-
import { isMobileDevice } from '@
|
|
11
|
+
import { isMobileDevice } from '@operato/utils'
|
|
12
12
|
|
|
13
13
|
import { DRAFT_RELEASE_ORDER_STATUS } from '../../../constants'
|
|
14
14
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
2
|
import '@operato/data-grist'
|
|
3
|
-
import { i18next, localize } from '@
|
|
3
|
+
import { i18next, localize } from '@operato/i18n'
|
|
4
4
|
import { client, navigate, PageView } from '@things-factory/shell'
|
|
5
|
-
import { ScrollbarStyles } from '@
|
|
6
|
-
import { isMobileDevice } from '@
|
|
5
|
+
import { ScrollbarStyles } from '@operato/styles'
|
|
6
|
+
import { isMobileDevice } from '@operato/utils'
|
|
7
7
|
import gql from 'graphql-tag'
|
|
8
8
|
import { css, html } from 'lit'
|
|
9
9
|
import { getCodeByName } from '@things-factory/code-base'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import gql from 'graphql-tag'
|
|
2
2
|
import { css, html } from 'lit'
|
|
3
3
|
|
|
4
|
-
import { i18next, localize } from '@
|
|
4
|
+
import { i18next, localize } from '@operato/i18n'
|
|
5
5
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
6
6
|
import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
|
|
7
7
|
import { getPathInfo } from '@things-factory/utils'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import gql from 'graphql-tag'
|
|
2
2
|
import { css, html } from 'lit'
|
|
3
3
|
|
|
4
|
-
import { i18next, localize } from '@
|
|
4
|
+
import { i18next, localize } from '@operato/i18n'
|
|
5
5
|
import { client, navigate, PageView } from '@things-factory/shell'
|
|
6
6
|
import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
|
|
7
7
|
import { getPathInfo } from '@things-factory/utils'
|
|
@@ -5,10 +5,10 @@ import gql from 'graphql-tag'
|
|
|
5
5
|
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { getCodeByName } from '@things-factory/code-base'
|
|
8
|
-
import { i18next, localize } from '@
|
|
8
|
+
import { i18next, localize } from '@operato/i18n'
|
|
9
9
|
import { client, navigate, PageView } from '@things-factory/shell'
|
|
10
|
-
import { ScrollbarStyles } from '@
|
|
11
|
-
import { isMobileDevice } from '@
|
|
10
|
+
import { ScrollbarStyles } from '@operato/styles'
|
|
11
|
+
import { isMobileDevice } from '@operato/utils'
|
|
12
12
|
|
|
13
13
|
class ReceivedNoteList extends localize(i18next)(PageView) {
|
|
14
14
|
static get styles() {
|
|
@@ -7,7 +7,7 @@ import gql from 'graphql-tag'
|
|
|
7
7
|
import { css, html } from 'lit'
|
|
8
8
|
|
|
9
9
|
import { getCodeByName } from '@things-factory/code-base'
|
|
10
|
-
import { i18next, localize } from '@
|
|
10
|
+
import { i18next, localize } from '@operato/i18n'
|
|
11
11
|
import { client, navigate, PageView, CustomAlert } from '@things-factory/shell'
|
|
12
12
|
import { openPopup } from '@operato/layout'
|
|
13
13
|
import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
|
|
@@ -7,11 +7,11 @@ import gql from 'graphql-tag'
|
|
|
7
7
|
import { css, html } from 'lit'
|
|
8
8
|
|
|
9
9
|
import { getCodeByName } from '@things-factory/code-base'
|
|
10
|
-
import { i18next, localize } from '@
|
|
10
|
+
import { i18next, localize } from '@operato/i18n'
|
|
11
11
|
import { openPopup } from '@operato/layout'
|
|
12
12
|
import { client, navigate, PageView } from '@things-factory/shell'
|
|
13
13
|
import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
|
|
14
|
-
import { isMobileDevice } from '@
|
|
14
|
+
import { isMobileDevice } from '@operato/utils'
|
|
15
15
|
|
|
16
16
|
class B2bOrderRequests extends localize(i18next)(PageView) {
|
|
17
17
|
static get styles() {
|
|
@@ -10,7 +10,7 @@ import { connect } from 'pwa-helpers/connect-mixin'
|
|
|
10
10
|
import { GhostPrint } from '@operato/ghost-print'
|
|
11
11
|
import { DirectPrinter } from '@things-factory/barcode-base'
|
|
12
12
|
import { getCodeByName } from '@things-factory/code-base'
|
|
13
|
-
import { i18next, localize } from '@
|
|
13
|
+
import { i18next, localize } from '@operato/i18n'
|
|
14
14
|
import { openPopup } from '@operato/layout'
|
|
15
15
|
import { client, CustomAlert, navigate, PageView, store } from '@things-factory/shell'
|
|
16
16
|
import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
|
|
@@ -2,11 +2,11 @@ import '@operato/data-grist'
|
|
|
2
2
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
3
3
|
import { openPopup } from '@operato/layout'
|
|
4
4
|
import { client, CustomAlert } from '@things-factory/shell'
|
|
5
|
-
import { i18next, localize } from '@
|
|
6
|
-
import { isMobileDevice } from '@
|
|
5
|
+
import { i18next, localize } from '@operato/i18n'
|
|
6
|
+
import { isMobileDevice } from '@operato/utils'
|
|
7
7
|
import { css, html, LitElement } from 'lit'
|
|
8
8
|
import gql from 'graphql-tag'
|
|
9
|
-
import { ScrollbarStyles } from '@
|
|
9
|
+
import { ScrollbarStyles } from '@operato/styles'
|
|
10
10
|
import { ORDER_STATUS } from '../../constants'
|
|
11
11
|
import '@things-factory/biz-ui'
|
|
12
12
|
|
|
@@ -2,11 +2,11 @@ import '@operato/data-grist'
|
|
|
2
2
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
3
3
|
import { openPopup } from '@operato/layout'
|
|
4
4
|
import { client, CustomAlert } from '@things-factory/shell'
|
|
5
|
-
import { i18next, localize } from '@
|
|
6
|
-
import { isMobileDevice } from '@
|
|
5
|
+
import { i18next, localize } from '@operato/i18n'
|
|
6
|
+
import { isMobileDevice } from '@operato/utils'
|
|
7
7
|
import { css, html, LitElement } from 'lit'
|
|
8
8
|
import gql from 'graphql-tag'
|
|
9
|
-
import { ScrollbarStyles } from '@
|
|
9
|
+
import { ScrollbarStyles } from '@operato/styles'
|
|
10
10
|
import { ORDER_STATUS, RO_TYPES } from '../../constants'
|
|
11
11
|
import { fetchSettingRule } from '../../../fetch-setting-value'
|
|
12
12
|
import '@things-factory/biz-ui'
|
|
@@ -5,10 +5,10 @@ import gql from 'graphql-tag'
|
|
|
5
5
|
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
8
|
-
import { i18next, localize } from '@
|
|
8
|
+
import { i18next, localize } from '@operato/i18n'
|
|
9
9
|
import { client, PageView } from '@things-factory/shell'
|
|
10
10
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
11
|
-
import { isMobileDevice } from '@
|
|
11
|
+
import { isMobileDevice } from '@operato/utils'
|
|
12
12
|
|
|
13
13
|
class BulkPrintPackingList extends localize(i18next)(PageView) {
|
|
14
14
|
static get properties() {
|
|
@@ -12,11 +12,11 @@ import { css, html } from 'lit'
|
|
|
12
12
|
|
|
13
13
|
import { getCodeByName } from '@things-factory/code-base'
|
|
14
14
|
import { MultiColumnFormStyles, SingleColumnFormStyles } from '@things-factory/form-ui'
|
|
15
|
-
import { i18next, localize } from '@
|
|
15
|
+
import { i18next, localize } from '@operato/i18n'
|
|
16
16
|
import { openPopup } from '@operato/layout'
|
|
17
17
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
18
18
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
19
|
-
import { isMobileDevice } from '@
|
|
19
|
+
import { isMobileDevice } from '@operato/utils'
|
|
20
20
|
|
|
21
21
|
import { fetchLocationSortingRule } from '../../../fetch-location-sorting-rule'
|
|
22
22
|
import { fetchSettingRule } from '../../../fetch-setting-value'
|
|
@@ -646,10 +646,9 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
646
646
|
<select name="containerSize" required>
|
|
647
647
|
<option value="">--${i18next.t('label.please_select_a_container_size')}--</option>
|
|
648
648
|
${(this.containerSizes || []).map(
|
|
649
|
-
containerSize =>
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
`
|
|
649
|
+
containerSize => html`
|
|
650
|
+
<option value="${containerSize && containerSize.name}">${containerSize && containerSize.name}</option>
|
|
651
|
+
`
|
|
653
652
|
)}
|
|
654
653
|
</select>
|
|
655
654
|
|
|
@@ -779,8 +778,8 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
779
778
|
<div class="grist">
|
|
780
779
|
<h2>
|
|
781
780
|
<mwc-icon>list_alt</mwc-icon>${i18next.t('title.release_product_list')}${` [${i18next.t(
|
|
782
|
-
|
|
783
|
-
|
|
781
|
+
PICKING_STANDARD[this._pickingStd].name
|
|
782
|
+
)}]`}
|
|
784
783
|
</h2>
|
|
785
784
|
|
|
786
785
|
<ox-grist
|
|
@@ -9,11 +9,11 @@ import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
|
9
9
|
|
|
10
10
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
11
11
|
import { getRenderer } from '@operato/data-grist'
|
|
12
|
-
import { i18next, localize } from '@
|
|
12
|
+
import { i18next, localize } from '@operato/i18n'
|
|
13
13
|
import { openPopup } from '@operato/layout'
|
|
14
14
|
import { client, CustomAlert, navigate, PageView, store } from '@things-factory/shell'
|
|
15
15
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
16
|
-
import { isMobileDevice } from '@
|
|
16
|
+
import { isMobileDevice } from '@operato/utils'
|
|
17
17
|
|
|
18
18
|
import {
|
|
19
19
|
ORDER_STATUS,
|
|
@@ -283,14 +283,13 @@ class ReceiveReleaseOrderRequest extends connect(store)(localize(i18next)(PageVi
|
|
|
283
283
|
<label>${i18next.t('label.attachment')}</label>
|
|
284
284
|
<ul attachment-wrap>
|
|
285
285
|
${(this._attachments || []).map(
|
|
286
|
-
attachment =>
|
|
287
|
-
|
|
288
|
-
<
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
`
|
|
286
|
+
attachment => html`
|
|
287
|
+
<li>
|
|
288
|
+
<a href="${location.origin}/attachment/${attachment.path}" download
|
|
289
|
+
><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
|
|
290
|
+
>
|
|
291
|
+
</li>
|
|
292
|
+
`
|
|
294
293
|
)}
|
|
295
294
|
</ul>
|
|
296
295
|
`
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
2
2
|
import '@operato/data-grist'
|
|
3
3
|
import { getRenderer } from '@operato/data-grist'
|
|
4
|
-
import { i18next, localize } from '@
|
|
4
|
+
import { i18next, localize } from '@operato/i18n'
|
|
5
5
|
import { client, PageView } from '@things-factory/shell'
|
|
6
6
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
7
|
-
import { isMobileDevice } from '@
|
|
7
|
+
import { isMobileDevice } from '@operato/utils'
|
|
8
8
|
import gql from 'graphql-tag'
|
|
9
9
|
import { css, html } from 'lit'
|
|
10
10
|
import '../../components/popup-note'
|
|
@@ -204,14 +204,13 @@ class RejectedReleaseOrder extends localize(i18next)(PageView) {
|
|
|
204
204
|
<label>${i18next.t('label.attachment')}</label>
|
|
205
205
|
<ul attachment-wrap>
|
|
206
206
|
${(this._attachments || []).map(
|
|
207
|
-
attachment =>
|
|
208
|
-
|
|
209
|
-
<
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
`
|
|
207
|
+
attachment => html`
|
|
208
|
+
<li>
|
|
209
|
+
<a href="${location.origin}/attachment/${attachment.path}" download
|
|
210
|
+
><mwc-icon>attach_file</mwc-icon> ${attachment.name}</a
|
|
211
|
+
>
|
|
212
|
+
</li>
|
|
213
|
+
`
|
|
215
214
|
)}
|
|
216
215
|
</ul>
|
|
217
216
|
`
|
|
@@ -4,10 +4,10 @@ import gql from 'graphql-tag'
|
|
|
4
4
|
import { css, html, LitElement } from 'lit'
|
|
5
5
|
|
|
6
6
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
7
|
-
import { i18next, localize } from '@
|
|
7
|
+
import { i18next, localize } from '@operato/i18n'
|
|
8
8
|
import { client, CustomAlert } from '@things-factory/shell'
|
|
9
|
-
import { ScrollbarStyles } from '@
|
|
10
|
-
import { isMobileDevice } from '@
|
|
9
|
+
import { ScrollbarStyles } from '@operato/styles'
|
|
10
|
+
import { isMobileDevice } from '@operato/utils'
|
|
11
11
|
|
|
12
12
|
import { fetchLocationSortingRule } from '../../../fetch-location-sorting-rule'
|
|
13
13
|
import {
|