From 1d346a70b7f8022a1048086c3691cc654a91f48c Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期六, 01 十一月 2025 15:01:00 +0800
Subject: [PATCH] 优化前端

---
 新建文件夹/WMS/src/views/outbound/outboundOrder_Hty.vue |   98 +++++++++++++++++++++++++++----------------------
 1 files changed, 54 insertions(+), 44 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrder_Hty.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrder_Hty.vue"
index 88c2cc1..5d53b4f 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrder_Hty.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrder_Hty.vue"
@@ -22,12 +22,12 @@
     export default defineComponent({
         setup() {
             const table = ref({
-                key: 'historyId',
+                key: 'id',
                 footer: "Foots",
                 cnName: '鍘嗗彶鍑哄簱鍗�',
                 name: 'DeliveryOrderHty',
                 url: "/DeliveryOrderHty/",
-                sortName: "historyId"
+                sortName: "id"
             });
             const editFormFields = ref({});
             const editFormOptions = ref([]);
@@ -66,7 +66,7 @@
             ]);
             const columns = ref([
                 {
-                    field: 'historyId',
+                    field: 'id',
                     title: '鍘嗗彶璁板綍涓婚敭',
                     type: 'int',
                     width: 120,
@@ -76,7 +76,7 @@
                     align: 'left'
                 },
                 {
-                    field: 'id',
+                    field: 'sourceId',
                     title: '鍘熶富閿�',
                     type: 'int',
                     width: 100,
@@ -117,11 +117,11 @@
                 },
                 {
                     field: 'warehouse_no',
-                    title: '搴撴埧鍙�',
+                    title: '搴撳彂鍙�',
                     type: 'string',
                     width: 100,
                     align: 'left',
-                    bind: { key: "warehouse", data: [] }
+                    bind: { key: "warehouseNuber", data: [] }
                 },
                 {
                     field: 'account_time',
@@ -132,19 +132,19 @@
                 },
                 {
                     field: 'outStatus',
-                    title: '鐘舵��',
+                    title: '澶存爣鐘舵��',
                     type: 'string',
                     width: 120,
                     align: 'left',
                     bind: { key: "outStatus", data: [] }
                 },
-                {
-                    field: 'creater',
-                    title: '鍒涘缓浜�',
-                    type: 'string',
-                    width: 90,
-                    align: 'left'
-                },
+                // {
+                //     field: 'creater',
+                //     title: '鍒涘缓浜�',
+                //     type: 'string',
+                //     width: 90,
+                //     align: 'left'
+                // },
                 {
                     field: 'createDate',
                     title: '鍒涘缓鏃堕棿',
@@ -153,28 +153,28 @@
                     align: 'left',
                     sort: true
                 },
-                {
-                    field: 'modifier',
-                    title: '淇敼浜�',
-                    type: 'string',
-                    width: 100,
-                    align: 'left'
-                },
-                {
-                    field: 'modifyDate',
-                    title: '淇敼鏃堕棿',
-                    type: 'datetime',
-                    width: 160,
-                    align: 'left',
-                    sort: true
-                }
+                // {
+                //     field: 'modifier',
+                //     title: '淇敼浜�',
+                //     type: 'string',
+                //     width: 100,
+                //     align: 'left'
+                // },
+                // {
+                //     field: 'modifyDate',
+                //     title: '淇敼鏃堕棿',
+                //     type: 'datetime',
+                //     width: 160,
+                //     align: 'left',
+                //     sort: true
+                // }
             ]);
             const detail = ref({
                 cnName: "鍘嗗彶鍑哄簱鍗曟槑缁�",
                 table: "DtDeliveryOrderDetailHty",
                 columns: [
                     {
-                        field: 'historyId',
+                        field: 'id',
                         title: '鍘嗗彶璁板綍涓婚敭',
                         type: 'int',
                         width: 120,
@@ -184,29 +184,39 @@
                         align: 'left'
                     },
                     {
-                        field: 'id',
+                        field: 'sourceId',
                         title: '鍘熶富閿�',
                         type: 'int',
                         width: 100,
                         align: 'left'
                     },
-                    {
-                        field: 'deliveryOrderId',
-                        title: '鍏宠仈鍑哄簱鍗旾D',
-                        type: 'int',
-                        width: 120,
-                        require: true,
-                        align: 'left',
-                        sort: true,
-                        hidden: true
-                    },
+                    // {
+                    //     field: 'deliveryOrderId',
+                    //     title: '鍏宠仈鍑哄簱鍗旾D',
+                    //     type: 'int',
+                    //     width: 120,
+                    //     require: true,
+                    //     align: 'left',
+                    //     sort: true,
+                    //     hidden: true
+                    // },
                     {
                         field: 'reservoirarea',
                         title: '搴撳尯',
                         type: 'string',
                         width: 120,
                         align: 'left',
-                        bind: { key: "reservoirArea", data: [] }
+                        bind: { key: "warehouseNuber", data: [] }
+                    },
+                        {
+                        field: "goods_no",
+                        title: "鐗╂枡鍚嶇О",
+                        type: "string",
+                        width: 150,
+                        align: "left",
+                        required: true,
+                        edit:{type:""},
+                        bind: { key: "MaterielNames", data: [] },
                     },
                     {
                         field: 'goods_no',
@@ -287,8 +297,8 @@
                         sort: true
                     }
                 ],
-                sortName: "historyId",
-                key: "historyId"
+                sortName: "id",
+                key: "id"
             });
             return {
                 table,

--
Gitblit v1.9.3