time none8.3
This commit is contained in:
@@ -90,7 +90,7 @@ export default {
|
||||
},
|
||||
chooseDate(e) {
|
||||
// let time = e.year + '年' + e.month + '月' + e.day + '日' + e.hour + '时' + e.minute + '分'
|
||||
let time = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute
|
||||
let time = e.year + '/' + e.month + '/' + e.day + ' ' + e.hour + ':' + e.minute
|
||||
this.time = time
|
||||
},
|
||||
showToast(message, type) {
|
||||
|
||||
@@ -57,10 +57,10 @@
|
||||
<view class="order-view order-area" @click="showAddress=true">
|
||||
<view class="title">省市区:</view>
|
||||
<input type="text" v-model="area" disabled />
|
||||
<view class="location">
|
||||
<!-- <view class="location">
|
||||
<image src="../static/mine/28.png"></image>
|
||||
<view>定位</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="order-view order-address">
|
||||
<view class="title">详细地址:</view>
|
||||
@@ -113,10 +113,10 @@
|
||||
<view class="order-view order-area" @click="showAddress=true">
|
||||
<view class="title">省市区:</view>
|
||||
<input type="text" v-model="area" disabled />
|
||||
<view class="location">
|
||||
<!-- <view class="location">
|
||||
<image src="../static/mine/28.png"></image>
|
||||
<view>定位</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="order-view order-address">
|
||||
<view class="title">详细地址:</view>
|
||||
@@ -248,8 +248,8 @@ export default {
|
||||
},
|
||||
onShow() {
|
||||
this.debounce = true;
|
||||
this.current = 0;
|
||||
this.swiperCurrent = 0;
|
||||
// this.current = 0;
|
||||
// this.swiperCurrent = 0;
|
||||
this.showPopup = false;
|
||||
this.choose = false;
|
||||
},
|
||||
@@ -313,7 +313,7 @@ export default {
|
||||
}
|
||||
}
|
||||
if(this.current == 0) {
|
||||
if(JSON.stringify(this.checkedGoods) != '{}') {
|
||||
if(JSON.stringify(this.checkedGoods) == '{}') {
|
||||
this.showToast('订单不能为空', 'warning');
|
||||
return false;
|
||||
}
|
||||
@@ -322,7 +322,7 @@ export default {
|
||||
this.showToast('衣服状况不能为空', 'warning');
|
||||
return false;
|
||||
}
|
||||
if(JSON.stringify(this.type) != '{}') {
|
||||
if(JSON.stringify(this.type) == '{}') {
|
||||
this.showToast('商品类型不能为空', 'warning');
|
||||
return false;
|
||||
}
|
||||
@@ -349,7 +349,7 @@ export default {
|
||||
return true;
|
||||
},
|
||||
confirmSend() {
|
||||
if(!this.validationParams) return false;
|
||||
if(!this.validationParams()) return false;
|
||||
let params = {
|
||||
tid: this.type.value,
|
||||
member_name: this.name,
|
||||
@@ -655,6 +655,7 @@ export default {
|
||||
.radio-view {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 20rpx;
|
||||
.radio {
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user