From e4e304318532574e418bc01b5a45b8836dac3e1a Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期四, 11 十二月 2025 23:26:20 +0800
Subject: [PATCH] 提交

---
 项目代码/WIDESEA_WMSClient/src/extension/inbound/extend/allocateOrderDetail.vue |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/allocateOrderDetail.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/allocateOrderDetail.vue"
index 87f3dbc..6c0819e 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/allocateOrderDetail.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/allocateOrderDetail.vue"
@@ -28,13 +28,13 @@
                 @click="handleOpenPicking"
                 >鎷i��</el-link>
                  
-              <el-link
+  <!--             <el-link
                 type="primary"
                 size="small"
                 style="float: right; height: 20px; margin-right: 10px"
                 @click="outbound"
                 >鐩存帴鍑哄簱</el-link
-              >
+              > -->
               <el-link
                 type="primary"
                 size="small"
@@ -108,10 +108,11 @@
 <script>
 import VolBox from "@/components/basic/VolBox.vue";
 import VolForm from "@/components/basic/VolForm.vue";
-import StockSelect from "./StockSelect.vue";
+import StockSelect from "./AllocateStockSelect.vue";
 import SelectedStock from "./SelectedStock.vue";
 import { h,createVNode, render,reactive  } from 'vue';
 import { ElDialog , ElForm, ElFormItem, ElSelect,ElOption, ElButton, ElMessage } from 'element-plus';
+import { stationManager, STATION_STORAGE_KEY } from "@/../src/uitils/stationManager";
 export default {
   components: { VolBox, VolForm, StockSelect, SelectedStock },
   data() {
@@ -287,7 +288,7 @@
       this.getData();
     },
     getData() {
-      var wheres = [{ name: "orderId", value: this.row.id }];
+            var wheres = [{ name: "orderId", value: this.row.id }];
       var param = {
         page: this.paginations.page,
         rows: this.paginations.rows,
@@ -296,7 +297,7 @@
         wheres: JSON.stringify(wheres), // 鏌ヨ鏉′欢锛屾牸寮忎负[{ name: "瀛楁", value: "xx" }]
       };
       this.http
-        .post("api/AllocateOrderDetail/GetPageData", param, "鏌ヨ涓�")
+        .post("api/AllocateOrderDetail/GetDetailPage", param, "鏌ヨ涓�")
         .then((x) => {
           this.tableData = x.rows;
         });
@@ -305,7 +306,7 @@
       if (column.prop == "assignStock") {
         this.$refs.child.open(row);
       } else {
-        //鐐瑰嚮鎵撳紑鍑哄簱璇︽儏
+        //鐐瑰嚮鎵撳紑
         this.$refs.selectedStock.open(row);
       }
     },
@@ -344,6 +345,11 @@
       const formData = reactive({
         selectedPlatform: platformOptions[0].value // 榛樿缁戝畾銆岀珯鍙�3銆嶇殑value
       });
+      const savedStation = stationManager.getStation();
+      console.log(savedStation);
+      if (savedStation) {
+        formData.selectedPlatform = savedStation;
+      } 
 
       // 3. 鍔ㄦ�佸垱寤哄脊绐楃粍浠�
       const vnode = createVNode(ElDialog, {

--
Gitblit v1.9.3