shenwu 8 mesiacov pred
rodič
commit
2ed95500a0

+ 6 - 0
src/pages/MiniApp/BookManage/Long/formConfig.tsx

@@ -138,6 +138,9 @@ function formConfig(props: { paragraphList?: any[], enumList?: { [key: string]:
             dataIndex: 'paymentAmount',
             valueType: 'money',
             hideInForm: paymentCategory[0] == 1,
+            fieldProps: {
+                addonAfter: "元"
+            },
             formItemProps: {
                 style: { marginBottom: 15 },
                 rules: [
@@ -153,6 +156,9 @@ function formConfig(props: { paragraphList?: any[], enumList?: { [key: string]:
             dataIndex: 'paymentCoin',
             valueType: 'digit',
             hideInForm: paymentCategory[0] == 0,
+            fieldProps: {
+                addonAfter: "书币"
+            },
             formItemProps: {
                 style: { marginBottom: 15 },
                 rules: [

+ 7 - 1
src/pages/MiniApp/BookManage/Short/formConfig.tsx

@@ -57,7 +57,7 @@ function formConfig(props: { paragraphList?: any[], enumList?: { [key: string]:
                 onChange: (e) => {
                     let value = e.target.value
                     paymentCategory[1](value)
-                }
+                },
             },
             formItemProps: {
                 style: { marginBottom: 10 },
@@ -138,6 +138,9 @@ function formConfig(props: { paragraphList?: any[], enumList?: { [key: string]:
             dataIndex: 'paymentAmount',
             valueType: 'money',
             hideInForm: paymentCategory[0] == 1,
+            fieldProps: {
+                addonAfter: "元",
+            },
             formItemProps: {
                 style: { marginBottom: 15 },
                 rules: [
@@ -153,6 +156,9 @@ function formConfig(props: { paragraphList?: any[], enumList?: { [key: string]:
             dataIndex: 'paymentCoin',
             valueType: 'digit',
             hideInForm: paymentCategory[0] == 0,
+            fieldProps: {
+                addonAfter: "书币"
+            },
             formItemProps: {
                 style: { marginBottom: 15 },
                 rules: [