From 232cdf071bfe3bd2b77ba05accba89b67fcc1edc Mon Sep 17 00:00:00 2001 From: Zhang-Hong-Lin <a3219986988@163.com> Date: 星期四, 26 六月 2025 18:51:14 +0800 Subject: [PATCH] 优化bug与添加一键删除按钮 --- 项目代码/WCS/WIDESEAWCS_Client/src/views/wmsPart/locationInfo.vue | 60 ++++++++++++++++++++++++++---------------------------------- 1 files changed, 26 insertions(+), 34 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/wmsPart/locationInfo.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/wmsPart/locationInfo.vue" index 5b84415..818a1ad 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/wmsPart/locationInfo.vue" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/wmsPart/locationInfo.vue" @@ -1,5 +1,6 @@ <template> + <!--鍔犱笂 :extend="extend" 鍙互鍑虹幇鏌ョ湅鏄庣粏閫夐」--> <view-grid ref="grid" :columns="columns" @@ -9,7 +10,6 @@ :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" :table="table" - :extend="extend" ></view-grid> </template> <script> @@ -23,11 +23,9 @@ cnName: "璐т綅淇℃伅", name: "locationInfo", url: "/LocationInfo/", - sortName: "id" + sortName: "createDate" }); - const editFormFields = ref({ - locationStatus: "" - }); + const editFormFields = ref({}); const editFormOptions = ref([ [ { @@ -35,7 +33,12 @@ field: "locationStatus", type: "select", dataKey: "locationStatusEnum", - data: [] + }, + { + title: "绂佺敤鐘舵��", + field: "enableStatus", + type: "select", + dataKey: "enableStatusEnum", } ] ]); @@ -92,14 +95,6 @@ require: true, align: "left" }, - // { - // field: "areaId", - // title: "鍖哄煙涓婚敭", - // type: "string", - // width: 90, - // align: "left", - // bind: {key: "areainfo",data: []} - // }, { field: "locationCode", title: "璐т綅缂栧彿", @@ -115,27 +110,32 @@ align: "left" }, { - field: "roadwayNo", - title: "宸烽亾缂栧彿", - type: "decimal", - width: 100, - align: "left" - }, - { field: "row", title: "璐т綅琛�", - type: "string", + type: "int", width: 90, - align: "left", - hidden: true + align: "left" }, { field: "column", title: "璐т綅鍒�", type: "int", width: 120, - align: "left", - hidden: true + align: "left" + }, + { + field: "depth", + title: "宸ヤ綅", + type: "int", + width: 120, + align: "left" + }, + { + field: "roadwayNo", + title: "宸烽亾缂栧彿", + type: "decimal", + width: 100, + align: "left" }, { field: "layer", @@ -208,14 +208,6 @@ width: 160, align: "left", sort: true - }, - { - field: "remark", - title: "澶囨敞", - type: "string", - width: 100, - align: "left", - hidden: true } ]); const detail = ref({ -- Gitblit v1.9.3