Browse Source

修改api

branch_ccpg_220107
佐 张 3 years ago
parent
commit
baf6557cdb
  1. 19
      vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue

19
vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue

@ -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();
}); });
}) })

Loading…
Cancel
Save