Browse Source

Merge branch 'dev' of git.echepei.com:caojunjie/Smart_platform_ui into dev

caojunjie 3 years ago
parent
commit
d8fbed8dee

+ 13 - 0
src/api/statisticAnalysis/salesProfitN.js

@@ -0,0 +1,13 @@
+import request from '@/router/axios';
+
+export const getList = (current, size, params) => {
+  return request({
+    url: '/api/blade-purchase-sales/exportOrder/selSalesProfit',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size
+    }
+  })
+}

+ 3 - 0
src/enums/column-name.js

@@ -777,6 +777,9 @@ const columnName = [{
 }, {
   code: 184,
   name: '提成统计'
+}, {
+  code: 185,
+  name: '销售利润(N)-列表页'
 }
 ]
 export const getColumnName = (key) => {

+ 42 - 33
src/views/importTrade/receipt/config/customerContact.json

@@ -3,16 +3,16 @@
   "tip": false,
   "simplePage": true,
   "searchShow": true,
-  "addBtn":false,
-  "editBtn":false,
-  "addRowBtn":false,
-  "cellBtn":false,
-  "cancelBtn":false,
+  "addBtn": false,
+  "editBtn": false,
+  "addRowBtn": false,
+  "cellBtn": false,
+  "cancelBtn": false,
   "refreshBtn": false,
   "searchMenuSpan": 6,
   "dialogWidth": "60%",
   "align": "center",
-  "delBtn":false,
+  "delBtn": false,
   "tree": true,
   "border": true,
   "index": true,
@@ -44,13 +44,13 @@
       "decimals": 6
     }
   ],
