| | |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete() { |
| | | console.log("this.rowForm", this.rowForm) |
| | | this.$modal |
| | | .confirm("确认要删除吗,删除后不能恢复") |
| | | .then(() => { |
| | |
| | | axios |
| | | .get(this.baseURL + "Cg_POInStockBill/DeltetPOInStockBill", { |
| | | params: { |
| | | HInter: this.rowForm.hmainid.toString(), |
| | | HsupId: this.rowForm.HsupId, |
| | | HQty: this.rowForm.HQty, |
| | | HSourceInterID: this.rowForm.HSourceInterID, |
| | | HSourceEntryID: this.rowForm.HSourceEntryID, |
| | | HInterID: this.rowForm.hmainid.toString(), |
| | | HsupId: this.rowForm.HSupID, |
| | | HQty: this.rowForm['数量'], |
| | | HSourceInterID: this.rowForm['源单主内码'], |
| | | HSourceEntryID: this.rowForm['源单子内码'], |
| | | user: sessionStorage["HUserName"], |
| | | }, |
| | | }) |
| | | .then((res) => { |
| | | |
| | | if (res.data.count == 1) { |
| | | this.handleQuery(); |
| | | this.$modal.msgSuccess("删除成功"); |
| | | } else { |
| | | this.$modal.msgError("错误:" + result.code + result.Message); |
| | | this.$modal.msgError("错误:" + res.data.code + res.data.Message); |
| | | } |
| | | }) |
| | | .catch((error) => { |