1 |
- {"remainingRequest":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\thread-loader\\dist\\cjs.js!D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\babel-loader\\lib\\index.js!D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\wnmp\\www\\vue\\seaBlueAdmin\\src\\views\\CashierShop\\component\\WriteOffInfo.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\src\\views\\CashierShop\\component\\WriteOffInfo.vue","mtime":1678954023524},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\babel.config.js","mtime":1681371897685},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1681371913603},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\thread-loader\\dist\\cjs.js","mtime":1681371925422},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\babel-loader\\lib\\index.js","mtime":1681371912860},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1681371913603},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\vue-loader\\lib\\index.js","mtime":1681371925849}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8K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;IAKAC;MACAF,YADA;MAEAC;QACA;MACA;IAJA;EALA,CAFA;;EAcAE;IACA;EACA,CAhBA;;EAiBAC;IACA;MACA;MACA;IACA;;EAJA;AAjBA","names":["name","props","tipNum","type","default","writeoffList","data","methods"],"sourceRoot":"src/views/CashierShop/component","sources":["WriteOffInfo.vue"],"sourcesContent":["<template>\n <div>\n <div v-if=\"tipNum === 2\">\n <div class=\"tip_info\">\n <p style=\"margin: 0\">订单详情</p>\n </div>\n <div>\n <div class=\"order-detail-box\">\n <p\n v-if=\"!writeoffList.goodsData || !writeoffList.goodsData.length\"\n class=\"tips\"\n >\n 请输入核销码搜索核销订单\n </p>\n <div v-else>\n <div class=\"write-off-top\">\n <div class=\"shop_time\" style=\"width: 100%\">\n <div\n v-for=\"(itemP, indexP) in writeoffList.goodsData\"\n :key=\"indexP\"\n class=\"group\"\n >\n <p class=\"group_line\">\n {{ itemP.goodsName }}\n </p>\n <p class=\"color_size\">\n {{ itemP.unitName || \"\" }}\n {{ itemP.specValueName || \"\" }}\n </p>\n <div class=\"clearfix\">\n <span class=\"float_left price-color\">\n ¥{{ itemP.price }}\n </span>\n <span class=\"float_right\">x{{ itemP.buyNum }}</span>\n </div>\n </div>\n </div>\n <div class=\"o-price-info\">\n <div>\n <span class=\"op-label\">商品总计:</span>\n <span class=\"op-val\">¥{{ writeoffList.totalMoney }}</span>\n </div>\n <div>\n <span class=\"op-label\">优惠:</span>\n <span class=\"op-val\">\n -¥{{ writeoffList.orderPreferential }}\n </span>\n </div>\n <div>\n <span class=\"op-label\">实付:</span>\n <span class=\"op-val\">¥{{ writeoffList.payAmount }}</span>\n </div>\n </div>\n </div>\n <div class=\"comment_info\">\n <p>订单编号:{{ writeoffList.no }}</p>\n <p>\n 订单类型:\n {{ writeoffList.orderType === 1 ? \"销售订单\" : \"其他\" }}\n </p>\n <p>\n 订单来源:{{\n parseInt(writeoffList.source) === 1\n ? \"ios\"\n : parseInt(writeoffList.source) === 2\n ? \"安卓\"\n : parseInt(writeoffList.source) === 3\n ? \"小程序\"\n : parseInt(writeoffList.source) === 4\n ? \"后台创建\"\n : parseInt(writeoffList.source) === 5\n ? \"H5页面\"\n : parseInt(writeoffList.source) === 6\n ? \"pc页面\"\n : parseInt(writeoffList.source) === 8\n ? \"字节跳动小程序\"\n : \"\"\n }}\n </p>\n <p>\n 支付方式:{{\n parseInt(writeoffList.payType) === 1\n ? \"微信支付\"\n : parseInt(writeoffList.payType) === 2\n ? \"支付宝\"\n : parseInt(writeoffList.payType) === 3\n ? \"货到付款\"\n : parseInt(writeoffList.payType) === 4\n ? \"上门自提\"\n : parseInt(writeoffList.payType) === 5\n ? \"现金\"\n : parseInt(writeoffList.payType) === 6\n ? \"其他\"\n : \"\"\n }}\n </p>\n <p>\n 下单时间:{{ $_common.formatDate(writeoffList.createTime) }}\n </p>\n <p>付款时间:{{ $_common.formatDate(writeoffList.payTime) }}</p>\n <p>买家姓名:{{ writeoffList.customerName }}</p>\n <p>手机号码:{{ writeoffList.customerMobile || \"--\" }}</p>\n </div>\n </div>\n </div>\n <div\n v-if=\"writeoffList.goodsData && writeoffList.goodsData.length\"\n class=\"button-group\"\n >\n <el-button type=\"primary\" @click=\"primaryOrder\">确认核销</el-button>\n </div>\n </div>\n <!-- <div-->\n <!-- class=\"tips\"-->\n <!-- v-else-->\n <!-- >-->\n <!-- 未选中任何订单-->\n <!-- </div>-->\n </div>\n </div>\n</template>\n\n<script>\n import { OrderVerification } from \"@/api/Order\";\n\n export default {\n name: \"WriteOffInfo\",\n props: {\n tipNum: {\n type: [Number, String],\n default: 2,\n },\n writeoffList: {\n type: Object,\n default: () => {\n return {};\n },\n },\n },\n data() {\n return {};\n },\n methods: {\n async primaryOrder() {\n const data = await OrderVerification(this.writeoffList.id);\n this.$message.success(\"核销成功\");\n },\n },\n };\n</script>\n\n<style scoped>\n .tip_info {\n font-size: 14px;\n font-weight: bold;\n border-bottom: 1px solid #f2f2f2;\n height: 60px;\n line-height: 60px;\n padding-left: 16px;\n }\n .order-detail-box {\n height: calc(99vh - 210px);\n overflow: auto;\n }\n .tips {\n padding-top: 200px;\n text-align: center;\n color: #b2b2b2;\n font-size: 12px;\n font-weight: 500;\n }\n .write-off-top {\n border-bottom: 1px solid #f2f2f2;\n padding: 0 10px;\n }\n .shop_time {\n font-size: 14px;\n padding: 10px 0 0 10px;\n line-height: 20px;\n display: inline-block;\n }\n .group {\n width: 222px;\n height: 98px;\n background: #f5f6fa;\n border-radius: 4px;\n margin-right: 20px;\n padding: 16px;\n }\n .group_line {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .color_size {\n font-size: 12px;\n color: #999;\n }\n .price-color {\n color: #f56c6c;\n }\n .o-price-info {\n padding: 24px 20px;\n }\n\n .o-price-info > div {\n height: 32px;\n line-height: 32px;\n text-align: right;\n }\n\n .o-price-info > div .op-label {\n width: 150px;\n }\n\n .o-price-info > div .op-val {\n width: 150px;\n }\n .comment_info {\n padding: 20px;\n padding-bottom: 0;\n }\n\n .comment_info p {\n line-height: 36px;\n }\n .button-group {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n padding: 8px;\n border-top: 1px solid #f2f2f2;\n }\n</style>\n"]}]}
|