From 4e9a3d6063aa619b020623a0ac6fcfa6d3b63e13 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期五, 24 十月 2025 16:32:28 +0800
Subject: [PATCH] 修改前端页面

---
 新建文件夹/WMS/src/views/outbound/outboundOrderDetail_Hty.vue |  305 ++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 278 insertions(+), 27 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrderDetail_Hty.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrderDetail_Hty.vue"
index 704e977..4ac9c7c 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrderDetail_Hty.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrderDetail_Hty.vue"
@@ -2,7 +2,7 @@
 *Author锛歫xx
  *Contact锛�283591387@qq.com
  *浠g爜鐢辨鏋剁敓鎴�,浠讳綍鏇存敼閮藉彲鑳藉鑷磋浠g爜鐢熸垚鍣ㄨ鐩�
- *涓氬姟璇峰湪@/extension/widesea_wcs/order/Dt_OutboundOrderDetail_Hty.js姝ゅ缂栧啓
+ *涓氬姟璇峰湪@/extension/outbound/deliveryOrderDetail_Hty.js姝ゅ缂栧啓
  -->
 <template>
     <view-grid ref="grid"
@@ -25,36 +25,287 @@
                 key: 'id',
                 footer: "Foots",
                 cnName: '鍘嗗彶鍑哄簱鍗曟槑缁�',
-                name: 'outboundOrderDetail_Hty',
-                url: "/OutboundOrderDetail_Hty/",
+                name: 'dtDeliveryOrderDetailHty',
+                url: "/DtDeliveryOrderDetailHty/",
                 sortName: "id"
             });
             const editFormFields = ref({});
             const editFormOptions = ref([]);
