¥{{ totalPrice.productTotal }}¥{{ info.total_money / 100 }}
¥{{ totalPrice.shippingFee }}¥{{ info.total_post_fee / 100 }}
¥{{ totalPrice.actualPayment }}¥{{ info.paid_money / 100 }}
@@ -183,24 +198,7 @@ export default {
paymentStatus: "已支付",
paymentTime: "2025-08-01 15:35:00",
},
- productList: [
- {
- name: "商品1",
- spec: "规格1",
- price: 100,
- quantity: 1,
- subtotal: 100,
- image: "https://picsum.photos/200/200?random=1",
- },
- {
- name: "商品2",
- spec: "规格2",
- price: 200,
- quantity: 2,
- subtotal: 400,
- image: "https://picsum.photos/200/200?random=1",
- },
- ],
+ productList: [],
totalPrice: {
productTotal: 500,
shippingFee: 0,
@@ -222,6 +220,11 @@ export default {
"/api/order/query"
).then((res) => {
this.info = res.data;
+ this.productList = this.info.order_product_list;
+ this.info.order_product_list.forEach((item) => {
+ if (item.product_model === "post" && item.consignee_info)
+ item.consignee_info = JSON.parse(item.consignee_info);
+ });
});
// 订单流程记录
@@ -258,7 +261,7 @@ export default {
display: flex;
flex-direction: column;
align-items: center;
- justify-content: space-between;
+ justify-content: space-around;
.order-no {
color: #999;
.el-button {
@@ -309,12 +312,12 @@ export default {
color: #666;
font-weight: bold;
font-size: 14px;
- margin-top: -70px;
+ margin-top: 20px;
}
.process-description {
color: #666;
font-size: 12px;
- margin-top: 45px;
+ // margin-top: 45px;
}
::v-deep .is-finish .el-step__icon {
background: #67c23a;
diff --git a/src/views/User/ContractList.vue b/src/views/User/ContractList.vue
index 548b19f..ba19df7 100644
--- a/src/views/User/ContractList.vue
+++ b/src/views/User/ContractList.vue
@@ -1,27 +1,38 @@
-
+
说明:
1.订单提交成功,系统将根据订单内容自动为您创建交易合同。
2.您可直接“下载合同模板”,线下邮寄盖章使用。
-
-
+
-
+
-
+
-
+
- 搜索
+ 搜索
重置
@@ -42,453 +58,407 @@
-
-
-
-
-
-
-
-
- 查看
- 下载合同模板
-
-
-
-
-
-
+
+
+
+
+
+
+
![]()
+
+ {{ scope.row.product_title }}
+ {{
+ scope.row.child_order_num > 1
+ ? "等" + scope.row.child_order_num + "款"
+ : ""
+ }}
+
+
+
+
+
+
+
+
+
+ 下载合同模板
+
+
+
+
+
+
diff --git a/src/views/User/Index.vue b/src/views/User/Index.vue
index 0f25887..e12e95f 100644
--- a/src/views/User/Index.vue
+++ b/src/views/User/Index.vue
@@ -27,7 +27,7 @@ export default {
// {title: '我的收藏' ,path:""},
- {title: '我的足迹',path:"/User/ViewHistory" },
+ // {title: '我的足迹',path:"/User/ViewHistory" },
{title: '消息中心',path:"/User/MessageList" },
{title: '个人信息',path:"/User/UserInfo" },
{title: '采购人信息',path:"/User/PurchaserAdd" },
diff --git a/src/views/User/OrderList.vue b/src/views/User/OrderList.vue
index 647c2b7..37113d8 100644
--- a/src/views/User/OrderList.vue
+++ b/src/views/User/OrderList.vue
@@ -1,12 +1,12 @@
-
+
@@ -40,7 +40,7 @@
@@ -228,9 +228,10 @@ export default {
start_date: "",
end_date: "",
total: 1,
+ state: ''
},
typeList: [
- { name: "全部", id: "ALL" },
+ { name: "全部", id: "" },
{ name: "待付款", id: "WAIT_PAYMENT" },
{ name: "待发货", id: "WAIT_POST" },
{ name: "待使用/出行", id: "WAIT_USE" },
@@ -260,10 +261,25 @@ export default {
},
// 搜索
- search() {},
+ search() {
+ this.filterForm.currentPage = 1
+ this.getList()
+ },
// 重置
- reset() {},
+ reset() {
+ this.filterForm = {
+ keywords: "",
+ currentPage: 1,
+ limit: 10,
+ order_id: "",
+ createTime: null,
+ start_date: "",
+ end_date: "",
+ total: 1,
+ }
+ this.getList()
+ },
// 分页大小改变
handleSizeChange(val) {
diff --git a/src/views/User/UserCenter.vue b/src/views/User/UserCenter.vue
index a67b026..f66c2eb 100644
--- a/src/views/User/UserCenter.vue
+++ b/src/views/User/UserCenter.vue
@@ -9,38 +9,44 @@
-
+
-
-
+
+
{{ item.title }}
- 去设置
+ 去设置
-
+
个人信息
-
![用户头像]()
+
-
{{ userInfo.nickname }}
-
- ID: {{ userInfo.user_id }}
- 复制
-
-
手机号: {{ userInfo.mobile }}
+
{{ userInfo.nickname }}
+
+ ID: {{ userInfo.user_id }}
+ 复制
+
+
手机号: {{ userInfo.mobile }}
-
当前登录信息
@@ -57,22 +63,25 @@
-
+
编辑个人信息
-
-
-
+
-