From d7c5048e9830c44f1103ab46bb97d7d36f589bbf Mon Sep 17 00:00:00 2001
From: zane <zane0312@foxmail.com>
Date: Wed, 25 Sep 2024 16:43:44 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E8=B4=A7=E9=80=80=E8=B4=A7=20?=
 =?UTF-8?q?=E9=80=89=E5=85=A5=E5=8D=95=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/views/collect/IoCreateOrder.vue | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/views/collect/IoCreateOrder.vue b/src/views/collect/IoCreateOrder.vue
index 01c1dea0..6cea02fe 100644
--- a/src/views/collect/IoCreateOrder.vue
+++ b/src/views/collect/IoCreateOrder.vue
@@ -20,7 +20,7 @@
             >选入已完成单据
             </el-button>
             <el-button size="mini" type="primary" @click.native="chooseDraftOrder()" :loading="submitLoading"
-                       v-if="splitType=='out'" style="margin-right: 8px;border-radius: 5%;" v-show="isLinkDisabled"
+                       style="margin-right: 8px;border-radius: 5%;" v-show="isLinkDisabled"
             >选入单据
             </el-button>
             <el-button size="mini" type="primary" @click.native="draftOrder()" :loading="submitLoading"
@@ -1588,6 +1588,7 @@ export default {
       }
       this.rowData.workPlaceCode = this.orderFormData.workPlaceCode
       this.rowData.fifoSplit = this.orderFormData.fifoSplit
+      this.$router.push({query: {...this.$route.query, splitType: this.splitType}, path: this.$route.path})
       this.chooseDraftOrderVisible = true
     },
     closeChooseDialog() {