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.
1 line
27 KiB
1 line
27 KiB
{"version":3,"sources":["webpack:///./src/api/shop.js","webpack:///./src/views/commodity/page/unshippedRefund.vue","webpack:///src/views/commodity/page/unshippedRefund.vue","webpack:///./src/views/commodity/page/unshippedRefund.vue?bb1c","webpack:///./src/views/commodity/page/unshippedRefund.vue?e4fb"],"names":["shopSupplierInsert","data","service","request","method","url","shopGoodsInsert","shopSupplierList","params","orderArrivalGoods","shopCategoryList","shopCategoryUpdate","shopCategoryDelete","shopCategoryInsert","shopGoodsLoading","shopGoodsUnloading","shopOrderDeliverGoods","refundExchangeGoods","shopRefundExamine","shopEvaluationReply","render","_vm","this","_c","_self","staticClass","_m","ref","attrs","config","on","tableCheck","scopedSlots","_u","key","fn","slotData","goodsImgList","length","$event","getPhotoView","_v","slot","add","table_row","change","add_vrisible","addClose","staticStyle","addForm","addSubmit","photos_Visible","goodsImgsList","getclose","staticRenderFns","components","viewsPhoto","addDate","ruleForm","form_item","type","label","placeholder","width","options","value","prop","imglist","activeName","thead","slotName","callback","table_data","search_item","pageNum","size","methods","message","id","dateTimeChange","handleClick","status","del","arr","confirmButtonText","cancelButtonText","confirmButtonClass","cancelButtonClass","then","catch","action","component"],"mappings":"gHAAA,sfAIO,SAASA,EAAmBC,GAC/B,OAAOC,OAAQC,QAAQ,CACnBC,OAAO,OACPC,IAAI,uBACJJ,KAAMA,IAIP,SAASK,EAAgBL,GAC5B,OAAOC,OAAQC,QAAQ,CACnBC,OAAO,OACPC,IAAI,oBACJJ,KAAMA,IAGP,SAASM,EAAiBN,GAC7B,OAAOC,OAAQC,QAAQ,CACnBC,OAAO,MACPC,IAAI,qBACJG,OAAQP,IAIT,SAASQ,EAAkBR,GAC9B,OAAOC,OAAQC,QAAQ,CACnBC,OAAO,OACPC,IAAI,0BACJJ,KAAMA,IAIP,SAASS,EAAiBT,GAC7B,OAAOC,OAAQC,QAAQ,CACnBC,OAAO,MAC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CACAN,cACAC,cACAC,kBACAE,SACA,CAAAC,SAAAJ,mBACA,CAAAI,SAAAJ,qBACA,CAAAI,SAAAJ,mBACA,CAAAI,QAAAJ,aACA,CAAAI,QAAAJ,aACA,CAAAI,QAAAJ,aACA,CAAAI,QAAAJ,aACA,CAAAI,QAAAJ,aACA,CAAAI,QAAAJ,eACA,CAAAI,QAAAJ,iBACA,CAAAI,SAAAJ,iBACA,CAAAI,SAAAJ,aACA,CAAAI,SAAAJ,aACA,CAAAI,SAAAJ,eAEAK,gBAGAjE,MACAyE,UACAC,YAKAC,SACA/B,UACA,WACA,gCAGA,SAIA,iBACA,eACAgC,kBACAjB,eAGA3C,gBAAA6D,aAAA,SACA,WACA,eACAD,kBACAjB,iBAEA,+BAfA,4BAqBApB,gBACA,uBAMA,sBAGAa,WACA,wBAEAV,OACA,WACA,gCAGA,SAIA,gBACA,eACAkC,iBACAjB,eAGA,qBATA,4BAaAb,WACA,2BACA,sBAEAG,YACA,UACA,sBACA4B,yBAOA5D,2BACA,WACA,eACA2D,kBACAjB,iBAEA,4BACA,oBAIAmB,kBACA,yCACA,wCAGAC,iBACA,WAEAC,EADA,mBACAA,gBAEAA,KAEA,SACAP,UACAC,QACAM,UAEA,iCAIAlD,cACA,kBAGAmD,OACA,aACA,SACA,wCACAC,6BAEA,oCACAC,uBACAC,sBACAC,mCACAC,mCAEAC,KAAA,KACA,kCAEAC,MAAAC,YAEA,qCCjYuX,I,YCOnXC,EAAY,eACd,EACAvE,EACAkC,GACA,EACA,KACA,KACA,MAIa,aAAAqC,E","file":"js/chunk-091dbd42.fc02746f.js","sourcesContent":["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}","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.add(_vm.table_row)}}},[_vm._v(\"审核\")]),_c('button',{on:{\"click\":function($event){return _vm.change(_vm.table_row)}}},[_vm._v(\"已换货\")])])])],2)],1),_c('Drawer',{attrs:{\"drawerTitle\":\"审核\",\"drawerVrisible\":_vm.add_vrisible},on:{\"drawerClose\":_vm.addClose}},[_c('div',{staticStyle:{\"padding\":\"30px\"}},[_c('FromCard',[_c('template',{slot:\"title\"},[_vm._v(\"退换审核\")]),[_c('VueForm',{ref:\"addForm\",attrs:{\"formObj\":_vm.addForm}})]],2)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('button',{staticClass:\"btn-orange\",on:{\"click\":function($event){return _vm.addSubmit()}}},[_c('span',[_c('i',{staticClass:\"el-icon-circle-check\"}),_vm._v(\"提交\")])]),_c('button',{staticClass:\"btn-gray\",on:{\"click\":_vm.addClose}},[_c('span',[_vm._v(\"取消\")])])])])],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=\"add(table_row)\">审核</button>\n <button @click=\"change(table_row)\">已换货</button>\n <!-- <button @click=\"del(table_row)\">删除</button> -->\n </div>\n </template>\n </VueTable>\n </div>\n <!-- 新增 -->\n <Drawer\n drawerTitle=\"审核\"\n @drawerClose=\"addClose\"\n :drawerVrisible=\"add_vrisible\"\n >\n <div style=\"padding: 30px\">\n <FromCard>\n <template slot=\"title\">退换审核</template>\n <template>\n <VueForm ref=\"addForm\" :formObj=\"addForm\">\n </VueForm>\n </template>\n </FromCard>\n </div>\n <div slot=\"footer\">\n <button class=\"btn-orange\" @click=\"addSubmit()\">\n <span>\n <i class=\"el-icon-circle-check\"></i>提交</span\n >\n </button>\n <button class=\"btn-gray\" @click=\"addClose\">\n <span>取消</span>\n </button>\n </div>\n </Drawer>\n </div>\n </div>\n <views-photo :isVisible=\"photos_Visible\"\n :goodsImgsList=\"goodsImgsList\"\n @closeViews=\"getclose\"></views-photo>\n </div>\n</template>\n\n<script>\nimport viewsPhoto from '@/components/dialog/viewsPhoto'\nimport { shopRefundExamine,refundExchangeGoods } from '@/api/shop'\nexport default {\n components: {\n viewsPhoto\n },\n data() {\n return {\n photos_Visible: false,\n goodsImgsList: [],\n add_vrisible: false,\n addDate: null,\n addForm: {\n ruleForm: {\n // code: 'hdede',\n // facilitiesCategoryId:null,\n // address:null\n },\n form_item: [\n {\n type: 'Select',\n label: '审核状态',\n placeholder: '请选择',\n width: '100%',\n options: [\n { value: 9, label: '申请通过' },\n { value: 10, label: '申请驳回' }\n ],\n prop: 'status'\n },\n {\n type: 'textarea',\n label: '审核通过/驳回原因',\n placeholder: '请输入',\n width: '50%',\n prop: 'reason'\n }\n ]\n },\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: 'userName', width: '230' ,type:'function',\n callback:(row,prop)=>{\n if(row.userTel){\n return row.userName +' '+row.userTel\n }\n }\n },\n { label: '客户期望', prop: 'backType', width: 'auto' ,\n type:'function',\n callback:(row,prop)=>{\n switch (row.backType) {\n case 1:\n return '退货'\n break;\n case 2:\n return '换货'\n break;\n default:\n break;\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 { label: '退货申请时间', prop: 'backDate', width: 'auto' }\n ],\n table_data: [],\n url: 'shopRefundList',\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: 1, label: '退货' },\n { value: 2, label: '换货' },\n ],\n prop: 'backType'\n },\n {\n type: 'Int',\n label: '用户手机号',\n placeholder: '请输入手机号',\n prop: 'userTel'\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 data: {\n pageNum: 1,\n size: 10\n }\n }\n }\n },\n methods: {\n change(data){\n if (data.length > 1) {\n this.$message.error('只能操作一条数据')\n return\n }\n if (!data.length) {\n this.$message.error('请选择')\n return\n } else {\n if (data[0].status !== 11) {\n this.$message({\n message: '该状态不可操作',\n type: 'error'\n })\n } else {\n refundExchangeGoods({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.loadData()\n }\n })\n }\n }\n },\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 add(data) {\n if (data.length > 1) {\n this.$message.error('只能操作一条数据')\n return\n }\n if (!data.length) {\n this.$message.error('请选择')\n return\n } else {\n if (data[0].status !== 8) {\n this.$message({\n message: '该审核已结束',\n type: 'error'\n })\n } else {\n this.add_vrisible = true\n }\n }\n },\n addClose() {\n this.$refs.addForm.reset()\n this.add_vrisible = false\n },\n addSubmit() {\n let resData = {\n ...this.addForm.ruleForm,\n id: this.table_row[0].id\n // code: this.addForm.ruleForm.code,\n // name: this.addForm.ruleForm.name,\n // openStartDate: this.openStartDate,\n // openEndDate: this.openEndDate,\n // imgUrls:this.addForm.ruleForm.imgUrls,\n }\n shopRefundExamine(resData).then((res) => {\n if (res.status) {\n this.$message({\n message: res.message,\n type: 'success'\n })\n this.$refs.table.loadData()\n this.addClose()\n }\n })\n },\n dateTimeChange(arr) {\n this.addForm.ruleForm.openStartDate = arr[0]\n this.addForm.ruleForm.openEndDate = arr[1]\n },\n // tabs切换\n handleClick(tab, event) {\n let status = null\n if (this.activeName != 0) {\n status = this.activeName\n } else {\n status = null\n }\n const requestData = {\n pageNum: 1,\n size: 10,\n status: status\n }\n this.$refs.table.requestData(requestData)\n },\n\n // 表格选中\n tableCheck(data) {\n this.table_row = data\n },\n // 删除\n del(data) {\n if (data.length) {\n let arr = []\n for (let i = 0; i < this.table_row.length; i++) {\n arr.push(this.table_row[i].id)\n }\n this.$confirm('是否确认删除?删除不可恢复', '删除', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n confirmButtonClass: 'confirmButton',\n cancelButtonClass: 'cancelButton'\n })\n .then(() => {\n this.$refs.table.tableDelete(arr)\n })\n .catch((action) => {})\n } else {\n this.$message.error('请选中需要删除的数据')\n }\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!./unshippedRefund.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!./unshippedRefund.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./unshippedRefund.vue?vue&type=template&id=c8a6fc2c&\"\nimport script from \"./unshippedRefund.vue?vue&type=script&lang=js&\"\nexport * from \"./unshippedRefund.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"],"sourceRoot":""} |