From e0a1c1f6925a70f377abc855659b527e18454e95 Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期五, 12 十二月 2025 13:56:13 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/ZhongRui/ALDbanyunxiangmu

---
 项目代码/WIDESEA_WMSClient/src/extension/inbound/extend/allocateOrderDetail.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 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 67fec1f..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"
@@ -112,6 +112,7 @@
 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