提交更改

This commit is contained in:
952108534@qq.com
2022-01-21 23:32:15 +08:00
parent e1e67e9ae2
commit 38792ccbd6
5 changed files with 749 additions and 669 deletions

View File

@@ -14,7 +14,7 @@
{{ item.title }}
</span>
</div>
<div class="online bold"></div>
<div class="online bold" style="height:8px;margin-top:0"></div>
<div class="rc-userheader">
<span v-for="(item, index) in message" :key="index">
{{ item.title }}
@@ -54,7 +54,7 @@
</div>
<div class="rc-userbottom">
<span>数量:{{ item.pcs }}</span>
<i>{{ item.salesAmount }}</i>
<i>{{ }}</i>
</div>
<div class="rc-userbottomm">
<i>{{ item.userprice }}</i>
@@ -68,11 +68,11 @@
<span @click="userfind()">查看订单</span>
</div>
</div>
<div class="online"></div>
<div class="online" style="display:none"></div>
<div class="rc-usermain rc-price">
<div class="rc-price priceleft">
<span>数量:</span>
<em>1件商品</em>
<em>{{item.lengthnum}}件商品</em>
</div>
<div class="rc-price priceright">
<strong>总计:</strong>
@@ -106,6 +106,9 @@
}}</span>
</div>
</div>
<div class="online bold"></div>
</div>
</div>
</div>
@@ -262,23 +265,27 @@ export default {
this.useralllist[i].orderNumber = this.goldmedal[i].orderNumber;
this.useralllist[i].status = this.goldmedal[i].status;
this.useralllist[i].salesAmount = this.goldmedal[i].salesAmount;
this.useralllist[i].lengthnum=this.goldmedal[i].orderDetailList.length
}
console.log(this.useralllist);
},
async canceldanhao(orderNumber) {
let data = await canceldanhao(orderNumber);
let data = await canceldanhao(this.userdata,orderNumber);
if (data) {
this.$message({
type: "warning",
message: "取消订单成功",
});
this.indet(this.userdata.data.mobile);
setTimeout(() => {
this.indet();
}, 500);
}
},
userpay(item, index) {
console.log(item)
if (item.status == 0) {
this.canceldanhao(item.orderNumber);
}
@@ -289,13 +296,14 @@ export default {
stype: 1,
},
});
} else if (item.buttontitle == "再次购买") {
this.$router.push({
path: "/myorder/userrecord",
query: {
stype: 1,
},
});
} else if (item.status == 3) {
this.$router.push({
path: "/productdetails/producted",
query: {
stype: 1,
productCode:item.productId
},
});
}
},
selectGoods(item, index) {