修改技师项目 下单
This commit is contained in:
parent
f5ac5466a4
commit
41fbd2c76d
|
@ -386,8 +386,6 @@
|
|||
});
|
||||
},
|
||||
liliaoshi(){
|
||||
// this.$queue.setData('taocanDd', '2');
|
||||
|
||||
uni.setStorage({
|
||||
key: 'taocanDd',
|
||||
data: '支付',
|
||||
|
|
|
@ -315,22 +315,22 @@
|
|||
},
|
||||
methods: {
|
||||
// 获取明天的日期字符串
|
||||
getTomorrowDate() {
|
||||
getTomorrowDate() {
|
||||
const now = new Date();
|
||||
const tomorrow = new Date(now.getFullYear(), now.getMonth(), now.getDate() + 1);
|
||||
return this.formatDate(tomorrow);
|
||||
},
|
||||
// 将日期对象格式化为YYYY-MM-DD字符串
|
||||
formatDate(date) {
|
||||
},
|
||||
// 将日期对象格式化为YYYY-MM-DD字符串
|
||||
formatDate(date) {
|
||||
const year = date.getFullYear();
|
||||
const month = this.padStart(date.getMonth() + 1);
|
||||
const day = this.padStart(date.getDate());
|
||||
return `${year}-${month}-${day}`;
|
||||
},
|
||||
// 补齐日期字符串,确保月份和日期为两位数
|
||||
padStart(num) {
|
||||
},
|
||||
// 补齐日期字符串,确保月份和日期为两位数
|
||||
padStart(num) {
|
||||
return num < 10 ? '0' + num : num;
|
||||
},
|
||||
},
|
||||
openpay() {//验证
|
||||
if(this.single=='2024-06-19'){
|
||||
uni.showToast({
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
</u-tabs>
|
||||
<view v-if="fwIndex == 0&&XCXIsSelect !='否'" class="tab ">
|
||||
<view class="xiangmu" v-for="(item,index) in artificerlist"
|
||||
:key="index" @click="goNav(item.massageTypeId,classifyId)">
|
||||
:key="index" @click="goNav(item)">
|
||||
<image class="xiangmu-img" :src="item.massageImg" mode=""></image>
|
||||
<view class="xiangmu-cont">
|
||||
<view class="xiangmu-cont-top">
|
||||
|
@ -539,9 +539,15 @@
|
|||
icon: 'none'
|
||||
})
|
||||
} else {
|
||||
var data={
|
||||
massageTypeId:massageTypeId,
|
||||
tripWay:this.order.tripWay,
|
||||
artificerId:this.order.artificerId,
|
||||
artificerName:this.order.artificerName
|
||||
}
|
||||
this.$queue.setData('getJishi',data)
|
||||
uni.navigateTo({
|
||||
url: "/pages/index/order/orderDet?massageTypeId=" + massageTypeId + '&artificerId=' + this
|
||||
.artificerId + '&tripWay=' + this.tripWay + '&classifyId=' + this.classifyId
|
||||
url: "/my/order/payModify"
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue