From f82745d3308c70ed787cbbf00652e2577e2c4218 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期五, 07 二月 2025 10:52:04 +0800
Subject: [PATCH] 更新

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/inbound/purchaseOrder.vue |   68 ++++++++++++++++------------------
 1 files changed, 32 insertions(+), 36 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 a6eeafc..d6f6b07 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,10 +21,10 @@
     const table = ref({
       key: "id",
       footer: "Foots",
-      cnName: "鍏ュ簱鍗�",
+      cnName: "閲囪喘鍗�",
       name: "purchaseOrder",
       url: "/PurchaseOrder/",
-      sortName: "CreateDate",
+      sortName: "id",
     });
     const editFormFields = ref({
       // orderType: "",
@@ -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: [
         {
@@ -216,7 +203,7 @@
           title: "琛屽彿",
           type: "string",
           width: 150,
-          align: "left",
+          align: "left"
         },
         {
           field: "materielCode",
@@ -231,9 +218,16 @@
           field: "materielName",
           title: "鐗╂枡鍚嶇О",
           type: "string",
-          width: 150,
+          width: 100,
+          align: "left"
+        },
+        {
+          field: "materielSpec",
+          title: "鐗╂枡瑙勬牸",
+          type: "select",
+          type: "string",
+          width: 100,
           align: "left",
-          edit: { type: "" },
         },
         // {
         //   field: "batchNo",
@@ -260,10 +254,11 @@
         },
         {
           field: "warehouseId",
-          title: "浠撳簱缂栧彿",
+          title: "浠撳簱",
           type: "string",
-          width: 200,
+          width: 100,
           align: "left",
+          bind: { key: "warehouses", data: [] },
         },
         {
           field: "purchaseDetailStatus",
@@ -271,6 +266,7 @@
           type: "string",
           width: 180,
           align: "left",
+          bind: { key: "purchaseOrderStatus", data: [] },
         },
         {
           field: "creater",

--
Gitblit v1.9.3