QuKatie 3 anos atrás
pai
commit
66d2c39e25
1 arquivos alterados com 22 adições e 3 exclusões
  1. 22 3
      src/views/statisticAnalysis/salesProfit/index.vue

+ 22 - 3
src/views/statisticAnalysis/salesProfit/index.vue

@@ -33,7 +33,11 @@
             :table-loading="row.itemLoading"
             :cell-style="cellStyle"
             class="itemTable"
-          ></avue-crud>
+          >
+            <template slot-scope="{ row }" slot="amount">
+              <span>{{ row.amount | decimalFormat }}</span>
+            </template>
+          </avue-crud>
         </template>
         <template slot="corpIdSearch">
           <crop-select v-model="search.corpId" corpType="KH"></crop-select>
@@ -53,8 +57,23 @@
         <template slot-scope="{ row }" slot="purchasePrice">
           <span>{{ row.purchasePrice | decimalFormat }}</span>
         </template>
-        <template slot-scope="{ row }" slot="amount">
-          <span>{{ row.amount | decimalFormat }}</span>
+        <template slot-scope="{ row }" slot="procurementCost">
+          <span>{{ row.procurementCost | decimalFormat }}</span>
+        </template>
+        <template slot-scope="{ row }" slot="partsCost">
+          <span>{{ row.partsCost | decimalFormat }}</span>
+        </template>
+        <template slot-scope="{ row }" slot="grossProfit">
+          <span>{{ row.grossProfit | decimalFormat }}</span>
+        </template>
+        <template slot-scope="{ row }" slot="fd">
+          <span>{{ row.fd | decimalFormat }}</span>
+        </template>
+        <template slot-scope="{ row }" slot="fc">
+          <span>{{ row.fc | decimalFormat }}</span>
+        </template>
+        <template slot-scope="{ row }" slot="singleTicketMargin">
+          <span>{{ row.singleTicketMargin | decimalFormat }}</span>
         </template>
         <template slot-scope="scope" slot="orderNo">
           <span