From d24121c2267e892e4fea2fad777e42c51c805c88 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期五, 27 三月 2026 16:20:59 +0800
Subject: [PATCH] feat: 添加任务下发时间

---
 项目代码/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue |   34 +++++++++++++++++++++-------------
 1 files changed, 21 insertions(+), 13 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue"
index fef8c19..8ab357a 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue"
@@ -27,31 +27,33 @@
         sortName: "id",
       });
       const editFormFields = ref({
-        deviceCode: "",
-        deviceName: "",
-        deviceType: "",
-        deviceStatus: "",
-        deviceIp: "",
-        devicePort: "",
-        devicePlcType: "",
-        deviceRemark: "",
+        palletCode: "",
+        locationCode: "",
+        stockStatus: "",
+        palletType: "",
+        warehouseId: "",
+        roadway: "",
+        
       });
       const editFormOptions = ref([
        [
         {field:'palletCode',title:'鎵樼洏缂栧彿',type:'string'},
         {field:'locationCode',title:'璐т綅缂栧彿',type:'string'},
+        {field: "stockStatus",title:'搴撳瓨鐘舵��',type:'select',dataKey:'stockStatusEmun',data:[]}
        ]
       ]);
       const searchFormFields = ref({
         palletCode: "",
         locationCode: "",
-        roadway:""
+        roadway: "",
+        warehouseId: "",
       });
       const searchFormOptions = ref([
         [
-          { title: "鎵樼洏缂栧彿", field: "palletCode" ,type:'string'},
-          { title: "璐т綅缂栧彿", field: "locationCode",type:'string' },
+          { title: "鎵樼洏缂栧彿", field: "palletCode" ,type:'like'},
+          { title: "璐т綅缂栧彿", field: "locationCode",type:'like' },
           { title: "宸烽亾缂栧彿", field: "roadway",type:'string' },
+          { title: "浠撳簱", field: "warehouseId",type:'select', dataKey: "warehousetype", data: [] }
         ],
       ]);
       const columns = ref([
@@ -97,9 +99,15 @@
           title: "鎵樼洏绫诲瀷",
           type: "string",
           width: 150,
-          align: "left",
+          align: "center",
           sort:true,
-          bind: { key: "palltype", data: [] },
+        formatter: (row) => {
+          if (row.warehouseId === 2) {
+            return "鎴愬搧";
+          } else {
+            return row.palletType == 1 ? "甯冩枡" : "鏉惧竷鏂�";
+          }
+        }
         },{
           field: "stockStatus",
           title: "搴撳瓨鐘舵��",

--
Gitblit v1.9.3