소스 검색

经营概况相关修改

changhaoning 1 년 전
부모
커밋
7d48704466

+ 16 - 1
components/dkbusiness/dk-dropdown-menu/dk-dropdown-menu.js

@@ -132,6 +132,21 @@ Component({
       }) 
     },
     /**
+     * @desc   : 修改menu数据源(从外部调用)
+     * @author : 周兴
+     * @date   : 2024/1/26 11:46
+     */
+    changeMenu(menuList){
+      this.setData({
+        menuList:[]
+      })
+      setTimeout(()=>{
+        this.setData({
+          menuList:menuList
+        })
+      },100)
+    },
+    /**
      * @desc   : 展开下拉
      * @author : 周兴
      * @date   : 2024/1/26 11:46
@@ -298,7 +313,7 @@ Component({
         this.doSearch();
       }
       this.selectComponent('#' + e.detail.code).toggle(false);
-      this.triggerEvent('dkdropdowndateCommit', {'dateDefault':dateDefault })
+      this.triggerEvent('dkdropdowndateCommit', {'dateDefault':dateDefault ,item:menuList[this.data.index]})
     },
     /**
      * @desc : 开关组件后的回调

+ 1 - 0
package-business-analysis/pages/business-overview/business-overview.js

@@ -130,6 +130,7 @@ Page({
     //未付费跳转付费页面
     //true为标准版
     if (this.data.freeVersionFlag) {
+      // if(false){
       let menuList = app.globalData.menus
       let filters = menuList.filter(it => it.objectCode == 'ivt-sum-report');
       //只要一个没有就都没有 需要购买 跳转购买页面

+ 6 - 6
package-business-analysis/pages/business-overview/business-overview.wxml

@@ -13,7 +13,7 @@
       <view class="card-content">
         <view class="list-item">
           <view class="title">库存资产</view>
-          <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#A5814A" contentFontWeight="bold" content="{{intAssetsData.intAssets}}"></dk-cell>
+          <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#A5814A" contentFontWeight="bold" content="{{intAssetsData.intAssets || 0}}"></dk-cell>
         </view>
       </view>
     </view>
@@ -30,7 +30,7 @@
       <view class="card-content">
         <view class="list-item">
           <view class="title">欠款金额</view>
-          <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#f52308" contentFontWeight="bold" content="{{receivableResidueData.receivableResidue}}"></dk-cell>
+          <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#f52308" contentFontWeight="bold" content="{{receivableResidueData.receivableResidue || 0}}"></dk-cell>
         </view>
       </view>
     </view>
@@ -51,19 +51,19 @@
       <view class="card-content">
         <view class="list-item">
           <view class="title">销售利润</view>
-          <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#A5814A" contentFontWeight="bold" content="{{profitMarginData.profit}}"></dk-cell>
+          <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#A5814A" contentFontWeight="bold" content="{{profitMarginData.profit || 0}}"></dk-cell>
         </view>
         <view class="list-item">
           <view class="title">利润率</view>
-          <dk-cell left="0rpx" height="45rpx" percentSignFlag="{{true}}" tail="{{'%'}}" contentRight="{{false}}" contentFontSize="14" contentColor="#A5814A" contentFontWeight="bold" content="{{profitMarginData.profitMargin}}"></dk-cell>
+          <dk-cell left="0rpx" height="45rpx" percentSignFlag="{{true}}" tail="{{'%'}}" contentRight="{{false}}" contentFontSize="14" contentColor="#A5814A" contentFontWeight="bold" content="{{profitMarginData.profitMargin || 0}}"></dk-cell>
         </view>
         <view class="list-item">
           <view class="title">销售金额</view>
-          <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#A5814A" contentFontWeight="bold" content="{{profitMarginData.receivable}}"></dk-cell>
+          <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#A5814A" contentFontWeight="bold" content="{{profitMarginData.receivable || 0}}"></dk-cell>
         </view>
         <view class="list-item">
           <view class="title">销售成本</view>
-          <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#A5814A" contentFontWeight="bold" content="{{profitMarginData.costAmt}}"></dk-cell>
+          <dk-cell left="0rpx" height="45rpx" contentRight="{{false}}" contentFontSize="14" contentColor="#A5814A" contentFontWeight="bold" content="{{profitMarginData.costAmt || 0}}"></dk-cell>
         </view>
       </view>
 

+ 9 - 3
package-business-analysis/pages/profit-report/org-rank/org-rank.js

@@ -81,6 +81,13 @@ Page({
    * 生命周期函数--监听页面加载
    */
   onLoad(options) {
+    if(this.data.params.searchForm){
+      this.setData({
+        searchForm:this.data.params.searchForm,
+        searchContent:this.data.params.searchContent,
+      })
+      this.selectComponent("#menu").changeMenu(this.data.searchContent);
+    }
     this.getReportData()
   },
   /** 查询页面展示的所有 */