-  "column":[
+  "column": [
     {
       "label": "提单号",
       "prop": "billNo",
       "overHidden": true,
       "index": 1,
-      "width":150,
+      "width": 150,
       "rules": [
         {
           "required": false,
@@ -58,12 +58,13 @@
           "trigger": "blur"
         }
       ]
-    },{
+    },
+    {
       "label": "合同号",
       "prop": "contractNumber",
       "overHidden": true,
       "index": 2,
-      "width":150,
+      "width": 150,
       "rules": [
         {
           "required": false,
@@ -71,12 +72,13 @@
           "trigger": "blur"
         }
       ]
-    },{
+    },
+    {
       "label": "货物品种",
       "prop": "priceCategory",
       "overHidden": true,
       "index": 3,
-      "width":200,
+      "width": 200,
       "rules": [
         {
           "required": false,
@@ -90,21 +92,21 @@
       "prop": "cntrNo",
       "overHidden": true,
       "index": 4,
-      "width":120
+      "width": 120
     },
-   {
+    {
       "label": "件数",
       "prop": "actualQuantity",
-     "overHidden": true,
+      "overHidden": true,
       "index": 6,
-      "width":120
+      "width": 120
     },
     {
       "label": "发票重量(吨)",
       "prop": "invoiceWeight",
       "overHidden": true,
       "index": 7,
-      "width":120,
+      "width": 120,
       "rules": [
         {
           "required": false,
@@ -118,7 +120,7 @@
       "prop": "billWeight",
       "overHidden": true,
       "index": 8,
-      "width":120,
+      "width": 120,
       "rules": [
         {
           "required": false,
@@ -128,11 +130,18 @@
       ]
     },
     {
+      "label": "毛重(吨)",
+      "prop": "grossWeight",
+      "overHidden": true,
+      "index": 9,
+      "width": 120
+    },
+    {
       "label": "单价",
       "prop": "price",
       "overHidden": true,
-      "index": 9,
-      "width":120,
+      "index": 10,
+      "width": 120,
       "rules": [
         {
           "required": false,
@@ -145,8 +154,8 @@
       "label": "销售金额",
       "prop": "contractAmount",
       "overHidden": true,
-      "index": 10,
-      "width":120,
+      "index": 11,
+      "width": 120,
       "rules": [
         {
           "required": false,
@@ -159,8 +168,8 @@
       "label": "备注",
       "prop": "remarks",
       "overHidden": true,
-      "index": 11,
-      "width":180,
+      "index": 12,
+      "width": 180,
       "cell": true,
       "rules": [
         {
@@ -174,8 +183,8 @@
       "label": "创建人",
       "prop": "createUserName",
       "overHidden": true,
-      "index": 12,
-      "width":100
+      "index": 13,
+      "width": 100
     },
     {
       "label": "创建日期",
@@ -183,15 +192,15 @@
       "type": "date",
       "format": "yyyy-MM-dd HH:mm:ss",
       "overHidden": true,
-      "index": 13,
-      "width":160
+      "index": 14,
+      "width": 160
     },
     {
       "label": "修改人",
       "prop": "updateUserName",
       "overHidden": true,
-      "index": 14,
-      "width":100
+      "index": 15,
+      "width": 100
     },
     {
       "label": "修改日期",
@@ -199,8 +208,8 @@
       "type": "date",
       "format": "yyyy-MM-dd HH:mm:ss",
       "overHidden": true,
-      "index": 15,
-      "width":160
+      "index": 16,
+      "width": 160
     }
   ]
-}
+}

+ 1 - 0
src/views/importTrade/receipt/detailsPageEdit.vue

@@ -103,6 +103,7 @@
             @row-click="handleRowClick"
             @row-update="rowUpdate"
             @saveColumn="saveColumn"
+            @resetColumn="resetColumn"
             @row-del="rowDel"
           >
             <template slot-scope="{row}" slot="billNo">

+ 1 - 1
src/views/purchase/contract/config/customerContact.json

@@ -134,7 +134,7 @@
       "type": "select",
       "props": {
         "label": "dictValue",
-        "value": "dictValue"
+        "value": "dictKey"
       },
       "dicData":[],
       "overHidden": true,

+ 32 - 20
src/views/purchase/contract/detailsPage.vue

@@ -16,8 +16,8 @@
             </el-button>
             <el-dropdown-menu slot="dropdown">
               <el-dropdown-item :loading="buttonLoading" @click.native="auditCheck">提交审批</el-dropdown-item>
-              <el-dropdown-item v-if="false" @click.native="checkScheduleDialog = true">审批进度</el-dropdown-item>
-              <el-dropdown-item v-if="false">撤销审批</el-dropdown-item>
+              <el-dropdown-item @click.native="checkScheduleDialog = true">审批进度</el-dropdown-item>
+              <el-dropdown-item disabled>撤销审批</el-dropdown-item>
             </el-dropdown-menu>
           </el-dropdown>
 
@@ -224,11 +224,13 @@
               <el-button type="warning" size="small" :loading="buttonLoading"
                 :disabled="selectContact.length == 0 || viewDisabled" @click="beforePage()">生成收货单
               </el-button>
+              <el-button type="warning" size="small" :loading="buttonLoading" :disabled="viewDisabled"
+                @click="download">下载模板
+              </el-button>
               <el-upload :action="baseURL" :headers="headers" :disabled="viewDisabled" :on-progress="uploading"
                 :show-file-list=false accept=".xls,.xlsx" multiple :on-success="importTemplate" :on-error="uploadError"
                 style="float: right">
-                <el-button type="primary" size="small" icon="el-icon-upload" v-show="goodsActives == 'goods'"
-                  :disabled="detailData.seeDisabled || browse">导 入</el-button>
+                <el-button type="primary" size="small" icon="el-icon-upload" :disabled="viewDisabled">导 入</el-button>
               </el-upload>
             </template>
           </avue-crud>
@@ -279,7 +281,7 @@ import { isPercentage, roundNumbers } from "@/util/validate";
 import billApplication from "@/components/bill/billApplication";
 //商品详情接口
 import { corpsattn } from "@/api/basicData/configuration"
-import { contrastObj, contrastList } from "@/util/contrastData";
+import { contrastObj, contrastList, contrastList2 } from "@/util/contrastData";
 import ApplyPayment from "../../../components/finance/applyPayment";
 import financialAccount from "../../../components/finance/financialAccount";
 import { pleaseCheck } from "@/api/basicData/configuration"
@@ -312,7 +314,7 @@ export default {
   },
   data() {
     return {
-      baseURL: '/api/blade-purchase-sales/orderitems/importPrice', // 商品明细上传路径
+      baseURL: '/api/trade-purchase/purchase-order/importPrice', // 商品明细上传路径
       headers: { "Blade-Auth": 'Bearer ' + getToken() },
       form: {},
       disabled: false,
@@ -662,7 +664,7 @@ export default {
       this.paymentTypeDic = res.data.data
     })
     this.getWorkDicts("boxModel").then(res => {
-     this.findObject(this.customerContact.column, "cntrType").dicData =
+      this.findObject(this.customerContact.column, "cntrType").dicData =
         res.data.data;
     })
     if (this.detailData.view) {
@@ -765,7 +767,7 @@ export default {
     beforeFinance(feesData, callback) {
       let params = {}
       if (contrastObj(this.form, this.oldForm) || contrastList(this.contactsData, this.oldContactsData)
-        || contrastList(feesData, this.oldFeesList) || contrastList(this.orderFilesList, this.oldFilesList)
+        || contrastList2(feesData, this.oldFeesList) || contrastList(this.orderFilesList, this.oldFilesList)
       ) {
         this.$confirm("数据发生变化,请先提交保存?", {
           confirmButtonText: "保存",
@@ -1183,6 +1185,10 @@ export default {
         })
       }
     },
+    download() {
+      window.open(`/api/trade-purchase/purchase-order/exportPrice?${this.website.tokenHeader
+        }=${getToken()}`);
+    },
     copyData() {
       if (this.verificationData()) {
         this.takeDisabled = false
@@ -1272,19 +1278,25 @@ export default {
     // 商品明细上传成功钩子
     importTemplate(res, file) {
       this.openFullScreen(true)
-      if (res.data.lose.length > 0) {
-        this.$message({
-          showClose: true,
-          message: '导入明细失败的大字有:' + res.data.lose.toString(),
-          type: 'error',
-          duration: 10000,
-        });
-      }
-      res.data.list.forEach(item => {
-
+      res.data.forEach(item => {
+        const params = {
+          ...item,
+          itemType:item.specificationAndModel,
+          cntrNo:item.containerNo,
+          orderQuantity:item.number,
+          cntrType:item.cntrType?String(item.cntrType):null,
+        }
+        this.$refs.crudContact.rowCellAdd(params)
       })
-
-
+    },
+    openFullScreen(res, text) {
+      const loading = this.$loading({
+        lock: true,
+        text: text,
+        spinner: 'el-icon-loading',
+        background: 'rgba(0, 0, 0, 0.7)'
+      });
+      if (res === true) loading.close();
     },
     //列保存触发
     async saveColumn() {

+ 11 - 9
src/views/salesManagement/salesContract/detailsPage.vue

@@ -12,16 +12,15 @@
         </el-button>
 
         <el-dropdown style="padding: 0 6px;line-height: 0">
-          <el-button type="primary" size="small" :loading="buttonLoading" :disabled="!form.id || viewDisabled">
+          <el-button type="primary" size="small" :loading="buttonLoading" :disabled="!form.id">
             审核处理<i class="el-icon-arrow-down el-icon--right"></i>
           </el-button>
           <el-dropdown-menu slot="dropdown">
             <el-dropdown-item :loading="buttonLoading" @click.native="auditCheck">审核数据</el-dropdown-item>
-            <el-dropdown-item v-if="false">审核进度</el-dropdown-item>
-            <el-dropdown-item v-if="false">撤销审核</el-dropdown-item>
+            <el-dropdown-item @click.native="checkScheduleDialog = true">审核进度</el-dropdown-item>
+            <el-dropdown-item disabled>撤销审核</el-dropdown-item>
           </el-dropdown-menu>
         </el-dropdown>
-
         <el-dropdown style="padding: 0 6px;line-height: 0" v-if="false">
           <el-button type="warning" :loading="buttonLoading" :disabled="!form.id || viewDisabled" size="small">
             账单处理<i class="el-icon-arrow-down el-icon--right"></i>
@@ -99,7 +98,8 @@
                 <el-input type="textarea" v-else-if="(item.prop === 'orderRemark')" v-model="form[item.prop]"
                   :disabled="viewDisabled" size="small" autocomplete="off" placeholder="请输入"></el-input>
                 <el-input type="age" v-else v-model="form[item.prop]" size="small"
-                  :disabled="item.disabled ? true : false || viewDisabled" autocomplete="off" placeholder="请输入"></el-input>
+                  :disabled="item.disabled ? true : false || viewDisabled" autocomplete="off" placeholder="请输入">
+                </el-input>
               </el-form-item>
             </el-col>
           </el-row>
@@ -120,7 +120,8 @@
               <span v-if="row.$cellEdit" class="required_fields">*</span>
               <el-select v-if="row.$cellEdit" style="width:90% !important;" v-model="row.orgOrderNo" placeholder=" "
                 size="small" clearable filterable>
-                <el-option v-for="(item, index) in contractDic" :key="index" :label="item.orderNo" :value="item.orderNo">
+                <el-option v-for="(item, index) in contractDic" :key="index" :label="item.orderNo"
+                  :value="item.orderNo">
                 </el-option>
               </el-select>
               <span v-else>{{ row.orgOrderNo }}</span>
@@ -189,7 +190,7 @@
               <el-button type="primary" icon="el-icon-plus" size="small" :disabled="viewDisabled"
                 :loading="buttonLoading" @click="newDetails">录入明细</el-button>
               <el-button type="warning" size="small" :loading="buttonLoading"
-                :disabled="selection.length < 1 || viewDisabled" @click="generateShipmentD">生成发货单
+                :disabled="selection.length ==0|| form.status!=1 " @click="generateShipmentD">生成发货单
               </el-button>
               <!--              <el-button type="info"
                          size="small"
@@ -928,11 +929,12 @@ export default {
               this.$message.success("操作成功!")
               detailSaleList(res.data.data.id).then(res => {
                 this.afterEcho(res.data.data)
-              }).finally(() => {
-                this.buttonLoading = false
               })
             }
           })
+            .finally(() => {
+              this.buttonLoading = false
+            })
           if (status === true) {
             this.$emit("goBack");
           }

+ 4 - 4
src/views/statisticAnalysis/salesDetails/index.vue

@@ -17,6 +17,9 @@
             format="yyyy-MM-dd" value-format="yyyy-MM-dd HH:mm:ss" :default-time="['00:00:00', '23:59:59']">
           </el-date-picker>
         </template>
+        <template slot="corpId" slot-scope="{ row, index }">
+          <span>{{ row.corpName }}</span>
+        </template>
       </avue-crud>
     </basic-container>
   </div>
@@ -88,9 +91,6 @@ export default {
             prop: "corpId",
             overHidden: true,
             search: true,
-            formatter: row => {
-              return row.corpName;
-            }
           },
           // {
           //   label: "品牌",
@@ -160,7 +160,7 @@ export default {
           },
           {
             label: "特价金额",
-            prop: "fd",
+            prop: "specialPrice",
             overHidden: true
           }
         ]

+ 107 - 118
src/views/statisticAnalysis/salesProfitN/index.vue

@@ -1,44 +1,27 @@
 <template>
   <div>
     <basic-container class="page-crad">
-      <avue-crud
-        ref="crud"
-        :option="option"
-        :data="dataList"
-        :page.sync="page"
-        :search.sync="search"
-        :cell-style="cellStyle"
-        @search-change="searchChange"
-        @current-change="currentChange"
-        @size-change="sizeChange"
-        @refresh-change="refreshChange"
-        @on-load="onLoad"
-        :table-loading="loading"
-        :summary-method="summaryMethod"
-        @saveColumn="saveColumn"
-        @resetColumn="resetColumn"
-        @search-criteria-switch="searchCriteriaSwitch"
-      >
+      <avue-crud ref="crud" :option="option" :data="dataList" :page.sync="page" :search.sync="search"
+        :cell-style="cellStyle" @search-change="searchChange" @current-change="currentChange" @size-change="sizeChange"
+        @refresh-change="refreshChange" @on-load="onLoad" :table-loading="loading" @saveColumn="saveColumn"
+        @resetColumn="resetColumn" @search-criteria-switch="searchCriteriaSwitch">
         <template slot="menuLeft">
-          <el-button type="info" size="small" @click="outExport"
-            >导出</el-button
-          >
+          <el-button type="info" size="small" @click="outExport">导出</el-button>
         </template>
-        <template slot="corpIdSearch">
-          <crop-select v-model="search.corpId" corpType="KH"></crop-select>
+        <template slot="corpNameSearch">
+          <crop-select v-model="search.corpName" corpType="KH" :zhKey="true"></crop-select>
         </template>
-        <template slot="businesDateSearch">
-          <el-date-picker
-            v-model="search.businesDate"
-            type="daterange"
-            start-placeholder="开始日期"
-            end-placeholder="结束日期"
-            format="yyyy-MM-dd"
-            value-format="yyyy-MM-dd HH:mm:ss"
-            :default-time="['00:00:00', '23:59:59']"
-          >
+        <template slot="careteTimeSearch">
+          <el-date-picker v-model="search.careteTime" type="daterange" start-placeholder="开始日期" end-placeholder="结束日期"
+            format="yyyy-MM-dd" value-format="yyyy-MM-dd HH:mm:ss" :default-time="['00:00:00', '23:59:59']">
           </el-date-picker>
         </template>
+        <template slot="brandSearch">
+          <el-select v-model="search.brand" filterable clearable>
+            <el-option v-for="(item, index) in brandOption" :key="index" :label="item.dictValue"
+              :value="item.dictValue" />
+          </el-select>
+        </template>
       </avue-crud>
     </basic-container>
   </div>
@@ -46,6 +29,7 @@
 
 <script>
 import { getToken } from "@/util/auth";
+import { getList } from "@/api/statisticAnalysis/salesProfitN"
 import _ from "lodash";
 export default {
   name: "index",
@@ -80,32 +64,28 @@ export default {
         column: [
           {
             label: "客户名称",
-            prop: "corpId",
+            prop: "corpName",
             overHidden: true,
             width: 100,
-            search: true,
-            formatter: row => {
-              return row.corpsName;
-            }
+            search: true
           },
           {
             label: "品牌",
-            prop: "billType",
+            prop: "brand",
             type: "select",
-            hide: true,
             showColumn: false,
             search: true
           },
           {
             label: "省份",
-            prop: "orderNo",
+            prop: "province",
             overHidden: true,
             width: 100,
             search: true
           },
           {
             label: "日期",
-            prop: "businesDate",
+            prop: "careteTime",
             type: "date",
             format: "yyyy-MM-dd",
             overHidden: true,
@@ -114,97 +94,99 @@ export default {
           },
           {
             label: "业务员",
-            prop: "portOfLoad",
+            prop: "salesName",
             overHidden: true,
             search: true,
             width: 100
           },
           {
             label: "发货数量",
-            prop: "portOfDestination",
+            prop: "quantity",
             overHidden: true,
             width: 100
           },
           {
             label: "销售金额",
-            prop: "transport",
+            prop: "amount",
             overHidden: true,
             width: 100
           },
           {
             label: "特价条数",
-            prop: "procurementCost",
+            prop: "specialOfferQuantity",
             overHidden: true,
             width: 100
           },
           {
             label: "特价总金额",
-            prop: "partsCost",
+            prop: "specialOfferAmounts",
             overHidden: true,
             width: 100
           },
           {
             label: "非特价条数",
-            prop: "purchasePrice",
+            prop: "nonSpecialOfferQuantity",
             overHidden: true,
             width: 100
           },
           {
             label: "非特价总金额",
-            prop: "amount",
+            prop: "nonSpecialOfferAmount",
             overHidden: true,
             width: 100
           },
           {
             label: "17寸以上数量",
-            prop: "grossProfit",
+            prop: "seventeenQuantity",
             overHidden: true,
             width: 100
           },
           {
             label: "17寸以上金额",
-            prop: "grossProfitRate",
+            prop: "seventeenAmount",
             overHidden: true,
             width: 100
           },
           {
             label: "采购金额",
-            prop: "fd",
+            prop: "purchaseAmount",
             overHidden: true,
             width: 100
           },
           {
             label: "返利使用额",
-            prop: "fc",
+            prop: "thisUsedProfit",
             overHidden: true,
             width: 100
           },
           {
             label: "费用总金额",
-            prop: "singleTicketMargin",
+            prop: "totalAmount",
             overHidden: true,
             width: 100
           },
           {
             label: "销售毛利",
-            prop: "singleTicketMargin",
+            prop: "grossProfit",
             overHidden: true,
             width: 100
           },
           {
             label: "销售毛利率",
-            prop: "singleTicketMargin",
+            prop: "grossProfitRate",
             overHidden: true,
             width: 100
           }
         ]
-      }
+      },
+      brandOption: []
     };
   },
-  filters: {
-    decimalFormat(num) {
-      return num ? Number(num).toFixed(2) : "0.00";
-    }
+  async created() {
+    this.option = await this.getColumnData(this.getColumnName(185), this.option);
+    this.getWorkDicts('brand').then(res => {
+      this.brandOption = res.data.data;
+    })
   },
   methods: {
     cellStyle() {
@@ -235,66 +217,71 @@ export default {
       this.page.pageSize = val;
     },
     onLoad(page, params = {}) {
-      // this.loading = true;
-      // getList(
-      //   page.currentPage,
-      //   page.pageSize,
-      //   Object.assign(params, this.search)
-      // )
-      //   .then(res => {
-      //     if (res.data.data.records) {
-      //       res.data.data.records.forEach(e => {
-      //         e.itemLoading = true;
-      //       });
-      //     }
-      //     this.dataList = res.data.data.records ? res.data.data.records : [];
-      //     this.page.total = res.data.data.total;
-      //     if (this.page.total) {
-      //       this.option.height = window.innerHeight - 210;
-      //     }
-      //   })
-      //   .finally(() => {
-      //     this.loading = false;
-      //   });
+      let data = this.deepClone(Object.assign({}, params, this.search));
+      if (data.careteTime) {
+        data.beginCreateTime = data.careteTime[0]
+        data.endCreateTime = data.careteTime[1]
+        delete data.careteTime
+      }
+      this.loading = true;
+      getList(
+        page.currentPage,
+        page.pageSize,
+        data
+      )
+        .then(res => {
+          if (res.data.data.records) {
+            res.data.data.records.forEach(e => {
+              e.itemLoading = true;
+            });
+          }
+          this.dataList = res.data.data.records ? res.data.data.records : [];
+          this.page.total = res.data.data.total;
+          if (this.page.total) {
+            this.option.height = window.innerHeight - 210;
+          }
+        })
+        .finally(() => {
+          this.loading = false;
+        });
+    },
+    //列保存触发
+    async saveColumn() {
+      const inSave = await this.saveColumnData(this.getColumnName(185), this.option);
+      if (inSave) {
+        this.$message.success("保存成功");
+        //关闭窗口
+        this.$refs.crud.$refs.dialogColumn.columnBox = false;
+      }
+    },
+    async resetColumn() {
+      this.option = this.option;
+      const inSave = await this.delColumnData(this.getColumnName(185), this.option);
+      if (inSave) {
+        this.$message.success("重置成功");
+        this.$refs.crud.$refs.dialogColumn.columnBox = false;
+      }
     },
-    editOpen(row) {},
     outExport() {
-      // if (!this.search.billType) {
-      //   return this.$message.error("请选择类别");
-      // }
-      // window.open(
-      //   `/api/blade-purchase-sales/exportOrder/exportProfit?${
-      //     this.website.tokenHeader
-      //   }=${getToken()}&billType=${this.search.billType}`
-      // );
+      let params = { ...this.search }
+      if (params.careteTime && params.careteTime.length > 0) {
+        params = {
+          ...params,
+          beginCreateTime: params.careteTime[0] + ' 00:00:00',
+          endCreateTime: params.careteTime[1] + ' 23:59:59',
+        }
+      } else {
+        params = {
+          ...params,
+          beginCreateTime: '',
+          endCreateTime: '',
+        }
+      }
+      window.open(
+        `/api/blade-purchase-sales/exportOrder/selSalesProfitExport?${this.website.tokenHeader
+        }=${getToken()}&corpName=${this.search.corpName}&brand=${params.brand}&beginCreateTime=${params.beginCreateTime}&endCreateTime=${params.endCreateTime}&salesName=${params.salesName}&province=${params.province}`
+      );
     },
-    summaryMethod({ columns, data }) {
-      const sums = [];
-      // if (columns.length > 0) {
-      //   columns.forEach((item, index) => {
-      //     sums[0] = "合计";
-      //     if (item.property == "purchasePrice" || item.property == "amount") {
-      //       let amountSum = 0;
-      //       let purchaseAmountSum = 0;
-      //       data.forEach(e => {
-      //         amountSum = _.add(amountSum, Number(e.amount));
-      //         purchaseAmountSum = _.add(
-      //           purchaseAmountSum,
-      //           Number(e.purchasePrice)
-      //         );
-      //       });
-      //       //入库金额总计
-      //       if (item.property == "purchasePrice") {
-      //         sums[index] = micrometerFormat(purchaseAmountSum);
-      //       }
-      //       if (item.property == "amount") {
-      //         sums[index] = micrometerFormat(amountSum);
-      //       }
-      //     }
-      //   });
-      // }
-      return sums;
-    }
   }
 };
 </script>
@@ -303,9 +290,11 @@ export default {
 .page-crad ::v-deep .basic-container__card {
   height: 94.2vh;
 }
+
 ::v-deep .el-table__expanded-cell[class*="cell"] {
   padding: 0px;
 }
+
 .itemTable ::v-deep .el-table {
   width: 100%;
 }