<wxs module="format" src="/utils/format.wxs"></wxs> <view class="header_title"> <view class="header_title_row"> <van-row> <van-col span="4"> <view class="header_img" bindtap="returnToPage"> <image src="/images/left.png"></image> </view> </van-col> <van-col span="15"> <view class="header_name">修改审批申请</view> </van-col> </van-row> </view> </view> <view class="max_content"> <van-steps steps="{{ stepList }}" active="{{ active }}" rejectNode="{{ active<100 && rejectNode ? active+1:0 }}" /> <project-select init="{{initData}}" bindchange="onProjectSelect"></project-select> <view class="inspect_overview inspect_overview_max"> <view class="gk_open"> <van-collapse value="{{activeName}}" bind:change="onChange"> <van-collapse-item title="审批日志" name="logs"> <view class="inspect_list"> <view class="inspect_for" wx:for="{{flowRecordList}}" wx:key="index"> <view class="inspect_for_bgd"> <view class="inspect_list_title"> <view class="inspect_list_title_label inspect_list_title_width"> <view class="inspect_list_title_number">{{(flowRecordList.length-index) < 9 ?'0'+(flowRecordList.length-index):(flowRecordList.length-index)}}</view> <view class="module_title module_title_flex inspect_list_title_text">{{item.taskName}} <text wx:if="{{item.commentResult=='通过'}}" class="timeline_for_state_1 color_green">{{item.commentResult}}</text> <text wx:if="{{item.commentResult=='委派'}}" class="timeline_for_state_1 color_blue">{{item.commentResult}}</text> <text wx:if="{{item.commentResult=='转办'}}" class="timeline_for_state_1 color_blue">{{item.commentResult}}</text> <text wx:if="{{item.commentResult=='驳回'}}" class="timeline_for_state_2 color_purple">{{item.commentResult}}</text> <text wx:if="{{item.commentResult=='退回'}}" class="timeline_for_state_2 color_purple">{{item.commentResult}}</text> </view> </view> </view> <view class="inspect_list_info gk_open_con"> <view wx:if="{{item.assigneeName}}"> <image src="/images/lw_3.png"></image>办理用户:<text>{{item.assigneeName}}</text> </view> <view wx:if="{{item.assigneeName}}"> <image src="/images/s_1.png"></image>办理单位:<text class="color_blue">{{item.deptName}}</text> </view> <view wx:if="{{item.candidate}}"> <image src="/images/s_2.png"></image>候选办理:<text>{{item.candidate}}</text> </view> <view wx:if="{{item.deleteReason}}"> <image src="/images/s_18.png"></image>驳回节点:<text>{{item.deleteReason}}</text> </view> <view> <image src="/images/s_6.png"></image>接收时间:<text>{{item.startTime}}</text> </view> <view wx:if="{{item.endTime}}"> <image src="/images/lw_8.png"></image>处理时间:<text>{{item.endTime}}</text> </view> <view wx:if="{{item.duration}}"> <image src="/images/img_11.png"></image>处理耗时:<text>{{item.duration}}</text> </view> <view wx:if="{{item.message}}"> <image src="/images/s_7.png"></image>处理意见:<text>{{item.message}}</text> </view> </view> </view> </view> </view> </van-collapse-item> </van-collapse> </view> </view> <view class="inspect_info"> <view class="inspect_info_list"> <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">使用单位</view> <view class="inspect_info_content"> <voucher-select columns="{{deptList}}" placeholder="请选择使用单位" selectValue="{{infoData.deptId}}" bindchange="onSelectDept"></voucher-select> </view> </view> <view class="inspect_info_list"> <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">使用时间</view> <view class="inspect_info_content"> <voucher-date counts="5" placeholder="请选择使用时间" maxDate="{{maxDate}}" bindchange="onInputTime" time="{{format.dateStr(infoData.createTime)}}"></voucher-date> </view> </view> <view class="inspect_info_list"> <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">申请原因</view> <view class="inspect_info_content"> <textarea class="add_textarea" placeholder="请填写申请原因(500字内)" placeholder-style="color:#6777aa;" maxlength="500" bindinput="applyReasonblur" model:value="{{infoData.applyReason}}" /> </view> </view> <view class="inspect_info_list" style="width: 100%;"> <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">申请图片 <text style="font-size: small;">[其它格式文件请截图上传、电脑端上传]</text> </view> <view class="inspect_info_content"> <file-uploader bindimages="imgUpload" limit="{{limit}}" fileUrlArray="{{minImageList}}"></file-uploader> </view> </view> <view class="inspect_info_list" style="width: 100%;" wx:if="{{fileNames.length>0}}"> <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">申请文件 <text style="font-size: small;">[仅可上传pdf、doc、docx、xls、xlsx]</text> </view> <view class="inspect_info_content"> <file-uploader-all bindfiles="fileUpload" limit="{{limit}}" fileUrlArray="{{fileNames}}"></file-uploader-all> </view> </view> </view> <view> <view class="inspect_info" wx:for="{{detailDataList}}" wx:key="index"> <view class="module_title module_title_flex"> <view class="text_active">申请明细 {{ format.indexNumFormat(index) }}</view> <view class="module_see_info_delete" wx:if="{{index != 0}}" bindtap="delApplyDetail" data-index="{{index}}"> <van-icon name="delete" /> 删除 </view> </view> <view class="inspect_info_list"> <input placeholder="请选择申请明细" placeholder-style="color:#6777aa;" class="inspect_input_fill_in" value="{{item.showDetailsName}}" data-index="{{index}}" bindtap="onShowPopup" disabled="disabled" /> <van-popup show="{{ item.showDetailsPopup }}" data-index="{{index}}" bind:close="onClosePopup" position="bottom" round="5"> <van-tree-select items="{{ dataList }}" main-active-index="{{ item.mainActiveIndex }}" active-id="{{ item.activeId }}" data-index="{{index}}" bind:click-nav="onClickNav" bind:click-item="onClickItem"> </van-tree-select> </van-popup> </view> <view class="inspect_info_list"> <van-row> <van-col span="12"> <input type="number" placeholder="填写申请数量" placeholder-style="color:#6777aa;" class="inspect_input_fill_in" value="{{item.applyNumber}}" data-index="{{index}}" bindinput="onInputNumber" /> </van-col> <van-col span="12"> <voucher-select columns="{{item.assetsUnits}}" placeholder="选择单位名称" selectValue="{{item.useUnitIndex}}" data-index="{{index}}" bindchange="onSelectUnit"></voucher-select> </van-col> </van-row> </view> <view class="inspect_info_list" wx:if="{{category=='wzl'}}"> <input placeholder="请填写规格型号" placeholder-style="color:#6777aa;" class="inspect_input_fill_in" value="{{item.assetsVersion}}" bindinput="onInputVersion" data-index="{{index}}" maxlength="32" /> </view> <view class="inspect_info_list"> <textarea placeholder="请填写使用说明(500字内)" placeholder-style="color:#6777aa;" class="add_textarea" value="{{item.useReason}}" bindinput="onInputUseReason" data-index="{{index}}" maxlength="500" /> </view> </view> </view> <view class="inspect_new_issues_max"> <view class="inspect_new_issues" bindtap="newApplyDetail"> <van-icon name="add-o" style="position: relative;top:5rpx;font-size: 30rpx;" /> 添加申请明细 </view> </view> <view wx:if="{{stopBtnShow}}"> <view class="inspect_info"> <view class="inspect_overview_list"> <view class="inspect_overview_title" style="padding: 20rpx 0 10rpx;">终止原因</view> <view class="inspect_overview_content"> <textarea class="add_textarea" placeholder="请填写终止原因(500字内)" placeholder-style="color:#6777aa;" maxlength="500" bindinput="commentblur" /> </view> </view> </view> </view> <view class="problem_submit_to"> <view class="problem_submit_to_btn" bindtap="cancelSaveView">取消</view> <view wx:if="{{stopShow}}" class="problem_submit_to_btn problem_submit_to_delete" bindtap="onStopApply">终止申请</view> <view class="problem_submit_to_btn problem_submit_to_save" bindtap="onSaveApply">提交申请</view> </view> </view>