33.85c901641f8c34c58d86.js.map 12 KB

1
  1. {"version":3,"sources":["webpack:///src/views/oms/order/deliverOrderList.vue","webpack:///./src/views/oms/order/deliverOrderList.vue?047b","webpack:///./src/views/oms/order/deliverOrderList.vue"],"names":["defaultLogisticsCompanies","deliverOrderList","name","data","list","companyOptions","created","this","$route","query","Array","methods","cancel","$router","back","confirm","_this","$confirm","confirmButtonText","cancelButtonText","type","then","Object","order","response","$message","message","catch","order_deliverOrderList","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","shadow","_v","ref","staticStyle","width","border","label","align","scopedSlots","_u","key","fn","scope","_s","row","orderSn","receiverName","receiverPhone","receiverPostCode","address","placeholder","size","model","value","callback","$$v","$set","expression","_l","item","margin-top","text-align","on","click","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"2IAqDAA,GAAA,6BACAC,GACAC,KAAA,mBACAC,KAFA,WAGA,OACAC,QACAC,eAAAL,IAGAM,QARA,WASAC,KAAAH,KAAAG,KAAAC,OAAAC,MAAAL,KAEAG,KAAAH,gBAAAM,QAAA,IACAH,KAAAH,UAGAO,SACAC,OADA,WAEAL,KAAAM,QAAAC,QAEAC,QAJA,WAIA,IAAAC,EAAAT,KACAA,KAAAU,SAAA,mBACAC,kBAAA,KACAC,iBAAA,KACAC,KAAA,YACAC,KAAA,WACAC,OAAAC,EAAA,EAAAD,CAAAN,EAAAZ,MAAAiB,KAAA,SAAAG,GACAR,EAAAH,QAAAC,OACAE,EAAAS,UACAL,KAAA,UACAM,QAAA,cAGAC,MAAA,WACAX,EAAAS,UACAL,KAAA,OACAM,QAAA,eCtFAE,GADiBC,OAFjB,WAA0B,IAAAC,EAAAvB,KAAawB,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,kBAA4BF,EAAA,WAAgBE,YAAA,oBAAAC,OAAuCC,OAAA,WAAkBJ,EAAA,KAAUE,YAAA,oBA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,KAAAL,EAAA,mBAAoCG,OAAOO,MAAA,OAAAF,MAAA,MAAAG,MAAA,UAA8CC,YAAAf,EAAAgB,KAAsBC,IAAA,UAAAC,GAAA,SAAAC,GAAiC,OAAAhB,EAAA,aAAwBG,OAAOqB,YAAA,UAAAC,KAAA,SAAuCC,OAAQC,MAAAX,EAAAE,IAAA,gBAAAU,SAAA,SAAAC,GAA2DhC,EAAAiC,KAAAd,EAAAE,IAAA,kBAAAW,IAA4CE,WAAA,8BAAyClC,EAAAmC,GAAAnC,EAAA,wBAAAoC,GAA4C,OAAAjC,EAAA,aAAuBc,IAAAmB,EAAA9B,OAAgBO,MAAAuB,EAAAN,MAAAM,eAAqCpC,EAAAQ,GAAA,KAAAL,EAAA,mBAAoCG,OAAOO,MAAA,OAAAF,MAAA,MAAAG,MAAA,UAA8CC,YAAAf,EAAAgB,KAAsBC,IAAA,UAAAC,GAAA,SAAAC,GAAiC,OAAAhB,EAAA,YAAuBG,OAAOsB,KAAA,SAAeC,OAAQC,MAAAX,EAAAE,IAAA,WAAAU,SAAA,SAAAC,GAAsDhC,EAAAiC,KAAAd,EAAAE,IAAA,aAAAW,IAAuCE,WAAA,kCAA2C,GAAAlC,EAAAQ,GAAA,KAAAL,EAAA,OAA4BO,aAAa2B,aAAA,OAAAC,aAAA,YAA2CnC,EAAA,aAAkBoC,IAAIC,MAAAxC,EAAAlB,UAAoBkB,EAAAQ,GAAA,QAAAR,EAAAQ,GAAA,KAAAL,EAAA,aAA6CG,OAAOhB,KAAA,WAAiBiD,IAAKC,MAAAxC,EAAAf,WAAqBe,EAAAQ,GAAA,qBAEp3EiC,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACAzE,EACA2B,GATA,EAVA,SAAA+C,GACAF,EAAA,SAaA,KAEA,MAUAG,EAAA,QAAAJ,EAAA","file":"static/js/33.85c901641f8c34c58d86.js","sourcesContent":["<template> \n <div class=\"app-container\">\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 ref=\"deliverOrderTable\"\n style=\"width: 100%;\"\n :data=\"list\" border>\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\">{{scope.row.receiverName}}</template>\n </el-table-column>\n <el-table-column label=\"手机号码\" width=\"160\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.receiverPhone}}</template>\n </el-table-column>\n <el-table-column label=\"邮政编码\" width=\"160\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.receiverPostCode}}</template>\n </el-table-column>\n <el-table-column label=\"收货地址\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.address}}</template>\n </el-table-column>\n <el-table-column label=\"配送方式\" width=\"160\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-select placeholder=\"请选择物流公司\"\n v-model=\"scope.row.deliveryCompany\"\n size=\"small\">\n <el-option v-for=\"item in companyOptions\"\n :key=\"item\"\n :label=\"item\"\n :value=\"item\">\n </el-option>\n </el-select>\n </template>\n </el-table-column>\n <el-table-column label=\"物流单号\" width=\"180\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-input size=\"small\" v-model=\"scope.row.deliverySn\"></el-input>\n </template>\n </el-table-column>\n </el-table>\n <div style=\"margin-top: 15px;text-align: center\">\n <el-button @click=\"cancel\">取消</el-button>\n <el-button @click=\"confirm\" type=\"primary\">确定</el-button>\n </div>\n </div>\n </div>\n</template>\n<script>\n import {deliveryOrder} from '@/api/order'\n const defaultLogisticsCompanies=[\"顺丰快递\",\"圆通快递\",\"中通快递\",\"韵达快递\"];\n export default {\n name: 'deliverOrderList',\n data() {\n return {\n list:[],\n companyOptions:defaultLogisticsCompanies\n }\n },\n created(){\n this.list= this.$route.query.list;\n //当list不为数组时转换为数组\n if(this.list instanceof Array===false){\n this.list=[];\n }\n },\n methods:{\n cancel(){\n this.$router.back();\n },\n confirm(){\n this.$confirm('是否要进行发货操作?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n deliveryOrder(this.list).then(response=>{\n this.$router.back();\n this.$message({\n type: 'success',\n message: '发货成功!'\n });\n });\n }).catch(() => {\n this.$message({\n type: 'info',\n message: '已取消发货'\n });\n });\n }\n }\n }\n</script>\n<style></style>\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/views/oms/order/deliverOrderList.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:\"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',{ref:\"deliverOrderTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.list,\"border\":\"\"}},[_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(scope.row.receiverName))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"手机号码\",\"width\":\"160\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.receiverPhone))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"邮政编码\",\"width\":\"160\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.receiverPostCode))]}}])}),_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.address))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"配送方式\",\"width\":\"160\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-select',{attrs:{\"placeholder\":\"请选择物流公司\",\"size\":\"small\"},model:{value:(scope.row.deliveryCompany),callback:function ($$v) {_vm.$set(scope.row, \"deliveryCompany\", $$v)},expression:\"scope.row.deliveryCompany\"}},_vm._l((_vm.companyOptions),function(item){return _c('el-option',{key:item,attrs:{\"label\":item,\"value\":item}})}))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"物流单号\",\"width\":\"180\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"size\":\"small\"},model:{value:(scope.row.deliverySn),callback:function ($$v) {_vm.$set(scope.row, \"deliverySn\", $$v)},expression:\"scope.row.deliverySn\"}})]}}])})],1),_vm._v(\" \"),_c('div',{staticStyle:{\"margin-top\":\"15px\",\"text-align\":\"center\"}},[_c('el-button',{on:{\"click\":_vm.cancel}},[_vm._v(\"取消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.confirm}},[_vm._v(\"确定\")])],1)],1)],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-7e0d8394\",\"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/deliverOrderList.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-7e0d8394\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./deliverOrderList.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!./deliverOrderList.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./deliverOrderList.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7e0d8394\\\",\\\"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!./deliverOrderList.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/deliverOrderList.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}