From dcecb039035f4b2e82e31c39b74db9402444c536 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期二, 08 四月 2025 21:35:39 +0800 Subject: [PATCH] 代码更新,优化等内容 --- 代码管理/WMS/WIDESEA_WMSClient/src/views/inbound/purchaseOrder.vue | 74 +++++++++++++++++++------------------ 1 files changed, 38 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 9bbbdaf..74baab4 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: "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,13 +108,14 @@ type: "string", width: 150, align: "left", - bind: { key: "purchaseType", data: [] }, + bind: { key: "", data: [{key:'S',value:"鏍囧噯鍏ュ簱"},{key:'V',value:"瀵勫敭琛ョ粰鍏ュ簱"}] }, }, + { field: "supplierCode", title: "渚涘簲鍟嗙紪鍙�", type: "string", - width: 150, + width: 120, align: "left", }, { @@ -146,12 +131,13 @@ type: "string", width: 90, align: "left", + bind: { key: "purchaseOrderStatus", data: [] }, }, { field: "orderDate", title: "涓嬪崟鏃ユ湡", type: "string", - width: 90, + width: 160, align: "left", }, { @@ -191,7 +177,7 @@ }, ]); const detail = ref({ - cnName: "鍏ュ簱鍗曟槑缁�", + cnName: "閲囪喘鍗曟槑缁�", table: "InboundOrderDetail", columns: [ { @@ -217,7 +203,7 @@ title: "琛屽彿", type: "string", width: 150, - align: "left", + align: "left" }, { field: "materielCode", @@ -232,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", @@ -249,7 +242,14 @@ field: "purchaseDetailQuantity", title: "鍗曟嵁鏁伴噺", type: "decimal", - width: 90, + width: 100, + align: "left", + }, + { + field:"purchaseDetailReceiveQty", + title: "宸叉敹鏁伴噺", + type: "decimal", + width: 100, align: "left", }, { @@ -261,10 +261,11 @@ }, { field: "warehouseId", - title: "浠撳簱缂栧彿", + title: "浠撳簱", type: "string", - width: 200, + width: 100, align: "left", + bind: { key: "warehouses", data: [] }, }, { field: "purchaseDetailStatus", @@ -272,6 +273,7 @@ type: "string", width: 180, align: "left", + bind: { key: "purchaseOrderStatus", data: [] }, }, { field: "creater", -- Gitblit v1.9.3