|
@@ -260,6 +260,8 @@ export default {
|
|
|
modal.base(record)
|
|
|
},
|
|
|
handleCancel () {
|
|
|
+ this.spareIds = []
|
|
|
+ this.sparePartInfoList = []
|
|
|
this.visible = false
|
|
|
this.confirmLoading = false
|
|
|
this.$emit('ok')
|
|
@@ -311,6 +313,8 @@ export default {
|
|
|
addSyncBoms(params)
|
|
|
.then((response) => {
|
|
|
this.$message.info('同步成功')
|
|
|
+ this.spareIds = []
|
|
|
+ this.sparePartInfoList = []
|
|
|
this.handleOk()
|
|
|
}).catch(() => {
|
|
|
this.confirmLoading = false
|