From 18ca3750ce28d407afb518cadecdd29d79876c8b Mon Sep 17 00:00:00 2001
From: heshaofeng <heshaofeng@hnkhzn.com>
Date: 星期二, 09 十二月 2025 19:40:15 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/ZhongRui/ALDbanyunxiangmu

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

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/AllocateStockSelect.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/AllocateStockSelect.vue"
index 4733980..1e1c625 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/AllocateStockSelect.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/AllocateStockSelect.vue"
@@ -140,6 +140,7 @@
         { prop: "palletCode", title: "鎵樼洏缂栧彿", type: "string", width: 150 },
         { prop: "locationCode", title: "璐т綅缂栧彿", type: "string", width: 180 },
         { prop: "useableQuantity", title: "鍙敤鏁伴噺", type: "string" },
+        {prop:"orderDetailId",title:"鍗曟嵁鏄庣粏涓婚敭",type:"string",width:150,hidden:true},
       ],
       selection: [],
       selectionSum: 0,
@@ -200,15 +201,15 @@
       this.$refs.outboundFormRef.validate((valid) => {
         if (!valid) return;
 
-
+console.log(this.selection)
      if (this.selection.length <= 0) {
         return this.$message.error("璇峰嬀閫�");
       }
       let url = this.pkcx
-        ? "api/Task/GenerateOutboundTask?orderDetailId="
-        : "api/Task/GenerateOutboundTask?orderDetailId=";
+        ? "api/Task/GenerateAllocatOutboundTask?orderDetailId="
+        : "api/Task/GenerateAllocatOutboundTask?orderDetailId=";
       this.http
-        .post(url + this.row.id, this.selection, "鏁版嵁澶勭悊涓�")
+        .post(url + this.row.id+"&station="+this.outboundForm.selectedPlatform, this.selection, "鏁版嵁澶勭悊涓�")
         .then((x) => {
           if (!x.status) return this.$message.error(x.message);
           this.$message.success("鎿嶄綔鎴愬姛");
@@ -226,7 +227,7 @@
       const url = "api/StockInfo/GetAllocateStockSelect?materielCode=";
       this.http
         .post(
-          url + this.row.materielCode + "&orderId=" + this.row.orderId,
+          url + this.row.materielCode + "&orderId=" + this.row.orderId + "&orderDetailId=" + this.row.id,
           null,
           "鏌ヨ涓�"
         )

--
Gitblit v1.9.3