From 85f15182f6a6d97ad86739967e59e80299e1b98f Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期二, 09 九月 2025 14:14:10 +0800
Subject: [PATCH] Merge branch 'ycds-wms-dev' of http://47.97.1.152:5880/r/zy-asrs-master into ycds-wms-dev

---
 zy-asrs-admin/src/views/loc/locDetl/index.vue |   28 +++++++++++++++++++++++++---
 1 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/zy-asrs-admin/src/views/loc/locDetl/index.vue b/zy-asrs-admin/src/views/loc/locDetl/index.vue
index 2afcbdc..2857c42 100644
--- a/zy-asrs-admin/src/views/loc/locDetl/index.vue
+++ b/zy-asrs-admin/src/views/loc/locDetl/index.vue
@@ -13,6 +13,7 @@
 const TABLE_KEY = 'table-locDetl';
 let currentPage = 1;
 let pageSize = 10;
+let allQty = 0;
 const searchInput = ref("")
 const orderBy = ref({});
 const searchParam = ref({
@@ -33,7 +34,7 @@
 let tableData = ref([]);
 getColumns();
 getPage();
-
+getTotalQty();
 const {
   getColumnSearchProps,
   handleResizeColumn,
@@ -248,6 +249,26 @@
   }
 }
 
+
+function getTotalQty() {
+  state.loading = true;
+  post('/api/locDetl/all/Qty').then((resp) => {
+    let result = resp.data;
+    if (result.code == 200) {
+      let {data} = result;
+      console.log("------------=======>");
+      allQty = data?.allQty;
+      state.loading = false;
+    } else if (result.code === 401) {
+      message.error(result.msg);
+      logout()
+    } else {
+      message.error(result.msg);
+    }
+  })
+}
+
+
 function getPage() {
   state.loading = true;
   post('/api/locDetl/page', {
@@ -424,8 +445,9 @@
         </template>
       </template>
       <template #footer>
-        <div>
-          <span>褰撳墠椤垫�婚噺锛歿{ total }}</span>
+        <div style="display: 'flex';">
+          <span>鎬诲簱瀛橈細{{ allQty }} </span>
+          <span>锛� 褰撳墠椤垫�婚噺锛歿{ total }}</span>
         </div>
       </template>
     </a-table>

--
Gitblit v1.9.1