| | |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | > |
| | | <NoBikeBillDetail v-if="form.type==4" ref="noBikeBillDetail"/> |
| | | <NoBikeBillDetail v-if="form.type == 4" ref="noBikeBillDetail"/> |
| | | <BillDetail v-else ref="billDetail"/> |
| | | </GlobalWindow> |
| | | </template> |
| | |
| | | startDate: '', |
| | | type: '' |
| | | }, |
| | | |
| | | |
| | | } |
| | | }, |
| | | created () { |
| | |
| | | // 新建 |
| | | this.form = target |
| | | this.$nextTick(() => { |
| | | console.log(target) |
| | | if (target.type == 4) { |
| | | this.$refs.noBikeBillDetail.reload(target) |
| | | this.$refs.noBikeBillDetail.reload({ ...target, isBikeFee: 1 }) |
| | | } else { |
| | | this.$refs.billDetail.reload(target) |
| | | } |
| | | }) |
| | | }, |
| | | }, |
| | | |
| | | |
| | | } |
| | | </script> |