whj 2 년 전
부모
커밋
ae90bc4792
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/sb/info/SbInfo.vue
  2. 1 1
      src/views/sb/info/modules/SbBomSyncSelectModal.vue

+ 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('同步成功!')