From 4f39dcc195f28fa275fc2d065fbf1bf6a46c21b7 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期二, 17 六月 2025 00:41:18 +0800 Subject: [PATCH] 优化出入库逻辑 --- 代码管理/WMS/WIDESEA_WMSClient/src/views/basic/roadwayInfo.vue | 49 ++++++++++++++++++++++--------------------------- 1 files changed, 22 insertions(+), 27 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/roadwayInfo.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/roadwayInfo.vue" index 332e099..320eefd 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/roadwayInfo.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/roadwayInfo.vue" @@ -28,8 +28,8 @@ }); const editFormFields = ref({ roadwayNo: "", - warehouseId: "", - enalbeStatus: "0", + areaId: "", + enableStatus: "", deviceNo: "", inStationCode: "", inSCStationCode: "", @@ -38,12 +38,7 @@ }); const editFormOptions = ref([ [ - { - title: "浠撳簱涓婚敭", - required: true, - field: "warehouseId", - type: "string", - }, + {title: "鍖哄煙",field: "areaId",type: "select",dataKey: "locationareainfo",data: [],}, { title: "宸烽亾缂栧彿", required: true, @@ -59,10 +54,11 @@ { title: "绂佺敤鐘舵��", required: true, - field: "enalbeStatus", - type: "string", - readonly: true, - }, + field: "enableStatus", + type: "select", + dataKey: "enableStatusEnum", + data: [], + }, ], [ { @@ -89,8 +85,8 @@ ]); const searchFormFields = ref({ roadwayNo: "", - warehouseId: "", - enalbeStatus: "", + areaId: "", + enableStatus: "", deviceNo: "", inStationCode: "", inSCStationCode: "", @@ -100,20 +96,18 @@ const searchFormOptions = ref([ [ { title: "宸烽亾缂栧彿", field: "roadwayNo", type: "like" }, - { title: "浠撳簱涓婚敭", field: "warehouseId", type: "like" }, - { title: "绂佺敤鐘舵��", field: "enalbeStatus", type: "like" }, - { title: "璁惧缂栧彿", field: "deviceNo", type: "like" }, + {title: "鍖哄煙",field: "areaId",type: "select",dataKey: "locationareainfo",data: [],}, + { title: "绂佺敤鐘舵��", field: "enableStatus",type: "select",dataKey: "enableStatusEnum",data: [],}, ], [ { title: "鍏ュ簱绔欏彴缂栧彿", field: "inStationCode", type: "like" }, { title: "鍫嗗灈鏈哄叆搴撶珯鍙扮紪鍙�", field: "inSCStationCode", type: "like" }, - { title: "鍑哄簱绔欏彴缂栧彿", field: "outStationCode", type: "like" }, - { - title: "鍫嗗灈鏈哄嚭搴撶珯鍙扮紪鍙�", - field: "outSCStationCode", - type: "like", - }, + { title: "璁惧缂栧彿", field: "deviceNo", type: "like" }, ], + [ + { title: "鍑哄簱绔欏彴缂栧彿", field: "outStationCode", type: "like" }, + { title: "鍫嗗灈鏈哄嚭搴撶珯鍙扮紪鍙�",field: "outSCStationCode",type: "like",}, + ] ]); const columns = ref([ { @@ -134,16 +128,17 @@ align: "left", }, { - field: "warehouseId", - title: "浠撳簱涓婚敭", - type: "string", + field: "areaId", + title: "鍖哄煙", + type: "int", width: 150, align: "left", + bind:{ key: "locationareainfo", data: [] }, }, { field: "enableStatus", title: "绂佺敤鐘舵��", - type: "string", + type: "select", width: 150, align: "left", bind: { key: "enableStatusEnum", data: [] }, -- Gitblit v1.9.3