| | |
| | | type="primary" |
| | | size="mini" |
| | | @click="handleRevoke" |
| | | :loading="isLoading" |
| | | :disabled="single" |
| | | >撤销签到</el-button |
| | | > |
| | |
| | | width="260px" |
| | | > |
| | | </el-table-column> |
| | | |
| | | |
| | | <el-table-column prop="proPrice" label="原价" width="56px"> |
| | | </el-table-column> |
| | | |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="sl" label="数量" width="56px"> |
| | | </el-table-column> |
| | | <el-table-column prop="proPrice" label="原价" width="56px"> |
| | | <el-table-column prop="proPrice" label="原价" width="56px"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="proName" |
| | |
| | | width="260px" |
| | | > |
| | | </el-table-column> |
| | | |
| | | |
| | | <el-table-column |
| | | label="操作" |
| | |
| | | type="primary" |
| | | @click="submitPrice" |
| | | :disabled="confirm" |
| | | :loading="isSubmit" |
| | | style="margin-top: 34px" |
| | | >提交</el-button |
| | | > |
| | |
| | | |
| | | <!-- 提交按钮 --> |
| | | <el-form-item style="display: flex"> |
| | | <el-button type="primary" @click="submitPrice1" :disabled="confirm"> |
| | | <el-button |
| | | type="primary" |
| | | :loading="isSubmit1" |
| | | @click="submitPrice1" |
| | | :disabled="confirm" |
| | | > |
| | | 提交 |
| | | </el-button> |
| | | </el-form-item> |
| | |
| | | DataList3: [], |
| | | bldhid: "", |
| | | budadaozhen: false, |
| | | isLoading: false, |
| | | isSubmit: false, |
| | | isSubmit1: false, |
| | | huizongList: [], |
| | | DataLists: [], |
| | | infoList: [], |
| | |
| | | }, |
| | | |
| | | handleRevoke() { |
| | | this.isLoading = true; |
| | | this.$confirm("您确认要撤销?", "确认信息", { |
| | | distinguishCancelAndClose: true, |
| | | confirmButtonText: "确认", |
| | |
| | | .then(() => { |
| | | revokeTjOrderByTjNum(this.tjnumbers).then((res) => { |
| | | this.$modal.msgSuccess("撤销成功"); |
| | | // this.isLoading = false; |
| | | this.getList(); |
| | | }); |
| | | }) |
| | |
| | | message: "已取消", |
| | | }); |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | // 不论操作成功还是失败,都会执行 |
| | | this.isLoading = false; |
| | | }); |
| | | }, |
| | | /** 点击显示体检报告报表*/ |
| | |
| | | let datas = { |
| | | zhId: data.id, |
| | | }; |
| | | |
| | | |
| | | getlistByZhId(datas).then((res) => { |
| | | this.packagedataList = res.data.tjProjectList; |
| | | |
| | | |
| | | for (var i = 0; i < this.packagedataList.length; i++) { |
| | | let proId = this.packagedataList[i].proId; |
| | | getProSonDxList(proId).then((res) => { |
| | |
| | | this.TotalPrice1 = 0; |
| | | if (this.DataList3.length != 0) { |
| | | this.DataList3.forEach((item) => { |
| | | |
| | | this.TotalPrice1 += item.proPrice * item.sl; |
| | | }); |
| | | } |
| | |
| | | this.DataList.splice(index, 1); |
| | | this.TotalPrice1 = 0; |
| | | this.DataList.forEach((item1) => { |
| | | |
| | | this.TotalPrice1 = item1.proPrice + this.TotalPrice1; |
| | | |
| | | }); |
| | | if (this.marryalls != 0) { |
| | | this.TotalPrice1 += this.marryalls; |
| | |
| | | this.spliceData(); |
| | | this.TotalPrice1 = 0; |
| | | this.DataList.forEach((item1) => { |
| | | console.log(item1.proPrice,3322); |
| | | console.log(this.TotalPrice1,1122); |
| | | |
| | | console.log(item1.proPrice, 3322); |
| | | console.log(this.TotalPrice1, 1122); |
| | | |
| | | this.TotalPrice1 = item1.proPrice + this.TotalPrice1; |
| | | }); |
| | | if (this.marryalls != 0) { |
| | |
| | | // 收费按钮 |
| | | submitPrice() { |
| | | this.proIds = []; |
| | | this.isSubmit = true; |
| | | if (this.DataList.length != 0) { |
| | | this.DataList.forEach((item) => { |
| | | this.proIds.push(item.proId); |
| | |
| | | payType: this.payType, |
| | | }; |
| | | getwater(data).then((res) => { |
| | | this.isSubmit = false; |
| | | this.$modal.msgSuccess("提交成功"); |
| | | this.mobanId = res.data.mobanId; |
| | | this.waterId = res.data.waterId; |
| | |
| | | // 收费按钮 |
| | | submitPrice1() { |
| | | this.proIds = []; |
| | | this.isSubmit1 = true; |
| | | if (this.DataList.length != 0) { |
| | | this.DataList.forEach((item) => { |
| | | this.proIds.push(item.proId); |
| | |
| | | discount, |
| | | copeWith, |
| | | tjType, |
| | | payStasus:this.jsType, |
| | | payStasus: this.jsType, |
| | | orderId: this.orderIds, |
| | | tjProIds: this.proIds, |
| | | payType: this.payType, |
| | | }; |
| | | |
| | | |
| | | getwater(data).then((res) => { |
| | | this.$modal.msgSuccess("提交成功"); |
| | | this.mobanId = res.data.mobanId; |
| | |
| | | const params = { viewNum, tjnumber }; |
| | | this.$tab.openPage("收款小票", "/report/charge", params); |
| | | this.Projectopen1 = false; |
| | | this.isSubmit1 = false; |
| | | }); |
| | | } |
| | | }); |