10.75f523ee96f33f8303eb.js.map 48 KB

1
  1. {"version":3,"sources":["webpack:///src/views/oms/order/components/logisticsDialog.vue","webpack:///./src/views/oms/order/components/logisticsDialog.vue?98cf","webpack:///./src/views/oms/order/components/logisticsDialog.vue","webpack:///src/views/oms/order/index.vue","webpack:///./src/views/oms/order/index.vue?d12b","webpack:///./src/views/oms/order/index.vue"],"names":["defaultLogisticsList","name","time","logisticsDialog","props","value","Boolean","computed","visible","get","this","set","data","logisticsList","assign_default","methods","emitInput","val","$emit","handleClose","components_logisticsDialog","render","_vm","_h","$createElement","_c","_self","attrs","title","before-close","width","on","update:visible","$event","direction","active","finish-status","space","_l","item","key","description","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__","defaultListQuery","pageNum","pageSize","orderSn","receiverKeyword","status","orderType","sourceType","createTime","oms_order","components","LogisticsDialog","listQuery","listLoading","list","total","operateType","multipleSelection","closeOrder","dialogVisible","content","orderIds","statusOptions","label","orderTypeOptions","sourceTypeOptions","operateOptions","logisticsDialogVisible","created","getList","$route","params","query","filters","formatCreateTime","date","Date","Object","utils_date","formatPayType","formatSourceType","formatStatus","handleResetSearch","handleSearchList","handleSelectionChange","handleViewOrder","index","row","$router","push","path","id","handleCloseOrder","handleDeliveryOrder","listItem","covertOrder","handleViewLogistics","handleDeleteOrder","ids","deleteOrder","handleBatchOperate","length","$message","message","type","duration","i","_i","_i2","handleSizeChange","handleCurrentChange","handleCloseOrderConfirm","_this","$refs","validate","valid","obj","join","note","order","then","response","_this2","_this3","$confirm","confirmButtonText","cancelButtonText","address","receiverProvince","receiverCity","receiverRegion","receiverDetailAddress","orderId","receiverName","receiverPhone","receiverPostCode","deliveryCompany","deliverySn","views_oms_order","staticClass","shadow","_v","staticStyle","float","size","click","margin-right","margin-top","inline","model","label-width","placeholder","callback","$$v","$set","expression","value-format","clearable","directives","rawName","ref","border","selection-change","align","scopedSlots","_u","fn","scope","_s","_f","userType","userId","username","phone","totalAmount","payType","$index","background","layout","current-page","page-size","page-sizes","size-change","current-change","update:currentPage","prop","rules","required","trigger","rows","slot"],"mappings":"qGAiBAA,IACAC,KAAA,aAAAC,KAAA,yBACAD,KAAA,SAAAC,KAAA,yBACAD,KAAA,oBAAAC,KAAA,yBACAD,KAAA,yBAAAC,KAAA,yBACAD,KAAA,gBAAAC,KAAA,yBACAD,KAAA,0BAAAC,KAAA,yBACAD,KAAA,iBAAAC,KAAA,yBAEAC,GACAF,KAAA,kBACAG,OACAC,MAAAC,SAEAC,UACAC,SACAC,IADA,WAEA,OAAAC,KAAAL,OAEAM,IAJA,SAIAH,GACAE,KAAAL,MAAAG,KAIAI,KAfA,WAgBA,OACAC,cAAAC,OAAAd,KAGAe,SACAC,UADA,SACAC,GACAP,KAAAQ,MAAA,QAAAD,IAEAE,YAJA,WAKAT,KAAAM,WAAA,MChDAI,GADiBC,OAFjB,WAA0B,IAAAC,EAAAZ,KAAaa,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,aAAuBE,OAAOC,MAAA,OAAApB,QAAAc,EAAAd,QAAAqB,eAAAP,EAAAH,YAAAW,MAAA,OAAkFC,IAAKC,iBAAA,SAAAC,GAAkCX,EAAAd,QAAAyB,MAAqBR,EAAA,YAAiBE,OAAOO,UAAA,WAAAC,OAAA,EAAAC,gBAAA,UAAAC,MAAA,SAA4Ef,EAAAgB,GAAAhB,EAAA,uBAAAiB,GAA2C,OAAAd,EAAA,WAAqBe,IAAAD,EAAAtC,KAAA0B,OAAqBC,MAAAW,EAAAtC,KAAAwC,YAAAF,EAAArC,YAA6C,IAE1dwC,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACA1C,EACAiB,GATA,EAVA,SAAA0B,GACAF,EAAA,SAaA,KAEA,MAUAG,EAAA,EAAAJ,EAAA,6ICqOAK,GACAC,QAAA,EACAC,SAAA,GACAC,QAAA,KACAC,gBAAA,KACAC,OAAA,KACAC,UAAA,KACAC,WAAA,KAC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SAAApG,GACAF,EAAA,SAaA,kBAEA,MAUAG,EAAA,QAAAJ,EAAA","file":"static/js/10.75f523ee96f33f8303eb.js","sourcesContent":["<template> \n <el-dialog title=\"订单跟踪\"\n :visible.sync=\"visible\"\n :before-close=\"handleClose\"\n width=\"40%\">\n <el-steps direction=\"vertical\"\n :active=\"6\"\n finish-status=\"success\"\n space=\"50px\">\n <el-step v-for=\"item in logisticsList\"\n :key=\"item.name\"\n :title=\"item.name\"\n :description=\"item.time\"></el-step>\n </el-steps>\n </el-dialog>\n</template>\n<script>\n const defaultLogisticsList=[\n {name: '订单已提交,等待付款',time:'2017-04-01 12:00:00 '},\n {name: '订单付款成功',time:'2017-04-01 12:00:00 '},\n {name: '在北京市进行下级地点扫描,等待付款',time:'2017-04-01 12:00:00 '},\n {name: '在分拨中心广东深圳公司进行卸车扫描,等待付款',time:'2017-04-01 12:00:00 '},\n {name: '在广东深圳公司进行发出扫描',time:'2017-04-01 12:00:00 '},\n {name: '到达目的地网点广东深圳公司,快件将很快进行派送',time:'2017-04-01 12:00:00 '},\n {name: '订单已签收,期待再次为您服务',time:'2017-04-01 12:00:00 '}\n ];\n export default {\n name:'logisticsDialog',\n props: {\n value: Boolean\n },\n computed:{\n visible: {\n get() {\n return this.value;\n },\n set(visible){\n this.value=visible;\n }\n }\n },\n data() {\n return {\n logisticsList:Object.assign({},defaultLogisticsList)\n }\n },\n methods:{\n emitInput(val) {\n this.$emit('input', val)\n },\n handleClose(){\n this.emitInput(false);\n }\n }\n }\n</script>\n<style></style>\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/views/oms/order/components/logisticsDialog.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"title\":\"订单跟踪\",\"visible\":_vm.visible,\"before-close\":_vm.handleClose,\"width\":\"40%\"},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('el-steps',{attrs:{\"direction\":\"vertical\",\"active\":6,\"finish-status\":\"success\",\"space\":\"50px\"}},_vm._l((_vm.logisticsList),function(item){return _c('el-step',{key:item.name,attrs:{\"title\":item.name,\"description\":item.time}})}))],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-5655414c\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/oms/order/components/logisticsDialog.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-5655414c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./logisticsDialog.vue\")\n}\nvar normalizeComponent = require(\"!../../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./logisticsDialog.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./logisticsDialog.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5655414c\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./logisticsDialog.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/oms/order/components/logisticsDialog.vue\n// module id = null\n// module chunks = ","<template>\n  \n <div class=\"app-container\">\n <el-card class=\"filter-container\" shadow=\"never\">\n <div>\n <i class=\"el-icon-search\"></i>\n <span>筛选搜索</span>\n <el-button\n style=\"float: right\"\n type=\"primary\"\n @click=\"handleSearchList()\"\n size=\"small\"\n >\n 查询搜索\n </el-button>\n <el-button\n style=\"float: right; margin-right: 15px\"\n @click=\"handleResetSearch()\"\n size=\"small\"\n >\n 重置\n </el-button>\n </div>\n <div style=\"margin-top: 15px\">\n <el-form :inline=\"true\" :model=\"listQuery\" size=\"small\" label-width=\"140px\">\n <el-form-item label=\"输入搜索:\">\n <el-input\n v-model=\"listQuery.orderSn\"\n class=\"input-width\"\n placeholder=\"订单编号\"\n ></el-input>\n </el-form-item>\n <el-form-item label=\"收货人:\">\n <el-input\n v-model=\"listQuery.receiverKeyword\"\n class=\"input-width\"\n placeholder=\"收货人姓名/手机号码\"\n ></el-input>\n </el-form-item>\n <el-form-item label=\"提交时间:\">\n <el-date-picker\n class=\"input-width\"\n v-model=\"listQuery.createTime\"\n value-format=\"yyyy-MM-dd\"\n type=\"date\"\n placeholder=\"请选择时间\"\n >\n </el-date-picker>\n </el-form-item>\n <el-form-item label=\"订单状态:\">\n <el-select\n v-model=\"listQuery.status\"\n class=\"input-width\"\n placeholder=\"全部\"\n clearable\n >\n <el-option\n v-for=\"item in statusOptions\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\"\n >\n </el-option>\n </el-select>\n </el-form-item>\n <el-form-item label=\"订单分类:\">\n <el-select\n v-model=\"listQuery.orderType\"\n class=\"input-width\"\n placeholder=\"全部\"\n clearable\n >\n <el-option\n v-for=\"item in orderTypeOptions\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\"\n >\n </el-option>\n </el-select>\n </el-form-item>\n <el-form-item label=\"订单来源:\">\n <el-select\n v-model=\"listQuery.sourceType\"\n class=\"input-width\"\n placeholder=\"全部\"\n clearable\n >\n <el-option\n v-for=\"item in sourceTypeOptions\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\"\n >\n </el-option>\n </el-select>\n </el-form-item>\n </el-form>\n </div>\n </el-card>\n <el-card class=\"operate-container\" shadow=\"never\">\n <i class=\"el-icon-tickets\"></i>\n <span>数据列表</span>\n </el-card>\n <div class=\"table-container\">\n <el-table\n ref=\"orderTable\"\n :data=\"list\"\n style=\"width: 100%\"\n @selection-change=\"handleSelectionChange\"\n v-loading=\"listLoading\"\n border\n >\n <el-table-column type=\"selection\" width=\"60\" align=\"center\"></el-table-column>\n <el-table-column label=\"编号\" width=\"80\" align=\"center\">\n <template slot-scope=\"scope\">{{ scope.row.id }}</template>\n </el-table-column>\n <el-table-column label=\"订单编号\" width=\"180\" align=\"center\">\n <template slot-scope=\"scope\">{{ scope.row.orderSn }}</template>\n </el-table-column>\n <el-table-column label=\"提交时间\" width=\"180\" align=\"center\">\n <template slot-scope=\"scope\">{{\n scope.row.createTime | formatCreateTime\n }}</template>\n </el-table-column>\n <el-table-column label=\"用户类型\" align=\"center\">\n <template slot-scope=\"scope\">\n <p v-if=\"scope.row.userType == 'STUDENT'\">学生</p>\n <p v-else-if=\"scope.row.userType == 'TEACHER'\">老师</p>\n <p v-else-if=\"scope.row.userType == 'COOLESHOW_EDU'\">课堂乐器</p>\n <p v-else-if=\"scope.row.userType == 'JMEDU'\">管乐团</p>\n <p v-else>--</p>\n </template>\n </el-table-column>\n <el-table-column label=\"用户编号\" align=\"center\">\n <template slot-scope=\"scope\">{{ scope.row.userId }}</template>\n </el-table-column>\n <el-table-column label=\"用户名\" align=\"center\">\n <template slot-scope=\"scope\">{{ scope.row.username }}</template>\n </el-table-column>\n <el-table-column label=\"手机号\" align=\"center\">\n <template slot-scope=\"scope\">{{ scope.row.phone }}</template>\n </el-table-column>\n <el-table-column label=\"订单金额\" width=\"120\" align=\"center\">\n <template slot-scope=\"scope\">¥{{ scope.row.totalAmount }}</template>\n </el-table-column>\n <el-table-column label=\"支付方式\" width=\"120\" align=\"center\">\n <template slot-scope=\"scope\">{{ scope.row.payType | formatPayType }}</template>\n </el-table-column>\n <el-table-column label=\"订单来源\" width=\"120\" align=\"center\">\n <template slot-scope=\"scope\">{{\n scope.row.sourceType | formatSourceType\n }}</template>\n </el-table-column>\n <el-table-column label=\"订单状态\" width=\"120\" align=\"center\">\n <template slot-scope=\"scope\">{{ scope.row.status | formatStatus }}</template>\n </el-table-column>\n <el-table-column label=\"操作\" width=\"200\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-button size=\"mini\" @click=\"handleViewOrder(scope.$index, scope.row)\"\n >查看订单</el-button\n >\n <!-- <el-button\n size=\"mini\"\n @click=\"handleCloseOrder(scope.$index, scope.row)\"\n v-show=\"scope.row.status === 0 || scope.row.status === 6\"\n >关闭订单</el-button\n > -->\n <el-button\n size=\"mini\"\n @click=\"handleDeliveryOrder(scope.$index, scope.row)\"\n v-show=\"scope.row.status === 1\"\n >订单发货</el-button\n >\n <!-- <el-button\n size=\"mini\"\n @click=\"handleViewLogistics(scope.$index, scope.row)\"\n v-show=\"scope.row.status===2||scope.row.status===3\">订单跟踪</el-button> -->\n <el-button\n size=\"mini\"\n type=\"danger\"\n @click=\"handleDeleteOrder(scope.$index, scope.row)\"\n v-show=\"scope.row.status === 4\"\n >删除订单</el-button\n >\n </template>\n </el-table-column>\n </el-table>\n </div>\n <!-- <div class=\"batch-operate-container\">\n <el-select size=\"small\" v-model=\"operateType\" placeholder=\"批量操作\">\n <el-option\n v-for=\"item in operateOptions\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\"\n >\n </el-option>\n </el-select>\n <el-button\n style=\"margin-left: 20px\"\n class=\"search-button\"\n @click=\"handleBatchOperate()\"\n type=\"primary\"\n size=\"small\"\n >\n 确定\n </el-button>\n </div> -->\n <div class=\"pagination-container\">\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n layout=\"total, sizes,prev, pager, next,jumper\"\n :current-page.sync=\"listQuery.pageNum\"\n :page-size=\"listQuery.pageSize\"\n :page-sizes=\"[5, 10, 15]\"\n :total=\"total\"\n >\n </el-pagination>\n </div>\n <el-dialog title=\"关闭订单\" :visible.sync=\"closeOrder.dialogVisible\" width=\"30%\">\n <el-form :model=\"closeOrder\" label-width=\"150px\" ref=\"closeOrder\">\n <el-form-item\n label=\"操作备注:\"\n prop=\"content\"\n :rules=\"[{ required: true, message: '请填写操作备注', trigger: 'blur' }]\"\n >\n <el-input v-model=\"closeOrder.content\" type=\"textarea\" rows=\"3\"> </el-input>\n </el-form-item>\n </el-form>\n\n <!-- <span style=\"vertical-align: top\">操作备注:</span>\n\n <el-input\n style=\"width: 80%\"\n type=\"textarea\"\n :rows=\"5\"\n placeholder=\"请输入内容\"\n v-model=\"closeOrder.content\"\n >\n </el-input> -->\n <span slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeOrder.dialogVisible = false\">取 消</el-button>\n <el-button type=\"primary\" @click=\"handleCloseOrderConfirm\">确 定</el-button>\n </span>\n </el-dialog>\n <logistics-dialog v-model=\"logisticsDialogVisible\"></logistics-dialog>\n </div>\n</template>\n<script>\nimport { fetchList, closeOrder, deleteOrder } from \"@/api/order\";\nimport { formatDate } from \"@/utils/date\";\nimport LogisticsDialog from \"@/views/oms/order/components/logisticsDialog\";\nconst defaultListQuery = {\n pageNum: 1,\n pageSize: 10,\n orderSn: null,\n receiverKeyword: null,\n status: null,\n orderType: null,\n sourceType: null,\n createTime: null,\n};\nexport default {\n name: \"orderList\",\n components: { LogisticsDialog },\n data() {\n return {\n listQuery: Object.assign({}, defaultListQuery),\n listLoading: true,\n list: null,\n total: null,\n operateType: null,\n multipleSelection: [],\n closeOrder: {\n dialogVisible: false,\n content: null,\n orderIds: [],\n },\n statusOptions: [\n {\n label: \"待付款\",\n value: 0,\n },\n {\n label: \"待发货\",\n value: 1,\n },\n {\n label: \"已发货\",\n value: 2,\n },\n {\n label: \"已完成\",\n value: 3,\n },\n {\n label: \"已关闭\",\n value: 4,\n },\n ],\n orderTypeOptions: [\n {\n label: \"正常订单\",\n value: 0,\n },\n {\n label: \"秒杀订单\",\n value: 1,\n },\n ],\n sourceTypeOptions: [\n {\n label: \"PC订单\",\n value: 0,\n },\n {\n label: \"APP订单\",\n value: 1,\n },\n ],\n operateOptions: [\n {\n label: \"批量发货\",\n value: 1,\n },\n {\n label: \"关闭订单\",\n value: 2,\n },\n {\n label: \"删除订单\",\n value: 3,\n },\n ],\n logisticsDialogVisible: false,\n };\n },\n created() {\n this.getList();\n // console.log(this.$route)\n if (this.$route.params.status + \"\") {\n this.listQuery.status = this.$route.params.status;\n }\n if (this.$route.query.orderSn) {\n this.listQuery.orderSn = this.$route.query.orderSn;\n }\n },\n filters: {\n formatCreateTime(time) {\n let date = new Date(time);\n return formatDate(date, \"yyyy-MM-dd hh:mm:ss\");\n },\n formatPayType(value) {\n if (value === 1) {\n return \"支付宝\";\n } else if (value === 2) {\n return \"微信\";\n } else if (value === 3) {\n return \"0元支付\";\n } else {\n return \"未支付\";\n }\n },\n formatSourceType(value) {\n if (value === 1) {\n return \"APP订单\";\n } else {\n return \"PC订单\";\n }\n },\n formatStatus(value) {\n if (value === 1) {\n return \"待发货\";\n } else if (value === 2) {\n return \"已发货\";\n } else if (value === 3) {\n return \"已完成\";\n } else if (value === 4) {\n return \"已关闭\";\n } else if (value === 5) {\n return \"无效订单\";\n } else {\n return \"待付款\";\n }\n },\n },\n methods: {\n handleResetSearch() {\n this.listQuery = Object.assign({}, defaultListQuery);\n },\n handleSearchList() {\n this.listQuery.pageNum = 1;\n this.getList();\n },\n handleSelectionChange(val) {\n this.multipleSelection = val;\n },\n handleViewOrder(index, row) {\n this.$router.push({ path: \"/oms/orderDetail\", query: { id: row.id } });\n },\n handleCloseOrder(index, row) {\n this.closeOrder.dialogVisible = true;\n this.closeOrder.content = \"\";\n this.closeOrder.orderIds = [row.id];\n },\n handleDeliveryOrder(index, row) {\n let listItem = this.covertOrder(row);\n this.$router.push({\n path: \"/oms/deliverOrderList\",\n query: { list: [listItem], id: row.id },\n });\n },\n handleViewLogistics(index, row) {\n this.logisticsDialogVisible = true;\n },\n handleDeleteOrder(index, row) {\n let ids = [];\n ids.push(row.id);\n this.deleteOrder(ids);\n },\n handleBatchOperate() {\n if (this.multipleSelection == null || this.multipleSelection.length < 1) {\n this.$message({\n message: \"请选择要操作的订单\",\n type: \"warning\",\n duration: 1000,\n });\n return;\n }\n if (this.operateType === 1) {\n //批量发货\n let list = [];\n for (let i = 0; i < this.multipleSelection.length; i++) {\n if (this.multipleSelection[i].status === 1) {\n list.push(this.covertOrder(this.multipleSelection[i]));\n }\n }\n if (list.length === 0) {\n this.$message({\n message: \"选中订单中没有可以发货的订单\",\n type: \"warning\",\n duration: 1000,\n });\n return;\n }\n this.$router.push({\n path: \"/oms/deliverOrderList\",\n query: { list: list },\n });\n } else if (this.operateType === 2) {\n //关闭订单\n this.closeOrder.orderIds = [];\n for (let i = 0; i < this.multipleSelection.length; i++) {\n this.closeOrder.orderIds.push(this.multipleSelection[i].id);\n }\n this.closeOrder.dialogVisible = true;\n } else if (this.operateType === 3) {\n //删除订单\n let ids = [];\n for (let i = 0; i < this.multipleSelection.length; i++) {\n ids.push(this.multipleSelection[i].id);\n }\n this.deleteOrder(ids);\n }\n },\n handleSizeChange(val) {\n this.listQuery.pageNum = 1;\n this.listQuery.pageSize = val;\n this.getList();\n },\n handleCurrentChange(val) {\n this.listQuery.pageNum = val;\n this.getList();\n },\n handleCloseOrderConfirm() {\n // if (this.closeOrder.content == null || this.closeOrder.content === \"\") {\n // this.$message({\n // message: \"操作备注不能为空\",\n // type: \"warning\",\n // duration: 1000,\n // });\n // return;\n // }\n\n this.$refs.closeOrder.validate((valid) => {\n if (valid) {\n // let params = new URLSearchParams();\n // params.append(\"ids\", this.closeOrder.orderIds);\n // params.append(\"note\", this.closeOrder.content);\n let obj = {\n ids: this.closeOrder.orderIds.join(\",\"),\n note: this.closeOrder.content,\n };\n closeOrder(obj).then((response) => {\n this.closeOrder.orderIds = [];\n // this.closeOrder.dialogVisible = false;\n (this.closeOrder = {\n dialogVisible: false,\n content: null,\n orderIds: [],\n }),\n this.getList();\n this.$message({\n message: \"修改成功\",\n type: \"success\",\n duration: 1000,\n });\n });\n }\n });\n },\n getList() {\n this.listLoading = true;\n fetchList(this.listQuery).then((response) => {\n this.listLoading = false;\n this.list = response.data.list;\n this.total = response.data.total;\n });\n },\n deleteOrder(ids) {\n this.$confirm(\"是否要进行该删除操作?\", \"提示\", {\n confirmButtonText: \"确定\",\n cancelButtonText: \"取消\",\n type: \"warning\",\n }).then(() => {\n // let params = new URLSearchParams();\n // params.append(\"ids\", ids);\n let obj = {\n ids: ids.join(\",\"),\n };\n deleteOrder(obj).then((response) => {\n this.$message({\n message: \"删除成功!\",\n type: \"success\",\n duration: 1000,\n });\n this.getList();\n });\n });\n },\n covertOrder(order) {\n let address =\n order.receiverProvince +\n order.receiverCity +\n order.receiverRegion +\n order.receiverDetailAddress;\n let listItem = {\n orderId: order.id,\n orderSn: order.orderSn,\n receiverName: order.receiverName,\n receiverPhone: order.receiverPhone,\n receiverPostCode: order.receiverPostCode,\n address: address,\n deliveryCompany: null,\n deliverySn: null,\n };\n return listItem;\n },\n },\n};\n</script>\n<style scoped>\n.input-width {\n width: 203px;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/oms/order/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app-container\"},[_c('el-card',{staticClass:\"filter-container\",attrs:{\"shadow\":\"never\"}},[_c('div',[_c('i',{staticClass:\"el-icon-search\"}),_vm._v(\" \"),_c('span',[_vm._v(\"筛选搜索\")]),_vm._v(\" \"),_c('el-button',{staticStyle:{\"float\":\"right\"},attrs:{\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":function($event){_vm.handleSearchList()}}},[_vm._v(\"\\n 查询搜索\\n \")]),_vm._v(\" \"),_c('el-button',{staticStyle:{\"float\":\"right\",\"margin-right\":\"15px\"},attrs:{\"size\":\"small\"},on:{\"click\":function($event){_vm.handleResetSearch()}}},[_vm._v(\"\\n 重置\\n \")])],1),_vm._v(\" \"),_c('div',{staticStyle:{\"margin-top\":\"15px\"}},[_c('el-form',{attrs:{\"inline\":true,\"model\":_vm.listQuery,\"size\":\"small\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"输入搜索:\"}},[_c('el-input',{staticClass:\"input-width\",attrs:{\"placeholder\":\"订单编号\"},model:{value:(_vm.listQuery.orderSn),callback:function ($$v) {_vm.$set(_vm.listQuery, \"orderSn\", $$v)},expression:\"listQuery.orderSn\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"收货人:\"}},[_c('el-input',{staticClass:\"input-width\",attrs:{\"placeholder\":\"收货人姓名/手机号码\"},model:{value:(_vm.listQuery.receiverKeyword),callback:function ($$v) {_vm.$set(_vm.listQuery, \"receiverKeyword\", $$v)},expression:\"listQuery.receiverKeyword\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"提交时间:\"}},[_c('el-date-picker',{staticClass:\"input-width\",attrs:{\"value-format\":\"yyyy-MM-dd\",\"type\":\"date\",\"placeholder\":\"请选择时间\"},model:{value:(_vm.listQuery.createTime),callback:function ($$v) {_vm.$set(_vm.listQuery, \"createTime\", $$v)},expression:\"listQuery.createTime\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"订单状态:\"}},[_c('el-select',{staticClass:\"input-width\",attrs:{\"placeholder\":\"全部\",\"clearable\":\"\"},model:{value:(_vm.listQuery.status),callback:function ($$v) {_vm.$set(_vm.listQuery, \"status\", $$v)},expression:\"listQuery.status\"}},_vm._l((_vm.statusOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}))],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"订单分类:\"}},[_c('el-select',{staticClass:\"input-width\",attrs:{\"placeholder\":\"全部\",\"clearable\":\"\"},model:{value:(_vm.listQuery.orderType),callback:function ($$v) {_vm.$set(_vm.listQuery, \"orderType\", $$v)},expression:\"listQuery.orderType\"}},_vm._l((_vm.orderTypeOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}))],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"订单来源:\"}},[_c('el-select',{staticClass:\"input-width\",attrs:{\"placeholder\":\"全部\",\"clearable\":\"\"},model:{value:(_vm.listQuery.sourceType),callback:function ($$v) {_vm.$set(_vm.listQuery, \"sourceType\", $$v)},expression:\"listQuery.sourceType\"}},_vm._l((_vm.sourceTypeOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}))],1)],1)],1)]),_vm._v(\" \"),_c('el-card',{staticClass:\"operate-container\",attrs:{\"shadow\":\"never\"}},[_c('i',{staticClass:\"el-icon-tickets\"}),_vm._v(\" \"),_c('span',[_vm._v(\"数据列表\")])]),_vm._v(\" \"),_c('div',{staticClass:\"table-container\"},[_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.listLoading),expression:\"listLoading\"}],ref:\"orderTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.list,\"border\":\"\"},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"60\",\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"编号\",\"width\":\"80\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.id))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"订单编号\",\"width\":\"180\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.orderSn))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"提交时间\",\"width\":\"180\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(_vm._f(\"formatCreateTime\")(scope.row.createTime)))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"用户类型\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.userType == 'STUDENT')?_c('p',[_vm._v(\"学生\")]):(scope.row.userType == 'TEACHER')?_c('p',[_vm._v(\"老师\")]):(scope.row.userType == 'COOLESHOW_EDU')?_c('p',[_vm._v(\"课堂乐器\")]):(scope.row.userType == 'JMEDU')?_c('p',[_vm._v(\"管乐团\")]):_c('p',[_vm._v(\"--\")])]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"用户编号\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.userId))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"用户名\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.username))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"手机号\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.phone))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"订单金额\",\"width\":\"120\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"¥\"+_vm._s(scope.row.totalAmount))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"支付方式\",\"width\":\"120\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(_vm._f(\"formatPayType\")(scope.row.payType)))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"订单来源\",\"width\":\"120\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(_vm._f(\"formatSourceType\")(scope.row.sourceType)))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"订单状态\",\"width\":\"120\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(_vm._f(\"formatStatus\")(scope.row.status)))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"200\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.handleViewOrder(scope.$index, scope.row)}}},[_vm._v(\"查看订单\")]),_vm._v(\" \"),_c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(scope.row.status === 1),expression:\"scope.row.status === 1\"}],attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.handleDeliveryOrder(scope.$index, scope.row)}}},[_vm._v(\"订单发货\")]),_vm._v(\" \"),_c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(scope.row.status === 4),expression:\"scope.row.status === 4\"}],attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){_vm.handleDeleteOrder(scope.$index, scope.row)}}},[_vm._v(\"删除订单\")])]}}])})],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"layout\":\"total, sizes,prev, pager, next,jumper\",\"current-page\":_vm.listQuery.pageNum,\"page-size\":_vm.listQuery.pageSize,\"page-sizes\":[5, 10, 15],\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange,\"update:currentPage\":function($event){_vm.$set(_vm.listQuery, \"pageNum\", $event)}}})],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"关闭订单\",\"visible\":_vm.closeOrder.dialogVisible,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.$set(_vm.closeOrder, \"dialogVisible\", $event)}}},[_c('el-form',{ref:\"closeOrder\",attrs:{\"model\":_vm.closeOrder,\"label-width\":\"150px\"}},[_c('el-form-item',{attrs:{\"label\":\"操作备注:\",\"prop\":\"content\",\"rules\":[{ required: true, message: '请填写操作备注', trigger: 'blur' }]}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":\"3\"},model:{value:(_vm.closeOrder.content),callback:function ($$v) {_vm.$set(_vm.closeOrder, \"content\", $$v)},expression:\"closeOrder.content\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.closeOrder.dialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.handleCloseOrderConfirm}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('logistics-dialog',{model:{value:(_vm.logisticsDialogVisible),callback:function ($$v) {_vm.logisticsDialogVisible=$$v},expression:\"logisticsDialogVisible\"}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-6fab9394\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/oms/order/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-6fab9394\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6fab9394\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-6fab9394\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/oms/order/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}