| | |
| | | {{$util.formatDate(item.deliverTime,'riqi')}} |
| | | </view> |
| | | <view class="chuany-width67" @click='goDetail(item)'> |
| | | <u-text size='14' :text="item.remark||item.companyName" lines="1"> |
| | | <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-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> |
| | | |
| | |
| | | //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') { |
| | |
| | | }, |
| | | //选择图片或上传完成时触发 |
| | | completeInvoice(val, e) { |
| | | console.log(val,'------------’'); |
| | | if (e.action == 'delete') { |
| | | if (val == 'licheng') { |
| | | this.clockInfo.mileageImg = '' |
| | |
| | | } |
| | | }) |
| | | }).catch(errors => { |
| | | this.$util.showToast({ |
| | | title: `打卡异常-${errors}`, |
| | | }) |
| | | this.$refs.clockInModal.loading = false |
| | | }) |
| | | |
| | | |
| | | }, |
| | | cancelModal() { |
| | | this.showClockIn = false |