@things-factory/sales-ui 4.3.271 → 4.3.273
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/purchase-order/purchase-order-approval-detail.js +21 -5
- package/client/pages/purchase-order/purchase-order-approval-list.js +20 -7
- package/client/pages/purchase-order/purchase-order-detail.js +1 -1
- package/client/pages/purchase-order/purchase-order-list.js +20 -6
- package/package.json +4 -4
|
@@ -3,16 +3,32 @@ import '@things-factory/biz-ui'
|
|
|
3
3
|
import '@things-factory/warehouse-ui'
|
|
4
4
|
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
css,
|
|
8
|
+
html
|
|
9
|
+
} from 'lit-element'
|
|
7
10
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
8
11
|
|
|
9
12
|
import { getCodeByName } from '@things-factory/code-base'
|
|
10
13
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
11
|
-
import {
|
|
14
|
+
import {
|
|
15
|
+
i18next,
|
|
16
|
+
localize
|
|
17
|
+
} from '@things-factory/i18n-base'
|
|
12
18
|
import { fetchSettingRule } from '@things-factory/setting-ui'
|
|
13
|
-
import {
|
|
19
|
+
import {
|
|
20
|
+
client,
|
|
21
|
+
CustomAlert,
|
|
22
|
+
gqlContext,
|
|
23
|
+
navigate,
|
|
24
|
+
PageView,
|
|
25
|
+
store
|
|
26
|
+
} from '@things-factory/shell'
|
|
14
27
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
15
|
-
import {
|
|
28
|
+
import {
|
|
29
|
+
flattenObject,
|
|
30
|
+
isMobileDevice
|
|
31
|
+
} from '@things-factory/utils'
|
|
16
32
|
|
|
17
33
|
import { PURCHASE_ORDER_STATUS } from '../../constants'
|
|
18
34
|
|
|
@@ -384,7 +400,7 @@ class PurchaseOrderApprovalDetail extends connect(store)(localize(i18next)(PageV
|
|
|
384
400
|
return {
|
|
385
401
|
title: `${i18next.t('title.purchase_order_approval_detail')} `,
|
|
386
402
|
actions,
|
|
387
|
-
help: 'operato-wms/po-approval-detail'
|
|
403
|
+
help: 'operato-wms/purchase-order/po-approval-detail'
|
|
388
404
|
}
|
|
389
405
|
}
|
|
390
406
|
|
|
@@ -1,12 +1,25 @@
|
|
|
1
|
-
import { getCodeByName } from '@things-factory/code-base'
|
|
2
1
|
import '@things-factory/form-ui'
|
|
3
2
|
import '@things-factory/grist-ui'
|
|
4
|
-
|
|
5
|
-
import { client, navigate, PageView } from '@things-factory/shell'
|
|
6
|
-
import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
|
|
7
|
-
import { isMobileDevice } from '@things-factory/utils'
|
|
3
|
+
|
|
8
4
|
import gql from 'graphql-tag'
|
|
9
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
css,
|
|
7
|
+
html
|
|
8
|
+
} from 'lit-element'
|
|
9
|
+
|
|
10
|
+
import { getCodeByName } from '@things-factory/code-base'
|
|
11
|
+
import {
|
|
12
|
+
i18next,
|
|
13
|
+
localize
|
|
14
|
+
} from '@things-factory/i18n-base'
|
|
15
|
+
import {
|
|
16
|
+
client,
|
|
17
|
+
navigate,
|
|
18
|
+
PageView
|
|
19
|
+
} from '@things-factory/shell'
|
|
20
|
+
import { ScrollbarStyles } from '@things-factory/styles'
|
|
21
|
+
import { isMobileDevice } from '@things-factory/utils'
|
|
22
|
+
|
|
10
23
|
// import { ORDER_STATUS } from '../../constants'
|
|
11
24
|
|
|
12
25
|
class PurchaseOrderApprovalList extends localize(i18next)(PageView) {
|
|
@@ -55,7 +68,7 @@ class PurchaseOrderApprovalList extends localize(i18next)(PageView) {
|
|
|
55
68
|
get context() {
|
|
56
69
|
return {
|
|
57
70
|
title: i18next.t('title.purchase_orders_approval'),
|
|
58
|
-
help: 'operato-wms/purchase-order-approval-list'
|
|
71
|
+
help: 'operato-wms/purchase-order/purchase-order-approval-list'
|
|
59
72
|
}
|
|
60
73
|
}
|
|
61
74
|
|
|
@@ -458,7 +458,7 @@ class PurchaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
458
458
|
return {
|
|
459
459
|
title: `${i18next.t('title.purchase_order_detail')} `,
|
|
460
460
|
actions,
|
|
461
|
-
help: 'operato-wms/po-detail',
|
|
461
|
+
help: 'operato-wms/purchase-order/po-detail',
|
|
462
462
|
exportable: {
|
|
463
463
|
name: i18next.t('title.create_purchase_order'),
|
|
464
464
|
data: this._exportableData.bind(this)
|
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
css,
|
|
7
|
+
html
|
|
8
|
+
} from 'lit-element'
|
|
6
9
|
|
|
10
|
+
import { GhostPrint } from '@operato/ghost-print'
|
|
7
11
|
import { getCodeByName } from '@things-factory/code-base'
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
import {
|
|
13
|
+
i18next,
|
|
14
|
+
localize
|
|
15
|
+
} from '@things-factory/i18n-base'
|
|
16
|
+
import {
|
|
17
|
+
client,
|
|
18
|
+
navigate,
|
|
19
|
+
PageView
|
|
20
|
+
} from '@things-factory/shell'
|
|
21
|
+
import {
|
|
22
|
+
CommonButtonStyles,
|
|
23
|
+
ScrollbarStyles
|
|
24
|
+
} from '@things-factory/styles'
|
|
11
25
|
import { isMobileDevice } from '@things-factory/utils'
|
|
12
26
|
|
|
13
27
|
const HEADER_JSON = {
|
|
@@ -72,7 +86,7 @@ class PurchaseOrderList extends localize(i18next)(PageView) {
|
|
|
72
86
|
...CommonButtonStyles.add
|
|
73
87
|
}
|
|
74
88
|
],
|
|
75
|
-
help: 'operato-wms/purchase-order-list'
|
|
89
|
+
help: 'operato-wms/purchase-order/purchase-order-list'
|
|
76
90
|
}
|
|
77
91
|
}
|
|
78
92
|
|
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.273",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"@things-factory/grist-ui": "^4.3.270",
|
|
29
29
|
"@things-factory/i18n-base": "^4.3.270",
|
|
30
30
|
"@things-factory/import-ui": "^4.3.270",
|
|
31
|
-
"@things-factory/sales-base": "^4.3.
|
|
31
|
+
"@things-factory/sales-base": "^4.3.273",
|
|
32
32
|
"@things-factory/setting-ui": "^4.3.270",
|
|
33
33
|
"@things-factory/shell": "^4.3.270",
|
|
34
|
-
"@things-factory/warehouse-ui": "^4.3.
|
|
34
|
+
"@things-factory/warehouse-ui": "^4.3.273"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "3dcb1110474cdf203bfe094e302dedbde707022a"
|
|
37
37
|
}
|