完善店务员工工时与订单记录
This commit is contained in:
@@ -28,40 +28,6 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="section">
|
||||
<view class="section-title">特殊日期</view>
|
||||
<view class="card rule-card">
|
||||
<view class="field">
|
||||
<text class="field-label">日期</text>
|
||||
<picker mode="date" value="{{exceptionForm.workDate}}" bindchange="onExceptionDateChange"><view class="field-value">{{exceptionForm.workDate}}</view></picker>
|
||||
</view>
|
||||
<view class="field">
|
||||
<text class="field-label">类型</text>
|
||||
<picker range="{{exceptionTypes}}" range-key="label" value="{{exceptionTypeIndex}}" bindchange="onExceptionTypeChange"><view class="field-value">{{exceptionTypeLabel}}</view></picker>
|
||||
</view>
|
||||
<view wx:if="{{exceptionForm.exceptionType !== 'REST'}}" class="field">
|
||||
<text class="field-label">开始时间</text>
|
||||
<picker mode="time" value="{{exceptionForm.startTime}}" bindchange="onExceptionStartChange"><view class="field-value">{{exceptionForm.startTime}}</view></picker>
|
||||
</view>
|
||||
<view wx:if="{{exceptionForm.exceptionType !== 'REST'}}" class="field">
|
||||
<text class="field-label">结束时间</text>
|
||||
<picker mode="time" value="{{exceptionForm.endTime}}" bindchange="onExceptionEndChange"><view class="field-value">{{exceptionForm.endTime}}</view></picker>
|
||||
</view>
|
||||
<view class="field">
|
||||
<text class="field-label">备注</text>
|
||||
<input value="{{exceptionForm.remark}}" data-field="remark" bindinput="onExceptionInput" placeholder="可选" />
|
||||
</view>
|
||||
<button class="secondary-btn exception-btn" loading="{{saving}}" bindtap="saveException">保存特殊日期</button>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{exceptions.length}}" class="exception-list">
|
||||
<view wx:for="{{exceptions}}" wx:key="id" class="card exception-card">
|
||||
<text>{{item.summary}}</text>
|
||||
<text wx:if="{{item.remark}}" class="exception-remark">{{item.remark}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="fixed-bottom">
|
||||
<button class="primary-btn" loading="{{saving}}" bindtap="save">保存排班规则</button>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user