mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-16 23:53:48 +08:00
提交更改
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user