From ab888a5c9fcb6df31b159a222dbfdb2418019aa6 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期一, 15 一月 2024 14:35:25 +0800
Subject: [PATCH] 修改

---
 web/src/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate.vue |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/web/src/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate.vue b/web/src/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate.vue
index 61b4afb..17a8ef7 100644
--- a/web/src/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate.vue
+++ b/web/src/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate.vue
@@ -257,10 +257,11 @@
     </template>
   </zt-dialog>
 </template>
-
+<add-or-update ref="addOrUpdate" @refreshDataList="getQuery()"/>
 <script>
   import qs from "qs";
   import Cookies from "js-cookie";
+  import AddOrUpdate from '../configItemWarehouse/ConfigItemWarehouse-AddOrUpdate'
 
   export default {
     data() {
@@ -303,6 +304,9 @@
           flowInfoDto: {}
         }
       }
+    },
+    components: {
+      AddOrUpdate
     },
     computed:{
       getRoleName(){
@@ -390,6 +394,12 @@
           this.dataForm.flowInfoDto = flowInfo;
         }
         let res = await this.$http[!this.dataForm.id ? 'post' : 'put']('/itemCirculatOrder/ItemCirculatOrder/', this.dataForm)
+        if(this.stepMarker==='wplz_wprk'){
+/*          alert(this.dataForm.projectId)*/
+          this.$nextTick(()=>{
+            this.$refs.addOrUpdate.$refs.dialog.init(null, {id: null, projectId: this.dataForm.projectId, libraryType: '1'})
+          })
+        }
         if (res.success) {
           /*      if (submitType == 'tj') {
                       console.log(res, 'bbbb')

--
Gitblit v1.9.1