@@ -88,8 +95,8 @@ Page({
     //体验跳转显示假数据
     if(this.data.params && this.data.params.testFlag){
       this.setData({
-        tab1TopData: [{ title: '销售利润(总额)', type: 'amount', value: 341916 },
-        { title: '利润率', type: '', value: 94.32 + '%' }
+        tab1TopData: [{ title: '销售利润(总额)', type: 'amount', value: 90000 },
+        { title: '利润率', type: '', value: 90.00 + '%' }
         ],
         tab1TableData: Data.falseOrgProfitData
       })
@@ -137,7 +144,6 @@ Page({
         params.vip = true;
     }
     params.buyLong = this.data.params.extendDays + '天'
-    console.log(params);
     let service = app.globalData['companyService']
     return this.excute(service, service.saveFunc,params).then(res => {
         if (res.data.code == Constants.SUCESS_CODE) {

+ 1 - 1
package-business-analysis/pages/profit-report/org-rank/org-rank.wxml

@@ -1,6 +1,6 @@
 <view>
   <!-- 顶部筛选条件 -->
-  <dk-dropdown-menu model:value="{{searchForm}}" menuList="{{searchContent}}" bind:search="getReportData" flgSearchText="{{false}}">
+  <dk-dropdown-menu id="menu" model:value="{{searchForm}}" menuList="{{searchContent}}" bind:search="getReportData" flgSearchText="{{false}}">
   </dk-dropdown-menu>
 
   <view style="width: calc(100% - 68rpx);padding: 40rpx 34rpx;">

+ 20 - 2
package-business-analysis/pages/profit-report/profit-report.js

@@ -25,6 +25,23 @@ Page({
     ec: {},
   },
 
+  /**
+   * @desc : 查询条件改变 传递到明细中用
+   * @date : 2024/7/5 15:49
+   * @author : 常皓宁
+   */
+  changeSearchContent(e){
+    if(e.detail.item){
+      this.setData({
+        searchContent:[{
+          code: "makeTime",
+          defaultValue:e.detail.item.defaultValue,
+          searchType: "date",
+          title: e.detail.item.title
+        }]
+      })
+    }
+  },
 
 
   /**
@@ -70,7 +87,8 @@ Page({
         extendDays: this.data.params.extendDays,
       }
     }
-    
+    params.searchForm = this.data.searchForm
+    params.searchContent = this.data.searchContent
     wx.navigateTo({
       url: '/package-business-analysis/pages/profit-report/' + e.currentTarget.dataset.url,
       success: function (res) {
@@ -136,6 +154,7 @@ Page({
           title:this.data.item.title.text
         }]
       })
+      this.selectComponent("#menu").changeMenu(this.data.searchContent);
       this.data.item = null
     }
     //end
@@ -228,7 +247,6 @@ Page({
         params.vip = true;
     }
     params.buyLong = this.data.params.extendDays + '天'
-    console.log(params);
     let service = app.globalData['companyService']
     return this.excute(service, service.saveFunc,params).then(res => {
         if (res.data.code == Constants.SUCESS_CODE) {

+ 1 - 1
package-business-analysis/pages/profit-report/profit-report.wxml

@@ -6,7 +6,7 @@
 <!-- 顶部筛选条件 -->
 <view class="head" style="position: fixed;top:0; z-index: 95;">
   <view style="overflow: hidden;position: absolute;width: 100%; z-index: 6666;">
-    <dk-dropdown-menu  model:value="{{searchForm}}" menuList="{{searchContent}}"  bind:search="getSaleProfit" flgSearchText="{{false}}">
+    <dk-dropdown-menu id="menu" model:value="{{searchForm}}" menuList="{{searchContent}}" bind:dkdropdowndateCommit="changeSearchContent"  bind:search="getSaleProfit" flgSearchText="{{false}}">
 	</dk-dropdown-menu>
   </view>
 </view>

+ 9 - 3
package-business-analysis/pages/profit-report/sku-rank/sku-rank.js

@@ -81,6 +81,13 @@ Page({
    * 生命周期函数--监听页面加载
    */
   onLoad(options) {
+    if(this.data.params.searchForm){
+      this.setData({
+        searchForm:this.data.params.searchForm,
+        searchContent:this.data.params.searchContent,
+      })
+      this.selectComponent("#menu").changeMenu(this.data.searchContent);
+    }
     this.getReportData()
   },
   /** 查询页面展示的所有 */
@@ -88,8 +95,8 @@ Page({
     //体验跳转显示假数据
     if(this.data.params && this.data.params.testFlag){
       this.setData({
-        tab1TopData: [{ title: '销售利润(总额)', type: 'amount', value: 190185 },
-        { title: '利润率', type: '', value: 97.74 + '%' }
+        tab1TopData: [{ title: '销售利润(总额)', type: 'amount', value: 90000 },
+        { title: '利润率', type: '', value: 90.00 + '%' }
         ],
         tab1TableData: Data.falseSkuProfitData
       })
@@ -137,7 +144,6 @@ Page({
         params.vip = true;
     }
     params.buyLong = this.data.params.extendDays + '天'
-    console.log(params);
     let service = app.globalData['companyService']
     return this.excute(service, service.saveFunc,params).then(res => {
         if (res.data.code == Constants.SUCESS_CODE) {

+ 1 - 1
package-business-analysis/pages/profit-report/sku-rank/sku-rank.wxml

@@ -1,6 +1,6 @@
 <view>
   <!-- 顶部筛选条件 -->
-  <dk-dropdown-menu model:value="{{searchForm}}" menuList="{{searchContent}}" bind:search="getReportData" flgSearchText="{{false}}">
+  <dk-dropdown-menu id="menu" model:value="{{searchForm}}" menuList="{{searchContent}}" bind:search="getReportData" flgSearchText="{{false}}">
   </dk-dropdown-menu>
 
   <view style="width: calc(100% - 68rpx);padding: 40rpx 34rpx;">

+ 9 - 3
package-business-analysis/pages/profit-report/staff-rank/staff-rank.js

@@ -86,6 +86,13 @@ Page({
    * 生命周期函数--监听页面加载
    */
   onLoad(options) {
+    if(this.data.params.searchForm){
+      this.setData({
+        searchForm:this.data.params.searchForm,
+        searchContent:this.data.params.searchContent,
+      })
+      this.selectComponent("#menu").changeMenu(this.data.searchContent);
+    }
     this.getReportData()
   },
   /** 查询页面展示的所有 */
@@ -93,8 +100,8 @@ Page({
     //体验跳转显示假数据
     if(this.data.params && this.data.params.testFlag){
       this.setData({
-        tab1TopData: [{ title: '销售利润(总额)', type: 'amount', value: 285902 },
-        { title: '利润率', type: '', value: 94.92 + '%' }
+        tab1TopData: [{ title: '销售利润(总额)', type: 'amount', value: 90000 },
+        { title: '利润率', type: '', value: 90.00 + '%' }
         ],
         tab1TableData: Data.falseStaffProfitData
       })
@@ -143,7 +150,6 @@ Page({
         params.vip = true;
     }
     params.buyLong = this.data.params.extendDays + '天'
-    console.log(params);
     let service = app.globalData['companyService']
     return this.excute(service, service.saveFunc,params).then(res => {
         if (res.data.code == Constants.SUCESS_CODE) {

+ 1 - 1
package-business-analysis/pages/profit-report/staff-rank/staff-rank.wxml

@@ -1,6 +1,6 @@
 <view>
   <!-- 顶部筛选条件 -->
-  <dk-dropdown-menu model:value="{{searchForm}}" menuList="{{searchContent}}" bind:search="getReportData" flgSearchText="{{false}}">
+  <dk-dropdown-menu id="menu" model:value="{{searchForm}}" menuList="{{searchContent}}" bind:search="getReportData" flgSearchText="{{false}}">
   </dk-dropdown-menu>
 
   <view style="width: calc(100% - 68rpx);padding: 40rpx 34rpx;">

+ 115 - 139
utils/data.js

@@ -7,13 +7,13 @@ module.exports = {
     currentOutAmt: 100,
     currentOutQty: 100,
     decimalPlaces: 0,
-    endingIvtAmt: 104501,
+    endingIvtAmt: 100,
     endingIvtQty: 100,
     imagesUrl: "https://s.dev01.dkiboss.com:7000/file/dc91014c58d4d/t_mst_goods_sku/2024-06/27/aa556141-2f8a-49fe-b7a7-b45b44760b32.png",
     invId: "10112024-0625-0000-0000-000460f23129",
     nonStdCode: "-",
-    openingIvtAmt: 104501,
-    openingIvtQty: 88,
+    openingIvtAmt: 100,
+    openingIvtQty: 100,
     packBox: 8,
     seriesName: "测试数据",
     shortName: "测试",
@@ -34,8 +34,8 @@ module.exports = {
   //收发存明细
   falseIvtReportItemData: [{
     brandName: "东鹏",
-    costAmt: 999,
-    intoAmt: 2000,
+    costAmt: 100,
+    intoAmt: 100,
     decimalPlaces: 0,
     flgSubUnit: true,
     imagesUrl: undefined,
@@ -46,16 +46,16 @@ module.exports = {
     intoDate: "2024-07-02",
     outNo: "NO98-240701-111111",
     intoNo: "NO98-240702-222222",
-    outQty: 2,
-    intoQty: 3,
+    outQty: 100,
+    intoQty: 100,
     outTypeName: "其他出库",
-    intoTypeName: "期初入库",
+    intoTypeName: "采购入库",
     priceOut: 0,
     returnAmt: 0,
     returnQty: 0,
     shortName: "东鹏",
     skuBox: 0,
-    skuBoxCurrent: "0箱2个",
+    skuBoxCurrent: "12箱4个",
     skuCode: "D9804465EB",
     skuModel: "A001",
     skuPiece: "2",
@@ -65,21 +65,19 @@ module.exports = {
   }],
   //客户收支表
   falseCusRecPayReportData: [{
-    facAmt: 99999
+    facAmt: 1000
   }, {
-    arrears: 99999
+    arrears: 900
   }, {
-    outAmt: 99999
+    outAmt: 100
   }, {
-    arrears: 99,
+    arrears: 60,
     cusName: "张萌萌",
     cusPhone: "1388888888",
-    objectId: "10112024-0622-0000-0000-0004529ba002",
   }, {
-    arrears: 99,
+    arrears: 40,
     cusName: "王萌萌",
     cusPhone: "1399999999",
-    objectId: "10112024-0622-0000-0000-00045369aaff"
   }],
   //客户详情
   falseCusItemData: [{
@@ -119,8 +117,8 @@ module.exports = {
     lastFollowTime: null,
     name: "edit",
     nextFollowTime: null,
-    orderAmount: 659,
-    orderQuantity: 2,
+    orderAmount: 1000,
+    orderQuantity: 1,
     orgId: "10112024-0622-0000-0000-0004523842c1",
     orgName: "运营中心",
     outboundAmount: 560,
@@ -130,8 +128,8 @@ module.exports = {
     outboundReturnAmount: null,
     outboundReturnQuantity: 0,
     pageSize: null,
-    receipt: -2,
-    receiptResidue: -2,
+    receipt: 940,
+    receiptResidue: 940,
     receivable: 560,
     receivableResidue: 560,
     remarks: null,
@@ -178,7 +176,7 @@ module.exports = {
     discAmt: null,
     discount: null,
     end: null,
-    factAmt: 99,
+    factAmt: 1000,
     flgAutoHandle: null,
     flgBusiness: null,
     flgHandleSetting: null,
@@ -188,6 +186,7 @@ module.exports = {
     makeTime: "2024-06-22 16:35:53",
     orderId: "10112024-0622-0000-0000-0004538d0901",
     orderItemResponseList: [{
+      imagesUrl:"https://s.dev01.dkiboss.com:7000/file/dc91014c58d4d/t_mst_goods_sku/2024-07/08/21fc795e-f8fd-4d72-9265-1f7d655cbf7d.jpg",
       amtStd: 0,
       brandName: "百特",
       cpId: 332,
@@ -210,9 +209,9 @@ module.exports = {
       outingQty: 1,
       packageDetailsFlag: true,
       priceDiscount: 100,
-      priceOut: 99,
+      priceOut: 1000,
       pricePurchase: 0,
-      priceSale: 99,
+      priceSale: 1000,
       priceStandard: 0,
       priceStd: 0,
       remarks: null,
@@ -251,7 +250,7 @@ module.exports = {
     saleDiscount: 100,
     salesChannel: "10112024-0622-0000-0000-0004523d2353",
     staffId: "10112024-0622-0000-0000-00045239ecc6",
-    staffName: "13810254492",
+    staffName: "李某",
     start: null,
     sumAmount: 99,
     sumQuantity: 1,
@@ -300,13 +299,13 @@ module.exports = {
     fromNo: "SO98-240709-111111",
     goodsList: [{
       box: 6,
-      brandName: "张测试",
+      brandName: "百特",
       costAmt: 10,
       costPrice: 2,
       cpId: 332,
       decimalPlaces: 0,
       factAmt: 594,
-      factPrice: 99,
+      factPrice: 940,
       flgSubUnit: true,
       flgValid: true,
       fromId: "10112024-0709-0000-0000-000489ce58af",
@@ -320,7 +319,7 @@ module.exports = {
       outAmt: 495,
       outId: "10112024-0709-0000-0000-000489d196d5",
       outNo: "IO98-240709-11111",
-      outQty: 5,
+      outQty: 1,
       outStatus: "出库状态-已出库",
       outType: "出库类型-销售出库",
       outingAmt: 0,
@@ -328,7 +327,7 @@ module.exports = {
       outingPiece: 0,
       outingQty: 0,
       packBox: 1,
-      packBoxText: "6套",
+      packBoxText: "1套",
       packageDetailsFlag: true,
       piece: 0,
       priceOut: 99,
@@ -353,9 +352,8 @@ module.exports = {
           url: "https://s.dev01.dkiboss.com:7000/file/dc91014c58d4d/t_mst_goods_sku/2024-07/08/21fc795e-f8fd-4d72-9265-1f7d655cbf7d.jpg"
         }
       },
-      skuModel: "张测试2",
-      skuName: "恩尚科目农业咯能",
-      skuSpec: "333*800",
+      skuModel: "BT001",
+      skuName: null,
       subUnitName: "套",
       supId: null,
       unitName: "个",
@@ -370,13 +368,13 @@ module.exports = {
     opUpdateTime: null,
     orgId: "10112024-0622-0000-0000-0004523842c1",
     orgName: "运营中心",
-    outAmt: -50,
+    outAmt: 940,
     outBox: null,
     outDate: "2024-07-09",
     outId: "10112024-0709-0000-0000-000489d196d5",
     outNo: "IO98-240709-11111",
     outPiece: null,
-    outQty: 5,
+    outQty: 1,
     outReason: null,
     outReasonName: null,
     outStatus: "出库状态-已出库",
@@ -395,8 +393,7 @@ module.exports = {
     returnAmt: 0,
     returnQty: 0,
     salesChannel: null,
-    staffId: "10112024-0705-0000-0000-0004798d1b48",
-    staffName: "于继博",
+    staffName: "李某",
     start: null,
     subUnitName: null,
     sumOutAmt: null,
@@ -410,7 +407,7 @@ module.exports = {
   falseReceiptData: [{
     accDate: "2024-06-22",
     addressFull: "内蒙古自治区呼和浩特市玉泉区南三环路与锡林郭勒南路交叉口正北方向341米左右万锦·云锦",
-    amtRec: 0,
+    amtRec: 940,
     annexPaths: null,
     biznisId: "10112024-0622-0000-0000-0004538d0901",
     biznisNo: "SO98-240622-11111",
@@ -452,7 +449,7 @@ module.exports = {
     rpType: "收付款类型-收款",
     rpTypeName: "收款",
     staffId: "10112024-0622-0000-0000-00045239ecc6",
-    staffName: "13810254492",
+    staffName: "李某",
     start: null,
     sumAmtPay: 0,
     sumAmtPayableHandle: 0,
@@ -468,74 +465,74 @@ module.exports = {
     supType: null,
   }],
   //退款记录
-  falseBackMacData: [{
-    accDate: "2024-06-22",
-    addressFull: "内蒙古自治区呼和浩特市玉泉区南三环路与锡林郭勒南路交叉口正北方向341米左右万锦·云锦",
-    amtRec: -560,
-    annexPaths: [],
-    biznisId: null,
-    biznisNo: null,
-    biznisType: null,
-    contactName: null,
-    contactPhone: null,
-    contractAssets: null,
-    cpId: 332,
-    currentPage: null,
-    cusCode: "D9804162L7",
-    cusName: "张萌萌",
-    cusPhone: "13478286688",
-    end: null,
-    flgLock: false,
-    flgOrderHandle: false,
-    flgValid: true,
-    macCode: null,
-    macNames: "现金",
-    makeStaff: "10112024-0622-0000-0000-00045239ecc6",
-    makeStaffName: "13810254492",
-    makeTime: "2024-06-22 10:59:37",
-    objectId: "10112024-0622-0000-0000-0004529ba002",
-    orgId: "10112024-0622-0000-0000-0004523842c1",
-    orgName: "运营中心",
-    pageSize: null,
-    payableResidue: null,
-    paymentResidue: null,
-    receipt: null,
-    receiptLock: null,
-    receiptResidue: -2,
-    receivable: null,
-    receivableHandle: null,
-    receivableResidue: 560,
-    receivableWaive: null,
-    remarks: null,
-    returnAddress: null,
-    rpId: "10112024-0622-0000-0000-0004528c822a",
-    rpNo: "NO98-240622-111111",
-    rpType: "收付款类型-退收款",
-    rpTypeName: "退收款",
-    staffId: "10112024-0622-0000-0000-00045239ecc6",
-    staffName: "13810254492",
-    start: null,
-    sumAmtPay: 0,
-    sumAmtPayableHandle: 0,
-    sumAmtRec: -560,
-    sumAmtReceivableHandle: 0,
-    sumShouldHandle: 0,
-    sumUsePaymentResidue: 0,
-    sumUseReceiptResidue: 0,
-    sumWaiveAmt: 0,
-    supCode: null,
-    supId: null,
-    supName: null,
-    supType: null,
-  }],
+  // falseBackMacData: [{
+  //   accDate: "2024-06-22",
+  //   addressFull: "内蒙古自治区呼和浩特市玉泉区南三环路与锡林郭勒南路交叉口正北方向341米左右万锦·云锦",
+  //   amtRec: -560,
+  //   annexPaths: [],
+  //   biznisId: null,
+  //   biznisNo: null,
+  //   biznisType: null,
+  //   contactName: null,
+  //   contactPhone: null,
+  //   contractAssets: null,
+  //   cpId: 332,
+  //   currentPage: null,
+  //   cusCode: "D9804162L7",
+  //   cusName: "张萌萌",
+  //   cusPhone: "13478286688",
+  //   end: null,
+  //   flgLock: false,
+  //   flgOrderHandle: false,
+  //   flgValid: true,
+  //   macCode: null,
+  //   macNames: "现金",
+  //   makeStaff: "10112024-0622-0000-0000-00045239ecc6",
+  //   makeStaffName: "13810254492",
+  //   makeTime: "2024-06-22 10:59:37",
+  //   objectId: "10112024-0622-0000-0000-0004529ba002",
+  //   orgId: "10112024-0622-0000-0000-0004523842c1",
+  //   orgName: "运营中心",
+  //   pageSize: null,
+  //   payableResidue: null,
+  //   paymentResidue: null,
+  //   receipt: null,
+  //   receiptLock: null,
+  //   receiptResidue: -2,
+  //   receivable: null,
+  //   receivableHandle: null,
+  //   receivableResidue: 560,
+  //   receivableWaive: null,
+  //   remarks: null,
+  //   returnAddress: null,
+  //   rpId: "10112024-0622-0000-0000-0004528c822a",
+  //   rpNo: "NO98-240622-111111",
+  //   rpType: "收付款类型-退收款",
+  //   rpTypeName: "退收款",
+  //   staffId: "10112024-0622-0000-0000-00045239ecc6",
+  //   staffName: "13810254492",
+  //   start: null,
+  //   sumAmtPay: 0,
+  //   sumAmtPayableHandle: 0,
+  //   sumAmtRec: -560,
+  //   sumAmtReceivableHandle: 0,
+  //   sumShouldHandle: 0,
+  //   sumUsePaymentResidue: 0,
+  //   sumUseReceiptResidue: 0,
+  //   sumWaiveAmt: 0,
+  //   supCode: null,
+  //   supId: null,
+  //   supName: null,
+  //   supType: null,
+  // }],
 
   //销售利润
   falseProfitReportData: {
     profit: {
-      inbound: -45321,
-      outbound: 765432,
-      profit: 77884,
-      profitRate: 106.17,
+      inbound: 10000,
+      outbound: 100000,
+      profit: 90000,
+      profitRate: 90.00,
     },
     dateProfit: [{
         accDate: "2024-06",
@@ -551,69 +548,48 @@ module.exports = {
     orgProfit: [{
       orgName: "测试中心",
       profitRate: 106.17,
-      profit: 77804
+      profit: 90000
     }],
     staffProfit: [{
-        staffName: "145555555",
+        staffName: "李某",
         profitRate: 107.06,
-        profit: 32322
+        profit: 90000
       },
-      {
-        staffName: "4223333",
-        profitRate: 100.2,
-        profit: 9519
-      }
     ],
     skuProfit: [{
       skuName: "P001",
       profitRate: 111.01,
-      profit: 12345
+      profit: 60000
     }, {
       skuName: "U001(U001)",
       profitRate: 23,
-      profit: 23233
+      profit: 30000
     }]
   },
   //部门利润排行
   falseOrgProfitData: [{
     orgName: "运营中心",
-    profit: 123456,
-    profitRate: 93.49,
-  }, {
-    orgName: "测试中心",
-    profit: 112323,
-    profitRate: 91.39,
-  }, {
-    orgName: "开发中心",
-    profit: 106137,
-    profitRate: 90.27,
-  }],
+    profit: 90000,
+    profitRate: 90.00,
+  },],
   //业务员利润排行
   falseStaffProfitData: [{
-    profit: 103001,
-    profitRate: 96.97,
+    profit: 90000,
+    profitRate: 90.00,
     staffName: "张三",
-  }, {
-    profit: 92121,
-    profitRate: 94.32,
-    staffName: "李四",
-  }, {
-    profit: 90780,
-    profitRate: 93.47,
-    staffName: "王五",
-  }],
+  },],
   //商品利润排行
   falseSkuProfitData: [{
-    profit: 65972,
-    profitRate: 99.55,
+    profit: 40000,
+    profitRate: 90.55,
     skuName: "CS01",
   }, {
-    profit: 63231,
-    profitRate: 98.33,
+    profit: 30000,
+    profitRate: 90.33,
     skuName: "CS02",
   }, {
-    profit: 60982,
-    profitRate: 95.35,
+    profit: 20000,
+    profitRate: 90.35,
     skuName: "CS03",
   }]