12.49f5fc406a8b784a5d3b.js.map 49 KB

1
  1. {"version":3,"sources":["webpack:///src/views/oms/order/components/logisticsDialog.vue","webpack:///./src/views/oms/order/components/logisticsDialog.vue?656f","webpack:///./src/views/oms/order/components/logisticsDialog.vue","webpack:///src/views/oms/order/index.vue","webpack:///./src/views/oms/order/index.vue?69fe","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":"mGAiBAA,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,kKC2PAK,GACAC,QAAA,EACAC,SAAA,GACAC,QAAA,KACAC,gBAAA,KACAC,OAAA,KACAC,UAAA,KACAC,WAAA,K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: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-f440011a\",\"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}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-f440011a\\\",\\\"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-f440011a\\\",\\\"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>\r\n  \r\n <div class=\"app-container\">\r\n <el-card class=\"filter-container\" shadow=\"never\">\r\n <div>\r\n <i class=\"el-icon-search\"></i>\r\n <span>筛选搜索</span>\r\n <el-button\r\n style=\"float: right\"\r\n type=\"primary\"\r\n @click=\"handleSearchList()\"\r\n size=\"small\"\r\n >\r\n 查询搜索\r\n </el-button>\r\n <el-button\r\n style=\"float: right; margin-right: 15px\"\r\n @click=\"handleResetSearch()\"\r\n size=\"small\"\r\n >\r\n 重置\r\n </el-button>\r\n </div>\r\n <div style=\"margin-top: 15px\">\r\n <el-form\r\n :inline=\"true\"\r\n :model=\"listQuery\"\r\n size=\"small\"\r\n label-width=\"140px\"\r\n >\r\n <el-form-item label=\"输入搜索:\">\r\n <el-input\r\n v-model=\"listQuery.orderSn\"\r\n class=\"input-width\"\r\n placeholder=\"订单编号\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"收货人:\">\r\n <el-input\r\n v-model=\"listQuery.receiverKeyword\"\r\n class=\"input-width\"\r\n placeholder=\"收货人姓名/手机号码\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"提交时间:\">\r\n <el-date-picker\r\n class=\"input-width\"\r\n v-model=\"listQuery.createTime\"\r\n value-format=\"yyyy-MM-dd\"\r\n type=\"date\"\r\n placeholder=\"请选择时间\"\r\n >\r\n </el-date-picker>\r\n </el-form-item>\r\n <el-form-item label=\"订单状态:\">\r\n <el-select\r\n v-model=\"listQuery.status\"\r\n class=\"input-width\"\r\n placeholder=\"全部\"\r\n clearable\r\n >\r\n <el-option\r\n v-for=\"item in statusOptions\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\"\r\n >\r\n </el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"订单分类:\">\r\n <el-select\r\n v-model=\"listQuery.orderType\"\r\n class=\"input-width\"\r\n placeholder=\"全部\"\r\n clearable\r\n >\r\n <el-option\r\n v-for=\"item in orderTypeOptions\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\"\r\n >\r\n </el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"订单来源:\">\r\n <el-select\r\n v-model=\"listQuery.sourceType\"\r\n class=\"input-width\"\r\n placeholder=\"全部\"\r\n clearable\r\n >\r\n <el-option\r\n v-for=\"item in sourceTypeOptions\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\"\r\n >\r\n </el-option>\r\n </el-select>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n </el-card>\r\n <el-card class=\"operate-container\" shadow=\"never\">\r\n <i class=\"el-icon-tickets\"></i>\r\n <span>数据列表</span>\r\n </el-card>\r\n <div class=\"table-container\">\r\n <el-table\r\n ref=\"orderTable\"\r\n :data=\"list\"\r\n style=\"width: 100%\"\r\n @selection-change=\"handleSelectionChange\"\r\n v-loading=\"listLoading\"\r\n border\r\n >\r\n <el-table-column\r\n type=\"selection\"\r\n width=\"60\"\r\n align=\"center\"\r\n ></el-table-column>\r\n <el-table-column label=\"编号\" width=\"80\" align=\"center\">\r\n <template slot-scope=\"scope\">{{ scope.row.id }}</template>\r\n </el-table-column>\r\n <el-table-column label=\"订单编号\" width=\"180\" align=\"center\">\r\n <template slot-scope=\"scope\">{{ scope.row.orderSn }}</template>\r\n </el-table-column>\r\n <el-table-column label=\"提交时间\" width=\"180\" align=\"center\">\r\n <template slot-scope=\"scope\">{{\r\n scope.row.createTime | formatCreateTime\r\n }}</template>\r\n </el-table-column>\r\n <el-table-column label=\"用户类型\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n <p v-if=\"scope.row.userType == 'STUDENT'\">学生</p>\r\n <p v-else-if=\"scope.row.userType == 'TEACHER'\">老师</p>\r\n <p v-else>--</p>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"用户编号\" align=\"center\">\r\n <template slot-scope=\"scope\">{{ scope.row.userId }}</template>\r\n </el-table-column>\r\n <el-table-column label=\"用户名\" align=\"center\">\r\n <template slot-scope=\"scope\">{{ scope.row.username }}</template>\r\n </el-table-column>\r\n <el-table-column label=\"手机号\" align=\"center\">\r\n <template slot-scope=\"scope\">{{ scope.row.phone }}</template>\r\n </el-table-column>\r\n <el-table-column label=\"订单金额\" width=\"120\" align=\"center\">\r\n <template slot-scope=\"scope\">¥{{ scope.row.totalAmount }}</template>\r\n </el-table-column>\r\n <el-table-column label=\"支付方式\" width=\"120\" align=\"center\">\r\n <template slot-scope=\"scope\">{{\r\n scope.row.payType | formatPayType\r\n }}</template>\r\n </el-table-column>\r\n <el-table-column label=\"订单来源\" width=\"120\" align=\"center\">\r\n <template slot-scope=\"scope\">{{\r\n scope.row.sourceType | formatSourceType\r\n }}</template>\r\n </el-table-column>\r\n <el-table-column label=\"订单状态\" width=\"120\" align=\"center\">\r\n <template slot-scope=\"scope\">{{\r\n scope.row.status | formatStatus\r\n }}</template>\r\n </el-table-column>\r\n <el-table-column label=\"操作\" width=\"200\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n <el-button\r\n size=\"mini\"\r\n @click=\"handleViewOrder(scope.$index, scope.row)\"\r\n >查看订单</el-button\r\n >\r\n <!-- <el-button\r\n size=\"mini\"\r\n @click=\"handleCloseOrder(scope.$index, scope.row)\"\r\n v-show=\"scope.row.status === 0 || scope.row.status === 6\"\r\n >关闭订单</el-button\r\n > -->\r\n <el-button\r\n size=\"mini\"\r\n @click=\"handleDeliveryOrder(scope.$index, scope.row)\"\r\n v-show=\"scope.row.status === 1\"\r\n >订单发货</el-button\r\n >\r\n <!-- <el-button\r\n size=\"mini\"\r\n @click=\"handleViewLogistics(scope.$index, scope.row)\"\r\n v-show=\"scope.row.status===2||scope.row.status===3\">订单跟踪</el-button> -->\r\n <el-button\r\n size=\"mini\"\r\n type=\"danger\"\r\n @click=\"handleDeleteOrder(scope.$index, scope.row)\"\r\n v-show=\"scope.row.status === 4\"\r\n >删除订单</el-button\r\n >\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n </div>\r\n <!-- <div class=\"batch-operate-container\">\r\n <el-select size=\"small\" v-model=\"operateType\" placeholder=\"批量操作\">\r\n <el-option\r\n v-for=\"item in operateOptions\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\"\r\n >\r\n </el-option>\r\n </el-select>\r\n <el-button\r\n style=\"margin-left: 20px\"\r\n class=\"search-button\"\r\n @click=\"handleBatchOperate()\"\r\n type=\"primary\"\r\n size=\"small\"\r\n >\r\n 确定\r\n </el-button>\r\n </div> -->\r\n <div class=\"pagination-container\">\r\n <el-pagination\r\n background\r\n @size-change=\"handleSizeChange\"\r\n @current-change=\"handleCurrentChange\"\r\n layout=\"total, sizes,prev, pager, next,jumper\"\r\n :current-page.sync=\"listQuery.pageNum\"\r\n :page-size=\"listQuery.pageSize\"\r\n :page-sizes=\"[5, 10, 15]\"\r\n :total=\"total\"\r\n >\r\n </el-pagination>\r\n </div>\r\n <el-dialog\r\n title=\"关闭订单\"\r\n :visible.sync=\"closeOrder.dialogVisible\"\r\n width=\"30%\"\r\n >\r\n <el-form :model=\"closeOrder\" label-width=\"150px\" ref=\"closeOrder\">\r\n <el-form-item\r\n label=\"操作备注:\"\r\n prop=\"content\"\r\n :rules=\"[\r\n { required: true, message: '请填写操作备注', trigger: 'blur' },\r\n ]\"\r\n >\r\n <el-input v-model=\"closeOrder.content\" type=\"textarea\" rows=\"3\">\r\n </el-input>\r\n </el-form-item>\r\n </el-form>\r\n\r\n <!-- <span style=\"vertical-align: top\">操作备注:</span>\r\n\r\n <el-input\r\n style=\"width: 80%\"\r\n type=\"textarea\"\r\n :rows=\"5\"\r\n placeholder=\"请输入内容\"\r\n v-model=\"closeOrder.content\"\r\n >\r\n </el-input> -->\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <el-button @click=\"closeOrder.dialogVisible = false\">取 消</el-button>\r\n <el-button type=\"primary\" @click=\"handleCloseOrderConfirm\"\r\n >确 定</el-button\r\n >\r\n </span>\r\n </el-dialog>\r\n <logistics-dialog v-model=\"logisticsDialogVisible\"></logistics-dialog>\r\n </div>\r\n</template>\r\n<script>\r\nimport { fetchList, closeOrder, deleteOrder } from \"@/api/order\";\r\nimport { formatDate } from \"@/utils/date\";\r\nimport LogisticsDialog from \"@/views/oms/order/components/logisticsDialog\";\r\nconst defaultListQuery = {\r\n pageNum: 1,\r\n pageSize: 10,\r\n orderSn: null,\r\n receiverKeyword: null,\r\n status: null,\r\n orderType: null,\r\n sourceType: null,\r\n createTime: null,\r\n};\r\nexport default {\r\n name: \"orderList\",\r\n components: { LogisticsDialog },\r\n data() {\r\n return {\r\n listQuery: Object.assign({}, defaultListQuery),\r\n listLoading: true,\r\n list: null,\r\n total: null,\r\n operateType: null,\r\n multipleSelection: [],\r\n closeOrder: {\r\n dialogVisible: false,\r\n content: null,\r\n orderIds: [],\r\n },\r\n statusOptions: [\r\n {\r\n label: \"待付款\",\r\n value: 0,\r\n },\r\n {\r\n label: \"待发货\",\r\n value: 1,\r\n },\r\n {\r\n label: \"已发货\",\r\n value: 2,\r\n },\r\n {\r\n label: \"已完成\",\r\n value: 3,\r\n },\r\n {\r\n label: \"已关闭\",\r\n value: 4,\r\n },\r\n ],\r\n orderTypeOptions: [\r\n {\r\n label: \"正常订单\",\r\n value: 0,\r\n },\r\n {\r\n label: \"秒杀订单\",\r\n value: 1,\r\n },\r\n ],\r\n sourceTypeOptions: [\r\n {\r\n label: \"PC订单\",\r\n value: 0,\r\n },\r\n {\r\n label: \"APP订单\",\r\n value: 1,\r\n },\r\n ],\r\n operateOptions: [\r\n {\r\n label: \"批量发货\",\r\n value: 1,\r\n },\r\n {\r\n label: \"关闭订单\",\r\n value: 2,\r\n },\r\n {\r\n label: \"删除订单\",\r\n value: 3,\r\n },\r\n ],\r\n logisticsDialogVisible: false,\r\n };\r\n },\r\n created() {\r\n this.getList();\r\n // console.log(this.$route)\r\n if (this.$route.params.status + \"\") {\r\n this.listQuery.status = this.$route.params.status;\r\n }\r\n if(this.$route.query.orderSn){\r\n this.listQuery.orderSn = this.$route.query.orderSn\r\n }\r\n },\r\n filters: {\r\n formatCreateTime(time) {\r\n let date = new Date(time);\r\n return formatDate(date, \"yyyy-MM-dd hh:mm:ss\");\r\n },\r\n formatPayType(value) {\r\n if (value === 1) {\r\n return \"支付宝\";\r\n } else if (value === 2) {\r\n return \"微信\";\r\n } else if(value ===3){\r\n return \"0元支付\";\r\n }else {\r\n return \"未支付\";\r\n }\r\n },\r\n formatSourceType(value) {\r\n if (value === 1) {\r\n return \"APP订单\";\r\n } else {\r\n return \"PC订单\";\r\n }\r\n },\r\n formatStatus(value) {\r\n if (value === 1) {\r\n return \"待发货\";\r\n } else if (value === 2) {\r\n return \"已发货\";\r\n } else if (value === 3) {\r\n return \"已完成\";\r\n } else if (value === 4) {\r\n return \"已关闭\";\r\n } else if (value === 5) {\r\n return \"无效订单\";\r\n } else {\r\n return \"待付款\";\r\n }\r\n },\r\n },\r\n methods: {\r\n handleResetSearch() {\r\n this.listQuery = Object.assign({}, defaultListQuery);\r\n },\r\n handleSearchList() {\r\n this.listQuery.pageNum = 1;\r\n this.getList();\r\n },\r\n handleSelectionChange(val) {\r\n this.multipleSelection = val;\r\n },\r\n handleViewOrder(index, row) {\r\n this.$router.push({ path: \"/oms/orderDetail\", query: { id: row.id } });\r\n },\r\n handleCloseOrder(index, row) {\r\n this.closeOrder.dialogVisible = true;\r\n this.closeOrder.content = \"\";\r\n this.closeOrder.orderIds = [row.id];\r\n },\r\n handleDeliveryOrder(index, row) {\r\n let listItem = this.covertOrder(row);\r\n this.$router.push({\r\n path: \"/oms/deliverOrderList\",\r\n query: { list: [listItem] },\r\n });\r\n },\r\n handleViewLogistics(index, row) {\r\n this.logisticsDialogVisible = true;\r\n },\r\n handleDeleteOrder(index, row) {\r\n let ids = [];\r\n ids.push(row.id);\r\n this.deleteOrder(ids);\r\n },\r\n handleBatchOperate() {\r\n if (this.multipleSelection == null || this.multipleSelection.length < 1) {\r\n this.$message({\r\n message: \"请选择要操作的订单\",\r\n type: \"warning\",\r\n duration: 1000,\r\n });\r\n return;\r\n }\r\n if (this.operateType === 1) {\r\n //批量发货\r\n let list = [];\r\n for (let i = 0; i < this.multipleSelection.length; i++) {\r\n if (this.multipleSelection[i].status === 1) {\r\n list.push(this.covertOrder(this.multipleSelection[i]));\r\n }\r\n }\r\n if (list.length === 0) {\r\n this.$message({\r\n message: \"选中订单中没有可以发货的订单\",\r\n type: \"warning\",\r\n duration: 1000,\r\n });\r\n return;\r\n }\r\n this.$router.push({\r\n path: \"/oms/deliverOrderList\",\r\n query: { list: list },\r\n });\r\n } else if (this.operateType === 2) {\r\n //关闭订单\r\n this.closeOrder.orderIds = [];\r\n for (let i = 0; i < this.multipleSelection.length; i++) {\r\n this.closeOrder.orderIds.push(this.multipleSelection[i].id);\r\n }\r\n this.closeOrder.dialogVisible = true;\r\n } else if (this.operateType === 3) {\r\n //删除订单\r\n let ids = [];\r\n for (let i = 0; i < this.multipleSelection.length; i++) {\r\n ids.push(this.multipleSelection[i].id);\r\n }\r\n this.deleteOrder(ids);\r\n }\r\n },\r\n handleSizeChange(val) {\r\n this.listQuery.pageNum = 1;\r\n this.listQuery.pageSize = val;\r\n this.getList();\r\n },\r\n handleCurrentChange(val) {\r\n this.listQuery.pageNum = val;\r\n this.getList();\r\n },\r\n handleCloseOrderConfirm() {\r\n // if (this.closeOrder.content == null || this.closeOrder.content === \"\") {\r\n // this.$message({\r\n // message: \"操作备注不能为空\",\r\n // type: \"warning\",\r\n // duration: 1000,\r\n // });\r\n // return;\r\n // }\r\n\r\n this.$refs.closeOrder.validate((valid) => {\r\n if (valid) {\r\n // let params = new URLSearchParams();\r\n // params.append(\"ids\", this.closeOrder.orderIds);\r\n // params.append(\"note\", this.closeOrder.content);\r\n let obj = {\r\n ids:this.closeOrder.orderIds.join(','),\r\n note: this.closeOrder.content\r\n }\r\n closeOrder(obj).then((response) => {\r\n this.closeOrder.orderIds = [];\r\n // this.closeOrder.dialogVisible = false;\r\n (this.closeOrder = {\r\n dialogVisible: false,\r\n content: null,\r\n orderIds: [],\r\n }),\r\n this.getList();\r\n this.$message({\r\n message: \"修改成功\",\r\n type: \"success\",\r\n duration: 1000,\r\n });\r\n });\r\n }\r\n });\r\n },\r\n getList() {\r\n this.listLoading = true;\r\n fetchList(this.listQuery).then((response) => {\r\n this.listLoading = false;\r\n this.list = response.data.list;\r\n this.total = response.data.total;\r\n });\r\n },\r\n deleteOrder(ids) {\r\n this.$confirm(\"是否要进行该删除操作?\", \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\",\r\n }).then(() => {\r\n // let params = new URLSearchParams();\r\n // params.append(\"ids\", ids);\r\n let obj = {\r\n ids:ids.join(',')\r\n }\r\n deleteOrder(obj).then((response) => {\r\n this.$message({\r\n message: \"删除成功!\",\r\n type: \"success\",\r\n duration: 1000,\r\n });\r\n this.getList();\r\n });\r\n });\r\n },\r\n covertOrder(order) {\r\n let address =\r\n order.receiverProvince +\r\n order.receiverCity +\r\n order.receiverRegion +\r\n order.receiverDetailAddress;\r\n let listItem = {\r\n orderId: order.id,\r\n orderSn: order.orderSn,\r\n receiverName: order.receiverName,\r\n receiverPhone: order.receiverPhone,\r\n receiverPostCode: order.receiverPostCode,\r\n address: address,\r\n deliveryCompany: null,\r\n deliverySn: null,\r\n };\r\n return listItem;\r\n },\r\n },\r\n};\r\n</script>\r\n<style scoped>\r\n.input-width {\r\n width: 203px;\r\n}\r\n</style>\r\n\r\n\r\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(\"老师\")]):_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\":[\n { 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-1efc6790\",\"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}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-1efc6790\\\",\\\"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-1efc6790\\\",\\\"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-1efc6790\"\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":""}