From 98cf8b685af7f8e246a7db62639f528d38959f6c Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期四, 09 一月 2025 17:31:41 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/inbound/purchaseOrder.vue |   53 +++++++++++++++++++++--------------------------------
 1 files changed, 21 insertions(+), 32 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/inbound/purchaseOrder.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/inbound/purchaseOrder.vue"
index 918ae60..6fce489 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/inbound/purchaseOrder.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/inbound/purchaseOrder.vue"
@@ -21,7 +21,7 @@
     const table = ref({
       key: "id",
       footer: "Foots",
-      cnName: "鍏ュ簱鍗�",
+      cnName: "閲囪喘鍗�",
       name: "purchaseOrder",
       url: "/PurchaseOrder/",
       sortName: "id",
@@ -60,44 +60,28 @@
       // ],
     ]);
     const searchFormFields = ref({
-      inboundOrderNo: "",
-      upperOrderNo: "",
-      orderType: "",
-      orderStatus: "",
-      createType: "",
-      creater: "",
-      createDate: "",
+      purchaseOrderNo: "",
+      purchaseOrderType: "",
+      purchaseOrderStatus: "",
     });
     const searchFormOptions = ref([
       [
-        { title: "鍗曟嵁缂栧彿", field: "inboundOrderNo", type: "like" },
-        { title: "涓婃父鍗曟嵁缂栧彿", field: "upperOrderNo", type: "like" },
+        { title: "閲囪喘鍗曞彿", field: "purchaseOrderNo", type: "like" },
         {
           title: "鍗曟嵁绫诲瀷",
-          field: "orderType",
+          field: "purchaseOrderType",
           type: "select",
-          dataKey: "inOrderType",
+          dataKey: "purchaseType",
           data: [],
         },
         {
           title: "鍗曟嵁鐘舵��",
-          field: "orderStatus",
+          field: "purchaseOrderStatus",
           type: "select",
-          dataKey: "inboundState",
+          dataKey: "purchaseOrderStatus",
           data: [],
         },
-      ],
-      [
-        {
-          title: "鍒涘缓鏂瑰紡",
-          field: "createType",
-          type: "select",
-          dataKey: "createType",
-          data: [],
-        },
-        { title: "鍒涘缓鑰�", field: "creater", type: "like" },
-        { title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" },
-      ],
+      ]
     ]);
     const columns = ref([
       {
@@ -114,7 +98,7 @@
         field: "purchaseOrderNo",
         title: "閲囪喘鍗曞彿",
         type: "string",
-        width: 120,
+        width: 150,
         align: "left",
         link: true,
       },
@@ -124,12 +108,14 @@
         type: "string",
         width: 150,
         align: "left",
+        bind: { key: "", data: [{key:'S',value:"鏍囧噯鍏ュ簱"},{key:'V',value:"瀵勫敭琛ョ粰鍏ュ簱"}] },
       },
+      
       {
         field: "supplierCode",
         title: "渚涘簲鍟嗙紪鍙�",
         type: "string",
-        width: 150,
+        width: 120,
         align: "left",
       },
       {
@@ -145,12 +131,13 @@
         type: "string",
         width: 90,
         align: "left",
+        bind: { key: "purchaseOrderStatus", data: [] },
       },
       {
         field: "orderDate",
         title: "涓嬪崟鏃ユ湡",
         type: "string",
-        width: 90,
+        width: 160,
         align: "left",
       },
       {
@@ -190,7 +177,7 @@
       },
     ]);
     const detail = ref({
-      cnName: "鍏ュ簱鍗曟槑缁�",
+      cnName: "閲囪喘鍗曟槑缁�",
       table: "InboundOrderDetail",
       columns: [
         {
@@ -260,10 +247,11 @@
         },
         {
           field: "warehouseId",
-          title: "浠撳簱缂栧彿",
+          title: "浠撳簱",
           type: "string",
-          width: 200,
+          width: 100,
           align: "left",
+          bind: { key: "warehouses", data: [] },
         },
         {
           field: "purchaseDetailStatus",
@@ -271,6 +259,7 @@
           type: "string",
           width: 180,
           align: "left",
+          bind: { key: "purchaseOrderStatus", data: [] },
         },
         {
           field: "creater",

--
Gitblit v1.9.3