-            const searchFormFields = ref({});
-            const searchFormOptions = ref([]);
-            const columns = ref([{field:'id',title:'涓婚敭',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
-                       {field:'orderId',title:'鍑哄簱鍗曚富閿�',type:'int',width:110,require:true,align:'left',sort:true},
-                       {field:'materielCode',title:'鐗╂枡缂栧彿',type:'string',width:110,require:true,align:'left'},
-                       {field:'materielName',title:'鐗╂枡鍚嶇О',type:'string',width:180,align:'left'},
-                       {field:'batchNo',title:'鎵规鍙�',type:'string',width:110,require:true,align:'left'},
-                       {field:'orderQuantity',title:'鍗曟嵁鏁伴噺',type:'decimal',width:110,require:true,align:'left'},
-                       {field:'lockQuantity',title:'閿佸畾鏁伴噺',type:'decimal',width:110,require:true,align:'left'},
-                       {field:'overOutQuantity',title:'宸插嚭鏁伴噺',type:'decimal',width:110,require:true,align:'left'},
-                       {field:'orderDetailStatus',title:'璁㈠崟鏄庣粏鐘舵��',type:'int',width:110,require:true,align:'left'},
-                       {field:'remark',title:'澶囨敞',type:'string',width:220,align:'left'},
-                       {field:'sourceId',title:'婧愪富閿�',type:'int',width:110,require:true,align:'left'},
-                       {field:'operateType',title:'澶囨敞',type:'string',width:110,require:true,align:'left'},
-                       {field:'creater',title:'鍒涘缓浜�',type:'string',width:110,require:true,align:'left'},
-                       {field:'createDate',title:'鍒涘缓鏃堕棿',type:'datetime',width:150,require:true,align:'left',sort:true},
-                       {field:'modifier',title:'淇敼浜�',type:'string',width:100,align:'left'},
-                       {field:'modifyDate',title:'淇敼鏃ユ湡',type:'datetime',width:150,align:'left',sort:true}]);
+            const searchFormFields = ref({
+                goods_no: "",
+                batch_num: "",
+                ootDetailStatus: "",
+                status: "",
+            });
+            const searchFormOptions = ref([
+                [
+                    { 
+                        title: "鑽搧缂栫爜", 
+                        field: "goods_no", 
+                        type: "like" 
+                    },
+                    { 
+                        title: "鎵瑰彿", 
+                        field: "batch_num", 
+                        type: "like" 
+                    },
+                ],
+                [
+                    {
+                        title: "鐘舵��",
+                        field: "ootDetailStatus",
+                        type: "select",
+                        dataKey: "ootDetailStatus",
+                        data: [],
+                    },
+                    {
+                        title: "鍚屾鐘舵��",
+                        field: "status",
+                        type: "select",
+                        dataKey: "syncStatus",
+                        data: [],
+                    },
+                ],
+            ]);
+            const columns = ref([
+                {
+                    field: 'id',
+                    title: '鍘嗗彶璁板綍涓婚敭',
+                    type: 'int',
+                    width: 120,
+                    hidden: true,
+                    readonly: true,
+                    require: true,
+                    align: 'left'
+                },
+                {
+                    field: 'sourceId',
+                    title: '鍘熶富閿�',
+                    type: 'int',
+                    width: 100,
+                    align: 'left'
+                },
+                {
+                    field: 'deliveryOrderId',
+                    title: '鍏宠仈鍑哄簱鍗旾D',
+                    type: 'int',
+                    width: 120,
+                    align: 'left'
+                },
+                {
+                    field: 'reservoirarea',
+                    title: '搴撳尯',
+                    type: 'string',
+                    width: 120,
+                    align: 'left',
+                    bind: { key: "warehouseNuber", data: [] }
+                },
+                {
+                    field: 'goods_no',
+                    title: '鑽搧缂栫爜',
+                    type: 'string',
+                    width: 150,
+                    align: 'left',
+                    bind: { key: "medicineGoods", data: [] }
+                },
+                {
+                    field: 'order_qty',
+                    title: '璁㈠崟鏁伴噺',
+                    type: 'decimal',
+                    width: 120,
+                    align: 'left'
+                },
+                {
+                    field: 'order_Outqty',
+                    title: '鍑哄簱瀹屾垚鏁伴噺',
+                    type: 'decimal',
+                    width: 120,
+                    align: 'left'
+                },
+                {
+                    field: 'batch_num',
+                    title: '鎵瑰彿',
+                    type: 'string',
+                    width: 120,
+                    align: 'left'
+                },
+                {
+                    field: 'exp_date',
+                    title: '鏍℃湡',
+                    type: 'string',
+                    width: 120,
+                    align: 'left'
+                },
+                {
+                    field: 'ootDetailStatus',
+                    title: '鐘舵��',
+                    type: 'string',
+                    width: 120,
+                    align: 'left',
+                    bind: { key: "ootDetailStatus", data: [] }
+                },
+                {
+                    field: 'status',
+                    title: '鍚屾鐘舵��',
+                    type: 'int',
+                    width: 120,
+                    align: 'left',
+                    bind: { key: "syncStatus", data: [] }
+                },
+                {
+                    field: 'operateType',
+                    title: '鎿嶄綔绫诲瀷',
+                    type: 'string',
+                    width: 120,
+                    align: 'left',
+                    bind: { key: "operateType", data: [] }
+                },
+                {
+                    field: 'insertTime',
+                    title: '绉诲叆鍘嗗彶鏃堕棿',
+                    type: 'datetime',
+                    width: 160,
+                    align: 'left',
+                    sort: true
+                },
+                {
+                    field: 'creater',
+                    title: '鍒涘缓浜�',
+                    type: 'string',
+                    width: 90,
+                    align: 'left'
+                },
+                {
+                    field: 'createDate',
+                    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: "#detailCnName",
-                table: "#detailTable",
-                columns: [],
-                sortName: "",
-                key: ""
+                cnName: "鍘嗗彶鍑哄簱鍗曟槑缁嗚鎯�",
+                table: "DtDeliveryOrderDetailHtyDetail",
+                columns: [
+                    {
+                        field: 'id',
+                        title: '鍘嗗彶璁板綍涓婚敭',
+                        type: 'int',
+                        width: 120,
+                        hidden: true,
+                        readonly: true,
+                        require: true,
+                        align: 'left'
+                    },
+                    {
+                        field: 'sourceId',
+                        title: '鍘熶富閿�',
+                        type: 'int',
+                        width: 100,
+                        align: 'left'
+                    },
+                    {
+                        field: 'deliveryOrderId',
+                        title: '鍏宠仈鍑哄簱鍗旾D',
+                        type: 'int',
+                        width: 120,
+                        align: 'left'
+                    },
+                    {
+                        field: 'reservoirarea',
+                        title: '搴撳尯',
+                        type: 'string',
+                        width: 120,
+                        align: 'left',
+                        bind: { key: "warehouseNuber", data: [] }
+                    },
+                    {
+                        field: 'goods_no',
+                        title: '鑽搧缂栫爜',
+                        type: 'string',
+                        width: 150,
+                        align: 'left',
+                        bind: { key: "medicineGoods", data: [] }
+                    },
+                    {
+                        field: 'order_qty',
+                        title: '璁㈠崟鏁伴噺',
+                        type: 'decimal',
+                        width: 120,
+                        align: 'left'
+                    },
+                    {
+                        field: 'order_Outqty',
+                        title: '鍑哄簱瀹屾垚鏁伴噺',
+                        type: 'decimal',
+                        width: 120,
+                        align: 'left'
+                    },
+                    {
+                        field: 'batch_num',
+                        title: '鎵瑰彿',
+                        type: 'string',
+                        width: 120,
+                        align: 'left'
+                    },
+                    {
+                        field: 'exp_date',
+                        title: '鏍℃湡',
+                        type: 'string',
+                        width: 120,
+                        align: 'left'
+                    },
+                    {
+                        field: 'ootDetailStatus',
+                        title: '鐘舵��',
+                        type: 'string',
+                        width: 120,
+                        align: 'left',
+                        bind: { key: "ootDetailStatus", data: [] }
+                    },
+                    {
+                        field: 'status',
+                        title: '鍚屾鐘舵��',
+                        type: 'int',
+                        width: 120,
+                        align: 'left',
+                        bind: { key: "syncStatus", data: [] }
+                    },
+                    {
+                        field: 'operateType',
+                        title: '鎿嶄綔绫诲瀷',
+                        type: 'string',
+                        width: 120,
+                        align: 'left',
+                        bind: { key: "operateType", data: [] }
+                    },
+                    {
+                        field: 'insertTime',
+                        title: '绉诲叆鍘嗗彶鏃堕棿',
+                        type: 'datetime',
+                        width: 160,
+                        align: 'left',
+                        sort: true
+                    }
+                ],
+                sortName: "sourceId",
+                key: "sourceId"
             });
             return {
                 table,
@@ -68,4 +319,4 @@
             };
         },
     });
-</script>
+</script>
\ No newline at end of file

--
Gitblit v1.9.3