123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <view>
- <view class="order-detail">
- <view>
- <view class="module-wrapper">
- <view class="module-title">选择请假类型:</view>
- <picker mode="selector" bindchange="bindPickerChange" value="{{chooseLeaveTypeIndex}}" range="{{arrnameA}}">
- <view class="select-board">
- <view class="select-left">
- <view wx:if="{{arrnameA[chooseLeaveTypeIndex]=='请选择'}}">
- 点击选择
- </view>
- <view wx:else style="color:#333;">
- {{arrnameA[chooseLeaveTypeIndex]}}
- </view>
- <image mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-servant/new/icon-finger.png" wx:if="{{arrnameA[chooseLeaveTypeIndex]=='请选择'}}"></image>
- </view>
- <image class="arrow-img" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-servant/new/arrow-blue.png"></image>
- </view>
- </picker>
- </view>
- <view class="module-wrapper">
- <view class="module-title">选择请假子类:</view>
- <picker bindchange="bindPickerChangeB" value="{{chooseLeaveSubIndex}}" range="{{arrnameB}}">
- <view class="select-board">
- <view class="select-left">
- <view wx:if="{{arrnameB[chooseLeaveSubIndex]==undefined||arrnameB[chooseLeaveSubIndex]==''}}">
- 点击选择
- </view>
- <view wx:else style="color:#333;">
- {{arrnameB[chooseLeaveSubIndex]}}
- </view>
- <image mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-servant/new/icon-finger.png" wx:if="{{arrnameB[chooseLeaveSubIndex]==undefined||arrnameB[chooseLeaveSubIndex]==''}}"></image>
- </view>
- <image class="arrow-img" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-servant/new/arrow-blue.png"></image>
- </view>
- </picker>
- </view>
- <view class="module-wrapper">
- <view class="module-title">请假开始时间:</view>
- <picker mode="multiSelector" value="{{dateTimeKS}}" bindchange="changeDateTime" range="{{dateTimeArray}}">
- <view class="select-board">
- <view class="select-left">
- <view wx:if="{{leaveStartTime==''}}">
- 点击选择
- </view>
- <view wx:else style="color:#333;">
- {{leaveStartTime}}
- </view>
- <image mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-servant/new/icon-finger.png" wx:if="{{leaveStartTime==''}}"></image>
- </view>
- <image class="arrow-img" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-servant/new/arrow-blue.png"></image>
- </view>
- </picker>
- </view>
- <view class="module-wrapper">
- <view class="module-title">请假结束时间:</view>
- <picker mode="multiSelector" value="{{dateTimeJS}}" bindchange="changeDateTimeEnd" range="{{dateTimeArray}}">
- <view class="select-board">
- <view class="select-left">
- <view wx:if="{{leaveEndTime==''}}">
- 点击选择
- </view>
- <view wx:else style="color:#333;">
- {{leaveEndTime}}
- </view>
- <image mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-servant/new/icon-finger.png" wx:if="{{leaveEndTime==''}}"></image>
- </view>
- <image class="arrow-img" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-servant/new/arrow-blue.png"></image>
- </view>
- </picker>
- </view>
- <view class="module-wrapper">
- <view class="module-title">请假原因:</view>
- <view>
- <textarea class="weui-input name-input" maxlength="80" style="height: 180rpx;width:640rpx;border:2px solid #fefe; padding:10rpx;" auto-height="" placeholder="请输入原因" value="{{leaveReason}}" bindinput="bindleaveReason" />
- <view style="color: #b2b2b2; text-align: right;">{{aah}}</view>
- </view>
- </view>
-
- <view class="module-wrapper">
- <view class="weui-uploader">
- <view class="weui-uploader__hd">
- <view class="weui-uploader__title">选择凭证图片</view>
- <view class="weui-uploader__info">{{picUrls.length}}/{{files.length}}</view>
- </view>
- <view class="weui-uploader__bd">
- <view class="weui-uploader__files" id="uploaderFiles">
- <block wx:for="{{files}}" wx:key="*this">
- <view class="weui-uploader__file" bindtap="previewImage" id="{{item}}">
- <image class="weui-uploader__img" src="{{item}}" mode="aspectFill" />
- </view>
- </block>
- <view class="weui-uploader__input-box">
- <view class="weui-uploader__input" bindtap="chooseImage"></view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!--
- <view class="order-detail_i">
- <view class="order-detail_i_name"> 选择请假类型:</view>
- <view>
- <picker mode="selector" bindchange="bindPickerChange" value="{{chooseLeaveTypeIndex}}" range="{{arrnameA}}">
- <view class="picker picker-content">
- {{arrnameA[chooseLeaveTypeIndex]}}
- </view>
- </picker>
- </view>
- </view>
- <view class="order-detail_i">
- <view class="order-detail_i_name"> 选择请假子类:</view>
- <picker bindchange="bindPickerChangeB" value="{{chooseLeaveSubIndex}}" range="{{arrnameB}}">
- <view class="picker picker-content">
- {{arrnameB[chooseLeaveSubIndex]}}
- </view>
- </picker>
- </view>
- <view class="order-detail_i">
- <view class="order-detail_i_name"> 请假开始时间:</view>
- <view>
- <picker mode="multiSelector" value="{{dateTimeKS}}" bindchange="changeDateTime" range="{{dateTimeArray}}">
- <view class="picker-content">{{leaveStartTime}}</view>
- </picker>
- </view>
- </view>
- <view class="order-detail_i">
- <view class="order-detail_i_name"> 请假结束时间:</view>
- <view>
- <picker mode="multiSelector" value="{{dateTimeJS}}" bindchange="changeDateTimeEnd" range="{{dateTimeArray}}">
- <view class="picker-content">{{leaveEndTime}}</view>
- </picker>
- </view>
- </view>
- <view class="order-detail_i" style="height:208rpx">
- <view class="order-detail_i_name">请假原因:</view>
- <view>
- <textarea class="weui-input name-input" maxlength="80" style="height: 180rpx;width:500rpx;border:2px solid #fefe;" auto-height="" placeholder="请输入原因" value="{{leaveReason}}" bindinput="bindleaveReason" />
- <view style="color: #b2b2b2; text-align: right;">{{aah}}</view>
- </view>
- </view>
- <view class="weui-uploader">
- <view class="weui-uploader__hd">
- <view class="weui-uploader__title">选择凭证图片</view>
- <view class="weui-uploader__info">{{picUrls.length}}/{{files.length}}</view>
- </view>
- <view class="weui-uploader__bd">
- <view class="weui-uploader__files" id="uploaderFiles">
- <block wx:for="{{files}}" wx:key="*this">
- <view class="weui-uploader__file" bindtap="previewImage" id="{{item}}">
- <image class="weui-uploader__img" src="{{item}}" mode="aspectFill" />
- </view>
- </block>
- <view class="weui-uploader__input-box">
- <view class="weui-uploader__input" bindtap="chooseImage"></view>
- </view>
- </view>
- </view>
- </view> -->
- <!-- <view class="register-btn" bindtap="commitLeave">
- 提交
- </view> -->
- <view class="btn-wrapper">
- <view class="schedue-apply-btn" bindtap="commitLeave">
- <view>提交请假申请</view>
- <view class="tips">档期全开挣钱越多</view>
- </view>
- </view>
- </view>
- </view>
- </view>
|