|
@@ -205,7 +205,7 @@ export default {
|
|
|
this.spinning = true
|
|
|
fun(obj).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
- this.resetSearchForm(true)
|
|
|
+ this.$refs.table.refresh()
|
|
|
this.$message.success(res.message)
|
|
|
}
|
|
|
this.spinning = false
|
|
@@ -222,7 +222,7 @@ export default {
|
|
|
goodQty: record.goodQty
|
|
|
}]).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
- this.resetSearchForm(true)
|
|
|
+ this.$refs.table.refresh()
|
|
|
this.$message.success(res.message)
|
|
|
record.goodQtyBackups = record.goodQty
|
|
|
} else {
|
|
@@ -244,7 +244,7 @@ export default {
|
|
|
backStockQty: record.backStockQty
|
|
|
}]).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
- this.resetSearchForm(true)
|
|
|
+ this.$refs.table.refresh()
|
|
|
this.$message.success(res.message)
|
|
|
record.backStockQtyBackups = record.backStockQty
|
|
|
} else {
|