Commit 143e16b6ea8aa3b6836f452422b09725074b1351

Authored by Min
1 parent 6cdb4c1b

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

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