tangning пре 2 година
родитељ
комит
02b840b8ca

+ 1 - 0
src/locales/lang/en/routes/equity.ts

@@ -51,6 +51,7 @@ export default {
     2:'',
     '-1':'Year',
     '-2':'Month',
+    '-3':'Month',
   },
   titleHelpMessage:{
     1:'Statistical Guidelines:',

+ 1 - 0
src/locales/lang/zh-CN/routes/equity.ts

@@ -51,6 +51,7 @@ export default {
     2:'次',
     '-1':'年',
     '-2':'月',
+    '-3':'个月',
   },
   titleHelpMessage:{
     1:'统计规则:',

+ 3 - 2
src/views/equity/InvoiceModal.vue

@@ -158,6 +158,7 @@
             },
             componentProps: {
               options:[],
+              listHeight:150,
               onChange:(value)=>{
                 let { incrementTypeId } = getFieldsValue()
                 setFieldsValue({
@@ -243,10 +244,10 @@
       function timeOption(incrementTypeId) {
         let list = []
         let timeVal = incrementTypeId == 3?agent.value.highSubNum:agent.value.majorSubNum
-        let value = 10, unit = '年'
+        let value = 10, unit = t('routes.equity.unit.-1')
         if(incrementTypeId == 3){//高级会员月
           value = timeVal>12?12:timeVal
-          unit = '个月'
+          unit = t('routes.equity.unit.-3')
         }else{
           value = timeVal>10?10:timeVal
         }

+ 1 - 1
src/views/finance/data.tsx

@@ -58,7 +58,7 @@ export const columns: BasicColumn[] = [
     width: 120,
   },
   {
-    title: t('routes.equity.totalTime'),
+    title: t('routes.finance.totalTime'),
     dataIndex: 'totalTime',
     // slots: { customRender: 'orderStatus' },
     width: 120,