1 |
- <block wx:if="{{!table_loading}}"><view style="background:linear-gradient(180deg, #333947 0%, #242A37 100%);" class="data-v-783b5b74"><block wx:if="{{apply_id}}"><view style="display:flex;align-items:center;margin-left:32rpx;margin-top:20rpx;" class="data-v-783b5b74"><text style="color:#FFFFFF;font-size:26rpx;" class="data-v-783b5b74">{{"报销单(序列号:"+(reimburse_info&&reimburse_info.id)+")"}}</text><block wx:if="{{reimburse_info}}"><view class="{{['data-v-783b5b74','statusReimbursement',reimburse_info.status==0?'bg-4F7EFF':reimburse_info.status==1?'bg-ECBE64':reimburse_info.status==2?'bg-58BCA6':reimburse_info.status==3?'bg-F03F5C':'']}}">{{''+(reimburse_info.is_resubmited==1?'已重新提审':reimburse_info.status==0?'已保存':reimburse_info.status==1?'待审核':reimburse_info.status==2?'审核通过':reimburse_info.status==3?'审核驳回':'')+''}}</view></block></view></block><view class="applyTop data-v-783b5b74"><view class="item data-v-783b5b74">{{"公司:"+(reimburse_info&&reimburse_info.company?reimburse_info.company:'-')}}</view><view class="item data-v-783b5b74">{{"部门:"+(reimburse_info&&reimburse_info.department?reimburse_info.department:'-')}}</view><view class="item data-v-783b5b74">{{"岗位:"+(reimburse_info&&reimburse_info.station_name?reimburse_info.station_name:'-')}}</view><view class="item data-v-783b5b74">{{"经手人:"+(reimburse_info&&reimburse_info.staff_name?reimburse_info.staff_name:'-')}}</view></view><view class="table data-v-783b5b74"><view class="self-table self-table-border data-v-783b5b74"><view class="self-table-tr self-table-head data-v-783b5b74"><block wx:if="{{editFlag}}"><view class="self-table-th data-v-783b5b74" style="width:80rpx;flex:initial;"><view data-event-opts="{{[['tap',[['handleSelectionChange',['all']]]]]}}" class="{{['data-v-783b5b74','self-checkbox',allSelection?'self-checkbox-active':'']}}" bindtap="__e"><view class="iconfont icon-queren_icon data-v-783b5b74"></view></view></view></block><view class="self-table-th data-v-783b5b74">直播日期</view><view class="self-table-th data-v-783b5b74">金额</view><view class="self-table-th border-none data-v-783b5b74" style="width:200rpx;flex:auto;padding:0;"><view class="self-table-th table-th data-v-783b5b74">出发</view><view class="flex data-v-783b5b74" style="overflow:hidden;border-top:2rpx solid #3D4453;"><view class="self-table-th table-th data-v-783b5b74">时间</view><view class="self-table-th table-th data-v-783b5b74">地点</view></view></view><view class="self-table-th border-none data-v-783b5b74" style="width:200rpx;flex:auto;padding:0;"><view class="self-table-th table-th data-v-783b5b74">到达</view><view class="flex data-v-783b5b74" style="overflow:hidden;border-top:2rpx solid #3D4453;"><view class="self-table-th table-th data-v-783b5b74">时间</view><view class="self-table-th table-th data-v-783b5b74">地点</view></view></view><view class="self-table-th data-v-783b5b74">交通工具</view><view class="self-table-th data-v-783b5b74">事由说明</view><view class="self-table-th data-v-783b5b74">加班类型</view><block wx:if="{{editFlag}}"><view class="self-table-th data-v-783b5b74">操作</view></block><block wx:if="{{source=='audit'}}"><view class="self-table-th data-v-783b5b74">核对</view></block></view><scroll-view class="self-table-body data-v-783b5b74" scroll-y="true"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="self-table-tr data-v-783b5b74"><block wx:if="{{editFlag}}"><view class="self-table-td data-v-783b5b74" style="width:80rpx;flex:initial;"><view data-event-opts="{{[['tap',[['handleSelectionChange',[index]]]]]}}" class="{{['data-v-783b5b74','self-checkbox',item.g0!=-1?'self-checkbox-active':'']}}" bindtap="__e"><view class="iconfont icon-queren_icon data-v-783b5b74"></view></view></view></block><view class="self-table-td data-v-783b5b74"><block wx:if="{{item.$orig.type==2}}"><view class="data-v-783b5b74">{{item.$orig.date}}</view></block><block wx:else><block wx:for="{{item.$orig.list}}" wx:for-item="item1" wx:for-index="__i0__"><view class="liveApplyItem data-v-783b5b74">{{''+item1.date+''}}</view></block></block></view><view class="self-table-td data-v-783b5b74"><block wx:if="{{item.$orig.type==2}}"><view class="data-v-783b5b74">{{item.$orig.amount}}</view><block wx:if="{{item.$orig.toll_fee}}"><view style="border-top:1px solid #3D4453;" class="data-v-783b5b74">{{item.$orig.toll_fee}}</view></block></block><block wx:else><block wx:for="{{item.$orig.list}}" wx:for-item="item1" wx:for-index="__i1__"><view class="liveApplyItem data-v-783b5b74"><view style="width:calc(100%);" class="data-v-783b5b74"><view class="data-v-783b5b74">{{item1.amount}}</view><block wx:if="{{item1.toll_fee}}"><view style="border-top:1px solid #3D4453;" class="data-v-783b5b74">{{''+item1.toll_fee+''}}</view></block></view></view></block></block></view><view class="self-table-td flex data-v-783b5b74" style="width:200rpx;flex:auto;"><view class="self-table-td border-none data-v-783b5b74"><block wx:if="{{item.$orig.type==2}}"><view class="data-v-783b5b74">{{item.$orig.start_time}}</view></block><block wx:else><block wx:for="{{item.$orig.list}}" wx:for-item="item1" wx:for-index="__i2__"><view class="liveApplyItem data-v-783b5b74"><view class="data-v-783b5b74">{{item1.start_time}}</view></view></block></block></view><view class="self-table-td data-v-783b5b74"><block wx:if="{{item.$orig.type==2}}"><view class="data-v-783b5b74">{{item.$orig.start_site}}</view></block><block wx:else><block wx:for="{{item.$orig.list}}" wx:for-item="item1" wx:for-index="__i3__"><view class="liveApplyItem data-v-783b5b74"><view class="ellipsis_2 data-v-783b5b74">{{item1.start_site}}</view></view></block></block></view></view><view class="self-table-td flex data-v-783b5b74" style="width:200rpx;flex:auto;"><view class="self-table-td border-none data-v-783b5b74"><block wx:if="{{item.$orig.type==2}}"><view class="data-v-783b5b74">{{item.$orig.end_time}}</view></block><block wx:else><block wx:for="{{item.$orig.list}}" wx:for-item="item1" wx:for-index="__i4__"><view class="liveApplyItem data-v-783b5b74"><view class="data-v-783b5b74">{{item1.end_time}}</view></view></block></block></view><view class="self-table-td data-v-783b5b74"><block wx:if="{{item.$orig.type==2}}"><view class="data-v-783b5b74">{{item.$orig.end_site}}</view></block><block wx:else><block wx:for="{{item.$orig.list}}" wx:for-item="item1" wx:for-index="__i5__"><view class="liveApplyItem data-v-783b5b74" style="line-height:20px;"><view class="ellipsis_2 data-v-783b5b74">{{item1.end_site}}</view></view></block></block></view></view><view class="self-table-td data-v-783b5b74"><block wx:if="{{item.$orig.type==2}}"><view class="data-v-783b5b74">{{item.$orig.car_type==1?'出租车':'网约车'}}</view></block><block wx:else><block wx:for="{{item.$orig.list}}" wx:for-item="item1" wx:for-index="__i6__"><view class="liveApplyItem data-v-783b5b74">{{''+(item1.car_type==1?'出租车':'网约车')+''}}</view></block></block></view><view class="self-table-td data-v-783b5b74"><block wx:if="{{item.$orig.type==2}}"><view class="ellipsis ellipsis_2 data-v-783b5b74">{{''+(item.$orig.reason?item.$orig.reason:'-')+''}}<block wx:if="{{item.$orig.remark}}"><text class="data-v-783b5b74">{{'('+(item.$orig.remark?item.$orig.remark:'-')+')'}}</text></block></view><block wx:if="{{item.$orig.toll_fee}}"><view style="border-top:1px solid #3D4453;" class="data-v-783b5b74">过路费</view></block></block><block wx:else><block wx:for="{{item.$orig.list}}" wx:for-item="item1" wx:for-index="__i7__"><view class="liveApplyItem data-v-783b5b74"><view style="width:100%;" class="data-v-783b5b74"><view class="ellipsis ellipsis_2 data-v-783b5b74" style="line-height:18px;">{{''+(item1.reason?item1.reason:'-')+''}}<block wx:if="{{item1.remark}}"><text class="data-v-783b5b74">{{'('+(item1.remark?item1.remark:'-')+')'}}</text></block></view><block wx:if="{{item1.toll_fee}}"><view style="border-top:1px solid #3D4453;" class="data-v-783b5b74">过路费</view></block></view></view></block></block></view><view class="self-table-td data-v-783b5b74"><block wx:if="{{item.$orig.type==2}}"><view class="data-v-783b5b74">普通加班</view></block><block wx:else><block wx:for="{{item.$orig.list}}" wx:for-item="item1" wx:for-index="__i8__"><view class="liveApplyItem data-v-783b5b74">直播加班</view></block></block></view><block wx:if="{{editFlag}}"><view class="self-table-td flex-center data-v-783b5b74"><block wx:if="{{item.$orig.type==2}}"><block wx:if="{{item.$orig.status==0||item.$orig.status==3}}"><text class="c-5B80F4 data-v-783b5b74" type="text" size="small" data-event-opts="{{[['tap',[['editClick',['$0',1,1],[[['data_list','',index]]]]]]]}}" catchtap="__e">编辑</text></block><block wx:else><text class="c-5B80F4 data-v-783b5b74" type="text" size="small" data-event-opts="{{[['tap',[['editClick',['$0',1,2],[[['data_list','',index]]]]]]]}}" catchtap="__e">查看</text></block></block><block wx:else><block wx:if="{{item.$orig.list&&item.$orig.list.length>0}}"><view class="liveApplyItem data-v-783b5b74"><block wx:if="{{item.$orig.list[0].status==0||item.$orig.list[0].status==3}}"><text class="c-5B80F4 data-v-783b5b74" type="text" size="small" data-event-opts="{{[['tap',[['editClick',['$0',0,1],[[['data_list','',index,'list.__$n0']]]]]]]}}" catchtap="__e">编辑</text></block><block wx:else><text class="c-5B80F4 data-v-783b5b74" type="text" size="small" data-event-opts="{{[['tap',[['editClick',['$0',0,2],[[['data_list','',index,'list.__$n0']]]]]]]}}" catchtap="__e">查看</text></block></view></block></block></view></block><block wx:if="{{source=='audit'}}"><view class="self-table-td data-v-783b5b74"><block wx:if="{{item.$orig.type==2}}"><view class="self-table-td border-none data-v-783b5b74"><view class="{{['data-v-783b5b74','self-checkbox',item.g1!=-1?'self-checkbox-active':'']}}" data-id="{{item.$orig.id}}" data-event-opts="{{[['tap',[['checkCheckbox',['$event']]]]]}}" bindtap="__e"><view class="iconfont icon-queren_icon data-v-783b5b74"></view></view></view></block><block wx:else><block wx:for="{{item.l0}}" wx:for-item="item1" wx:for-index="__i9__"><view class="liveApplyItem data-v-783b5b74"><view class="{{['data-v-783b5b74','self-checkbox',item1.g2!=-1?'self-checkbox-active':'']}}" data-id="{{item1.$orig.id}}" data-event-opts="{{[['tap',[['checkCheckbox',['$event']]]]]}}" bindtap="__e"><view class="iconfont icon-queren_icon data-v-783b5b74"></view></view></view></block></block></view></block></view></block></scroll-view></view></view><block wx:if="{{data_list.length==0}}"><view class="loading_hint data-v-783b5b74">暂无订单</view></block><view style="margin-left:40rpx;" class="data-v-783b5b74"><view class="topDataItem data-v-783b5b74"><view class="label data-v-783b5b74">报销摘要:</view><text class="labelCon data-v-783b5b74">加班打车</text></view><view class="topDataItem data-v-783b5b74"><view class="label data-v-783b5b74">报销金额:</view><text class="labelCon data-v-783b5b74" style="color:#4f7eff;font-weight:bold;">{{"¥"+$root.m0}}</text></view><view class="topDataItem data-v-783b5b74" style="display:block;"><view class="label flex data-v-783b5b74" style="align-items:flex-start;"><text style="color:#FF2B2B;" class="data-v-783b5b74">*</text>图片附件:<view style="color:#FF2B2B;flex:1;" class="data-v-783b5b74">网约车需上传发票和行程单明细截图,出租车和过路费需上传小票。文件不可超过2M。</view></view><block wx:if="{{editFlag}}"><view class="flex data-v-783b5b74" style="margin-top:20rpx;"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['openFile',[index,'file_urls']]]]]}}" class="imgbox imgbox2 data-v-783b5b74" bindtap="__e"><view data-event-opts="{{[['tap',[['removeFile',[index]]]]]}}" class="iconfont icon-butongguo_icon data-v-783b5b74" catchtap="__e"></view><block wx:if="{{item.g3!=-1}}"><image src="../../static/img/pdf.png" mode="widthFix" class="data-v-783b5b74"></image></block><block wx:else><image src="{{item.$orig}}" class="data-v-783b5b74"></image></block></view></block><view data-event-opts="{{[['tap',[['uploadFileEvent',['$event']]]]]}}" class="uploadFile data-v-783b5b74" bindtap="__e">+</view></view></block><block wx:else><view class="flex data-v-783b5b74" style="margin-top:20rpx;"><block wx:for="{{$root.l3}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['openFile',[index,'file_urls']]]]]}}" class="imgbox data-v-783b5b74" bindtap="__e"><block wx:if="{{item.g4!=-1}}"><image src="../../static/img/pdf.png" mode="widthFix" class="data-v-783b5b74"></image></block><block wx:else><image src="{{item.$orig}}" mode="widthFix" class="data-v-783b5b74"></image></block></view></block></view></block></view><block wx:if="{{editFlag}}"><view class="topDataItem tMar17 flex data-v-783b5b74" style="align-items:flex-start;"><view class="label data-v-783b5b74" style="margin-top:14rpx;">备注:</view><textarea class="textarea data-v-783b5b74" placeholder-style="color:#B8B8B8" placeholder="请输入备注" data-event-opts="{{[['input',[['textareaBlur',['$event']]]]]}}" value="{{remarks}}" bindinput="__e"></textarea></view></block><block wx:else><view class="topDataItem tMar10 data-v-783b5b74"><view class="label data-v-783b5b74">备注:</view><text class="labelCon data-v-783b5b74">{{remarks?remarks:''}}</text></view></block><block wx:if="{{apply_id&&reimburse_info&&reimburse_info.status!=0}}"><view class="topDataItem tMar20 data-v-783b5b74"><view class="label data-v-783b5b74">附件:</view><view class="flex data-v-783b5b74" style="flex-wrap:wrap;"><block wx:for="{{$root.l4}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['openFile',[index]]]]]}}" class="enclosure data-v-783b5b74" catchtap="__e"><view class="iconfont icon-xiazai_icon data-v-783b5b74"></view>{{''+(item.$orig&&item.g5&&item.g6[item.g7.length-1]?item.g8[item.g9.length-1]:'附件')+''}}</view></block></view></view></block><view class="h3_title data-v-783b5b74">审批流程</view><view class="timelineBox tMar15 data-v-783b5b74"><block wx:for="{{$root.l5}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="timeLineItem data-v-783b5b74"><view class="{{['data-v-783b5b74','iconfont icon-shenpi_icon']}}" style="{{(item.$orig.execute_info&&item.$orig.execute_info.status==2?'color:#5B80F4':item.$orig.execute_info&&item.$orig.execute_info.status==3?'color:#FF2B2B':'')}}"></view><view class="timeLineContent data-v-783b5b74"><view class="contentTime data-v-783b5b74">{{index+1+'级审批'}}<block wx:if="{{item.$orig.executors&&item.$orig.executors.length!=0}}"><text class="data-v-783b5b74">{{"("+item.g10+")"}}</text></block></view><block wx:if="{{item.$orig.execute_info&&item.$orig.execute_info.executor_name}}"><view class="approver data-v-783b5b74"><view class="label data-v-783b5b74">审批人:</view>{{''+item.$orig.execute_info.executor_name+" ·\n "+(item.$orig.execute_info&&item.$orig.execute_info.status==1?'审核中':item.$orig.execute_info&&item.$orig.execute_info.status==2?'已通过':item.$orig.execute_info&&item.$orig.execute_info.status==3?'已驳回':'')+''}}</view><view class="approver data-v-783b5b74"><block wx:if="{{item.$orig.execute_info&&item.$orig.execute_info.execute_time}}"><view class="label data-v-783b5b74">审批时间:</view></block>{{''+item.$orig.execute_info.execute_time+''}}</view></block><block wx:if="{{item.$orig.execute_info&&item.$orig.execute_info.execute_remarks}}"><view class="approver data-v-783b5b74"><view class="label data-v-783b5b74">审批意见:</view><view style="flex:1;" class="data-v-783b5b74">{{item.$orig.execute_info.execute_remarks}}</view></view></block><block wx:if="{{item.$orig.execute_info&&item.$orig.execute_info.execute_file_url&&item.$orig.execute_info.execute_file_url.length>0}}"><view class="approver data-v-783b5b74"><view class="label data-v-783b5b74">附件:</view><view style="flex:1;display:flex;align-items:center;flex-wrap:wrap;" class="data-v-783b5b74"><block wx:for="{{item.$orig.execute_info.execute_file_url}}" wx:for-item="cf" wx:for-index="cfidx" wx:key="cfidx"><view class="pointer tMar5 data-v-783b5b74"><view data-event-opts="{{[['tap',[['openFile',[cfidx,'uploadFileList','$0'],[[['examine_info','',index],['execute_info.execute_file_url','',cfidx,'file_url']]]]]]]}}" class="enclosureNow data-v-783b5b74" bindtap="__e">{{cf.file_name}}</view></view></block></view></view></block></view></view></block></view><block wx:if="{{commentList&&commentList.length>0}}"><view class="h3_title data-v-783b5b74">回复</view><view class="data-v-783b5b74"><block wx:for="{{commentList}}" wx:for-item="c" wx:for-index="cidx" wx:key="id"><view class="tMar10 data-v-783b5b74"><text class="c-999 f20 rMar10 data-v-783b5b74">{{c.created_at?c.created_at:'-'}}</text><text class="f24 data-v-783b5b74">{{(c.staff_name?c.staff_name:'-')+':'}}</text><text class="f24 line18 data-v-783b5b74">{{c.comment?c.comment:'-'}}</text><block wx:if="{{c.file_url&&c.file_url.length>0}}"><view style="display:flex;align-items:center;flex-wrap:wrap;" class="data-v-783b5b74"><block wx:for="{{c.file_url}}" wx:for-item="cf" wx:for-index="cfidx" wx:key="cfidx"><view class="pointer tMar5 data-v-783b5b74"><view data-event-opts="{{[['tap',[['openFile',[cfidx,'uploadFileList','$0'],[[['commentList','id',c.id],['file_url','',cfidx,'file_url']]]]]]]}}" class="enclosureNow data-v-783b5b74" bindtap="__e">{{cf.file_name}}</view></view></block></view></block></view></block></view></block><block wx:if="{{p_id&&source=='audit'||orderStatus==1&&selfFlag}}"><view class="topDataItem tMar17 flex data-v-783b5b74" style="align-items:flex-start;position:relative;"><view class="label data-v-783b5b74" style="margin-top:14rpx;">备注:</view><textarea class="textarea data-v-783b5b74" placeholder-style="color:#B8B8B8" placeholder="请输入备注,输入@即可选择需要提醒的人" data-event-opts="{{[['input',[['__set_model',['','remarks_audit','$event',[]]],['remarks_auditBlur',['$event']]]]]}}" value="{{remarks_audit}}" bindinput="__e"></textarea><view data-event-opts="{{[['tap',[['uploadFileEventComment',['$event']]]]]}}" class="addFileCss data-v-783b5b74" bindtap="__e">添加附件</view><view hidden="{{!(showStaffList)}}" class="staffCss data-v-783b5b74"><block wx:for="{{commentStaffList}}" wx:for-item="c" wx:for-index="cidx" wx:key="staff_id"><view data-event-opts="{{[['tap',[['chooseStaff',['$0'],[[['commentStaffList','staff_id',c.staff_id]]]]]]]}}" class="flex data-v-783b5b74" bindtap="__e"><view class="data-v-783b5b74">{{c.staff_name}}</view></view></block></view></view><view class="label data-v-783b5b74" style="font-size:24rpx;color:#FF2B2B;line-height:40rpx;padding-left:80rpx;"><text class="data-v-783b5b74">*</text>不通过报销单需备注原因,@人员功能仅在回复时有效,否则将以备注内容显示.</view><block wx:if="{{uploadFileList&&uploadFileList.length>0}}"><view style="display:flex;align-items:center;flex-wrap:wrap;padding-left:80rpx;" class="data-v-783b5b74"><block wx:for="{{uploadFileList}}" wx:for-item="cf" wx:for-index="cfidx" wx:key="cfidx"><view class="pointer tMar5 data-v-783b5b74" style="display:flex;align-items:center;"><text data-event-opts="{{[['tap',[['openFile',[cfidx,'uploadFileList','$0'],[[['uploadFileList','',cfidx,'url']]]]]]]}}" class="enclosureNow data-v-783b5b74" bindtap="__e">{{cf.filename}}</text><text data-event-opts="{{[['tap',[['deleFile',[cfidx]]]]]}}" class="iconfont icon-shanchu_icon pointer lMar8 f18 data-v-783b5b74" bindtap="__e"></text></view></block></view></block></block></view><view class="buttons data-v-783b5b74"><block wx:if="{{reimburse_info&&reimburse_info.status==2}}"><view data-event-opts="{{[['tap',[['printDOM',['$event']]]]]}}" class="button button4 data-v-783b5b74" bindtap="__e">导出</view></block><block wx:if="{{p_id&&source=='audit'||orderStatus==1&&selfFlag}}"><view data-event-opts="{{[['tap',[['replyClick',['$event']]]]]}}" class="button button4 data-v-783b5b74" bindtap="__e">回 复</view></block><block wx:if="{{!p_id&&source!='audit'}}"><block wx:if="{{!failFlag&&editFlag}}"><view data-event-opts="{{[['tap',[['addSubmit',[0]]]]]}}" class="button button4 data-v-783b5b74" bindtap="__e">保 存</view></block><block wx:if="{{editFlag}}"><view data-event-opts="{{[['tap',[['addSubmit',[1]]]]]}}" class="button button2 data-v-783b5b74" bindtap="__e">提 审</view></block><block wx:if="{{failFlag&&editFlag}}"><view data-event-opts="{{[['tap',[['delReimbSubmit',['$event']]]]]}}" class="button button3 data-v-783b5b74" bindtap="__e">作废</view></block></block><block wx:else><block wx:if="{{reimburse_info&&reimburse_info.status==1&&reimburse_info.enable_examine}}"><view data-event-opts="{{[['tap',[['examineOperate',[1]]]]]}}" class="button button2 data-v-783b5b74" bindtap="__e">通过</view><view data-event-opts="{{[['tap',[['examineOperate',[2]]]]]}}" class="button button3 data-v-783b5b74" bindtap="__e">不通过</view></block></block></view><wm-watermark vue-id="e19ed7dc-1" text="{{real_name}}" class="data-v-783b5b74" bind:__l="__l"></wm-watermark></view></block>
|