-
+
{{ row.username }}
{{ row.userMobile }}
@@ -198,65 +187,42 @@
-
+
打印发票
-
+
购物车
-
+
钱包明细
-
+
订单详情
-
+
编辑
+ v-if="!row.payRefundId && row.orderType !== '5' && !['5', '6', '8'].includes(row.payType)"
+ icon="stamp" text type="primary" v-auth="'hard_hardAfterSale_adminRefund'"
+ @click="adminRefundDailogRef.openDialog(row.id)">
退款
-
+
删除
-
+
@@ -412,36 +378,36 @@ const getSummaries = (param: SummaryMethodProps) => {
}
if (column.property === "paymentInformation") {
const priceVNode: VNode[] & string[] = []
- ;[
- { column: "totalPrice", columnName: "商品总价", color: "#67C260" },
- { column: "extraPrice", columnName: "额外支付", color: "#F56E9B" },
- { column: "payPrice", columnName: "实际支付", color: "#355CF6" },
- ].forEach(({ column, columnName, color }: any, index: number) => {
- const values = data.map((item) => Number(item[column]))
- if (!values.every((value) => Number.isNaN(value))) {
- priceVNode.push(
- h("div", {}, [
- h("span", { style: { marginRight: "40px", minWidth: "60px", fontWeight: "bold" } }, [columnName]),
- h("span", { style: { color, minWidth: "50px", flex: 1 } }, [
- displayPrice(
- values.reduce((prev, curr) => {
- const value = Number(curr)
- if (!Number.isNaN(value)) {
- return prev + curr
- } else {
- return prev
- }
- }, 0),
- "元",
- 2,
- ),
+ ;[
+ { column: "totalPrice", columnName: "商品总价", color: "#67C260" },
+ { column: "extraPrice", columnName: "额外支付", color: "#F56E9B" },
+ { column: "payPrice", columnName: "实际支付", color: "#355CF6" },
+ ].forEach(({ column, columnName, color }: any, index: number) => {
+ const values = data.map((item) => Number(item[column]))
+ if (!values.every((value) => Number.isNaN(value))) {
+ priceVNode.push(
+ h("div", {}, [
+ h("span", { style: { marginRight: "40px", minWidth: "60px", fontWeight: "bold" } }, [columnName]),
+ h("span", { style: { color, minWidth: "50px", flex: 1 } }, [
+ displayPrice(
+ values.reduce((prev, curr) => {
+ const value = Number(curr)
+ if (!Number.isNaN(value)) {
+ return prev + curr
+ } else {
+ return prev
+ }
+ }, 0),
+ "元",
+ 2,
+ ),
+ ]),
]),
- ]),
- )
- } else {
- priceVNode.push("NaN")
- }
- })
+ )
+ } else {
+ priceVNode.push("NaN")
+ }
+ })
sums[index] = h("div", { style: {} }, [...priceVNode])
} else {
sums[index] = ""
diff --git a/src/views/wallet/wallet-recharge-apply/preview-excel.vue b/src/views/wallet/wallet-recharge-apply/preview-excel.vue
index b0f9179..5ae90ef 100644
--- a/src/views/wallet/wallet-recharge-apply/preview-excel.vue
+++ b/src/views/wallet/wallet-recharge-apply/preview-excel.vue
@@ -3,28 +3,16 @@
-
+
-
-
-
-
-
+
+
+
+
+
@@ -32,22 +20,15 @@
{{ displayPrice(row.currentImport_price) }}
-
+
{{ displayPrice(row.afterBalance) }}
(余额不足记账扣款)
-
-
-
+
-
+