|
@@ -249,7 +249,7 @@ export default {
|
|
|
type: 'success',
|
|
type: 'success',
|
|
|
duration: 500,
|
|
duration: 500,
|
|
|
onClose: () => {
|
|
onClose: () => {
|
|
|
- this.closeDialog()
|
|
|
|
|
|
|
+ this.addToPurchaseItemCloseDialog()
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|
|
@@ -300,6 +300,14 @@ export default {
|
|
|
this.mode = 'choose'
|
|
this.mode = 'choose'
|
|
|
this.isSelectAll = false
|
|
this.isSelectAll = false
|
|
|
},
|
|
},
|
|
|
|
|
+ addToPurchaseItemCloseDialog(){
|
|
|
|
|
+ this.selectNum = 0
|
|
|
|
|
+ this.dataForm.cardLibItemList = null
|
|
|
|
|
+ this.cardLibItemList.forEach(item => item.isSelected = false)
|
|
|
|
|
+ this.addToUserPurchaseVisible = false
|
|
|
|
|
+ this.mode = 'choose'
|
|
|
|
|
+ this.isSelectAll = false
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|