|
@@ -388,9 +388,7 @@ export default {
|
|
|
purchaseReturnDetailSave(params).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.$message.success(res.message)
|
|
|
- if (isEdit) {
|
|
|
- this.$refs.table.refresh()
|
|
|
- }
|
|
|
+ this.getDetail(!isEdit)
|
|
|
this.$refs.chooseTable.refresh()
|
|
|
this.spinning = false
|
|
|
} else {
|
|
@@ -436,7 +434,7 @@ export default {
|
|
|
purchaseReturnDetailDel({ id: row.id }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
_this.$message.success(res.message)
|
|
|
- _this.$refs.table.refresh()
|
|
|
+ _this.getDetail(false)
|
|
|
_this.$refs.chooseTable.refresh()
|
|
|
_this.spinning = false
|
|
|
} else {
|