| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { BaseUrl } from '@/api/request.js' |
| | | |
| | | export default { |
| | | name: "zhijian-bangfang", |
| | | data() { |
| | |
| | | }, |
| | | handleBangfangClick(item) { |
| | | console.log(item,'点击磅房-----') |
| | | uni.request({ |
| | | url: `${BaseUrl}/wrzs/jccoalweighhouse/getTmTaskCoalNoCar/${item.id}`, |
| | | method: 'GET', |
| | | header: { |
| | | 'content-type': 'application/x-www-form-urlencoded', |
| | | Authorization: 'Bearer' + ' ' + uni.getStorageSync('token'), |
| | | }, |
| | | success: (res) => { |
| | | console.log(res,'res.datra----------') |
| | | |
| | | } |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/driver-index/bill-of-lading-details/nocarNoWeighingDevice/nocarNoWeighingDevice?houseId=${item.id}&weighHouseCode=${item?.code}` |
| | | }) |
| | | // this.$reqGet('getTmTaskCoalNoCar',{houseId:item.id}).then(res => { |
| | | // console.log(res,'选择磅房====') |
| | | // if(res.code == 0) { |
| | | // uni.navigateTo({ |
| | | // url: `/pages/driver-page/driver-index/bill-of-lading-details/nocarNoWeighingDevice/nocarNoWeighingDevice?houseId=${houseId}` |
| | | // }) |
| | | // }else { |
| | | // this.$u.toast(res.msg); |
| | | // } |
| | | // }) |
| | | } |
| | | } |
| | | } |