You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rcgy_xmf_qrcode/js/chunk-17e0dbac.1a3e06da.js.map

1 line
20 KiB

{"version":3,"sources":["webpack:///./src/views/commodity/page/orderManagement.vue","webpack:///src/views/commodity/page/orderManagement.vue","webpack:///./src/views/commodity/page/orderManagement.vue?4bf3","webpack:///./src/views/commodity/page/orderManagement.vue?d17d","webpack:///./src/api/shop.js"],"names":["render","_vm","this","_c","_self","staticClass","_m","ref","attrs","config","on","tableCheck","scopedSlots","_u","key","fn","slotData","data","goodsImgList","length","$event","getPhotoView","_v","slot","send","table_row","arrival","photos_Visible","goodsImgsList","getclose","staticRenderFns","components","viewsPhoto","imglist","activeName","thead","label","type","width","prop","slotName","callback","table_data","url","search_item","placeholder","options","value","pageNum","size","methods","message","shopOrderDeliverGoods","id","orderArrivalGoods","component","shopSupplierInsert","service","request","method","shopGoodsInsert","shopSupplierList","params","shopCategoryList","shopCategoryUpdate","shopCategoryDelete","shopCategoryInsert","shopGoodsLoading","shopGoodsUnloading","refundExchangeGoods","shopRefundExamine","shopEvaluationReply"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,GAAG,CAACA,EAAG,WAAW,CAACI,IAAI,QAAQC,MAAM,CAAC,OAASP,EAAIQ,QAAQC,GAAG,CAAC,WAAaT,EAAIU,YAAYC,YAAYX,EAAIY,GAAG,CAAC,CAACC,IAAI,eAAeC,GAAG,SAASC,GAAU,MAAO,CAAEA,EAASC,KAAKC,aAAaC,OAAQhB,EAAG,MAAM,CAACA,EAAG,YAAY,CAACE,YAAY,YAAYG,MAAM,CAAC,KAAO,QAAQE,GAAG,CAAC,MAAQ,SAASU,GAAQ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,EAAiB9C,GAC7B,OAAOwC,OAAQC,QAAQ,CACnBC,OAAO,MACPhB,IAAI,qBACJmB,OAAQ7C,IAIT,SAAS+C,EAAmB/C,GAC/B,OAAOwC,OAAQC,QAAQ,CACnBC,OAAO,OACPhB,IAAI,uBACJ1B,KAAMA,IAIP,SAASgD,EAAmBhD,GAC/B,OAAOwC,OAAQC,QAAQ,CACnBC,OAAO,MACPhB,IAAI,uBACJmB,OAAQ7C,IAGT,SAASiD,EAAmBjD,GAC/B,OAAOwC,OAAQC,QAAQ,CACnBC,OAAO,OACPhB,IAAI,uBACJ1B,KAAMA,IAKP,SAASkD,EAAiBlD,GAC7B,OAAOwC,OAAQC,QAAQ,CACnBC,OAAO,MACPhB,IAAI,qBACJmB,OAAQ7C,IAGT,SAASmD,EAAmBnD,GAC/B,OAAOwC,OAAQC,QAAQ,CACnBC,OAAO,MACPhB,IAAI,uBACJmB,OAAQ7C,IAIT,SAASmC,EAAsBnC,GAClC,OAAOwC,OAAQC,QAAQ,CACnBC,OAAO,OACPhB,IAAI,0BACJ1B,KAAMA,IAIP,SAASoD,EAAoBpD,GAChC,OAAOwC,OAAQC,QAAQ,CACnBC,OAAO,MACPhB,IAAI,4BACJmB,OAAO7C,IAIR,SAASqD,EAAkBrD,GAC9B,OAAOwC,OAAQC,QAAQ,CACnBC,OAAO,OACPhB,IAAI,sBACJ1B,KAAMA,IAIP,SAASsD,EAAoBtD,GAChC,OAAOwC,OAAQC,QAAQ,CACnBC,OAAO,OACPhB,IAAI,wBACJ1B,KAAMA","file":"js/chunk-17e0dbac.1a3e06da.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"main-content\"},[_vm._m(0),_c('div',{staticClass:\"content\"},[_c('div',{},[_c('VueTable',{ref:\"table\",attrs:{\"config\":_vm.config},on:{\"tableCheck\":_vm.tableCheck},scopedSlots:_vm._u([{key:\"goodsImgList\",fn:function(slotData){return [(slotData.data.goodsImgList.length)?_c('div',[_c('el-button',{staticClass:\"init-text\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.getPhotoView(slotData.data.goodsImgList)}}},[_c('span',[_vm._v(\"查看\")])])],1):_c('div',[_vm._v(\"-\")])]}}])},[_c('template',{slot:\"footer\"},[_c('div',{staticClass:\"table-footer\"},[_c('button',{on:{\"click\":function($event){return _vm.send(_vm.table_row)}}},[_vm._v(\"发货\")]),_c('button',{on:{\"click\":function($event){return _vm.arrival(_vm.table_row)}}},[_vm._v(\"到货\")])])])],2)],1)])]),_c('views-photo',{attrs:{\"isVisible\":_vm.photos_Visible,\"goodsImgsList\":_vm.goodsImgsList},on:{\"closeViews\":_vm.getclose}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main-titel\"},[_c('span',[_vm._v(\"订单管理\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"main-content\">\n <div class=\"main-titel\">\n <span>订单管理</span>\n </div>\n <div class=\"content\">\n <div class=\"\">\n <VueTable\n ref=\"table\"\n :config=\"config\"\n @tableCheck=\"tableCheck\"\n >\n <template v-slot:goodsImgList=\"slotData\">\n <div v-if=\"slotData.data.goodsImgList.length\">\n <el-button\n class=\"init-text\"\n type=\"text\"\n @click=\"\n getPhotoView(slotData.data.goodsImgList)\n \"\n >\n <span>查看</span>\n </el-button>\n </div>\n <div v-else>-</div>\n </template>\n <template slot=\"footer\">\n <div class=\"table-footer\">\n <button @click=\"send(table_row)\">发货</button>\n <button @click=\"arrival(table_row)\">到货</button>\n </div>\n </template>\n </VueTable>\n </div>\n </div>\n </div>\n <views-photo\n :isVisible=\"photos_Visible\"\n :goodsImgsList=\"goodsImgsList\"\n @closeViews=\"getclose\"\n ></views-photo>\n </div>\n</template>\n\n<script>\nimport viewsPhoto from '@/components/dialog/viewsPhoto'\nimport { shopOrderDeliverGoods ,orderArrivalGoods} from '@/api/shop'\nexport default {\n components: {\n viewsPhoto\n },\n data() {\n return {\n photos_Visible: false,\n goodsImgsList: [],\n table_row: [],\n // 上传img文件\n imglist: [],\n activeName: '0',\n config: {\n thead: [\n { label: '序号', type: 'index', width: '80' },\n { label: '订单号', prop: 'code', width: '100' },\n { label: '商品名称', prop: 'goodsName', width: 'auto' },\n {\n label: '商品照片',\n prop: 'goodsImgList',\n width: '150',\n type: 'slot',\n slotName: 'goodsImgList'\n },\n { label: '售卖价', prop: 'sellingPrice', width: 'auto' },\n { label: '划线价', prop: 'markingPrice', width: 'auto' },\n { label: '数量', prop: 'num', width: 'auto' },\n {\n label: '客户信息',\n prop: 'userName',\n width: '230',\n type: 'function',\n callback: (row, prop) => {\n if (row.userTel) {\n return row.userName + ' ' + row.userTel\n }\n }\n },\n {\n label: '订单状态',\n prop: 'status',\n width: 'auto',\n type: 'function',\n callback: (row, prop) => {\n switch (row.status) {\n case -3:\n return '支付完成后全额退款'\n break\n case -2:\n return '交易创建并等待买家付款'\n break\n case -1:\n return '未付款交易超时关闭'\n break\n case 1:\n return '待发货'\n break\n case 2:\n return '已发货'\n break\n case 3:\n return '已到货'\n break\n case 4:\n return '已收货'\n break\n\n case 6:\n return '已评价'\n break\n case 8:\n return '申请退换货'\n break\n case 9:\n return '申请通过'\n break\n case 10:\n return '申请退换货驳回'\n break\n case 11:\n return '换货中'\n break\n case 12:\n return '已换货'\n break\n case 15:\n return '交易结束并不可退款'\n break\n }\n }\n },\n {\n label: '到货时间说明',\n prop: 'arrivalTime',\n width: 'auto'\n }\n ],\n table_data: [],\n url: 'shopOrderList',\n search_item: [\n {\n type: 'Input',\n label: '订单编号',\n placeholder: '请输入订单编号',\n prop: 'code'\n },\n {\n type: 'select',\n label: '订单状态',\n placeholder: '请选择',\n options: [\n { value: -3, label: '支付完成后全额退款' },\n { value: -2, label: '交易创建并等待买家付款' },\n { value: -1, label: '未付款交易超时关闭' },\n { value: 1, label: '待发货' },\n { value: 2, label: '已发货' },\n { value: 3, label: '已到货' },\n { value: 4, label: '已收货' },\n { value: 6, label: '已评价' },\n { value: 8, label: '申请退换货' },\n { value: 9, label: '申请退换货通过' },\n { value: 10, label: '申请退换货驳回' },\n { value: 11, label: '换货中' },\n { value: 12, label: '已换货' },\n { value: 15, label: '交易结束并不可退款' },\n ],\n prop: 'status'\n },\n {\n type: 'Int',\n label: '客户手机号',\n placeholder: '请输入手机号',\n prop: 'userTel'\n }\n ],\n data: {\n pageNum: 1,\n size: 10\n }\n }\n }\n },\n methods: {\n getPhotoView(item) {\n this.photos_Visible = true\n // let resData = {\n // id: id,\n // }\n // userArticleOutFindGoodsImgById(resData).then(result => {\n // console.log(result)\n this.goodsImgsList = item\n // })\n },\n getclose() {\n this.photos_Visible = false\n },\n send(data) {\n if (data.length != 1) {\n this.$message({\n type: 'error',\n message: '请选择一个订单发货'\n })\n } else {\n shopOrderDeliverGoods({ id: data[0].id }).then((res) => {\n if (res.status) {\n this.$message({\n message: res.message,\n type: 'success'\n })\n this.$refs.table.requestData()\n }\n })\n }\n },\n //到货 只有已发货状态才可以发货\n arrival(data){\n if(data.length!=1){\n this.$message({\n type: 'error',\n message: '请选择一个订单到货'\n })\n }else if(data[0].status!=2){\n this.$message({\n type: 'error',\n message: '该状态不可到货'\n })\n }else{\n orderArrivalGoods({id:data[0].id}).then((res) => {\n if (res.status) {\n this.$message({\n message: res.message,\n type: 'success'\n })\n this.$refs.table.requestData()\n }\n })\n }\n },\n tableCheck(data) {\n this.table_row = data\n }\n }\n}\n</script>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./orderManagement.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./orderManagement.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./orderManagement.vue?vue&type=template&id=7384c388&\"\nimport script from \"./orderManagement.vue?vue&type=script&lang=js&\"\nexport * from \"./orderManagement.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import service from '../utils/request'\nimport requestUrl from './requestUrl'\n\n//supplierManagement供应商 shop/supplier/list\nexport function shopSupplierInsert(data){\n return service.request({\n method:'POST',\n url:'shop/supplier/insert',\n data: data\n })\n}\n//shop/goods/insert\nexport function shopGoodsInsert(data){\n return service.request({\n method:'POST',\n url:'shop/goods/insert',\n data: data\n })\n}\nexport function shopSupplierList(data){\n return service.request({\n method:'GET',\n url:'shop/supplier/list',\n params: data\n })\n}\n//到货order/arrivalGoods\nexport function orderArrivalGoods(data){\n return service.request({\n method:'POST',\n url:'shop/order/arrivalGoods',\n data: data\n })\n}\n//分类'shop/category/list'\nexport function shopCategoryList(data){\n return service.request({\n method:'GET',\n url:'shop/category/list',\n params: data\n })\n}\n//shop/category/update\nexport function shopCategoryUpdate(data){\n return service.request({\n method:'POST',\n url:'shop/category/update',\n data: data\n })\n}\n// shop/category/delete shop/category/insert\nexport function shopCategoryDelete(data){\n return service.request({\n method:'GET',\n url:'shop/category/delete',\n params: data\n })\n}\nexport function shopCategoryInsert(data){\n return service.request({\n method:'POST',\n url:'shop/category/insert',\n data: data\n })\n}\n\n//商品管理 上架shop/goods/loading 下架shop/goods/unloading\nexport function shopGoodsLoading(data){\n return service.request({\n method:'GET',\n url:'shop/goods/loading',\n params: data\n })\n}\nexport function shopGoodsUnloading(data){\n return service.request({\n method:'GET',\n url:'shop/goods/unloading',\n params: data\n })\n}\n//shop/order/deliverGoods 发货\nexport function shopOrderDeliverGoods(data){\n return service.request({\n method:'POST',\n url:'shop/order/deliverGoods',\n data: data\n })\n}\n//shop/refund/exchangeGoods\nexport function refundExchangeGoods(data){\n return service.request({\n method:'GET',\n url:'shop/refund/exchangeGoods',\n params:data\n })\n}\n//shop/refund/examine\nexport function shopRefundExamine(data){\n return service.request({\n method:'POST',\n url:'shop/refund/examine',\n data: data\n })\n}\n//商城评价回复 shop/evaluation/reply\nexport function shopEvaluationReply(data){\n return service.request({\n method:'POST',\n url:'shop/evaluation/reply',\n data: data\n })\n}"],"sourceRoot":""}