diff --git a/src/view/order.vue b/src/view/order.vue
index 39c8aac..f27348a 100644
--- a/src/view/order.vue
+++ b/src/view/order.vue
@@ -290,13 +290,17 @@ const addConfigData = (data) => {
`
${item.merchant.is_trader ? '自营' : '非自营'}
`,
`
-
-
${item.orderProduct[0].cart_info.product.store_name}
+
+
+
+
${item.orderProduct[0].cart_info.product.store_name}
+
+
${item.orderProduct[0].product_num}${item.orderProduct[0].cart_info.product.unit_name}
`,
`
${item.total_price}
`,
`
${orderStatus(item.status)}
`,
- `
${item.user_address}
`,
+ `
${item.user_address_code.substring(item.user_address_code.length - 1)}队
`,
`
${payType(item.pay_type)}
`,
]
)
@@ -362,20 +366,23 @@ const addConfigData = (data) => {
`
${item.merchant.mer_name}
`,
`
${item.merchant.is_trader ? '自营' : '非自营'}
`,
`
-
-
${item.orderProduct[0].cart_info.product.store_name}
-
-
+
+
+
+
+
+
+
${item.orderProduct[0].cart_info.product.store_name}
+
${item.orderProduct[0].product_num}${item.orderProduct[0].cart_info.product.unit_name}
-
`,
`
${item.cost}
`,
`
${orderStatus(item.status)}
`,
- `
${item.user_address}
`,
+ `
${item.user_address_code.substring(item.user_address_code.length - 1)}队
`,
`
${payType(item.pay_type)}
`,
]
@@ -453,13 +460,23 @@ const addConfigData2 = (data) => {
`
${item.user.nickname}
`,
`
${item.merchant.mer_name}
`,
`
${item.merchant.is_trader ? '自营' : '非自营'}
`,
- `
${item.mer_delivery_address || '--'}
`,
+ `
${item.order.user_address_code.substring(item.order.user_address_code.length - 1) || '--'} 队
`,
`
${item.refund_price}
`,
`
+
+
+
+
+
+
+
-
- ${item.refundProduct[0].product.cart_info.product.store_name}
-
+
${item.refundProduct[0].product.cart_info.product.store_name}
+
+
+
+
+
${item.refundProduct[0].product.product_num} ${item.refundProduct[0].product.cart_info.product.unit_name}
@@ -536,16 +553,19 @@ const addConfigData2 = (data) => {
`
${item.user.nickname}
`,
`
${item.merchant.mer_name}
`,
`
${item.merchant.is_trader ? '自营' : '非自营'}
`,
- `
${item.mer_delivery_address || '--'}
`,
+ `
${item.order.user_address_code.substring(item.order.user_address_code.length - 1) || '--'} 队
`,
`
${item.refund_price}
`,
`
+
-
- ${item.refundProduct[0].product.cart_info.product.store_name}
-
+
${item.refundProduct[0].product.cart_info.product.store_name}
+
+
+
+
+
${item.refundProduct[0].product.product_num} ${item.refundProduct[0].product.cart_info.product.unit_name}
-
`,
`
@@ -631,21 +651,20 @@ const addConfigData3 = (data) => {
`,
`
核销订单
`,
- `
${item.user_address}
`,
+ `
${item.user_address_code.substring(item.user_address_code.length - 1)}队
`,
`
${item.real_name}
`,
`
${item.merchant.mer_name}
`,
`
${item.merchant.is_trader ? '自营' : '非自营'}
`,
`
-
-
${item.orderProduct[0].cart_info.product.store_name}
+
+
+
+
+
+
${item.orderProduct[0].cart_info.product.store_name}
+
-
-
${item.orderProduct[0].product_num}${item.orderProduct[0].cart_info.product.unit_name}
-
-
-
-
`,
`
${item.pay_price}
@@ -708,19 +727,20 @@ const addConfigData3 = (data) => {
`,
`
核销订单
`,
- `
${item.user_address}
`,
+ `
${item.user_address_code.substring(item.user_address_code.length - 1)}队
`,
`
${item.real_name}
`,
`
${item.merchant.mer_name}
`,
`
${item.merchant.is_trader ? '自营' : '非自营'}
`,
`
-
-
${item.orderProduct[0].cart_info.product.store_name}
-
-
-
-
${item.orderProduct[0].product_num}${item.orderProduct[0].cart_info.product.unit_name}
+
+
+
${item.orderProduct[0].cart_info.product.store_name}
+
+
+
${item.orderProduct[0].product_num}${item.orderProduct[0].cart_info.product.unit_name}
+
`,
diff --git a/src/view/storeLogin.vue b/src/view/storeLogin.vue
index e58a9db..73e69a6 100644
--- a/src/view/storeLogin.vue
+++ b/src/view/storeLogin.vue
@@ -308,7 +308,7 @@ const addData2 = (data) => {
`
`,
`
${item.store_name}
`,
`
`,
- `
${item.total}
单
+ `
${item.total}
人
`,
]
@@ -341,7 +341,6 @@ const addData3 = (data) => {
merchant_count_mainApi(
-
{ ...query }
).then((res) => {
for (let key in res.data) {
@@ -360,61 +359,8 @@ watch(
}
)
-onMounted(() => {
- // for (let i = 0; i < 20; i++) {
- // config3.data.push(
- // [
- // `
${i + 1}
`,
- // `
`,
- // `
商asdasdasdssadasdasdasd品名称
`,
- // `
`,
- // `
5495
单
- //
- //
`,
-
- // ],
-
-
- // )
- // }
- // for (let i = 0; i < 20; i++) {
- // config1.data.push(
- // [
- // `
${i + 1}
`,
- // `
`,
- // `
商品名称
`,
- // `
`,
- // `
5495
单
- //
- //
`,
-
- // ],
-
-
- // )
- // } for (let i = 0; i < 20; i++) {
- // config2.data.push(
- // [
- // `
${i + 1}
`,
- // `
`,
- // `
商品名称
`,
- // `
`,
- // `
5495
单
- //
- //
`,
-
- // ],
-
-
- // )
- // }
-
-
-
-})
-