gm-printer 10.30.2-beta.8 → 10.31.0
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
|
@@ -756,7 +756,7 @@ class EditorField extends React.Component {
|
|
|
756
756
|
inputName='classificationAndLabelTallyRadio'
|
|
757
757
|
checked={
|
|
758
758
|
(specialConfig?.fields?.[0]?.valueField ??
|
|
759
|
-
'
|
|
759
|
+
'下单金额') === fields.id
|
|
760
760
|
}
|
|
761
761
|
radioChecked={() =>
|
|
762
762
|
editStore.setClassificationAndLabelTallyField(fields)
|
|
@@ -95,6 +95,9 @@ const SpecialTr = ({ data, config }) => {
|
|
|
95
95
|
throw Error('_special缺少text,请检查data_to_key处理table数据代码!')
|
|
96
96
|
|
|
97
97
|
if (isUpperLowerCaseSeparate) {
|
|
98
|
+
const htmlStr = isUpperCaseBefore
|
|
99
|
+
? data[fields[0].valueField]?.upperLowerCaseSeparateAndUpperCaseBefore
|
|
100
|
+
: data[fields[0].valueField]?.upperLowerCaseSeparate
|
|
98
101
|
return (
|
|
99
102
|
<tr>
|
|
100
103
|
<td
|
|
@@ -102,11 +105,10 @@ const SpecialTr = ({ data, config }) => {
|
|
|
102
105
|
style={Object.assign({ fontWeight: 'bold' }, style)}
|
|
103
106
|
>
|
|
104
107
|
<Flex
|
|
105
|
-
className='gm-flex-justify-between'
|
|
108
|
+
className='gm-flex-page gm-flex-justify-between-page'
|
|
109
|
+
style={{ 'justify-content': 'space-between' }}
|
|
106
110
|
dangerouslySetInnerHTML={{
|
|
107
|
-
__html:
|
|
108
|
-
data[fields[0].valueField]?.upperLowerCaseSeparate ||
|
|
109
|
-
data.text
|
|
111
|
+
__html: htmlStr || data.text
|
|
110
112
|
}}
|
|
111
113
|
/>
|
|
112
114
|
</td>
|