@@ -112,15 +112,14 @@ Page({
// })
// return
// }
- if (!this.data.startTime) {
- wx.showToast({
- title: '请选择开始时间',
- icon: "error"
- })
- return
- }
+ // if (!this.data.startTime) {
+ // wx.showToast({
+ // title: '请选择开始时间',
+ // icon: "error"
+ // })
+ // return
+ // }
return true
-
},
async createVoyage() {
if (!this.checkData()) return
@@ -45,13 +45,13 @@
</view>
- <view class="df aic jcsb line">
+ <!-- <view class="df aic jcsb line">
<view>开始时间</view>
<picker mode="date" model:value="{{startTime}}" style="border: 1px solid grey;height: 80rpx;width: 50vw;padding-left: 20rpx;">
<view style="color: grey;line-height: 80rpx;background: none;">
{{startTime||'选择开始时间'}}
</picker>
- </view>
+ </view> -->
<view bindtap="createVoyage" class="next">创建航次</view>