time none8.3

This commit is contained in:
2020-08-03 20:59:24 +08:00
parent f63594706f
commit 0a52842e35
10 changed files with 116 additions and 95 deletions

View File

@@ -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) {

View File

@@ -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;
}