@things-factory/operato-wms 3.6.24 → 3.6.29
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/order/arrival-notice/create-arrival-notice.js +3 -3
- package/client/pages/order/release-order/create-release-order.js +1 -0
- package/client/pages/order/release-order/release-order-detail.js +19 -34
- package/client/pages/outbound/packing-worksheet-list.js +23 -26
- package/client/pages/report/custom-elccl/elccl-delivery-order-summary.js +1 -1
- package/client/pages/report/inbound-order-details-report.js +5 -5
- package/client/pages/report/outbound-order-details-report.js +1 -1
- package/config.development.js +95 -0
- package/config.production.js +90 -0
- package/dist-server/graphql/resolvers/reports/inbound-order-details-report.js +1 -1
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js +4 -2
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js.map +1 -1
- package/dist-server/graphql/types/reports/inbound-order-details-report.js +1 -1
- package/dist-server/graphql/types/reports/index.js +2 -2
- package/package.json +37 -37
- package/server/graphql/resolvers/reports/inbound-order-details-report.ts +1 -1
- package/server/graphql/resolvers/reports/outbound-order-details-report.ts +4 -2
- package/server/graphql/types/reports/inbound-order-details-report.ts +1 -1
- package/server/graphql/types/reports/index.ts +2 -2
|
@@ -351,6 +351,8 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
351
351
|
super()
|
|
352
352
|
this.productData = { records: [] }
|
|
353
353
|
this.vasData = { records: [] }
|
|
354
|
+
this._bizplaceId = ''
|
|
355
|
+
this._bizplaceName = ''
|
|
354
356
|
this.containerSizes = []
|
|
355
357
|
this._importedOrder = false
|
|
356
358
|
this._hasContainer = false
|
|
@@ -1252,7 +1254,7 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1252
1254
|
batchIdRef: record?.batchIdRef ? record.batchIdRef : null,
|
|
1253
1255
|
product: { id: record.product.id },
|
|
1254
1256
|
packingType: record.packingType,
|
|
1255
|
-
packingSize: record.product.packingSize,
|
|
1257
|
+
packingSize: record.packingSize || record.product.packingSize,
|
|
1256
1258
|
uomValue: record?.uomValue ? record.uomValue : 0,
|
|
1257
1259
|
uom: record.uom,
|
|
1258
1260
|
packQty: record.packQty,
|
|
@@ -1576,8 +1578,6 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1576
1578
|
sku
|
|
1577
1579
|
description
|
|
1578
1580
|
type
|
|
1579
|
-
packingType
|
|
1580
|
-
packingSize
|
|
1581
1581
|
primaryUnit
|
|
1582
1582
|
primaryValue
|
|
1583
1583
|
}
|
|
@@ -281,6 +281,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
281
281
|
?hidden="${!this._checkTransport}"
|
|
282
282
|
name="packingOption"
|
|
283
283
|
.checked="${this._packingOption}"
|
|
284
|
+
disabled
|
|
284
285
|
/>
|
|
285
286
|
<label for="packingOption" ?hidden="${!this._checkTransport}">${i18next.t('label.packing')}</label>
|
|
286
287
|
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
2
1
|
import '@things-factory/grist-ui'
|
|
2
|
+
import '../../components/attachment-viewer'
|
|
3
|
+
import '../../components/vas-templates'
|
|
4
|
+
import './release-extra-product-popup'
|
|
5
|
+
|
|
6
|
+
import gql from 'graphql-tag'
|
|
7
|
+
import { css, html } from 'lit-element'
|
|
8
|
+
import { connect } from 'pwa-helpers/connect-mixin'
|
|
9
|
+
|
|
10
|
+
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
3
11
|
import { getRenderer } from '@things-factory/grist-ui'
|
|
4
12
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
5
13
|
import { openPopup } from '@things-factory/layout-base'
|
|
6
14
|
import { client, CustomAlert, navigate, PageView, store } from '@things-factory/shell'
|
|
7
15
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
8
16
|
import { isMobileDevice } from '@things-factory/utils'
|
|
9
|
-
|
|
10
|
-
import { css, html } from 'lit-element'
|
|
11
|
-
import { connect } from 'pwa-helpers/connect-mixin'
|
|
17
|
+
|
|
12
18
|
import { fetchSettingRule } from '../../../fetch-setting-value'
|
|
13
|
-
import '../../components/attachment-viewer'
|
|
14
|
-
import '../../components/vas-templates'
|
|
15
19
|
import {
|
|
16
20
|
ORDER_STATUS,
|
|
17
21
|
VAS_BATCH_AND_PRODUCT_TYPE,
|
|
@@ -19,7 +23,6 @@ import {
|
|
|
19
23
|
VAS_ETC_TYPE,
|
|
20
24
|
VAS_PRODUCT_TYPE
|
|
21
25
|
} from '../../constants'
|
|
22
|
-
import './release-extra-product-popup'
|
|
23
26
|
|
|
24
27
|
class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
25
28
|
static get properties() {
|
|
@@ -34,6 +37,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
34
37
|
_exportOption: Boolean,
|
|
35
38
|
_courierOption: Boolean,
|
|
36
39
|
_packingOption: Boolean,
|
|
40
|
+
roType: String,
|
|
37
41
|
customerBizplaceId: String,
|
|
38
42
|
partnerBizplaceId: String,
|
|
39
43
|
inventoryGristConfig: Object,
|
|
@@ -315,7 +319,12 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
315
319
|
var actions = [
|
|
316
320
|
{
|
|
317
321
|
title: i18next.t('button.back_to_list'),
|
|
318
|
-
action: () =>
|
|
322
|
+
action: () =>
|
|
323
|
+
this.roType === 'b2b'
|
|
324
|
+
? userIsOfficeAdmin
|
|
325
|
+
? navigate(`b2b_order_requests`)
|
|
326
|
+
: navigate(`b2b_orders`)
|
|
327
|
+
: navigate(`b2c_order_requests`),
|
|
319
328
|
...CommonButtonStyles.back
|
|
320
329
|
}
|
|
321
330
|
]
|
|
@@ -441,12 +450,6 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
441
450
|
header: i18next.t('field.packing_size'),
|
|
442
451
|
width: 140
|
|
443
452
|
},
|
|
444
|
-
// {
|
|
445
|
-
// type: 'integer',
|
|
446
|
-
// name: 'qty',
|
|
447
|
-
// header: i18next.t('field.available_qty'),
|
|
448
|
-
// width: 100
|
|
449
|
-
// },
|
|
450
453
|
{
|
|
451
454
|
type: 'integer',
|
|
452
455
|
name: 'releaseQty',
|
|
@@ -454,19 +457,6 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
454
457
|
record: { options: { min: 0 } },
|
|
455
458
|
width: 130
|
|
456
459
|
},
|
|
457
|
-
// {
|
|
458
|
-
// type: 'integer',
|
|
459
|
-
// name: 'remainQty',
|
|
460
|
-
// header: i18next.t('field.remaining_qty'),
|
|
461
|
-
// record: { options: { min: 0 } },
|
|
462
|
-
// width: 100
|
|
463
|
-
// },
|
|
464
|
-
// {
|
|
465
|
-
// type: 'string',
|
|
466
|
-
// name: 'availableUomValueWithUom',
|
|
467
|
-
// header: i18next.t('field.available_uom_value'),
|
|
468
|
-
// width: 100
|
|
469
|
-
// },
|
|
470
460
|
{
|
|
471
461
|
type: 'string',
|
|
472
462
|
name: 'releaseUomValueWithUom',
|
|
@@ -474,13 +464,6 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
474
464
|
record: { options: { min: 0 } },
|
|
475
465
|
width: 150
|
|
476
466
|
},
|
|
477
|
-
// {
|
|
478
|
-
// type: 'string',
|
|
479
|
-
// name: 'remainUomValueWithUom',
|
|
480
|
-
// header: i18next.t('field.remain_uom_value'),
|
|
481
|
-
// record: { options: { min: 0 } },
|
|
482
|
-
// width: 100
|
|
483
|
-
// },
|
|
484
467
|
{
|
|
485
468
|
type: 'string',
|
|
486
469
|
name: 'roundedUomValue',
|
|
@@ -611,6 +594,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
611
594
|
id
|
|
612
595
|
name
|
|
613
596
|
truckNo
|
|
597
|
+
type
|
|
614
598
|
bizplace {
|
|
615
599
|
id
|
|
616
600
|
name
|
|
@@ -705,6 +689,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
705
689
|
if (!response.errors) {
|
|
706
690
|
const releaseOrder = response.data.releaseGoodDetail
|
|
707
691
|
const shippingOrder = releaseOrder.shippingOrderInfo
|
|
692
|
+
this.roType = releaseOrder.type
|
|
708
693
|
const orderInventories = releaseOrder.inventoryInfos.map(inventoryInfo => {
|
|
709
694
|
let roundedUomValue =
|
|
710
695
|
inventoryInfo.releaseQty *
|
|
@@ -8,7 +8,7 @@ import { getCodeByName } from '@things-factory/code-base'
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
9
|
import { client, navigate, PageView } from '@things-factory/shell'
|
|
10
10
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
11
|
-
import {
|
|
11
|
+
import { isMobileDevice } from '@things-factory/utils'
|
|
12
12
|
|
|
13
13
|
import { WORKSHEET_TYPE } from '../constants'
|
|
14
14
|
|
|
@@ -81,7 +81,7 @@ class PackingWorksheetList extends localize(i18next)(PageView) {
|
|
|
81
81
|
|
|
82
82
|
async pageInitialized() {
|
|
83
83
|
const _worksheetStatus = await getCodeByName('WORKSHEET_STATUS')
|
|
84
|
-
|
|
84
|
+
const partners = [...(await this._fetchPartners())]
|
|
85
85
|
|
|
86
86
|
this._searchFields = [
|
|
87
87
|
{
|
|
@@ -97,16 +97,16 @@ class PackingWorksheetList extends localize(i18next)(PageView) {
|
|
|
97
97
|
props: { searchOper: 'i_like' }
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
name: 'bizplaceId',
|
|
101
100
|
label: i18next.t('field.company'),
|
|
101
|
+
name: 'bizplaceId',
|
|
102
102
|
type: 'select',
|
|
103
103
|
options: [
|
|
104
104
|
{ value: '' },
|
|
105
|
-
...
|
|
106
|
-
.map(
|
|
105
|
+
...partners
|
|
106
|
+
.map(partner => {
|
|
107
107
|
return {
|
|
108
|
-
name:
|
|
109
|
-
value:
|
|
108
|
+
name: `${partner.name} ${partner.description ? `(${partner.description})` : ''}`,
|
|
109
|
+
value: partner.id
|
|
110
110
|
}
|
|
111
111
|
})
|
|
112
112
|
.sort(this._compareValues('name', 'asc'))
|
|
@@ -264,12 +264,8 @@ class PackingWorksheetList extends localize(i18next)(PageView) {
|
|
|
264
264
|
})
|
|
265
265
|
const response = await client.query({
|
|
266
266
|
query: gql`
|
|
267
|
-
query {
|
|
268
|
-
worksheets(${
|
|
269
|
-
filters,
|
|
270
|
-
pagination: { page, limit },
|
|
271
|
-
sortings: sorters
|
|
272
|
-
})}) {
|
|
267
|
+
query worksheets($filters: [Filter], $pagination: Pagination, $sortings: [Sorting]) {
|
|
268
|
+
worksheets(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
273
269
|
items {
|
|
274
270
|
id
|
|
275
271
|
name
|
|
@@ -298,7 +294,8 @@ class PackingWorksheetList extends localize(i18next)(PageView) {
|
|
|
298
294
|
total
|
|
299
295
|
}
|
|
300
296
|
}
|
|
301
|
-
|
|
297
|
+
`,
|
|
298
|
+
variables: { filters, pagination: { page, limit }, sortings: sorters }
|
|
302
299
|
})
|
|
303
300
|
|
|
304
301
|
if (!response.errors) {
|
|
@@ -316,25 +313,25 @@ class PackingWorksheetList extends localize(i18next)(PageView) {
|
|
|
316
313
|
return this.config.columns
|
|
317
314
|
}
|
|
318
315
|
|
|
319
|
-
async
|
|
316
|
+
async _fetchPartners() {
|
|
317
|
+
const filters = []
|
|
320
318
|
const response = await client.query({
|
|
321
319
|
query: gql`
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
name
|
|
329
|
-
description
|
|
330
|
-
}
|
|
320
|
+
query partnersBizplaces($filters: [Filter!]) {
|
|
321
|
+
partnersBizplaces(filters: $filters) {
|
|
322
|
+
items {
|
|
323
|
+
id
|
|
324
|
+
name
|
|
325
|
+
description
|
|
331
326
|
}
|
|
332
327
|
}
|
|
333
|
-
|
|
328
|
+
}
|
|
329
|
+
`,
|
|
330
|
+
variables: { filters }
|
|
334
331
|
})
|
|
335
332
|
|
|
336
333
|
if (!response.errors) {
|
|
337
|
-
return response.data.
|
|
334
|
+
return response.data.partnersBizplaces.items
|
|
338
335
|
}
|
|
339
336
|
}
|
|
340
337
|
|
|
@@ -274,7 +274,7 @@ class ElcclDeliveryOrderSummary extends connect(store)(localize(i18next)(PageVie
|
|
|
274
274
|
total: response.data.deliveryOrders.total || 0,
|
|
275
275
|
records:
|
|
276
276
|
response.data.deliveryOrders.items.map(itm => {
|
|
277
|
-
let remarks = itm.orderInventories.reduce((acc, itm) => {
|
|
277
|
+
let remarks = (itm.orderInventories || []).reduce((acc, itm) => {
|
|
278
278
|
let dt = {
|
|
279
279
|
product_name: `${itm.inventory.product.name} (${itm.inventory.product.description})`,
|
|
280
280
|
product_batch: itm.inventory.batchId,
|
|
@@ -211,7 +211,7 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
|
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
type: 'string',
|
|
214
|
-
name: '
|
|
214
|
+
name: 'contactPoint|companyName',
|
|
215
215
|
header: i18next.t('field.supplier'),
|
|
216
216
|
width: 170
|
|
217
217
|
},
|
|
@@ -472,7 +472,7 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
|
|
|
472
472
|
'grnNo',
|
|
473
473
|
'deliveryOrderNo',
|
|
474
474
|
'purchaseOrder|name',
|
|
475
|
-
'
|
|
475
|
+
'contactPoint|companyName',
|
|
476
476
|
'refNo1',
|
|
477
477
|
'refNo2',
|
|
478
478
|
'refNo3',
|
|
@@ -570,7 +570,7 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
|
|
|
570
570
|
|
|
571
571
|
const response = await client.query({
|
|
572
572
|
query: gql`
|
|
573
|
-
query inboundOrderDetailsReport($filters: [Filter], $pagination: Pagination, $sortings: [Sorting]) {
|
|
573
|
+
query inboundOrderDetailsReport($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
|
|
574
574
|
inboundOrderDetailsReport(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
575
575
|
items {
|
|
576
576
|
bizplace {
|
|
@@ -606,7 +606,7 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
|
|
|
606
606
|
id
|
|
607
607
|
name
|
|
608
608
|
}
|
|
609
|
-
|
|
609
|
+
contactPoint {
|
|
610
610
|
id
|
|
611
611
|
name
|
|
612
612
|
}
|
|
@@ -735,7 +735,7 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
|
|
|
735
735
|
{ header: i18next.t('field.grn_no'), key: 'grnNo', width: 30, type: 'string' },
|
|
736
736
|
{ header: i18next.t('field.do_no'), key: 'deliveryOrderNo', width: 30, type: 'string' },
|
|
737
737
|
{ header: i18next.t('field.po_no'), key: 'purchaseOrder|name', width: 30, type: 'string' },
|
|
738
|
-
{ header: i18next.t('field.supplier'), key: '
|
|
738
|
+
{ header: i18next.t('field.supplier'), key: 'contactPoint|companyName', width: 30, type: 'string' },
|
|
739
739
|
{ header: i18next.t('field.ref_no'), key: 'refNo1', width: 60, type: 'string' },
|
|
740
740
|
{ header: i18next.t('field.ref_no_2'), key: 'refNo2', width: 60, type: 'string' },
|
|
741
741
|
{ header: i18next.t('field.ref_no_3'), key: 'refNo3', width: 60, type: 'string' },
|
|
@@ -527,7 +527,7 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
527
527
|
|
|
528
528
|
const response = await client.query({
|
|
529
529
|
query: gql`
|
|
530
|
-
query outboundOrderDetailsReport($filters: [Filter], $pagination: Pagination, $sortings: [Sorting]) {
|
|
530
|
+
query outboundOrderDetailsReport($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
|
|
531
531
|
outboundOrderDetailsReport(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
532
532
|
items {
|
|
533
533
|
bizplace {
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
domainType: 'warehouse',
|
|
3
|
+
domainExtType: 'warehouse',
|
|
4
|
+
useVirtualHostBasedDomain: false,
|
|
5
|
+
fallbackRoute: '/',
|
|
6
|
+
subdomainOffset: 2,
|
|
7
|
+
SECRET: '0xD58F835B61C217A76CA5FA4a70a1D0d4D79dBD20',
|
|
8
|
+
reportApiUrl: 'http://localhost:8090/rest/report/show_html',
|
|
9
|
+
// storage: {
|
|
10
|
+
// type: 's3',
|
|
11
|
+
// accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
|
|
12
|
+
// secretAccessKey: 'AuDAgmODf9EJNB24OveRhTSLV/OJy6IFFoRxe8k2',
|
|
13
|
+
// bucketName: 'opa-one'
|
|
14
|
+
// },
|
|
15
|
+
// ormconfig: {
|
|
16
|
+
// name: 'default',
|
|
17
|
+
// type: 'postgres',
|
|
18
|
+
// database: 'postgres',
|
|
19
|
+
// username: 'postgres',
|
|
20
|
+
// password: 'abcd1234',
|
|
21
|
+
// host: 'operatov3-instance-1.cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
22
|
+
// port: 55432,
|
|
23
|
+
// synchronize: true,
|
|
24
|
+
// logging: true
|
|
25
|
+
// },
|
|
26
|
+
ormconfig: {
|
|
27
|
+
name: 'default',
|
|
28
|
+
type: 'postgres',
|
|
29
|
+
database: 'postgres',
|
|
30
|
+
username: 'postgres',
|
|
31
|
+
password: 'abcd1234',
|
|
32
|
+
host: 'localhost',
|
|
33
|
+
port: 15432,
|
|
34
|
+
synchronize: true,
|
|
35
|
+
logging: true
|
|
36
|
+
},
|
|
37
|
+
// notification: {
|
|
38
|
+
// fcm: {
|
|
39
|
+
// serviceAccount: {
|
|
40
|
+
// project_id: 'operato',
|
|
41
|
+
// private_key:
|
|
42
|
+
// '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYN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JasWoFvwKBgQDFs/gQ/gIdcq0exLfluh5nw0qgcmyHpNWJHdjqITS9IX/nqFkU\n0IYLtmdStf2jQiLmbkydHcvz9wZVvLqml67VBHhwLcwpgPULoskd34/4V0Dvzy4c\nv1Esw8H5zVqIDLeLu+VpFjZMzQrjyl6RIWbyTExEc84rVWfpQYAu3qIGOQKBgAFr\nXatEk7TdAtRNSPflTfu/rTAaSeKROjQBkvBiU8x4US1YpOBDBxUUyAtG8wKh5FHC\nfnsaGq+fM3KXJVv2R6J62mXQOfg4xyDLpWlwcBK4aSBBMoiBcsjouqSlZQlqMpdf\nZBgixqHe6U8BsFJg/6ZxC0y+e3AIss4Bo4/lb+1lAoGAFOexvaBh21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
|
|
43
|
+
// client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
|
|
44
|
+
// },
|
|
45
|
+
// appConfig: {
|
|
46
|
+
// apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
|
|
47
|
+
// projectId: 'operato',
|
|
48
|
+
// messagingSenderId: 79537064975,
|
|
49
|
+
// appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
|
|
50
|
+
// },
|
|
51
|
+
// serverKey:
|
|
52
|
+
// 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
|
|
53
|
+
// },
|
|
54
|
+
// vapidKey: {
|
|
55
|
+
// subject: 'mailto:heartyoh@hatiolab.com',
|
|
56
|
+
// publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
|
|
57
|
+
// privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
|
|
58
|
+
// }
|
|
59
|
+
// },
|
|
60
|
+
uploads: 'uploads',
|
|
61
|
+
attachmentsPath: 'attachments',
|
|
62
|
+
sellercraftIntegrationConfig: {
|
|
63
|
+
apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
|
|
64
|
+
},
|
|
65
|
+
marketplaceIntegrationShopee: {
|
|
66
|
+
platform: 'shopee',
|
|
67
|
+
isUAT: false,
|
|
68
|
+
application: 'Operato MMS',
|
|
69
|
+
partnerId: 846025,
|
|
70
|
+
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
|
|
71
|
+
},
|
|
72
|
+
marketplaceIntegrationLazada: {
|
|
73
|
+
platform: 'lazada',
|
|
74
|
+
application: 'operato-mms',
|
|
75
|
+
appKey: '120961',
|
|
76
|
+
appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
|
|
77
|
+
callback: 'https://myoperato.com/lazada-callback'
|
|
78
|
+
},
|
|
79
|
+
port: 4000,
|
|
80
|
+
SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
|
|
81
|
+
email: {
|
|
82
|
+
host: 'smtp.office365.com',
|
|
83
|
+
port: 587,
|
|
84
|
+
secure: false, // true for 465, false for other ports
|
|
85
|
+
auth: {
|
|
86
|
+
user: 'no-reply@hatiolab.com', // generated ethereal user
|
|
87
|
+
pass: 'h@ti0LAB1008' // generated ethereal password
|
|
88
|
+
},
|
|
89
|
+
secureConnection: false,
|
|
90
|
+
tls: {
|
|
91
|
+
ciphers: 'SSLv3'
|
|
92
|
+
},
|
|
93
|
+
sender: 'no-reply@hatiolab.com'
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
domainType: 'warehouse',
|
|
3
|
+
domainExtType: 'warehouse',
|
|
4
|
+
useVirtualHostBasedDomain: false,
|
|
5
|
+
subdomainOffset: 2,
|
|
6
|
+
SECRET: '0xD58F835B61C217A76CA5FA4a70a1D0d4D79dBD20',
|
|
7
|
+
reportApiUrl: 'https://operatowms.com/rest/report/show_html',
|
|
8
|
+
email: {
|
|
9
|
+
host: 'smtp.office365.com',
|
|
10
|
+
port: 587,
|
|
11
|
+
secure: false,
|
|
12
|
+
auth: {
|
|
13
|
+
user: 'no-reply@hatiolab.com', // generated ethereal user
|
|
14
|
+
pass: 'h@ti0LAB1008' // generated ethereal password
|
|
15
|
+
},
|
|
16
|
+
secureConnection: false,
|
|
17
|
+
tls: {
|
|
18
|
+
ciphers: 'SSLv3'
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
logger: {
|
|
22
|
+
file: {
|
|
23
|
+
filename: 'logs/application-%DATE%.log',
|
|
24
|
+
datePattern: 'YYYY-MM-DD-HH',
|
|
25
|
+
zippedArchive: false,
|
|
26
|
+
maxSize: '20m',
|
|
27
|
+
maxFiles: '2d',
|
|
28
|
+
level: 'info'
|
|
29
|
+
},
|
|
30
|
+
console: {
|
|
31
|
+
level: 'silly'
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
ormconfig: {
|
|
35
|
+
name: 'default',
|
|
36
|
+
type: 'postgres',
|
|
37
|
+
database: 'postgres',
|
|
38
|
+
username: 'postgres',
|
|
39
|
+
password: 'abcd1234',
|
|
40
|
+
host: '13.212.171.146',
|
|
41
|
+
port: 55432,
|
|
42
|
+
synchronize: true,
|
|
43
|
+
logging: true
|
|
44
|
+
},
|
|
45
|
+
uploads: 'uploads',
|
|
46
|
+
storage: {
|
|
47
|
+
type: 's3',
|
|
48
|
+
accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
|
|
49
|
+
secretAccessKey: 'AuDAgmODf9EJNB24OveRhTSLV/OJy6IFFoRxe8k2',
|
|
50
|
+
bucketName: 'opa-one'
|
|
51
|
+
},
|
|
52
|
+
marketplaceIntegrationShopee: {
|
|
53
|
+
platform: 'shopee',
|
|
54
|
+
isUAT: false,
|
|
55
|
+
application: 'Operato MMS',
|
|
56
|
+
partnerId: 846025,
|
|
57
|
+
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
|
|
58
|
+
},
|
|
59
|
+
marketplaceIntegrationLazada: {
|
|
60
|
+
platform: 'lazada',
|
|
61
|
+
application: 'operato-mms',
|
|
62
|
+
appKey: '120961',
|
|
63
|
+
appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
|
|
64
|
+
callback: 'https://myoperato.com/lazada-callback'
|
|
65
|
+
},
|
|
66
|
+
attachmentsPath: 'attachments',
|
|
67
|
+
notification: {
|
|
68
|
+
fcm: {
|
|
69
|
+
serviceAccount: {
|
|
70
|
+
project_id: 'operato',
|
|
71
|
+
private_key:
|
|
72
|
+
'-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k1cV3Zt\nES0YsJlkELqBisYpV//2/ZSILTt39J9JzrVef03X9kkoo9p+YnNyy6tWsfQPfgJO\nybiRGBNxiyJ/E2pxRo/WqU0go9OzYJlGaSUrUx09heNiRD1b0MAOmyPDJz/6AaTk\nkU/A+kLzAgMBAAECggEADQ5s2gtR53VSujk1V/Xe8e0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h21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
|
|
73
|
+
client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
|
|
74
|
+
},
|
|
75
|
+
appConfig: {
|
|
76
|
+
apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
|
|
77
|
+
projectId: 'operato',
|
|
78
|
+
messagingSenderId: 79537064975,
|
|
79
|
+
appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
|
|
80
|
+
},
|
|
81
|
+
serverKey:
|
|
82
|
+
'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
|
|
83
|
+
},
|
|
84
|
+
vapidKey: {
|
|
85
|
+
subject: 'mailto:heartyoh@hatiolab.com',
|
|
86
|
+
publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
|
|
87
|
+
privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -51,7 +51,7 @@ exports.inboundOrderDetailsReport = {
|
|
|
51
51
|
await tx.query(`
|
|
52
52
|
create temp table temp_inbound_order_report on commit drop as (
|
|
53
53
|
select * from (
|
|
54
|
-
select b2.name as "bizplace_name", b2.description as "bizplace_description",
|
|
54
|
+
select b2.id as "bizplace_id", b2.name as "bizplace_name", b2.description as "bizplace_description",
|
|
55
55
|
grn.name as "grn_no",
|
|
56
56
|
an.name as "gan_no", an.ref_no as "ref_no_1", an.ref_no_2 as "ref_no_2", an.ref_no_3 as "ref_no_3",
|
|
57
57
|
an.loose_item, an.import_cargo, an.container_no, an.container_size, an.own_transport,
|
|
@@ -43,11 +43,11 @@ exports.outboundOrderDetailsReport = {
|
|
|
43
43
|
await tx.query(`
|
|
44
44
|
create temp table temp_outbound_order_report on commit drop as (
|
|
45
45
|
select * from (
|
|
46
|
-
select b2.name AS "bizplace_name", b2.description AS "bizplace_description",
|
|
46
|
+
select b2.id AS "bizplace_id", b2.name AS "bizplace_name", b2.description AS "bizplace_description",
|
|
47
47
|
do2.name AS "delivery_order_no", do2.delivery_date as "delivery_order_date", coalesce(do2."to", concat(cp.address, cp.address_2)) as "delivery_address",
|
|
48
48
|
rg.name AS "ro_no", rg."type" as "ro_type", rg.ref_no AS "ref_no_1", rg.ref_no_2 AS "ref_no_2", rg.ref_no_3 AS "ref_no_3",
|
|
49
49
|
rg.created_at AS "order_created_at", rg.accepted_at, u4.name as accepted_by,
|
|
50
|
-
p.sku as "product_sku", p.name AS "product_name", p.description AS "product_description", p.type as "product_type",
|
|
50
|
+
p.id as "product_id", p.sku as "product_sku", p.name AS "product_name", p.description AS "product_description", p.type as "product_type",
|
|
51
51
|
oi.packing_type as "pack_type", oi.packing_size as "pack_size", oi.release_qty AS "release_qty",
|
|
52
52
|
w.started_at as "picking_start", w.ended_at as "picking_complete",
|
|
53
53
|
ih.qty as "qty", ih.uom_value as "uom_value", ih.uom, ih.pallet_id, ih.carton_id, ih.batch_id, ih.batch_id_ref,
|
|
@@ -111,6 +111,7 @@ exports.outboundOrderDetailsReport = {
|
|
|
111
111
|
let items = result.map(itm => {
|
|
112
112
|
return {
|
|
113
113
|
bizplace: {
|
|
114
|
+
id: itm.bizplace_id,
|
|
114
115
|
name: itm.bizplace_name,
|
|
115
116
|
description: itm.bizplace_description
|
|
116
117
|
},
|
|
@@ -128,6 +129,7 @@ exports.outboundOrderDetailsReport = {
|
|
|
128
129
|
pickingStart: itm.picking_start,
|
|
129
130
|
pickingComplete: itm.picking_complete,
|
|
130
131
|
product: {
|
|
132
|
+
id: itm.product_id,
|
|
131
133
|
sku: itm.product_sku,
|
|
132
134
|
name: itm.product_name,
|
|
133
135
|
description: itm.product_description,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,0BAA0B,GAAG;IACxC,KAAK,CAAC,0BAA0B,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACtE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,cAAc,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAA;YAC1D,IAAI,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAClE,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YACpE,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;YAChE,IAAI,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAC5D,IAAI,IAAI,GAAG,MAAM,CAAC,OA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CAAC,UAAU;iBAC1B,CAAA;YACH,CAAC,CAAC,CAAA;YAEF,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;aACtB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
|
1
|
+
{"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,0BAA0B,GAAG;IACxC,KAAK,CAAC,0BAA0B,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACtE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,cAAc,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAA;YAC1D,IAAI,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAClE,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YACpE,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;YAChE,IAAI,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAC5D,IAAI,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EA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,CAAC,SAAS;oBACvB,SAAS,EAAE,GAAG,CAAC,UAAU;iBAC1B,CAAA;YACH,CAAC,CAAC,CAAA;YAEF,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;aACtB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
|
@@ -6,8 +6,8 @@ const inbound_order_details_report_list_1 = require("./inbound-order-details-rep
|
|
|
6
6
|
const outbound_order_details_report_1 = require("./outbound-order-details-report");
|
|
7
7
|
const outbound_order_details_report_list_1 = require("./outbound-order-details-report-list");
|
|
8
8
|
exports.Query = `
|
|
9
|
-
inboundOrderDetailsReport(filters: [Filter], pagination: Pagination, sortings: [Sorting]): InboundOrderDetailsReportList @transaction
|
|
10
|
-
outboundOrderDetailsReport(filters: [Filter], pagination: Pagination, sortings: [Sorting]): OutboundOrderDetailsReportList @transaction
|
|
9
|
+
inboundOrderDetailsReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): InboundOrderDetailsReportList @transaction
|
|
10
|
+
outboundOrderDetailsReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): OutboundOrderDetailsReportList @transaction
|
|
11
11
|
`;
|
|
12
12
|
exports.Types = [
|
|
13
13
|
inbound_order_details_report_1.InboundOrderDetailsReport,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.29",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -41,36 +41,36 @@
|
|
|
41
41
|
"docker:run": "docker run -p 4000:3000 hatiolab/operato-wms:latest"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@things-factory/apptool-ui": "^3.6.
|
|
45
|
-
"@things-factory/attachment-ui": "^3.6.
|
|
46
|
-
"@things-factory/auth-ui": "^3.6.
|
|
47
|
-
"@things-factory/barcode-ui": "^3.6.
|
|
48
|
-
"@things-factory/biz-ui": "^3.6.
|
|
49
|
-
"@things-factory/board-service": "^3.6.
|
|
50
|
-
"@things-factory/board-ui": "^3.6.
|
|
51
|
-
"@things-factory/code-ui": "^3.6.
|
|
52
|
-
"@things-factory/context-ui": "^3.6.
|
|
53
|
-
"@things-factory/export-ui": "^3.6.
|
|
54
|
-
"@things-factory/export-ui-csv": "^3.6.
|
|
55
|
-
"@things-factory/export-ui-excel": "^3.6.
|
|
56
|
-
"@things-factory/fav-base": "^3.6.
|
|
57
|
-
"@things-factory/form-ui": "^3.6.
|
|
44
|
+
"@things-factory/apptool-ui": "^3.6.29",
|
|
45
|
+
"@things-factory/attachment-ui": "^3.6.29",
|
|
46
|
+
"@things-factory/auth-ui": "^3.6.29",
|
|
47
|
+
"@things-factory/barcode-ui": "^3.6.29",
|
|
48
|
+
"@things-factory/biz-ui": "^3.6.29",
|
|
49
|
+
"@things-factory/board-service": "^3.6.29",
|
|
50
|
+
"@things-factory/board-ui": "^3.6.29",
|
|
51
|
+
"@things-factory/code-ui": "^3.6.29",
|
|
52
|
+
"@things-factory/context-ui": "^3.6.29",
|
|
53
|
+
"@things-factory/export-ui": "^3.6.29",
|
|
54
|
+
"@things-factory/export-ui-csv": "^3.6.29",
|
|
55
|
+
"@things-factory/export-ui-excel": "^3.6.29",
|
|
56
|
+
"@things-factory/fav-base": "^3.6.29",
|
|
57
|
+
"@things-factory/form-ui": "^3.6.29",
|
|
58
58
|
"@things-factory/grist-ui": "^3.6.24",
|
|
59
|
-
"@things-factory/help": "^3.6.
|
|
60
|
-
"@things-factory/i18n-ui": "^3.6.
|
|
61
|
-
"@things-factory/id-rule-base": "^3.6.
|
|
62
|
-
"@things-factory/import-ui": "^3.6.
|
|
63
|
-
"@things-factory/import-ui-excel": "^3.6.
|
|
64
|
-
"@things-factory/menu-ui": "^3.6.
|
|
65
|
-
"@things-factory/more-ui": "^3.6.
|
|
66
|
-
"@things-factory/notification": "^3.6.
|
|
59
|
+
"@things-factory/help": "^3.6.29",
|
|
60
|
+
"@things-factory/i18n-ui": "^3.6.29",
|
|
61
|
+
"@things-factory/id-rule-base": "^3.6.29",
|
|
62
|
+
"@things-factory/import-ui": "^3.6.29",
|
|
63
|
+
"@things-factory/import-ui-excel": "^3.6.29",
|
|
64
|
+
"@things-factory/menu-ui": "^3.6.29",
|
|
65
|
+
"@things-factory/more-ui": "^3.6.29",
|
|
66
|
+
"@things-factory/notification": "^3.6.29",
|
|
67
67
|
"@things-factory/pdf": "^3.6.24",
|
|
68
|
-
"@things-factory/print-proxy-service": "^3.6.
|
|
69
|
-
"@things-factory/print-service": "^3.6.
|
|
70
|
-
"@things-factory/print-ui": "^3.6.
|
|
71
|
-
"@things-factory/product-base": "^3.6.
|
|
72
|
-
"@things-factory/resource-ui": "^3.6.
|
|
73
|
-
"@things-factory/sales-ui": "^3.6.
|
|
68
|
+
"@things-factory/print-proxy-service": "^3.6.29",
|
|
69
|
+
"@things-factory/print-service": "^3.6.29",
|
|
70
|
+
"@things-factory/print-ui": "^3.6.29",
|
|
71
|
+
"@things-factory/product-base": "^3.6.29",
|
|
72
|
+
"@things-factory/resource-ui": "^3.6.29",
|
|
73
|
+
"@things-factory/sales-ui": "^3.6.29",
|
|
74
74
|
"@things-factory/scene-chartjs": "^3.6.24",
|
|
75
75
|
"@things-factory/scene-clock": "^3.6.24",
|
|
76
76
|
"@things-factory/scene-clone": "^3.6.24",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@things-factory/scene-graphql": "^3.6.24",
|
|
85
85
|
"@things-factory/scene-half-roundrect": "^3.6.24",
|
|
86
86
|
"@things-factory/scene-indoor-map": "^3.6.24",
|
|
87
|
-
"@things-factory/scene-label": "^3.6.
|
|
87
|
+
"@things-factory/scene-label": "^3.6.29",
|
|
88
88
|
"@things-factory/scene-legend": "^3.6.24",
|
|
89
89
|
"@things-factory/scene-marker": "^3.6.24",
|
|
90
90
|
"@things-factory/scene-mqtt": "^3.6.24",
|
|
@@ -97,15 +97,15 @@
|
|
|
97
97
|
"@things-factory/scene-table": "^3.6.24",
|
|
98
98
|
"@things-factory/scene-visualizer": "^3.6.24",
|
|
99
99
|
"@things-factory/scene-wheel-sorter": "^3.6.24",
|
|
100
|
-
"@things-factory/setting-ui": "^3.6.
|
|
101
|
-
"@things-factory/system-ui": "^3.6.
|
|
102
|
-
"@things-factory/transport-base": "^3.6.
|
|
103
|
-
"@things-factory/tutorial-ui": "^3.6.
|
|
104
|
-
"@things-factory/warehouse-base": "^3.6.
|
|
105
|
-
"@things-factory/worksheet-base": "^3.6.
|
|
100
|
+
"@things-factory/setting-ui": "^3.6.29",
|
|
101
|
+
"@things-factory/system-ui": "^3.6.29",
|
|
102
|
+
"@things-factory/transport-base": "^3.6.29",
|
|
103
|
+
"@things-factory/tutorial-ui": "^3.6.29",
|
|
104
|
+
"@things-factory/warehouse-base": "^3.6.29",
|
|
105
|
+
"@things-factory/worksheet-base": "^3.6.29"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
108
|
"@things-factory/builder": "^3.6.24"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "68873f7d01cf4fdabb992d3cca0c7c2d4cca07b4"
|
|
111
111
|
}
|
|
@@ -60,7 +60,7 @@ export const inboundOrderDetailsReport = {
|
|
|
60
60
|
`
|
|
61
61
|
create temp table temp_inbound_order_report on commit drop as (
|
|
62
62
|
select * from (
|
|
63
|
-
select b2.name as "bizplace_name", b2.description as "bizplace_description",
|
|
63
|
+
select b2.id as "bizplace_id", b2.name as "bizplace_name", b2.description as "bizplace_description",
|
|
64
64
|
grn.name as "grn_no",
|
|
65
65
|
an.name as "gan_no", an.ref_no as "ref_no_1", an.ref_no_2 as "ref_no_2", an.ref_no_3 as "ref_no_3",
|
|
66
66
|
an.loose_item, an.import_cargo, an.container_no, an.container_size, an.own_transport,
|
|
@@ -52,11 +52,11 @@ export const outboundOrderDetailsReport = {
|
|
|
52
52
|
`
|
|
53
53
|
create temp table temp_outbound_order_report on commit drop as (
|
|
54
54
|
select * from (
|
|
55
|
-
select b2.name AS "bizplace_name", b2.description AS "bizplace_description",
|
|
55
|
+
select b2.id AS "bizplace_id", b2.name AS "bizplace_name", b2.description AS "bizplace_description",
|
|
56
56
|
do2.name AS "delivery_order_no", do2.delivery_date as "delivery_order_date", coalesce(do2."to", concat(cp.address, cp.address_2)) as "delivery_address",
|
|
57
57
|
rg.name AS "ro_no", rg."type" as "ro_type", rg.ref_no AS "ref_no_1", rg.ref_no_2 AS "ref_no_2", rg.ref_no_3 AS "ref_no_3",
|
|
58
58
|
rg.created_at AS "order_created_at", rg.accepted_at, u4.name as accepted_by,
|
|
59
|
-
p.sku as "product_sku", p.name AS "product_name", p.description AS "product_description", p.type as "product_type",
|
|
59
|
+
p.id as "product_id", p.sku as "product_sku", p.name AS "product_name", p.description AS "product_description", p.type as "product_type",
|
|
60
60
|
oi.packing_type as "pack_type", oi.packing_size as "pack_size", oi.release_qty AS "release_qty",
|
|
61
61
|
w.started_at as "picking_start", w.ended_at as "picking_complete",
|
|
62
62
|
ih.qty as "qty", ih.uom_value as "uom_value", ih.uom, ih.pallet_id, ih.carton_id, ih.batch_id, ih.batch_id_ref,
|
|
@@ -128,6 +128,7 @@ export const outboundOrderDetailsReport = {
|
|
|
128
128
|
let items = result.map(itm => {
|
|
129
129
|
return {
|
|
130
130
|
bizplace: {
|
|
131
|
+
id: itm.bizplace_id,
|
|
131
132
|
name: itm.bizplace_name,
|
|
132
133
|
description: itm.bizplace_description
|
|
133
134
|
},
|
|
@@ -145,6 +146,7 @@ export const outboundOrderDetailsReport = {
|
|
|
145
146
|
pickingStart: itm.picking_start,
|
|
146
147
|
pickingComplete: itm.picking_complete,
|
|
147
148
|
product: {
|
|
149
|
+
id: itm.product_id,
|
|
148
150
|
sku: itm.product_sku,
|
|
149
151
|
name: itm.product_name,
|
|
150
152
|
description: itm.product_description,
|
|
@@ -4,8 +4,8 @@ import { OutboundOrderDetailsReport } from './outbound-order-details-report'
|
|
|
4
4
|
import { OutboundOrderDetailsReportList } from './outbound-order-details-report-list'
|
|
5
5
|
|
|
6
6
|
export const Query = `
|
|
7
|
-
inboundOrderDetailsReport(filters: [Filter], pagination: Pagination, sortings: [Sorting]): InboundOrderDetailsReportList @transaction
|
|
8
|
-
outboundOrderDetailsReport(filters: [Filter], pagination: Pagination, sortings: [Sorting]): OutboundOrderDetailsReportList @transaction
|
|
7
|
+
inboundOrderDetailsReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): InboundOrderDetailsReportList @transaction
|
|
8
|
+
outboundOrderDetailsReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): OutboundOrderDetailsReportList @transaction
|
|
9
9
|
`
|
|
10
10
|
|
|
11
11
|
export const Types = [
|