liukangdong
2024-06-07 ac44819c6bb4e71161c0b042d27a91c4f2c6666e
h5/pages/driver/reservedRecord.vue
@@ -2,9 +2,14 @@
   <view class="main_app">
      <!--  -->
      <view class="box_list">
         <view class="box_list_item" v-for="(item, index) in 3" :key="index" @click="handleDetail()">
      <view
        class="box_list_item"
        v-for="(item, index) in 3"
        :key="index"
        @click="handleDetail()"
      >
            <view class="box_list_item_head">
               <text>丁恩凯的劳务入厂申请</text>
          <text>丁恩凯的劳务入园申请</text>
               <text class="loading">待审核</text>
            </view>
            <view class="box_list_item_nr">
@@ -17,7 +22,7 @@
                  <text>12-12 09:00</text>
               </view>
               <view class="box_list_item_nr_item">
                  <text>离厂时间:</text>
            <text>离园时间:</text>
                  <text>12-12 12:00</text>
               </view>
               <view class="box_list_item_nr_item">
@@ -32,9 +37,23 @@
         </view>
      </view>
      <!-- 选择车辆 -->
      <u-picker keyName="name" closeOnClickOverlay @close="isShowCar = false" :show="isShowCar" :columns="carList" @confirm="seletedCar" @cancel="isShowCar = false"></u-picker>
    <u-picker
      keyName="name"
      closeOnClickOverlay
      @close="isShowCar = false"
      :show="isShowCar"
      :columns="carList"
      @confirm="seletedCar"
      @cancel="isShowCar = false"
    ></u-picker>
      <!-- 日期 -->
      <u-datetime-picker :show="isShowDate" :minDate="minDate" @confirm="confirmDate" @cancel="isShowDate = false" mode="date"></u-datetime-picker>
    <u-datetime-picker
      :show="isShowDate"
      :minDate="minDate"
      @confirm="confirmDate"
      @cancel="isShowDate = false"
      mode="date"
    ></u-datetime-picker>
   </view>
</template>
@@ -47,7 +66,7 @@
         param: {},
         carList: [[{ name: 'aa', value: '11' }]],
         timeList: [{ time: '08:30-09:00' }, { time: '08:30-09:00' }, { time: '08:30-09:00' }, { time: '08:30-09:00' }]
      };
    }
   },
   methods: {
      handleDetail() {
@@ -56,14 +75,14 @@
         })
      },
      confirmDate(e) {
         console.log(e.value);
         this.param.aa = dayjs(e.value).format('YYYY-MM-DD');
         this.isShowDate = false;
      console.log(e.value)
      this.param.aa = dayjs(e.value).format('YYYY-MM-DD')
      this.isShowDate = false
      },
      seletedCar(e) {
         console.log(e.value);
         this.param.aa = dayjs(e.value).format('YYYY-MM-DD');
         this.isShowDate = false;
      console.log(e.value)
      this.param.aa = dayjs(e.value).format('YYYY-MM-DD')
      this.isShowDate = false
      }
   }
};
@@ -71,7 +90,7 @@
<style lang="scss">
   .main_app{
      background: #F7F7F7;
  background: #f7f7f7;
      padding: 0;
   }
.app_header {