Commit d2981426 by zhangxw

督导带教任务类型联调修改

1 parent 44f10de9
...@@ -374,7 +374,7 @@ Page({ ...@@ -374,7 +374,7 @@ Page({
this.setData({ this.setData({
dateShow: false, dateShow: false,
currentDate: selectedDate, currentDate: selectedDate,
['orderObj.teachingTime']: dayjs(selectedDate).format('YYYY-MM-DD HH:mm') ['orderObj.teachingTime']: dayjs(selectedDate).format('YYYY-MM-DD')
}); });
}, },
onChange(event) { onChange(event) {
......
...@@ -101,5 +101,5 @@ ...@@ -101,5 +101,5 @@
</view> </view>
<select-popup show="{{ showSelectPopup }}" options="{{ selectOptions }}" multiple="{{selectMultiple}}" values="{{ selectValues }}" value="{{ selectValue }}" bindconfirm="handlePopupConfirm" labelKey="{{labelKey}}" valueKey="{{valueKey}}" height="{{selectPopupHeight}}" title="{{selectTitle}}" allowSearch="{{true}}" bindcancel="hideSelectPopup"></select-popup> <select-popup show="{{ showSelectPopup }}" options="{{ selectOptions }}" multiple="{{selectMultiple}}" values="{{ selectValues }}" value="{{ selectValue }}" bindconfirm="handlePopupConfirm" labelKey="{{labelKey}}" valueKey="{{valueKey}}" height="{{selectPopupHeight}}" title="{{selectTitle}}" allowSearch="{{true}}" bindcancel="hideSelectPopup"></select-popup>
<popup bindcancel="cancel" bindconfirm="confirm" wx:if="{{dateShow}}" show="{{dateShow}}" title="时间选择" height="60vh"> <popup bindcancel="cancel" bindconfirm="confirm" wx:if="{{dateShow}}" show="{{dateShow}}" title="时间选择" height="60vh">
<van-datetime-picker id="datePicker" show-toolbar="{{false}}" model:value="{{ currentDate }}" bind:change="onChange" bind:input="onInput" /> <van-datetime-picker id="datePicker" show-toolbar="{{false}}" type="date" model:value="{{ currentDate }}" bind:change="onChange" bind:input="onInput" />
</popup> </popup>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!