whj 1 年之前
父節點
當前提交
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('同步成功!')