-
zhangwei
2025-03-14 6e961fafc0f921d575772a3c89f2c5cad28c270d
src/pages/delivergoods/clockIn.vue
@@ -9,7 +9,7 @@
   </up-sticky>
   <view class="c-p-b-100">
      <view class="c-p-l-20 c-p-r-20" v-if="orderList&&orderList.length>0">
         <view class="listrecord c-p-t-20" v-for="(item,index) in orderList" :key="item.keyid">
         <view class="listrecord c-p-t-20" v-for="(item,index) in orderList" :key="item.keyid"  @click='goDetail(item)'>
            <view class="coreshop-ff chuany-bradius20">
               <view class="chuany-font26">
                  <view class="chuany-flex chuany-justify-between">
@@ -17,7 +17,7 @@
                     <view class="chuany-width13">
                        {{$util.formatDate(item.creatTime,'riqi')}}
                     </view>
                     <view class="chuany-width65" @click='goDetail(item)'>
                     <view class="chuany-width65">
                        <u-text size='14' :text="item.carCondition" lines="1">
                        </u-text>
                     </view>
@@ -61,8 +61,8 @@
            </up-form-item>
         </up-form>
      </up-modal>
      <up-modal :title="clockInfo.clockType=='ClockIn'?'出车打卡':'下班打卡'" :show="showClockIn" showCancelButton
         :closeOnClickOverlay="true" @close="closeModal" @confirm="confirmClockSave" @cancel='cancelModal'
      <up-modal :title="clockInfo.clockType=='ClockIn'?'出车打卡':'下班打卡'" :show="showClockIn" showCancelButton :closeable='true'
          @closemodal="closeModal" @confirm="confirmClockSave" @cancel='cancelModal'
         :asyncClose="true" ref='clockInModal' cancel-text="存为草稿" confirm-text="打卡">
         <up-form labelPosition="left" :model="clockInfo" ref="formClockInRef" labelWidth='140rpx'>
            <up-form-item label="车辆检查" prop="carConditionAttachments" v-if="clockInfo.clockType=='ClockIn'"
@@ -241,9 +241,9 @@
         this.$refs.formFinishRef.setRules(this.rules1);
      },
      onLoad() {
         this.Getdrivers()
         this.getCustomer()
         this.GetDriversOfWithin7days()
         // this.Getdrivers()
         // this.getCustomer()
         // this.GetDriversOfWithin7days()
      },
      onReachBottom() {
         if (this.loadStatus != 'nomore') {
@@ -291,7 +291,6 @@
                        console.log(item,'9jh');
                        this.$refs.zhuanghuo.urls.push(item.planAttachment)
                     })
                     console.log(res.data,this.clockInfo.attachments,res.data.attachments);
                     let length = this.$refs.zhuanghuo.urls.length
                     this.$refs.zhuanghuo.status = Array.from({
                        length