| | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="体检号" prop="tjNum" style="display: flex;"> |
| | | <el-input ref="inputName" v-model="form.tjNum" placeholder="请输入体检号" /> |
| | | <el-input ref="inputName" v-model="form.tjNum" placeholder="请输入体检号" @keyup.enter.native="handle" @blur="hb" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | |
| | | numberList: [], |
| | | // 表单参数 |
| | | form: { |
| | | tjNum: "", |
| | | tjName: "", |
| | | tjPhone: "", |
| | | tjNum: null, |
| | | tjName: null, |
| | | tjPhone: null, |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | this.$refs.inputName.focus(); |
| | | }); |
| | | }, |
| | | |
| | | hb(){ |
| | | console.log(this.form.tjNum); |
| | | if (this.form.tjNum != null) { |
| | | this.handle(); |
| | | } |
| | | }, |
| | | /** 搜索操作 */ |
| | | handle() { |
| | | this.loading = true; |
| | | getTjRefundList(this.form).then((response) => { |
| | | this.customerList = response.data; |
| | | if( response.data){ |
| | | this.customerList = response.data; |
| | | this.customerList.forEach((item1) => { |
| | | this.tjnumber = item1.tjNumber; |
| | | }); |
| | |
| | | }); |
| | | this.total = response.total; |
| | | this.loading = false; |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | |
| | |
| | | this.multipleSelection = val; |
| | | this.refundPros = []; |
| | | this.refundPros = this.multipleSelection; |
| | | this.formInline.price = ""; |
| | | this.formInline.price = 0; |
| | | this.multipleSelection.forEach((item) => { |
| | | this.tollCollectorName = item.tollCollector; |
| | | if (this.formInline.price) { |
| | |
| | | |
| | | // 退费 |
| | | handleRefund() { |
| | | console.log(this.form) |
| | | this.customerList.forEach((item) => { |
| | | (this.orderIds = item.tjFlowingWater.orderId), |
| | | (this.copewith = item.totalAmount); |
| | |
| | | this.mobanId = res.data.mobanId; |
| | | if (res.code === 200) { |
| | | this.$modal.msgSuccess("退费成功"); |
| | | // this.handle(); |
| | | this.form.tjNum = res.data.waterId |
| | | this.handle(); |
| | | // this.$forceUpdate(); |
| | | this.idList = res.data; |
| | | const tjnumber = this.tjnumber; |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | #sig .el-table__header-wrapper .el-checkbox { |
| | | /* #sig .el-table__header-wrapper .el-checkbox { |
| | | display: none; |
| | | } |
| | | } */ |
| | | </style> |