+
已退款
+
-
-
{{ item.zdNo || "pos" }}
+
+
{{ item.zdNo || "pos" }}
@@ -18,8 +21,8 @@
{{ item.orderNo }}
- {{item.names && item.names[0] }}
- 等{{ item.names && item.names.length }}项
+ {{ item.names && item.names[0] }}
+ {{ item.names && item.names.length }}项
@@ -45,8 +48,8 @@ const props = defineProps({
ordereData: {
type: Object,
default: {
- list:[{
- names:[]
+ list: [{
+ names: []
}]
}
}
@@ -70,14 +73,30 @@ const clickitemboxshow = (e) => {
border-radius: 6px;
display: flex;
justify-content: space-between;
- // background: #eeeeee;
border-bottom: 1px solid #ccc;
+ position: relative;
+ .demo_tabs_boxitem_oneyt {
+ position: absolute;
+ top: 20%;
+ transform: translate(-50%, 0);
+ transform: rotate(45deg);
+ right: 200px;
+ display: inline-block;
+ border: 3px solid red;
+ color: red;
+ font-weight: bold;
+ border-radius: 6px;
+ text-align: center;
+ padding: 10px 6px;
+ }
.demo_tabs_boxitem_one {
display: flex;
justify-content: flex-start;
flex-shrink: 0;
+
+
.demo_tabs_boxitem_oneone {
display: flex;
margin-left: 20px;
diff --git a/src/views/order/index.vue b/src/views/order/index.vue
index a821ce7..1ad2373 100644
--- a/src/views/order/index.vue
+++ b/src/views/order/index.vue
@@ -15,14 +15,14 @@
@current-change="handleCurrentChange" />
-
+
暂无数据
-
+
暂无数据
收银员:{{ orderDetaildata.userName }}
- 创建时间:{{ orderDetaildata.createdAt }}
+ 创建时间:{{dayjs( orderDetaildata.createdAt).format("YYYY-MM-DD HH:mm:ss") }}
终端:{{ orderDetaildata.zdNo }}
@@ -80,21 +80,22 @@
-
{{ item.productName }}-{{ item.productSkuName }}号商品
+
{{ item.productName }}-{{ item.productSkuName }}
{{ item.num }}
{{ item.price }}
-
{{ item.priceAmount }}
+
已退
+
{{ item.priceAmount }}
@@ -161,7 +162,7 @@
单号:{{ orderDetaildata.orderNo }}
- 下单时间:{{ orderDetaildata.createdAt }}
+ 下单时间:{{ dayjs(orderDetaildata.createdAt).format("YYYY-MM-DD HH:mm:ss") }}
金额:¥{{ orderDetaildata.orderAmount }}
@@ -249,6 +250,7 @@ const payreturnOrderclick = async () => {
await payreturnOrder(arr)
changechecked.value = false
recharge.value = false
+ ElMessage.error('退款成功!')
asyncorderfindOrder()
} else {
ElMessage.error('以没有退款项目!')
@@ -722,7 +724,7 @@ onMounted(() => {
.tableDataclass {
width: 100%;
overflow: auto;
- height: 75%;
+ height: 80%;
.orderbox_right_item {
margin-top: 6px;
@@ -740,6 +742,7 @@ onMounted(() => {
bottom: 16px;
.orderbox_right_buttonbutton {
+ margin-top: 10px;
display: flex;
justify-content: space-between;
align-items: center;