|
@@ -241,6 +241,7 @@
|
|
|
for (var i = 0; i < data.list.length; i++) {
|
|
|
data.list[i].no = no + i + 1
|
|
|
data.list[i].qtyBackups = data.list[i].qty
|
|
|
+ data.list[i].warehouseBackups = data.list[i].warehouseSn
|
|
|
}
|
|
|
this.disabled = false
|
|
|
this.dataSource = data.list
|
|
@@ -403,10 +404,11 @@
|
|
|
_this.spinning = true
|
|
|
updateWarehouse(data).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
- _this.openWarehouseModal = false
|
|
|
_this.resetSearchForm(true)
|
|
|
_this.$message.success(res.message)
|
|
|
}
|
|
|
+ _this.openWarehouseModal = false
|
|
|
+ _this.$refs.table.refresh(true)
|
|
|
_this.spinning = false
|
|
|
})
|
|
|
},
|