谢杰标 2 vuotta sitten
vanhempi
commit
e79d448b9e

+ 8 - 8
src/views/financed/accountsPayable/components/dislogOrderList.vue

@@ -229,14 +229,14 @@ export default {
           // width: 100,
           // width: 100,
           scope: "formatPrice",
           scope: "formatPrice",
         },
         },
-        {
-          label: "审核状态",
-          prop: "divideCheckStatus",
-          hidden: true,
-          // width: 100,
-          scope: "solt",
-          soltName: "divideCheckStatus",
-        },
+        // {
+        //   label: "审核状态",
+        //   prop: "divideCheckStatus",
+        //   hidden: true,
+        //   // width: 100,
+        //   scope: "solt",
+        //   soltName: "divideCheckStatus",
+        // },
       ],
       ],
       tableData: [],
       tableData: [],
       total: 0,
       total: 0,

+ 11 - 1
src/views/financed/accountsPayable/operationsReceivable/index.vue

@@ -88,7 +88,7 @@ import pictureList from "@/components/Comon/pictureList.vue";
 import dislogBadBill from "../components/dislogBadBill.vue";
 import dislogBadBill from "../components/dislogBadBill.vue";
 import dislogOrderDetails from "../../components/dislogOrderDetails.vue";
 import dislogOrderDetails from "../../components/dislogOrderDetails.vue";
 import dislogTip from "../components/dislogTip.vue";
 import dislogTip from "../components/dislogTip.vue";
-import { orderList } from "@/api/financed/index";
+import { orderList, countOrderNum } from "@/api/financed/index";
 export default {
 export default {
   name: "SaasMasterPlatformIndex",
   name: "SaasMasterPlatformIndex",
 
 
@@ -99,6 +99,7 @@ export default {
           label: "未收账款",
           label: "未收账款",
           prop: "orderUncollectedTotal",
           prop: "orderUncollectedTotal",
           img: "未收款",
           img: "未收款",
+          value: 0,
         },
         },
       ],
       ],
       navText: {
       navText: {
@@ -265,6 +266,7 @@ export default {
           pageNum: 1,
           pageNum: 1,
         };
         };
       }
       }
+      this.getCountOrderNum();
       this.getDataList();
       this.getDataList();
     },
     },
     init() {
     init() {
@@ -281,6 +283,14 @@ export default {
           this.loading = false;
           this.loading = false;
         });
         });
     },
     },
+    getCountOrderNum() {
+      var data = JSON.parse(JSON.stringify(this.formData));
+      delete data.pageNum;
+      delete data.pageSize;
+      countOrderNum({ totalType: 1, ...data }).then((res) => {
+        this.showTabList[0].value = res.data.orderUncollectedTotal;
+      });
+    },
     backText(row) {
     backText(row) {
       const type = row.noteType;
       const type = row.noteType;
       if (type == 2) {
       if (type == 2) {