lxf 2 月之前
父节点
当前提交
2e456b5b31

+ 1 - 1
src/views/finance/fundManage/depExpenses/index.vue

@@ -7,7 +7,7 @@
       <div style="margin-bottom: 20px; background-color: white; padding: 0 20px 20px 20px">
         <div style="color: #000; font-size: 14px; font-weight: 700; height: 60px; line-height: 60px">统计</div>
         <div style="background: #f5f3ff; padding: 20px">
-          <span style="color: #000; font-size: 14px; font-weight: bold">交易金额: {{ moneyTotal }}</span>
+          <span style="color: #000; font-size: 14px; font-weight: bold">汇总金额: {{ moneyTotal }}</span>
         </div>
       </div>
       <byTable

+ 1 - 1
src/views/salesMange/saleContract/contract/index.vue

@@ -16,7 +16,7 @@
         <template #amount="{ item }">
           <div>
             <span style="padding-right: 4px">{{ item.currency }}</span>
-            <span>{{ moneyFormat(item.amount, 4) }}</span>
+            <span>{{ moneyFormat(item.amount, 2) }}</span>
           </div>
         </template>
         <template #amountCNY="{ item }">

+ 11 - 0
src/views/salesMange/salesMange/performance/index.vue

@@ -336,6 +336,17 @@ const queryForm = reactive({
   time: "",
   month: "",
 });
+const getTime = () => {
+  // 创建一个新的 Date 对象
+  const currentDate = new Date();
+  // 获取当前年份
+  const currentYear = currentDate.getFullYear();
+  // 获取当前月份(0-11)
+  const currentMonth = currentDate.getMonth() + 1; // 月份从0开始,所以需要加1
+  queryForm.time = currentYear + "";
+  queryForm.month = currentMonth;
+};
+getTime();
 const month = ref([
   {
     label: "1月",