| | |
| | | icon="el-icon-delete" |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleDelete((row = rowForm))" |
| | | @click="handleDelete" |
| | | >删除 |
| | | </el-button> |
| | | </el-col> |
| | |
| | | (this.multiple = true), this.getList(); |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | console.log(row); |
| | | handleDelete() { |
| | | this.$modal |
| | | .confirm("确认要删除吗,删除后不能恢复") |
| | | .then(() => { |
| | | if (!row.审核人) { |
| | | if (!this.rowForm.审核人) { |
| | | axios |
| | | .get(this.baseURL + "Cg_POOrderBill/DeltetCg_POOrderBill", { |
| | | params: { HInterID: row.hmainid.toString(), user: this.user }, |
| | | params: { HInter: this.rowForm.HInterID.toString(), user: this.user }, |
| | | }) |
| | | .then((response) => { |
| | | if (response.data.count == 1) { |