调整生产订单, 采购入库单,采购订单,发货通知单,退货通知单,销售订单 删除接口
| | |
| | | icon="el-icon-delete" |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleDelete" |
| | | @click="handleDelete((row = rowForm))" |
| | | >删除 |
| | | </el-button> |
| | | </el-col> |
| | |
| | | this.dbEmitData(this.deptform, this.dialogTypeNum); |
| | | this.deptform = {}; |
| | | }, |
| | | fetchData() { |
| | | //登录用户信息 |
| | | axios |
| | | .get( |
| | | "http://47.96.97.237/API/Web/GetUser?UserName=001&PassWord=123456&HOrgName=100038" |
| | | ) |
| | | .then((res) => { |
| | | let data = res.data.data[0]; |
| | | this.zuzhiId = data.HUSEORGID; //根据登录用户获取默认的组织ID |
| | | this.queryParams.HOrgID = data.HUSEORGID; |
| | | this.user = data.Czymc; |
| | | axios |
| | | .get(this.baseURL + "/Web/GetOrganizations", {}) |
| | | .then((res) => { |
| | | if (res.data.count == 1) { |
| | | this.organizationList = res.data.data; //组织列表 |
| | | } |
| | | |
| | | this.handleQuery(); |
| | | // this.getList(); |
| | | }) |
| | | .catch((error) => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |
| | | }) |
| | | .catch((error) => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |
| | | }, |
| | | async getList() { |
| | | this.tableShow = false; |
| | | this.loading = true; |
| | | if (this.pageSize == 0) { |
| | | this.pageSize = 50; |
| | | } |
| | | this.queryParams.HOrgID = sessionStorage["OrganizationID"]; |
| | | // this.queryParams.HOrgID = sessionStorage["OrganizationID"]; |
| | | |
| | | if (this.dateRange.length > 0) { |
| | | this.sWhere += |
| | |
| | | (this.multiple = true), this.getList(); |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete() { |
| | | handleDelete(row) { |
| | | console.log(row); |
| | | this.$modal |
| | | .confirm("确认要删除吗,删除后不能恢复") |
| | | .then(() => { |
| | | if (!this.rowForm.审核人) { |
| | | axios |
| | | .get(this.baseURL + "/Xs_SeOutStockBill/DeltetSeOutStockBill", { |
| | | .get(this.baseURL + "/Sc_ICMOBill/DeltetSc_ICMOReportBill", { |
| | | params: { |
| | | HInter: this.rowForm.hmainid.toString(), |
| | | HsupId: this.rowForm.HsupId, |
| | |
| | | icon="el-icon-delete" |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleDelete" |
| | | @click="handleDelete((row = rowForm))" |
| | | >删除 |
| | | </el-button> |
| | | </el-col> |
| | |
| | | (this.multiple = true), this.getList(); |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete() { |
| | | handleDelete(row) { |
| | | console.log(row); |
| | | 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: row.hmainid.toString(), |
| | | HsupId: row.hsubId, |
| | | HQty: row["数量"], |
| | | HSourceInterID: row["源单主内码"], |
| | | HSourceEntryID: row["源单子内码"], |
| | | user: this.user, |
| | | }, |
| | | }) |
| | |
| | | icon="el-icon-delete" |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleDelete" |
| | | @click="handleDelete((row = rowForm))" |
| | | >删除 |
| | | </el-button> |
| | | </el-col> |
| | |
| | | (this.multiple = true), this.getList(); |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete() { |
| | | handleDelete(row) { |
| | | console.log(row); |
| | | this.$modal |
| | | .confirm("确认要删除吗,删除后不能恢复") |
| | | .then(() => { |
| | | if (!this.rowForm.审核人) { |
| | | if (!row.审核人) { |
| | | axios |
| | | .get(this.baseURL + "Cg_POOrderBill/DeltetCg_POOrderBill", { |
| | | params: { HInter: this.rowForm.HInterID.toString(), user: this.user }, |
| | | params: { HInterID: row.hmainid.toString(), user: this.user }, |
| | | }) |
| | | .then((response) => { |
| | | if (response.data.count == 1) { |
| | |
| | | icon="el-icon-delete" |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleDelete" |
| | | @click="handleDelete((form = rowForm))" |
| | | >删除 |
| | | </el-button> |
| | | </el-col> |
| | |
| | | (this.multiple = true), this.getList(); |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete() { |
| | | handleDelete(form) { |
| | | console.log(form); |
| | | this.$modal |
| | | .confirm("确认要删除吗,删除后不能恢复") |
| | | .then(() => { |
| | |
| | | axios |
| | | .get(this.baseURL + "/Xs_SeOutStockBill/DeltetSeOutStockBill", { |
| | | params: { |
| | | HInter: this.rowForm.hmainid.toString(), |
| | | HsupId: this.rowForm.HsupId, |
| | | HQty: this.rowForm.HQty, |
| | | HSourceInterID: this.rowForm.HSourceInterID, |
| | | HSourceEntryID: this.rowForm.HSourceEntryID, |
| | | HInterID: form.hmainid.toString(), |
| | | HsupId: form.hsubid, |
| | | HQty: form["数量"], |
| | | HSourceInterID: form["源单主内码"], |
| | | HSourceEntryID: form["源单子内码"], |
| | | user: this.user, |
| | | }, |
| | | }) |
| | |
| | | icon="el-icon-delete" |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleDelete" |
| | | @click="handleDelete((form = rowForm))" |
| | | >删除 |
| | | </el-button> |
| | | </el-col> |
| | |
| | | (this.multiple = true), this.getList(); |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete() { |
| | | handleDelete(row) { |
| | | console.log(row); |
| | | this.$modal |
| | | .confirm("确认要删除吗,删除后不能恢复") |
| | | .then(() => { |
| | |
| | | axios |
| | | .get(this.baseURL + "/Xs_SeOutStockBill/DeltetSeOutStockBill", { |
| | | params: { |
| | | HInter: this.rowForm.hmainid.toString(), |
| | | HsupId: this.rowForm.HsupId, |
| | | HQty: this.rowForm.HQty, |
| | | HSourceInterID: this.rowForm.HSourceInterID, |
| | | HSourceEntryID: this.rowForm.HSourceEntryID, |
| | | HInterID: row.hmainid.toString(), |
| | | HsupId: row.hsubid, |
| | | HQty: row["数量"], |
| | | HSourceInterID: row["源单主内码"], |
| | | HSourceEntryID: row["源单子内码"], |
| | | user: this.user, |
| | | }, |
| | | }) |
| | |
| | | icon="el-icon-delete" |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleDelete" |
| | | @click="handleDelete((row = rowForm))" |
| | | >删除 |
| | | </el-button> |
| | | </el-col> |
| | |
| | | (this.multiple = true), this.getList(); |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete() { |
| | | handleDelete(row) { |
| | | console.log(row); |
| | | this.$modal |
| | | .confirm("确认要删除吗,删除后不能恢复") |
| | | .then(() => { |
| | |
| | | axios |
| | | .get(this.baseURL + "Cg_POInStockBill/DeltetPOInStockBill", { |
| | | params: { |
| | | HInter: this.rowForm.hmainid.toString(), |
| | | HInterID: this.rowForm.hmainid.toString(), |
| | | HsupId: this.rowForm.HsupId, |
| | | HQty: this.rowForm.HQty, |
| | | HSourceInterID: this.rowForm.HSourceInterID, |