| 1 |
- {"remainingRequest":"D:\\front\\item\\zyAdmin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\front\\item\\zyAdmin\\src\\pages\\order\\invoice\\orderDetall.vue?vue&type=style&index=0&id=727b1f25&lang=scss&scoped=true","dependencies":[{"path":"D:\\front\\item\\zyAdmin\\src\\pages\\order\\invoice\\orderDetall.vue","mtime":1761614939043},{"path":"D:\\front\\item\\zyAdmin\\node_modules\\css-loader\\index.js","mtime":1761614929364},{"path":"D:\\front\\item\\zyAdmin\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":1761614937403},{"path":"D:\\front\\item\\zyAdmin\\node_modules\\postcss-loader\\src\\index.js","mtime":1761614935133},{"path":"D:\\front\\item\\zyAdmin\\node_modules\\sass-loader\\dist\\cjs.js","mtime":1761614936391},{"path":"D:\\front\\item\\zyAdmin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1761614927801},{"path":"D:\\front\\item\\zyAdmin\\node_modules\\vue-loader\\lib\\index.js","mtime":1761614937402}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:DQoub3JkZXJfZGV0YWlsIHsNCiAgLm1zZy1ib3ggew0KICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCAjZThlYWVkOw0KDQogICAgLmJveC10aXRsZSB7DQogICAgICBwYWRkaW5nLXRvcDogMjBweDsNCiAgICAgIGZvbnQtc2l6ZTogMTVweDsNCiAgICAgIGZvbnQtd2VpZ2h0OiA1MDA7DQogICAgICBjb2xvcjogIzMwMzEzMzsNCiAgICAgIGxpbmUtaGVpZ2h0OiAxNXB4Ow0KICAgIH0NCg0KICAgIC5tc2ctd3JhcHBlciB7DQogICAgICBtYXJnaW4tdG9wOiAxNXB4Ow0KICAgICAgcGFkZGluZy1ib3R0b206IDEwcHg7DQoNCiAgICAgIC5tc2ctaXRlbSB7DQogICAgICAgIGRpc3BsYXk6IGZsZXg7DQoNCiAgICAgICAgLml0ZW0gew0KICAgICAgICAgIGZsZXg6IDE7DQogICAgICAgICAgbWFyZ2luLWJvdHRvbTogMTVweDsNCiAgICAgICAgICBjb2xvcjogIzYwNjI2NjsNCiAgICAgICAgICBmb250LXNpemU6IDEzcHg7DQogICAgICAgICAgc3BhbiB7DQogICAgICAgICAgICBmb250LXNpemU6IDEzcHg7DQogICAgICAgICAgICBmb250LXdlaWdodDogNDAwOw0KICAgICAgICAgICAgY29sb3I6ICM5MDkzOTk7DQogICAgICAgICAgfQ0KICAgICAgICB9DQogICAgICB9DQogICAgfQ0KDQogICAgJjpmaXJzdC1jaGlsZCAuYm94LXRpdGxlIHsNCiAgICAgIHBhZGRpbmctdG9wOiAwOw0KICAgIH0NCiAgfQ0KDQogIC5wcm9kdWN0X2luZm8gew0KICAgIGRpc3BsYXk6IGZsZXg7DQogICAgYWxpZ24taXRlbXM6IGNlbnRlcjsNCg0KICAgIGltZyB7DQogICAgICB3aWR0aDogMzZweDsNCiAgICAgIGhlaWdodDogMzZweDsNCiAgICAgIGJvcmRlci1yYWRpdXM6IDRweDsNCiAgICAgIG1hcmdpbi1yaWdodDogMTBweDsNCiAgICB9DQogIH0NCn0NCg=="},{"version":3,"sources":["orderDetall.vue"],"names":[],"mappings":";AA+HA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"orderDetall.vue","sourceRoot":"src/pages/order/invoice","sourcesContent":["<template>\r\n <div class=\"order_detail\" v-loading=\"spinShow\" v-if=\"orderDetail.userInfo\">\r\n <div class=\"msg-box\">\r\n <div class=\"box-title\">收货信息</div>\r\n <div class=\"msg-wrapper\">\r\n <div class=\"msg-item\">\r\n <div class=\"item\"><span>用户昵称:</span>{{ orderDetail.userInfo.nickname }}</div>\r\n <div class=\"item\"><span>收货人:</span>{{ orderDetail.orderInfo.real_name }}</div>\r\n </div>\r\n <div class=\"msg-item\">\r\n <div class=\"item\"><span>联系电话:</span>{{ orderDetail.orderInfo.user_phone }}</div>\r\n <div class=\"item\"><span>收货地址:</span>{{ orderDetail.orderInfo.user_address }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"msg-box\" style=\"border: none\">\r\n <div class=\"box-title\">订单信息</div>\r\n <div class=\"msg-wrapper\">\r\n <div class=\"msg-item\">\r\n <div class=\"item\"><span>订单ID:</span>{{ orderDetail.orderInfo.order_id }}</div>\r\n <div class=\"item\" style=\"color: red\">\r\n <span style=\"color: red\">订单状态:</span>{{ orderDetail.orderInfo._status._title }}\r\n </div>\r\n </div>\r\n <div class=\"msg-item\">\r\n <div class=\"item\"><span>商品总数:</span>{{ orderDetail.orderInfo.total_num }}</div>\r\n <div class=\"item\">\r\n <span>商品总价:</span\r\n >{{ parseFloat(orderDetail.orderInfo.total_price) + parseFloat(orderDetail.orderInfo.vip_true_price || 0) }}\r\n </div>\r\n </div>\r\n <div class=\"msg-item\">\r\n <div class=\"item\"><span>交付邮费:</span>{{ orderDetail.orderInfo.pay_postage }}</div>\r\n <div class=\"item\"><span>优惠券金额:</span>{{ orderDetail.orderInfo.coupon_price }}</div>\r\n </div>\r\n <div class=\"msg-item\">\r\n <div class=\"item\"><span>会员商品优惠:</span>{{ orderDetail.orderInfo.vip_true_price || 0.0 }}</div>\r\n <div class=\"item\"><span>积分抵扣:</span>{{ orderDetail.orderInfo.deduction_price || 0.0 }}</div>\r\n </div>\r\n <div class=\"msg-item\">\r\n <div class=\"item\"><span>实际支付:</span>{{ orderDetail.orderInfo.pay_price }}</div>\r\n <div class=\"item\"><span>创建时间:</span>{{ orderDetail.orderInfo.add_time }}</div>\r\n </div>\r\n <div class=\"msg-item\">\r\n <div class=\"item\"><span>支付方式:</span>{{ orderDetail.orderInfo._status._payType }}</div>\r\n <div class=\"item\"><span>推广人:</span>{{ orderDetail.userInfo.spread_name }}</div>\r\n </div>\r\n <div class=\"msg-item\">\r\n <div class=\"item\"><span>商家备注:</span>{{ orderDetail.orderInfo.mark }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"goods-box\">\r\n <el-table :data=\"orderList\">\r\n <el-table-column label=\"商品ID\" width=\"80\">\r\n <template slot-scope=\"scope\">\r\n <span>{{ scope.row.productInfo.id }}</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"商品名称\" min-width=\"160\">\r\n <template slot-scope=\"scope\">\r\n <div class=\"product_info\">\r\n <img :src=\"scope.row.productInfo.image\" alt=\"\" />\r\n <p>{{ scope.row.productInfo.store_name }}</p>\r\n </div>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"商品分类\" min-width=\"160\">\r\n <template slot-scope=\"scope\">\r\n <div>{{ scope.row.class_name }}</div>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"商品售价\" min-width=\"160\">\r\n <template slot-scope=\"scope\">\r\n <div>{{ scope.row.productInfo.price }}</div>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"商品数量\" min-width=\"160\">\r\n <template slot-scope=\"scope\">\r\n <div>{{ scope.row.cart_num }}</div>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { orderInvoiceInfo } from '@/api/order';\r\nexport default {\r\n name: 'order_detail',\r\n props: {\r\n orderId: {\r\n type: String | Number,\r\n default: '',\r\n },\r\n },\r\n data() {\r\n return {\r\n orderDetail: {},\r\n orderList: [],\r\n spinShow: false,\r\n };\r\n },\r\n mounted() {\r\n this.getOrderInfo();\r\n },\r\n methods: {\r\n getOrderInfo() {\r\n this.spinShow = true;\r\n orderInvoiceInfo(this.orderId)\r\n .then((res) => {\r\n this.spinShow = false;\r\n this.orderDetail = res.data;\r\n this.orderList = res.data.orderInfo.cartInfo;\r\n })\r\n .catch((err) => {\r\n this.spinShow = false;\r\n this.$message.error(err.msg);\r\n this.$emit('detall', false);\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.order_detail {\r\n .msg-box {\r\n border-bottom: 1px solid #e8eaed;\r\n\r\n .box-title {\r\n padding-top: 20px;\r\n font-size: 15px;\r\n font-weight: 500;\r\n color: #303133;\r\n line-height: 15px;\r\n }\r\n\r\n .msg-wrapper {\r\n margin-top: 15px;\r\n padding-bottom: 10px;\r\n\r\n .msg-item {\r\n display: flex;\r\n\r\n .item {\r\n flex: 1;\r\n margin-bottom: 15px;\r\n color: #606266;\r\n font-size: 13px;\r\n span {\r\n font-size: 13px;\r\n font-weight: 400;\r\n color: #909399;\r\n }\r\n }\r\n }\r\n }\r\n\r\n &:first-child .box-title {\r\n padding-top: 0;\r\n }\r\n }\r\n\r\n .product_info {\r\n display: flex;\r\n align-items: center;\r\n\r\n img {\r\n width: 36px;\r\n height: 36px;\r\n border-radius: 4px;\r\n margin-right: 10px;\r\n }\r\n }\r\n}\r\n</style>\r\n"]}]}
|