@things-factory/sales-ui 4.3.152 → 4.3.153
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.
|
@@ -1075,6 +1075,7 @@ class PurchaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1075
1075
|
batchId
|
|
1076
1076
|
product {
|
|
1077
1077
|
id
|
|
1078
|
+
sku
|
|
1078
1079
|
name
|
|
1079
1080
|
brand
|
|
1080
1081
|
description
|
|
@@ -1159,7 +1160,12 @@ class PurchaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1159
1160
|
|
|
1160
1161
|
this.productData = {
|
|
1161
1162
|
records: response.data.purchaseOrder.orderProducts.map(itm => {
|
|
1162
|
-
return {
|
|
1163
|
+
return {
|
|
1164
|
+
...itm,
|
|
1165
|
+
brand: itm.product.brand,
|
|
1166
|
+
productName: `${itm.product.name}(${itm.product.description}(${itm.product.sku}))`,
|
|
1167
|
+
...this._calcPrice(itm)
|
|
1168
|
+
}
|
|
1163
1169
|
})
|
|
1164
1170
|
}
|
|
1165
1171
|
this.purchaseOrderExtraData = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/sales-ui",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.153",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"@things-factory/shell": "^4.3.151",
|
|
34
34
|
"@things-factory/warehouse-ui": "^4.3.151"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "05001db21265bd7a1be3791084a064449c56c514"
|
|
37
37
|
}
|