landydb 2 сар өмнө
parent
commit
af90fafcec

+ 3 - 3
src/views/modules/production/plan.vue

@@ -51,9 +51,9 @@
       </el-pagination>
     </template>
     <!-- 弹窗 -->
-    <assign v-if="assignVisible" ref="assign" @onChose="onChose" />
-    <notice-change v-if="noticeChangeVisible" ref="noticeChange" @onChose="onChose" />
-    <submit-plan v-if="submitVisible" ref="submit" @onChose="onChose" />
+    <assign v-if="assignVisible" ref="assign" @onChose="onChose" @refreshDataList="getDataList"/>
+    <notice-change v-if="noticeChangeVisible" ref="noticeChange" @onChose="onChose" @refreshDataList="getDataList"/>
+    <submit-plan v-if="submitVisible" ref="submit" @onChose="onChose" @refreshDataList="getDataList" />
   </div>
 </template>
 

+ 1 - 0
src/views/modules/tech/project-product-selection.vue

@@ -103,6 +103,7 @@ export default {
       } else {
         this.selectedRow = val[0] || null
       }
+      this.multipleSelection = [val[0]]
     },
     // 点击行时触发选中
     clickRow (row) {

+ 1 - 0
src/views/modules/tech/project-product.vue

@@ -279,6 +279,7 @@
               duration: 1500,
               onClose: () => {
                 this.importVisible = false
+                this.getDataList()
               }
             })
           } else {

+ 1 - 0
src/views/modules/tech/project-tech-submit.vue

@@ -216,6 +216,7 @@ export default {
   beforeDestroy () {},
   methods: {
     onChose () {
+      this.$emit('refreshDataList')
       this.$emit('onChose')
     },
     async init (item, readonly) {