yangan
2024-07-09 3f798d6f31282420a4785e850278aee3c15de171
pages/customer-page/zhijian-bangfang/zhijian-bangfang.vue
@@ -11,7 +11,7 @@
</template>
<script>
import { BaseUrl } from '@/api/request.js'
export default {
  name: "zhijian-bangfang",
  data() {
@@ -33,28 +33,9 @@
    },
    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);
      //   }
      // })
    }
  }
}