-
zhangwei
2026-04-07 b7ae3f69ae6706a692284d2f12835d213debfb1a
src/pages/delivergoods/feedback.vue
@@ -9,8 +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"
            @click='goDetail(item)'>
         <view class="listrecord c-p-t-20" v-for="(item,index) in orderList" :key="item.keyid">
            <view class="coreshop-ff chuany-bradius20">
               <view class="chuany-font26">
                  <view class="chuany-flex chuany-justify-between">
@@ -18,14 +17,15 @@
                     <view class="chuany-width15">
                        {{$util.formatDate(item.deliverTime,'riqi')}}
                     </view>
                     <view class="chuany-width67">
                        <u-text size='14' :text="item.remark||item.companyName" lines="1">
                     <view class="chuany-width67" @click='goDetail(item)'>
                        <u-text size='14' :text="item.companyName" lines="1">
                        <!-- <u-text size='14' :text="item.remark||item.companyName" lines="1"> -->
                        </u-text>
                     </view>
                     <view class="chuany-width11 chuany-flex chuany-justify-between">
                        <up-icon v-if="item.deliveredstatus=='Undeliver'" name="play-right"
                        <up-icon v-if="item.deliveredstatus=='Undeliver'" name="play-right" size='18'
                           @tap.stop='startOrder(item)'></up-icon>
                        <up-icon v-else-if="item.deliveredstatus=='Deliver'" name="checkbox-mark"
                        <up-icon v-else-if="item.deliveredstatus=='Deliver'" name="checkbox-mark" size='18'
                           @tap.stop="editOrder(item)"></up-icon>
                     </view>
                  </view>
@@ -100,19 +100,19 @@
            </up-form-item>
         </up-form>
      </up-modal>
      <fui-date-picker range :show="datePickerShow" :value="getFirstDayOfMonth()" type="3" zIndex="10000"
      <fui-date-picker :show="datePickerShow" :value="getFirstDayOfMonth()" type="3" zIndex="10000"
         @change="changePicker" :minDate='minDate' :maxDate='maxDate' @cancel="clickTime"></fui-date-picker>
      <up-action-sheet :show="showActions" :actions="actions" title="请选择" @close="showActions = false"
         @select="selectItem">
      </up-action-sheet>
      <view class="tabbtns chuany-flex chuany-justify-between">
      <!-- <view class="tabbtns chuany-flex chuany-justify-between">
         <view class="chuany-width45">
            <up-button type="primary" text="出车打卡" @click="clockIn('ClockIn')"></up-button>
         </view>
         <view class="chuany-width45">
            <up-button type="success" text="下班打卡" @click="clockIn('Clockout')"></up-button>
         </view>
      </view>
      </view> -->
   </view>
</template>
@@ -127,7 +127,7 @@
         return {
            datePickerShow: false,
            shougHuoshow: false,
            workTime: '',
            workTime: this.$util.formatDate(new Date()),
            orderList: [],
            loadStatus: 'loadmore',
            pageIndex: 1,
@@ -164,7 +164,7 @@
               wentifankui: '',
               companyName: '',
               attachments: [],
               Deliveredstatus:'Delivered'
               Deliveredstatus: 'Delivered'
            },
            rules: {
               'mileage': {
@@ -204,8 +204,8 @@
            switchVal: false,
            driverList: [],
            buyerName: '',
            timeStart: '',
            timeEnd: '',
            timeStart: new Date(),
            timeEnd: new Date(),
            sevenDaysDriver: [],
            deliverKeyID: '',
            deliverKeyName: '',
@@ -238,9 +238,9 @@
         }
      },
      onPullDownRefresh() {
         this.timeStart = ''
         this.timeEnd = ''
         this.workTime = ''
         this.timeStart = new Date()
         this.timeEnd = new Date()
         this.workTime = this.$util.formatDate(new Date())
         this.deliverKeyName = ''
         this.init()
         uni.stopPullDownRefresh();
@@ -275,6 +275,7 @@
            //e.res 为服务器返回数据
            //上传成功回调,处理服务器返回数据【此处根据实际返回数据进行处理】
            let res = e.res
            console.log(res,'55555555’');
            // let res = JSON.parse(e.res.data.replace(/\ufeff/g, "") || "{}")
            if (res.statusCode == 200) {
               if (res.data && text == 'carCondition') {
@@ -325,9 +326,9 @@
         },
         changePicker(val) {
            console.log(val);
            this.workTime = val.startDate.result + '至' + val.endDate.result
            this.timeStart = new Date(val.startDate.result) //工作开始时间
            this.timeEnd = new Date(val.endDate.result)
            this.workTime = val.result
            this.timeStart = new Date(val.result) //工作开始时间
            this.timeEnd = new Date(val.result)
            this.datePickerShow = !this.datePickerShow
            this.init()
         },
@@ -413,6 +414,7 @@
         },
         //选择图片或上传完成时触发
         completeInvoice(val, e) {
            console.log(val,'------------’');
            if (e.action == 'delete') {
               if (val == 'licheng') {
                  this.clockInfo.mileageImg = ''
@@ -467,7 +469,7 @@
                        wentifankui: '',
                        companyName: '',
                        attachments: [],
                        Deliveredstatus:'Delivered'
                        Deliveredstatus: 'Delivered'
                     }
                     this.show7 = false
                     this.driverName = ''
@@ -514,10 +516,11 @@
                  }
               })
            }).catch(errors => {
               this.$util.showToast({
                  title: `打卡异常-${errors}`,
               })
               this.$refs.clockInModal.loading = false
            })
         },
         cancelModal() {
            this.showClockIn = false