gm-printer 10.14.4-beta.2 → 10.14.4-beta.3
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/package.json
CHANGED
|
@@ -73,6 +73,8 @@ class EditorStore {
|
|
|
73
73
|
multiDigitDecimal: bool
|
|
74
74
|
}
|
|
75
75
|
})
|
|
76
|
+
|
|
77
|
+
this.selected && this.changeTableDataKey(this.selected, 'multiDigitDecimal')
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
@observable
|
|
@@ -619,6 +621,7 @@ class EditorStore {
|
|
|
619
621
|
|
|
620
622
|
@action
|
|
621
623
|
changeTableDataKey(name, key) {
|
|
624
|
+
console.log('changeTableDataKey', name)
|
|
622
625
|
const arr = name.split('.')
|
|
623
626
|
const { dataKey, overallOrder, subtotal } = this.config.contents[arr[2]]
|
|
624
627
|
const keyArr = dataKey.split('_')
|
|
@@ -105,7 +105,7 @@ class ContextMenu extends React.Component {
|
|
|
105
105
|
const isCategoryActive = keyArr.includes('category')
|
|
106
106
|
const isSubtotalActive = subtotal.show
|
|
107
107
|
const isOverallOrder = overallOrder?.show
|
|
108
|
-
|
|
108
|
+
console.log('name', name)
|
|
109
109
|
return (
|
|
110
110
|
<>
|
|
111
111
|
<div
|