doum
2025-09-11 7298d5354963a88643a543b51b90192dc9fc934c
h5/pages/staff/vehicle/sendACar.vue
@@ -69,6 +69,7 @@
    <u-datetime-picker
      mode="date"
      v-model="param.queryDate"
         :formatter="formatter"
      :show="isShowDate"
      :minDate="minDate"
      closeOnClickOverlay
@@ -116,6 +117,24 @@
      }
  },
  methods: {
      formatter(type, value) {
         if (type === 'year') {
            return `${value}年`
         }
         if (type === 'month') {
            return `${value}月`
         }
         if (type === 'day') {
            return `${value}日`
         }
         if (type === 'hour') {
            return `${value}时`
         }
         if (type === 'minute') {
            return `${value}分`
         }
         return value
      },
    getList() {
      const { param, pagination } = this
      pagination.page = pagination.page + 1
@@ -123,6 +142,10 @@
        param.queryStartTime = param.queryDate + ' 00:00:00'
        param.queryEndTime = param.queryDate + ' 23:59:59'
      }
         if(param.carCode == '全部车辆'){
            param.carCode = null
            param.carId = null
         }
      carUseBookPaiche({
        ...pagination,
        model: { ...param }
@@ -185,7 +208,7 @@
.app_header {
  display: flex;
  align-items: center;
  margin: 0 -15rpx;
  // margin: 0 -15rpx;
  background-color: #fff;
  .item {
    width: 360rpx;