| | |
| | | adviceList: [], |
| | | // 遮罩层 |
| | | loading: false, |
| | | disabled: "", |
| | | disabled: 1, |
| | | isDisabled: false, |
| | | // 绑定单选按钮 |
| | | tjStatus: "0", |
| | |
| | | submitFormchanck() { |
| | | this.loading = true; |
| | | getfindTj(this.form).then((response) => { |
| | | if (response.data) { |
| | | if (response.data != []) { |
| | | this.tableData = response.data; |
| | | this.tableData.forEach(item1 => { |
| | | this.tjnumber = item1.tjNumber; |
| | |
| | | }); |
| | | } else { |
| | | this.tableData = []; |
| | | this.disabled = 1 |
| | | } |
| | | |
| | | this.loading = false; |
| | |
| | | orderId: this.OrderId, |
| | | }; |
| | | getwater(data).then((res) => { |
| | | if (res.msg !="该订单已付款 无须再付") { |
| | | this.mobanId = res.data.mobanId; |
| | | this.waterId = res.data.waterId; |
| | | if (res.msg != "该订单已付款 无须再付") { |
| | | this.$modal.msgSuccess("操作成功"); |
| | | // this.radioChange(); |
| | | // this.submitFormchanck(); |
| | | const tjnumber = this.waterId; |
| | | const viewNum = this.mobanId; |
| | | const params = { viewNum, tjnumber }; |
| | | this.$tab.openPage("收款小票", "/report/charge", params); |
| | | } else{ |
| | | this.disabled = 1 |
| | | if (res.data) { |
| | | this.mobanId = res.data.mobanId; |
| | | this.waterId = res.data.waterId; |
| | | const tjnumber = this.waterId; |
| | | const viewNum = this.mobanId; |
| | | const params = { viewNum, tjnumber }; |
| | | this.$tab.openPage("收款小票", "/report/charge", params); |
| | | } |
| | | |
| | | } else { |
| | | this.$message({ |
| | | type: "warning ", |
| | | message: "查询到您已退款,请您重新预约!", |
| | | message: "res.msg", |
| | | }); |
| | | } |
| | | |