Kaynağa Gözat

销售数据调整

qymljy 3 ay önce
ebeveyn
işleme
d621e44bec
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      src/views/salesData/components/boxLine.vue

+ 3 - 3
src/views/salesData/components/boxLine.vue

@@ -53,7 +53,7 @@
         </div>
         <div style="width: 20%; height: 150px; margin-left: 16px" @click="onClick">
           <div style="display: inline-block; height: 120px; margin-top: 16px">
-            <p class="box-title">{{ $t("实际金额") }}</p>
+            <p class="box-title">{{ $t(this.typeDate + "实际金额") }}</p>
             <p style="font-size: 26px; color: #4f7bfd">
               <span style="font-size: 14px">¥</span>
               <!--              {{list.amount > 10000?tool.formatAmount(tool.unitConversion(list.amount,10000),2) +this.$t('万'):tool.formatAmount(list.amount,2)}}</p>-->
@@ -213,7 +213,7 @@
         </div>
         <div style="width: 30%; height: 150px">
           <div style="display: inline-block; height: 120px; margin-top: 16px">
-            <p class="box-title">{{ $t("目标金额") }}</p>
+            <p class="box-title">{{ $t(this.typeDate + "目标金额") }}</p>
             <p style="font-size: 26px; color: #0c0c0c">
               <span style="font-size: 14px">¥</span>
               <!--              {{list.target_l > 10000?tool.formatAmount( tool.unitConversion(list.target_l,10000),2) +this.$t('万'):tool.formatAmount(list.target_l,2)}}</p>-->
@@ -270,7 +270,7 @@
         </div>
         <div style="width: 30%; height: 150px">
           <div style="display: inline-block; height: 120px; margin-top: 16px">
-            <p class="box-title">{{ $t("累计目标金额") }}</p>
+            <p class="box-title">{{ $t(this.typeDate == '上月'?'上月累计目标金额':this.typeDate == '本月'?'本月累计目标金额':this.typeDate + "当前月累计目标金额") }}</p>
             <p style="font-size: 26px; color: #0c0c0c">
               <span style="font-size: 16px">¥</span>
               <!--              {{list.target_l > 10000?tool.formatAmount( tool.unitConversion(list.nowTarget_l,10000),2) +this.$t('万'):tool.formatAmount(list.nowTarget_l,2)}}</p>-->