@things-factory/operato-wms 4.3.191 → 4.3.194
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.
|
@@ -38,6 +38,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
38
38
|
totalBinRO: Number,
|
|
39
39
|
binRo: String,
|
|
40
40
|
ownTransport: Boolean,
|
|
41
|
+
lmdOption: Boolean,
|
|
41
42
|
toggleComplete: Boolean,
|
|
42
43
|
_bizplaceName: String,
|
|
43
44
|
_enableProductScanning: Boolean,
|
|
@@ -110,7 +111,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
if (this.releaseGoodNo && this.platform == 'operato' && this.completed) {
|
|
113
|
-
if (!this.ownTransport) {
|
|
114
|
+
if (!this.ownTransport || (this.ownTransport && this.lmdOption)) {
|
|
114
115
|
actions.push({
|
|
115
116
|
title: i18next.t('button.print_airway_bill'),
|
|
116
117
|
action: this.printSellercraftDocument.bind(this, 'awb'),
|
|
@@ -408,6 +409,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
408
409
|
name
|
|
409
410
|
remark
|
|
410
411
|
ownTransport
|
|
412
|
+
lmdOption
|
|
411
413
|
checkedRemarkAt
|
|
412
414
|
totalInventoriesByBin
|
|
413
415
|
isOrderInventoryBin
|
|
@@ -537,6 +539,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
537
539
|
this.orderInformation = worksheetInfo.marketplaceOrder
|
|
538
540
|
this.orderRemark = worksheetInfo.releaseGood?.remark
|
|
539
541
|
this.ownTransport = worksheetInfo.releaseGood?.ownTransport
|
|
542
|
+
this.lmdOption = worksheetInfo.releaseGood?.lmdOption
|
|
540
543
|
this.checkedRemarkAt = worksheetInfo.releaseGood?.checkedRemarkAt
|
|
541
544
|
this.toggleComplete = Boolean(worksheetInfo.releaseGood?.remark)
|
|
542
545
|
? worksheetDetailInfos.every(res => res.status === 'DONE') &&
|
|
@@ -561,7 +564,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
561
564
|
worksheetDetailInfos[0].product?.isRequireSerialNumberScanningOutbound
|
|
562
565
|
}
|
|
563
566
|
|
|
564
|
-
if (this.completed && this.airwayBill && !this.ownTransport) {
|
|
567
|
+
if (this.completed && this.airwayBill && (!this.ownTransport || (this.ownTransport && this.lmdOption))) {
|
|
565
568
|
this.printBill()
|
|
566
569
|
}
|
|
567
570
|
|
|
@@ -1113,7 +1116,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1113
1116
|
await this.printAirwayBill()
|
|
1114
1117
|
}
|
|
1115
1118
|
|
|
1116
|
-
if (this.releaseGoodNo && this.platform == 'operato' && !this.ownTransport && this.airwayBill && this.completed) {
|
|
1119
|
+
if (this.releaseGoodNo && this.platform == 'operato' && (!this.ownTransport || (this.ownTransport && this.lmdOption)) && this.airwayBill && this.completed) {
|
|
1117
1120
|
await this.printSellercraftDocument('awb')
|
|
1118
1121
|
}
|
|
1119
1122
|
}
|
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.194",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@things-factory/print-ui": "^4.3.179",
|
|
92
92
|
"@things-factory/product-base": "^4.3.186",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.179",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.193",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.159",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.159",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.159",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"@things-factory/system-ui": "^4.3.179",
|
|
108
108
|
"@things-factory/transport-base": "^4.3.179",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.179",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.193",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.194"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.179",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"cypress-localstorage-commands": "^1.6.1",
|
|
118
118
|
"eslint-plugin-cypress": "^2.12.1"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "fa364664b6924dd8afab814ef66d9feb77174691"
|
|
121
121
|
}
|