修改技师项目 下单

This commit is contained in:
Mr.jiang 2024-06-26 14:26:33 +08:00
parent f5ac5466a4
commit 41fbd2c76d
3 changed files with 17 additions and 13 deletions

View File

@ -386,8 +386,6 @@
});
},
liliaoshi(){
// this.$queue.setData('taocanDd', '2');
uni.setStorage({
key: 'taocanDd',
data: '支付',

View File

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

View File

@ -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"
})
}