@things-factory/operato-wms 4.3.36 → 4.3.39
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/inbound/pallet-label-popup.js +2 -0
- package/client/pages/order/release-order/release-order-detail.js +4 -4
- 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 +20 -20
- package/server/graphql/resolvers/reports/outbound-order-details-report.ts +8 -5
- package/server/graphql/types/reports/outbound-order-details-report.ts +3 -0
|
@@ -157,6 +157,7 @@ class PalletLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
|
|
|
157
157
|
orderProductRemark
|
|
158
158
|
purchaseOrderNo
|
|
159
159
|
arrivalNoticeRefNo
|
|
160
|
+
arrivalNoticeNo
|
|
160
161
|
}
|
|
161
162
|
}
|
|
162
163
|
`,
|
|
@@ -194,6 +195,7 @@ class PalletLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
|
|
|
194
195
|
searchParams.append('orderProductRemark', results[i].orderProductRemark)
|
|
195
196
|
searchParams.append('purchaseOrderNo', results[i].purchaseOrderNo)
|
|
196
197
|
searchParams.append('refNo', results[i].arrivalNoticeRefNo)
|
|
198
|
+
searchParams.append('ganNo', results[i].arrivalNoticeNo)
|
|
197
199
|
try {
|
|
198
200
|
const response = await fetch(`label-command/${labelId}?${searchParams.toString()}`, {
|
|
199
201
|
method: 'GET'
|
|
@@ -527,7 +527,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
527
527
|
|
|
528
528
|
let cancelOrderStatus = [
|
|
529
529
|
ORDER_STATUS.PICKING.value,
|
|
530
|
-
ORDER_STATUS.PENDING_WORKSHEET,
|
|
530
|
+
ORDER_STATUS.PENDING_WORKSHEET.value,
|
|
531
531
|
ORDER_STATUS.READY_TO_PICK.value,
|
|
532
532
|
ORDER_STATUS.LOADING.value
|
|
533
533
|
]
|
|
@@ -612,7 +612,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
612
612
|
this.inventoryGristConfig = {
|
|
613
613
|
pagination: { infinite: true },
|
|
614
614
|
rows: { selectable: { multiple: true }, appendable: false },
|
|
615
|
-
list: { fields: ['sku', 'productName', 'batchId','invStatus', 'packingType', 'releaseQty', 'releaseUomValue'] },
|
|
615
|
+
list: { fields: ['sku', 'productName', 'batchId', 'invStatus', 'packingType', 'releaseQty', 'releaseUomValue'] },
|
|
616
616
|
columns: [
|
|
617
617
|
{ name: 'releaseUomValue', hidden: true },
|
|
618
618
|
{ name: 'remainUomValue', hidden: true },
|
|
@@ -939,7 +939,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
939
939
|
releaseUomValueWithUom: inventoryInfo.releaseUomValue + ' ' + inventoryInfo.uom,
|
|
940
940
|
remainUomValueWithUom: `${inventoryInfo.uomValue - inventoryInfo.releaseUomValue} ${inventoryInfo.uom}`,
|
|
941
941
|
status: inventoryInfo.status,
|
|
942
|
-
invStatus: inventoryInfo.status ==
|
|
942
|
+
invStatus: inventoryInfo.status == 'MISSING' ? true : false,
|
|
943
943
|
existing: true,
|
|
944
944
|
roundedUomValue: `${roundedUomValue} ${inventoryInfo.uom}`,
|
|
945
945
|
addableQty: inventoryInfo.qty - inventoryInfo.lockedQty,
|
|
@@ -1298,7 +1298,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1298
1298
|
|
|
1299
1299
|
if (!response.errors) {
|
|
1300
1300
|
this._showToast({ message: i18next.t('text.release_order_is_submitted_for_cancellation') })
|
|
1301
|
-
navigate(`b2b_orders`)
|
|
1301
|
+
this.roType === 'b2b' ? navigate(`b2b_orders`) : navigate(`b2c_order_requests`)
|
|
1302
1302
|
}
|
|
1303
1303
|
} catch (e) {
|
|
1304
1304
|
throw e
|
|
@@ -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;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,K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AC,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;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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ACvB,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.39",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -64,35 +64,35 @@
|
|
|
64
64
|
"@operato/scene-table": "^0.1.6",
|
|
65
65
|
"@operato/scene-wheel-sorter": "^0.1.6",
|
|
66
66
|
"@things-factory/apptool-ui": "^4.3.35",
|
|
67
|
-
"@things-factory/attachment-ui": "^4.3.
|
|
68
|
-
"@things-factory/auth-ui": "^4.3.
|
|
67
|
+
"@things-factory/attachment-ui": "^4.3.38",
|
|
68
|
+
"@things-factory/auth-ui": "^4.3.38",
|
|
69
69
|
"@things-factory/barcode-ui": "^4.3.35",
|
|
70
|
-
"@things-factory/biz-ui": "^4.3.
|
|
71
|
-
"@things-factory/board-service": "^4.3.
|
|
72
|
-
"@things-factory/board-ui": "^4.3.
|
|
73
|
-
"@things-factory/code-ui": "^4.3.
|
|
70
|
+
"@things-factory/biz-ui": "^4.3.38",
|
|
71
|
+
"@things-factory/board-service": "^4.3.38",
|
|
72
|
+
"@things-factory/board-ui": "^4.3.38",
|
|
73
|
+
"@things-factory/code-ui": "^4.3.38",
|
|
74
74
|
"@things-factory/context-ui": "^4.3.35",
|
|
75
75
|
"@things-factory/export-ui": "^4.3.35",
|
|
76
76
|
"@things-factory/export-ui-csv": "^4.3.35",
|
|
77
77
|
"@things-factory/export-ui-excel": "^4.3.35",
|
|
78
|
-
"@things-factory/fav-base": "^4.3.
|
|
78
|
+
"@things-factory/fav-base": "^4.3.38",
|
|
79
79
|
"@things-factory/form-ui": "^4.3.35",
|
|
80
80
|
"@things-factory/grist-ui": "^4.3.35",
|
|
81
81
|
"@things-factory/help": "^4.3.35",
|
|
82
82
|
"@things-factory/i18n-base": "^4.3.35",
|
|
83
|
-
"@things-factory/id-rule-base": "^4.3.
|
|
83
|
+
"@things-factory/id-rule-base": "^4.3.38",
|
|
84
84
|
"@things-factory/import-ui": "^4.3.35",
|
|
85
85
|
"@things-factory/import-ui-excel": "^4.3.35",
|
|
86
|
-
"@things-factory/menu-ui": "^4.3.
|
|
86
|
+
"@things-factory/menu-ui": "^4.3.38",
|
|
87
87
|
"@things-factory/more-ui": "^4.3.35",
|
|
88
|
-
"@things-factory/notification": "^4.3.
|
|
88
|
+
"@things-factory/notification": "^4.3.38",
|
|
89
89
|
"@things-factory/pdf": "^4.3.35",
|
|
90
90
|
"@things-factory/print-proxy-service": "^4.3.35",
|
|
91
91
|
"@things-factory/print-service": "^4.3.35",
|
|
92
92
|
"@things-factory/print-ui": "^4.3.35",
|
|
93
|
-
"@things-factory/product-base": "^4.3.
|
|
94
|
-
"@things-factory/resource-ui": "^4.3.
|
|
95
|
-
"@things-factory/sales-ui": "^4.3.
|
|
93
|
+
"@things-factory/product-base": "^4.3.38",
|
|
94
|
+
"@things-factory/resource-ui": "^4.3.38",
|
|
95
|
+
"@things-factory/sales-ui": "^4.3.39",
|
|
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",
|
|
@@ -104,12 +104,12 @@
|
|
|
104
104
|
"@things-factory/scene-mqtt": "^4.3.35",
|
|
105
105
|
"@things-factory/scene-restful": "^4.3.35",
|
|
106
106
|
"@things-factory/scene-visualizer": "^4.3.35",
|
|
107
|
-
"@things-factory/setting-ui": "^4.3.
|
|
107
|
+
"@things-factory/setting-ui": "^4.3.38",
|
|
108
108
|
"@things-factory/system-ui": "^4.3.35",
|
|
109
|
-
"@things-factory/transport-base": "^4.3.
|
|
110
|
-
"@things-factory/tutorial-ui": "^4.3.
|
|
111
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
109
|
+
"@things-factory/transport-base": "^4.3.38",
|
|
110
|
+
"@things-factory/tutorial-ui": "^4.3.38",
|
|
111
|
+
"@things-factory/warehouse-base": "^4.3.39",
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.39"
|
|
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": "fb8d1e9252adad381337fe604a8eaccaaee62b77"
|
|
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
|
|