Commit 143e16b6ea8aa3b6836f452422b09725074b1351

Authored by Min
1 parent 6cdb4c1b

1.系统参数进行多语言设定

src/components/CommonSystemSettingEvent/CommonSystemSetting.js
@@ -88,6 +88,11 @@ const CommonSystemSettingComponent = Form.create({ @@ -88,6 +88,11 @@ const CommonSystemSettingComponent = Form.create({
88 onFilterData: props.onFilterData, 88 onFilterData: props.onFilterData,
89 tableProps: { AutoTableHeight: 200 }, 89 tableProps: { AutoTableHeight: 200 },
90 }; 90 };
  91 + const AccountingPeriod = commonFunc.showLocalMessage(props, 'AccountingPeriod', '会计期间');
  92 + const SalesProductionParameters = commonFunc.showLocalMessage(props, 'SalesProductionParameters', '销售采购生产参数');
  93 + const FinancialWarehouseParameters = commonFunc.showLocalMessage(props, 'FinancialWarehouseParameters', '财务仓库报价参数');
  94 + const DocumentNumberSetup= commonFunc.showLocalMessage(props, 'DocumentNumberSetup', '单据编号设置');
  95 + const SystemSetting = commonFunc.showLocalMessage(props, 'SystemSetting', '系统参数');
91 return ( 96 return (
92 <Form> 97 <Form>
93 <Layout> 98 <Layout>
@@ -98,16 +103,16 @@ const CommonSystemSettingComponent = Form.create({ @@ -98,16 +103,16 @@ const CommonSystemSettingComponent = Form.create({
98 <Content className={selfStyles.container}> 103 <Content className={selfStyles.container}>
99 <div> 104 <div>
100 <Tabs className={styles.slaveTabs}> 105 <Tabs className={styles.slaveTabs}>
101 - <TabPane tab="会计期间" key={1}> 106 + <TabPane tab={AccountingPeriod} key={1}>
102 <TabFinancePeriod {...props} /> 107 <TabFinancePeriod {...props} />
103 </TabPane> 108 </TabPane>
104 - <TabPane tab="销售采购生产参数" key={2}> 109 + <TabPane tab={SalesProductionParameters} key={2}>
105 <TabsSalesBuyer {...props} /> 110 <TabsSalesBuyer {...props} />
106 </TabPane> 111 </TabPane>
107 - <TabPane tab="财务仓库报价参数" key={3}> 112 + <TabPane tab={FinancialWarehouseParameters} key={3}>
108 <TabFinanceOffer {...props} /> 113 <TabFinanceOffer {...props} />
109 </TabPane> 114 </TabPane>
110 - <TabPane tab="单据编号设置" key={4}> 115 + <TabPane tab={DocumentNumberSetup} key={4}>
111 <div className="xly-bill-list" > 116 <div className="xly-bill-list" >
112 <StaticEditTable {...tableProps} setOpterationColumn="Y" footer="hidden" /> 117 <StaticEditTable {...tableProps} setOpterationColumn="Y" footer="hidden" />
113 </div> 118 </div>
@@ -118,7 +123,7 @@ const CommonSystemSettingComponent = Form.create({ @@ -118,7 +123,7 @@ const CommonSystemSettingComponent = Form.create({
118 </div> : '' 123 </div> : ''
119 } 124 }
120 </TabPane> 125 </TabPane>
121 - <TabPane tab="系统参数" key={5}> 126 + <TabPane tab={SystemSetting} key={5}>
122 <TabSysParam {...props} /> 127 <TabSysParam {...props} />
123 </TabPane> 128 </TabPane>
124 </Tabs> 129 </Tabs>