| | |
| | | <view class="status_bar"> |
| | | <!-- 这里是状态栏 --> |
| | | </view> |
| | | |
| | | <uni-nav-bar left-icon="left" title="报销申请" @clickLeft="back" @clickRight="scan" :fixed="true" |
| | | :border="false" rightWidth="160rpx" leftWidth="160rpx" |
| | | > |
| | |
| | | user: { |
| | | username: '', |
| | | id: 0, |
| | | type: '' |
| | | type: 'user_id' |
| | | }, |
| | | falg: true, |
| | | list: [] |
| | |
| | | that.user.type = data.key |
| | | that.falg = false |
| | | }) |
| | | setTimeout(()=> { |
| | | this.getReimburseOnline() |
| | | },50) |
| | | if (this.falg) { |
| | | this.getDetail() |
| | | } |
| | | setTimeout(()=> { |
| | | this.getReimburseOnline() |
| | | },50) |
| | | }, |
| | | methods: { |
| | | async getDetail() { |
| | |
| | | header: { 'token': uni.getStorageSync('token') }, |
| | | data: param, |
| | | success(res) { |
| | | console.log(res); |
| | | res = res.data |
| | | if (res.code === 200) { |
| | | for (let k of res.data.records) { |