whj 1 жил өмнө
parent
commit
ae90bc4792

+ 1 - 1
src/views/sb/info/SbInfo.vue

@@ -965,7 +965,7 @@ export default {
       }
     },
     handleSync (record) {
-      this.$refs.sbBomSyncSelectModal.base(null, { sbId: record.id })
+      this.$refs.sbBomSyncSelectModal.base({ sbId: record.id })
     }
   }
 }

+ 1 - 1
src/views/sb/info/modules/SbBomSyncSelectModal.vue

@@ -356,7 +356,7 @@ export default {
         this.confirmLoading = true
         SyncSbBom({
           sbIds: this.selectedRowKeys,
-          sbId: this.queryParam.sbId,
+          sbId: this.record.sbId,
           cover: this.cover
         }).then(res => {
           this.$message.success('同步成功!')