From 521fdf6c46213cad7c5c55015401154db0e78848 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期五, 24 十月 2025 13:17:43 +0800
Subject: [PATCH] 优化出入库历史单据头表从表查询

---
 新建文件夹/WMS/src/views/inbound/inboundOrderDetail_Hty.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/inbound/inboundOrderDetail_Hty.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/inbound/inboundOrderDetail_Hty.vue"
index bd0ccd1..8921adf 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/inbound/inboundOrderDetail_Hty.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/inbound/inboundOrderDetail_Hty.vue"
@@ -22,12 +22,12 @@
     export default defineComponent({
         setup() {
             const table = ref({
-                key: 'historyId',
+                key: 'id',
                 footer: "Foots",
                 cnName: '鍘嗗彶鍏ュ簱鍗曟槑缁�',
                 name: 'dtCabinOrderDetailHty',
                 url: "/DtCabinOrderDetailHty/",
-                sortName: "historyId"
+                sortName: "id"
             });
             const editFormFields = ref({});
             const editFormOptions = ref([]);
@@ -69,7 +69,7 @@
             ]);
             const columns = ref([
                 {
-                    field: 'historyId',
+                    field: 'id',
                     title: '鍘嗗彶璁板綍涓婚敭',
                     type: 'int',
                     width: 120,
@@ -79,7 +79,7 @@
                     align: 'left'
                 },
                 {
-                    field: 'id',
+                    field: 'sourceId',
                     title: '鍘熶富閿�',
                     type: 'int',
                     width: 100,
@@ -181,7 +181,7 @@
     table: "DtCabinOrderDetailHtyDetail",
     columns: [
         {
-            field: 'historyId',
+            field: 'id',
             title: '鍘嗗彶璁板綍涓婚敭',
             type: 'int',
             width: 120,
@@ -191,7 +191,7 @@
             align: 'left'
         },
         {
-            field: 'id',
+            field: 'sourceId',
             title: '鍘熶富閿�',
             type: 'int',
             width: 100,
@@ -288,8 +288,8 @@
             sort: true
         }
     ],
-    sortName: "historyId",
-    key: "historyId"
+    sortName: "sourceId",
+    key: "sourceId"
 });
             return {
                 table,

--
Gitblit v1.9.3