From fe77f3c9d11e3087c1efa56fd6205ffc10e39991 Mon Sep 17 00:00:00 2001 From: helongyang <647556386@qq.com> Date: 星期四, 05 六月 2025 18:45:23 +0800 Subject: [PATCH] 更新 --- 代码管理/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue | 91 ++++++++++++++++++++++++++++++++++++++------- 1 files changed, 77 insertions(+), 14 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue" index 868d5c8..8a1f871 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/materielCodeInfo.vue" @@ -26,14 +26,48 @@ url: "/MaterielCodeInfo/", sortName: "id", }); - const editFormFields = ref({}); + const editFormFields = ref({ + lotNo: "", + warehouseId: "", + purchaseOrderNo: "", + materielCode: "", + productionDate: "", + effectiveDate: "", + }); const editFormOptions = ref([ [ { - title: "鐗╂枡缂栫爜", - field: "materielCode", + title: "浠撳簱", + field: "warehouseId", + type: "select", + dataKey: "areainfo", + data: [], required: true, }, + ], + [ + + { + title: "鐗╂枡缂栫爜", + field: "materielCode", + type: "string", + }, + ], + [ + { + title: "閲囪喘鍗曞彿", + field: "purchaseOrderNo", + type: "string", + }, + ], + [ + { + title: "鐗╂枡瑙勬牸", + field: "materielSpec", + type: "string", + }, + ], + [ { title: "鎵规鍙�", field: "lotNo", @@ -42,27 +76,24 @@ ], [ { - title: "閲囪喘鍗曞彿", - field: "purchaseOrderNo", - required: true, - }, - { title: "鏁伴噺", field: "quantity", - required: true, + type:"int" }, ], [ { title: "鐢熶骇鏃ユ湡", field: "productionDate", - type:"date", + // type: "date", required: true, }, + ], + [ { title: "鏈夋晥鏈�", field: "effectiveDate", - type:"date", + // type: "date", required: true, }, ], @@ -71,7 +102,10 @@ palletCode: "", }); const searchFormOptions = ref([ - [{ title: "鎵规鍙�", field: "lotNo", type: "like" }], + [ + { title: "閲囪喘鍗曞彿", field: "purchaseOrderNo", type: "like" }, + { title: "鐗╂枡缂栧彿", field: "materielCode", type: "like" }, + ], ]); const columns = ref([ { @@ -92,8 +126,37 @@ align: "left", }, { + field: "materielName", + title: "鐗╂枡鍚嶇О", + type: "string", + width: 150, + align: "left", + }, + { + field: "materielSpec", + title: "鐗╂枡瑙勬牸", + type: "string", + width: 150, + align: "left", + }, + { + field: "warehouseId", + title: "浠撳簱", + type: "string", + width: 90, + align: "left", + bind: { key: "areainfo", data: [] }, + }, + { field: "purchaseOrderNo", title: "閲囪喘鍗曞彿", + type: "string", + width: 160, + align: "left", + }, + { + field: "supplierCode", + title: "渚涘簲鍟嗙紪鍙�", type: "string", width: 160, align: "left", @@ -148,7 +211,7 @@ title: "淇敼浜�", type: "string", width: 100, - hidden:true, + hidden: true, align: "left", }, { @@ -157,7 +220,7 @@ type: "datetime", width: 160, align: "left", - hidden:true, + hidden: true, sort: true, }, ]); -- Gitblit v1.9.3