@things-factory/operato-wms 4.3.36 → 4.3.37
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/report/outbound-order-details-report.js +29 -0
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js +7 -3
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js.map +1 -1
- package/dist-server/graphql/types/reports/outbound-order-details-report.js +3 -0
- package/dist-server/graphql/types/reports/outbound-order-details-report.js.map +1 -1
- package/package.json +5 -5
- package/server/graphql/resolvers/reports/outbound-order-details-report.ts +8 -5
- package/server/graphql/types/reports/outbound-order-details-report.ts +3 -0
|
@@ -246,6 +246,26 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
246
246
|
header: i18next.t('field.status'),
|
|
247
247
|
width: 120
|
|
248
248
|
},
|
|
249
|
+
{
|
|
250
|
+
type: 'boolean',
|
|
251
|
+
name: 'exportOption',
|
|
252
|
+
header: i18next.t('field.export'),
|
|
253
|
+
record: { align: 'center' },
|
|
254
|
+
width: 100
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
type: 'string',
|
|
258
|
+
name: 'containerNo',
|
|
259
|
+
header: i18next.t('field.container_no'),
|
|
260
|
+
record: { align: 'center' },
|
|
261
|
+
width: 120
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
type: 'float',
|
|
265
|
+
name: 'palletQty',
|
|
266
|
+
header: i18next.t('field.pallet_qty'),
|
|
267
|
+
width: 120
|
|
268
|
+
},
|
|
249
269
|
{
|
|
250
270
|
type: 'datetime',
|
|
251
271
|
name: 'orderCreatedAt',
|
|
@@ -493,6 +513,9 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
493
513
|
'refNo2',
|
|
494
514
|
'refNo3',
|
|
495
515
|
'status',
|
|
516
|
+
'exportOption',
|
|
517
|
+
'containerNo',
|
|
518
|
+
'palletQty',
|
|
496
519
|
'orderCreatedAt',
|
|
497
520
|
'pickingStart',
|
|
498
521
|
'pickingComplete',
|
|
@@ -653,6 +676,9 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
653
676
|
loadedAt
|
|
654
677
|
loadedBy
|
|
655
678
|
shippedAt
|
|
679
|
+
exportOption
|
|
680
|
+
containerNo
|
|
681
|
+
palletQty
|
|
656
682
|
}
|
|
657
683
|
total
|
|
658
684
|
}
|
|
@@ -768,6 +794,9 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
768
794
|
{ header: i18next.t('field.ref_no'), key: 'refNo1', width: 60, type: 'string' },
|
|
769
795
|
{ header: i18next.t('field.ref_no_2'), key: 'refNo2', width: 60, type: 'string' },
|
|
770
796
|
{ header: i18next.t('field.ref_no_3'), key: 'refNo3', width: 60, type: 'string' },
|
|
797
|
+
{ header: i18next.t('field.export'), key: 'exportOption', width: 20, type: 'string' },
|
|
798
|
+
{ header: i18next.t('field.container_no'), key: 'containerNo', width: 30, type: 'string' },
|
|
799
|
+
{ header: i18next.t('field.pallet_qty'), key: 'palletQty', width: 30, type: 'string' },
|
|
771
800
|
{ header: i18next.t('field.status'), key: 'status', width: 30, type: 'string' },
|
|
772
801
|
{ header: i18next.t('field.order_created_at'), key: 'orderCreatedAt', width: 30, type: 'string' },
|
|
773
802
|
{ header: i18next.t('field.picking_start'), key: 'pickingStart', width: 30, type: 'string' },
|
|
@@ -47,7 +47,7 @@ exports.outboundOrderDetailsReport = {
|
|
|
47
47
|
select * from (
|
|
48
48
|
select oi.id, '${bizplace.id}' AS "bizplace_id", '${bizplace.name}' AS "bizplace_name", '${bizplace.description}' AS "bizplace_description",
|
|
49
49
|
do2.name AS "delivery_order_no", do2.delivery_date as "delivery_order_date",
|
|
50
|
-
do2."to", do2.contact_point_ref_id,
|
|
50
|
+
do2."to", do2.contact_point_ref_id, do2.pallet_qty, so.container_no, rg.export_option,
|
|
51
51
|
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", rg.status as "ro_status",
|
|
52
52
|
rg.created_at AS "order_created_at", rg.accepted_at, u4.name as accepted_by, rg.checked_remark_by, rg.checked_remark_at,
|
|
53
53
|
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",
|
|
@@ -57,7 +57,8 @@ exports.outboundOrderDetailsReport = {
|
|
|
57
57
|
oi.return_to_location_qty, oi.return_to_location_uom_value,
|
|
58
58
|
i.id as inventory_id, i.pallet_id, i.carton_id, i.batch_id, i.batch_id_ref, i.expiration_date, i.manufacture_date
|
|
59
59
|
from order_inventories oi
|
|
60
|
-
inner join release_goods rg on rg.id = oi.release_good_id
|
|
60
|
+
inner join release_goods rg on rg.id = oi.release_good_id
|
|
61
|
+
left join shipping_orders so on so.id = rg.shipping_order_id
|
|
61
62
|
left join users u4 on u4.id = rg.accepted_by_id
|
|
62
63
|
inner join inventories i on i.id = oi.inventory_id
|
|
63
64
|
inner join temp_products p on p.id = oi.product_id
|
|
@@ -174,7 +175,10 @@ exports.outboundOrderDetailsReport = {
|
|
|
174
175
|
checkedRemarkAt: itm.checked_remark_at,
|
|
175
176
|
loadedAt: itm.loaded_at,
|
|
176
177
|
loadedBy: itm.loaded_by,
|
|
177
|
-
shippedAt: itm.shipped_at
|
|
178
|
+
shippedAt: itm.shipped_at,
|
|
179
|
+
exportOption: itm.export_option,
|
|
180
|
+
containerNo: itm.container_no,
|
|
181
|
+
palletQty: itm.pallet_qty
|
|
178
182
|
};
|
|
179
183
|
});
|
|
180
184
|
return {
|
|
@@ -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;IACx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AAA;gBAEF,MAAM,QAAQ,GAAa,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;gBAE5C,IAAI,CAAC,QAAQ;oBAAE,MAAM,eAAe,CAAA;gBAEpC,cAAc,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAA;aAC1E;iBAAM;gBACL,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;aACvE;YAED,IAAI,CAAC,cAAc,IAAI,CAAC,QAAQ,IAAI,CAAC,MAAM;gBAAE,MAAM,eAAe,CAAA;YAElE,MAAM,QAAQ,GAAa,MAAM,EAAE,CAAC,aAAa,CAAC,mBAAQ,CAAC,CAAC,OAAO,CAAC;gBAClE,EAAE,EAAE,cAAc,CAAC,KAAK;aACzB,CAAC,CAAA;YAEF,MAAM,IAAA,wBAAgB,EAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAA;YAE5C,IAAI,iBAAiB,GAAG,EAAE,CAAA;YAC1B,IAAI,IAAI,EAAE;gBACR,iBAAiB,GAAG,GAAG,iBAAiB,qBAAqB,IAAI,CAAC,KAAK,KAAK,CAAA;aAC7E;YACD,IAAI,IAAI,EAAE;gBACR,iBAAiB,GAAG,GAAG,iBAAiB,iCAAiC,IAAI,CAAC,KAAK,KAAK,CAAA;aACzF;YAED,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;YACpB,MAAM,EAAE,CAAC,KAAK,CACZ;;;6BAGqB,QAAQ,CAAC,EAAE,wBAAwB,QAAQ,CAAC,IAAI,
|
|
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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B,cAAc,EAAE,GAAG,CAAC,eAAe;oBACnC,eAAe,EAAE,GAAG,CAAC,gBAAgB;oBACrC,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,eAAe,EAAE,GAAG,CAAC,iBAAiB;oBACtC,eAAe,EAAE,GAAG,CAAC,iBAAiB;oBACtC,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,SAAS,EAAE,GAAG,CAAC,UAAU;oBACzB,YAAY,EAAE,GAAG,CAAC,aAAa;oBAC/B,WAAW,EAAE,GAAG,CAAC,YAAY;oBAC7B,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA
|
|
1
|
+
{"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqD5C,CAAA"}
|
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.37",
|
|
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.35",
|
|
93
93
|
"@things-factory/product-base": "^4.3.35",
|
|
94
94
|
"@things-factory/resource-ui": "^4.3.35",
|
|
95
|
-
"@things-factory/sales-ui": "^4.3.
|
|
95
|
+
"@things-factory/sales-ui": "^4.3.37",
|
|
96
96
|
"@things-factory/scene-data-transform": "^4.3.35",
|
|
97
97
|
"@things-factory/scene-excel": "^4.3.35",
|
|
98
98
|
"@things-factory/scene-firebase": "^4.3.35",
|
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
"@things-factory/system-ui": "^4.3.35",
|
|
109
109
|
"@things-factory/transport-base": "^4.3.35",
|
|
110
110
|
"@things-factory/tutorial-ui": "^4.3.35",
|
|
111
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
111
|
+
"@things-factory/warehouse-base": "^4.3.37",
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.37"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"@things-factory/builder": "^4.3.35",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"cypress-localstorage-commands": "^1.6.1",
|
|
119
119
|
"eslint-plugin-cypress": "^2.12.1"
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "63cc1d86f82b002d7bd96a72347e8d333c1b696a"
|
|
122
122
|
}
|
|
@@ -54,11 +54,10 @@ export const outboundOrderDetailsReport = {
|
|
|
54
54
|
`
|
|
55
55
|
create temp table temp_outbound_order_report on commit drop as (
|
|
56
56
|
select * from (
|
|
57
|
-
select oi.id, '${bizplace.id}' AS "bizplace_id", '${bizplace.name}' AS "bizplace_name", '${
|
|
58
|
-
bizplace.description
|
|
57
|
+
select oi.id, '${bizplace.id}' AS "bizplace_id", '${bizplace.name}' AS "bizplace_name", '${bizplace.description
|
|
59
58
|
}' AS "bizplace_description",
|
|
60
59
|
do2.name AS "delivery_order_no", do2.delivery_date as "delivery_order_date",
|
|
61
|
-
do2."to", do2.contact_point_ref_id,
|
|
60
|
+
do2."to", do2.contact_point_ref_id, do2.pallet_qty, so.container_no, rg.export_option,
|
|
62
61
|
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", rg.status as "ro_status",
|
|
63
62
|
rg.created_at AS "order_created_at", rg.accepted_at, u4.name as accepted_by, rg.checked_remark_by, rg.checked_remark_at,
|
|
64
63
|
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",
|
|
@@ -68,7 +67,8 @@ export const outboundOrderDetailsReport = {
|
|
|
68
67
|
oi.return_to_location_qty, oi.return_to_location_uom_value,
|
|
69
68
|
i.id as inventory_id, i.pallet_id, i.carton_id, i.batch_id, i.batch_id_ref, i.expiration_date, i.manufacture_date
|
|
70
69
|
from order_inventories oi
|
|
71
|
-
inner join release_goods rg on rg.id = oi.release_good_id
|
|
70
|
+
inner join release_goods rg on rg.id = oi.release_good_id
|
|
71
|
+
left join shipping_orders so on so.id = rg.shipping_order_id
|
|
72
72
|
left join users u4 on u4.id = rg.accepted_by_id
|
|
73
73
|
inner join inventories i on i.id = oi.inventory_id
|
|
74
74
|
inner join temp_products p on p.id = oi.product_id
|
|
@@ -194,7 +194,10 @@ export const outboundOrderDetailsReport = {
|
|
|
194
194
|
checkedRemarkAt: itm.checked_remark_at,
|
|
195
195
|
loadedAt: itm.loaded_at,
|
|
196
196
|
loadedBy: itm.loaded_by,
|
|
197
|
-
shippedAt: itm.shipped_at
|
|
197
|
+
shippedAt: itm.shipped_at,
|
|
198
|
+
exportOption: itm.export_option,
|
|
199
|
+
containerNo: itm.container_no,
|
|
200
|
+
palletQty: itm.pallet_qty
|
|
198
201
|
}
|
|
199
202
|
})
|
|
200
203
|
|