...
|
...
|
@@ -609,6 +609,9 @@ |
|
|
ExtNewinventroyrecord({serialnumber:row.serialnumber}).then((response) => {
|
|
|
console.log(row)
|
|
|
const res = response.data
|
|
|
if (res.code != '200') {
|
|
|
return this.$message.error(res.msg)
|
|
|
}
|
|
|
this.$message.success(res.msg)
|
|
|
this.getList()
|
|
|
}).catch(error => {
|
...
|
...
|
@@ -629,6 +632,9 @@ |
|
|
ReNewinventroyrecord(row).then((response) => {
|
|
|
console.log(row)
|
|
|
const res = response.data
|
|
|
if (res.code != '200') {
|
|
|
return this.$message.error(res.msg)
|
|
|
}
|
|
|
this.$message.success(res.msg)
|
|
|
this.getList()
|
|
|
}).catch(error => {
|
...
|
...
|
@@ -650,7 +656,7 @@ |
|
|
delInventoryrecord({uuid:row.uuid}).then((response) => {
|
|
|
// console.log(row)
|
|
|
const res = response.data
|
|
|
if (res.code == '200') {
|
|
|
if (res.code != '200') {
|
|
|
return this.$message.error(res.msg)
|
|
|
}
|
|
|
this.$message.success(res.msg)
|
...
|
...
|
|