作者 朱兆平

增加库存loding对话框

... ... @@ -806,6 +806,9 @@
},
getList() {
const _this = this
let ld = this.$loading({
text:"获取数据中..."
})
selectNewInventroys(this.queryInfo).then((response) => {
const res = response.data
console.log(response.data)
... ... @@ -822,6 +825,8 @@
}).catch(error => {
// 关闭加载
_this.$message.error(error.toString())
}).finally(()=>{
ld.close()
})
},
// 添加对话框,打开事件
... ...