| | |
| | | this.editConfig.infomation = { ...row, currency: "人民币", sale_return_nunber: row.Source.number } |
| | | }, |
| | | // 删除 |
| | | delClick() { |
| | | if (this.selValueList && this.selValueList.length > 0) { |
| | | delClick(rowID) { |
| | | // if (this.selValueList && this.selValueList.length > 0) { |
| | | this.$confirm("是否确认删除?", "警告", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | getDelSalesRefund({ ids: this.selValueList }).then((response) => { |
| | | getDelSalesRefund({ ids: [rowID] }).then((response) => { |
| | | if (response.code === 200) { |
| | | this.$message.success("删除成功") |
| | | this.getData() |
| | |
| | | }) |
| | | }) |
| | | .catch(() => {}) |
| | | } else { |
| | | this.$message.warning("请至少选择一条记录") |
| | | } |
| | | // } else { |
| | | // this.$message.warning("请至少选择一条记录") |
| | | // } |
| | | }, |
| | | getSelectArray(val) { |
| | | console.log(val) |