liukangdong
2024-06-11 1be9363108acde037a4e5907520d5a819c3a0c41
h5/pages/staff/vehicle/sendACar.vue
@@ -18,7 +18,7 @@
        class="box_list_item"
        v-for="(item, index) in dataList"
        :key="index"
            @click="itemDetail(item)"
        @click="itemDetail(item)"
      >
        <view class="box_list_item_head">
          <text>{{ item.carCode }}</text>
@@ -109,7 +109,7 @@
    getList() {
      const { param, pagination } = this
      pagination.page = pagination.page + 1
      if(param.queryDate){
      if (param.queryDate) {
        param.queryStartTime = param.queryDate + ' 00:00:00'
        param.queryEndTime = param.queryDate + ' 23:59:59'
      }
@@ -125,11 +125,11 @@
        this.total = res.data.total
      })
    },
      itemDetail(item) {
         uni.navigateTo({
            url: "/pages/staff/vehicle/sendACarDetail?id=" + item.id
         })
      },
    itemDetail(item) {
      uni.navigateTo({
        url: "/pages/staff/vehicle/sendACarDetail?id=" + item.id
      })
    },
    seletedCar(e) {
      const item = e.value[0]
      this.pagination.page = 0
@@ -139,10 +139,12 @@
      this.getList()
    },
    seletedDate(e) {
      this.param.queryDate = dayjs(e.value).format('YYYY-MM-DD')
      this.pagination.page = 0
      this.isShowDate = false
      this.getList()
      setTimeout(() => {
        this.param.queryDate = dayjs(e.value).format('YYYY-MM-DD')
        this.pagination.page = 0
        this.isShowDate = false
        this.getList()
      })
    },
    endtimeClose() {
      this.param.endTime = ''
@@ -216,9 +218,9 @@
      .error {
        color: #e0312a;
      }
         .grr{
            color: #999999;
         }
      .grr {
        color: #999999;
      }
      text {
        &:nth-child(1) {
          font-size: 32rpx;