|
@ -905,13 +905,13 @@ export default { |
|
|
this.multipleSelection = val; |
|
|
this.multipleSelection = val; |
|
|
}, |
|
|
}, |
|
|
handleConfirm(row){ |
|
|
handleConfirm(row){ |
|
|
if (this.multipleSelection.length == 0) { |
|
|
// if (this.multipleSelection.length == 0) { |
|
|
this.$message({ |
|
|
// this.$message({ |
|
|
message: "至少选择一行!", |
|
|
// message: "至少选择一行!", |
|
|
type: "warning", |
|
|
// type: "warning", |
|
|
}); |
|
|
// }); |
|
|
return; |
|
|
// return; |
|
|
} |
|
|
// } |
|
|
var params = []; |
|
|
var params = []; |
|
|
let myalert = ""; //声明变量,其变量必须在此声明后使用 |
|
|
let myalert = ""; //声明变量,其变量必须在此声明后使用 |
|
|
if (row) { |
|
|
if (row) { |
|
@ -933,7 +933,7 @@ export default { |
|
|
}) |
|
|
}) |
|
|
.then(() => { |
|
|
.then(() => { |
|
|
this.$axios |
|
|
this.$axios |
|
|
.posts("/api/settleaccount/wms/WmsJitOutPut", params) |
|
|
.gets("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params) |
|
|
.then((response) => { |
|
|
.then((response) => { |
|
|
const index = this.list.indexOf(row); |
|
|
const index = this.list.indexOf(row); |
|
|
this.$notify({ |
|
|
this.$notify({ |
|
@ -982,7 +982,7 @@ export default { |
|
|
}) |
|
|
}) |
|
|
.then(() => { |
|
|
.then(() => { |
|
|
this.$axios |
|
|
this.$axios |
|
|
.posts("/api/settleaccount/wms/WmsJitOutPut", params) |
|
|
.gets("/api/settleaccount/wmsjitoutput/WmsJitOutPut", params) |
|
|
.then((response) => { |
|
|
.then((response) => { |
|
|
const index = this.list.indexOf(row); |
|
|
const index = this.list.indexOf(row); |
|
|
this.$notify({ |
|
|
this.$notify({ |
|
@ -991,6 +991,7 @@ export default { |
|
|
type: "success", |
|
|
type: "success", |
|
|
duration: 2000, |
|
|
duration: 2000, |
|
|
}); |
|
|
}); |
|
|
|
|
|
console.log(response); |
|
|
this.getList(); |
|
|
this.getList(); |
|
|
}); |
|
|
}); |
|
|
}) |
|
|
}) |
|
|