作者 小范

回库功能优化

@@ -650,6 +650,9 @@ @@ -650,6 +650,9 @@
650 delInventoryrecord({uuid:row.uuid}).then((response) => { 650 delInventoryrecord({uuid:row.uuid}).then((response) => {
651 // console.log(row) 651 // console.log(row)
652 const res = response.data 652 const res = response.data
  653 + if (res.code == '200') {
  654 + return this.$message.error(res.msg)
  655 + }
653 this.$message.success(res.msg) 656 this.$message.success(res.msg)
654 this.getList() 657 this.getList()
655 }).catch(error => { 658 }).catch(error => {