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-49f6df72.f4b8b6c2.js.map

1 line
22 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["webpack:///./src/views/commodity/page/supplierManagement.vue","webpack:///src/views/commodity/page/supplierManagement.vue","webpack:///./src/views/commodity/page/supplierManagement.vue?d5b8","webpack:///./src/views/commodity/page/supplierManagement.vue?e4c8","webpack:///./src/api/shop.js"],"names":["render","_vm","this","_c","_self","staticClass","_m","attrs","on","$event","add","_v","ref","config","tableCheck","slot","del","table_row","add_vrisible","addClose","staticStyle","addForm","addRuleSuccess","scopedSlots","_u","key","fn","dateTimeChange","model","value","addDate","callback","$$v","expression","proxy","$baseUrl","ImgeSuccess","imglist","handleExceed","beforeAvatarUpload","addSubmit","staticRenderFns","data","ruleForm","name","director","tel","address","imgUrls","rules","required","message","trigger","form_item","type","label","placeholder","width","prop","slotName","thead","table_data","url","search_item","pageNum","size","methods","shopSupplierInsert","arr","confirmButtonText","cancelButtonText","confirmButtonClass","cancelButtonClass","then","catch","action","component","service","request","method","shopGoodsInsert","shopSupplierList","params","orderArrivalGoods","shopCategoryList","shopCategoryUpdate","shopCategoryDelete","shopCategoryInsert","shopGoodsLoading","shopGoodsUnloading","shopOrderDeliverGoods","refundExchangeGoods","shopRefundExamine","shopEvaluationReply"],"mappings":"uHAAA,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,CAACE,YAAY,eAAe,CAACF,EAAG,YAAY,CAACE,YAAY,cAAcE,MAAM,CAAC,KAAO,gB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AAMA,IAIP,SAAS0C,EAAiB1C,GAC7B,OAAOmC,OAAQC,QAAQ,CACnBC,OAAO,MACPjB,IAAI,qBACJoB,OAAQxC,IAIT,SAAS2C,EAAmB3C,GAC/B,OAAOmC,OAAQC,QAAQ,CACnBC,OAAO,OACPjB,IAAI,uBACJpB,KAAMA,IAIP,SAAS4C,EAAmB5C,GAC/B,OAAOmC,OAAQC,QAAQ,CACnBC,OAAO,MACPjB,IAAI,uBACJoB,OAAQxC,IAGT,SAAS6C,EAAmB7C,GAC/B,OAAOmC,OAAQC,QAAQ,CACnBC,OAAO,OACPjB,IAAI,uBACJpB,KAAMA,IAKP,SAAS8C,EAAiB9C,GAC7B,OAAOmC,OAAQC,QAAQ,CACnBC,OAAO,MACPjB,IAAI,qBACJoB,OAAQxC,IAGT,SAAS+C,EAAmB/C,GAC/B,OAAOmC,OAAQC,QAAQ,CACnBC,OAAO,MACPjB,IAAI,uBACJoB,OAAQxC,IAIT,SAASgD,EAAsBhD,GAClC,OAAOmC,OAAQC,QAAQ,CACnBC,OAAO,OACPjB,IAAI,0BACJpB,KAAMA,IAIP,SAASiD,EAAoBjD,GAChC,OAAOmC,OAAQC,QAAQ,CACnBC,OAAO,MACPjB,IAAI,4BACJoB,OAAOxC,IAIR,SAASkD,EAAkBlD,GAC9B,OAAOmC,OAAQC,QAAQ,CACnBC,OAAO,OACPjB,IAAI,sBACJpB,KAAMA,IAIP,SAASmD,EAAoBnD,GAChC,OAAOmC,OAAQC,QAAQ,CACnBC,OAAO,OACPjB,IAAI,wBACJpB,KAAMA","file":"js/chunk-49f6df72.f4b8b6c2.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',{staticClass:\"content-btn\"},[_c('el-button',{staticClass:\"init-button\",attrs:{\"icon\":\"el-icon-plus\"},on:{\"click\":function($event){return _vm.add()}}},[_vm._v(\"新增供应商\")])],1),_c('div',{},[_c('VueTable',{ref:\"table\",attrs:{\"config\":_vm.config},on:{\"tableCheck\":_vm.tableCheck}},[_c('template',{slot:\"footer\"},[_c('div',{staticClass:\"table-footer\"},[_c('button',{on:{\"click\":function($event){return _vm.del(_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},on:{\"ruleSuccess\":_vm.addRuleSuccess},scopedSlots:_vm._u([{key:\"date\",fn:function(){return [_c('el-time-picker',{attrs:{\"is-range\":\"\",\"range-separator\":\"至\",\"value-format\":\"HH:MM:SS\",\"start-placeholder\":\"开始时间\",\"end-placeholder\":\"结束时间\",\"placeholder\":\"选择时间范围\"},on:{\"change\":_vm.dateTimeChange},model:{value:(_vm.addDate),callback:function ($$v) {_vm.addDate=$$v},expression:\"addDate\"}})]},proxy:true}])},[_c('template',{slot:\"imgUrls\"},[[_c('el-upload',{attrs:{\"action\":`${_vm.$baseUrl}upload/uploadShoppingSupplier`,\"on-success\":_vm.ImgeSuccess,\"file-list\":_vm.imglist,\"on-exceed\":_vm.handleExceed,\"limit\":1,\"accept\":\".jpg,.png,.JPG,.PNG\",\"before-upload\":_vm.beforeAvatarUpload}},[_c('el-button',{attrs:{\"icon\":\"el-icon-edit\",\"size\":\"small\"}},[_vm._v(\"上传图片\")]),_c('span',{staticStyle:{\"margin-left\":\"10px\",\"font-size\":\"12px\",\"color\":\"#444444\"}},[_vm._v(\"建议比例3:2\")]),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_c('span',[_vm._v(\"支持扩展名png,jpg\")])])],1)]],2)],2)]],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)])])\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=\"content-btn\">\n <el-button class=\"init-button\"\n @click=\"add()\"\n icon=\"el-icon-plus\">新增供应商</el-button>\n </div>\n <div class=\"\">\n <VueTable ref=\"table\"\n :config='config'\n @tableCheck=\"tableCheck\">\n <!-- <template slot=\"tabs\">\n <el-tabs v-model=\"activeName\"\n @tab-click=\"handleClick\">\n <el-tab-pane label=\"全部\"\n name=\"0\"></el-tab-pane>\n <el-tab-pane label=\"使用中\"\n name=\"1\"></el-tab-pane>\n <el-tab-pane label=\"空置中\"\n name=\"2\"></el-tab-pane>\n <el-tab-pane label=\"停用\"\n name=\"3\"></el-tab-pane>\n </el-tabs>\n </template> -->\n <template slot=\"footer\">\n <div class=\"table-footer\">\n <!-- <button>编辑</button> -->\n <button @click=\"del(table_row)\">删除</button>\n\n </div>\n </template>\n </VueTable>\n </div>\n <!-- 新增 -->\n <Drawer drawerTitle=\"新增供应商\"\n @drawerClose=\"addClose\"\n :drawerVrisible='add_vrisible'>\n <div style=\"padding:30px\">\n <FromCard>\n <template slot=\"title\">填写供应商信息</template>\n <template>\n <VueForm ref=\"addForm\"\n :formObj='addForm' @ruleSuccess=\"addRuleSuccess\">\n <!-- Slot -->\n <template v-slot:date>\n <el-time-picker is-range\n v-model=\"addDate\"\n range-separator=\"至\"\n @change='dateTimeChange'\n value-format='HH:MM:SS'\n start-placeholder=\"开始时间\"\n end-placeholder=\"结束时间\"\n placeholder=\"选择时间范围\">\n </el-time-picker>\n </template>\n <template slot='imgUrls'>\n <template>\n <el-upload :action=\"`${$baseUrl}upload/uploadShoppingSupplier`\"\n :on-success=\"ImgeSuccess\"\n :file-list=\"imglist\"\n :on-exceed=\"handleExceed\"\n :limit=\"1\"\n accept=\".jpg,.png,.JPG,.PNG\"\n :before-upload=\"beforeAvatarUpload\">\n <el-button icon=\"el-icon-edit\"\n size=\"small\">上传图片</el-button>\n <span style='margin-left:10px;font-size:12px;color:#444444'>建议比例3:2</span>\n <div slot=\"tip\"\n class=\"el-upload__tip\">\n <span>支持扩展名png,jpg</span>\n </div>\n </el-upload>\n </template>\n </template>\n </VueForm>\n </template>\n </FromCard>\n </div>\n <div slot=\"footer\">\n <button class=\"btn-orange\"\n @click=\"addSubmit()\"><span> <i class=\"el-icon-circle-check\"></i>提交</span></button>\n <button class=\"btn-gray\"\n @click=\"addClose\"><span>取消</span></button>\n </div>\n </Drawer>\n\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport { shopSupplierInsert } from '@/api/shop'\nexport default {\n data () {\n return {\n add_vrisible: false,\n addDate: null,\n addForm: {\n ruleForm: {\n name: null,\n director: '',\n tel:null,\n address:null,\n imgUrls: []\n },\n rules: {\n // 表单必填\n name: [\n { required: true, message: '请输入', trigger: 'change' }\n ],\n director: [\n { required: true, message: '请输入', trigger: 'change' }\n ],\n tel: [\n { required: true, message: '请选择', trigger: 'change' }\n ],\n address: [\n { required: true, message: '请选择', trigger: 'change' }\n ]\n },\n form_item: [\n {\n type: 'Input',\n label: '供应商名称',\n placeholder: '请输入',\n width: '100%',\n prop: 'name'\n },\n {\n type: 'Input',\n label: '负责人',\n placeholder: '请输入',\n width: '100%',\n prop: 'director'\n },\n {\n type: 'Input',\n label: '联系方式',\n placeholder: '请输入',\n width: '100%',\n prop: 'tel'\n },\n {\n type: 'Input',\n label: '商家地址',\n placeholder: '请输入',\n width: '100%',\n prop: 'address'\n },\n {\n type: 'Slot',\n label: '商家图标',\n placeholder: '请输入',\n width: '100%',\n prop: 'imgUrls',\n slotName: 'imgUrls'\n }\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: 'auto' },\n { label: '供应商名称', prop: 'name', width: 'auto' },\n { label: '负责人', prop: 'director', width: 'auto' },\n { label: '联系方式', prop: 'tel', width: 'auto' },\n { label: '商家地址', prop: 'address', width: 'auto' },\n { label: '创建时间', prop: 'createDate', width: '220' },\n ],\n table_data: [],\n url: 'shopSupplierList',\n search_item: [\n {\n type: 'Input',\n label: '供应商名称',\n placeholder: '请选择',\n prop: 'name',\n },\n ],\n data: {\n pageNum: 1,\n size: 10\n },\n }\n }\n },\n methods: {\n add () {\n this.add_vrisible = true\n },\n addClose () {\n this.$refs.addForm.reset()\n this.add_vrisible = false\n },\n addRuleSuccess() {\n // this.add_vrisible = false\n /**\n *\n * code\t :null, 设施分类编号\t是\t[string]\n 2\tname\t :null, 设施分类名称\t是\t[string]\n 3\topenStartDate:null,\t 开放开始时间\t是\t[datetime]\t\"3:41:44\"\t查看\n 4\topenEndDate\t :null, 开放结束时间\t是\t[datetime]\t\"21:41:44\"\t查看\n 5\timgUrls:null,\n *\n * **/\n let resData = {\n ...this.addForm.ruleForm\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 shopSupplierInsert(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 addSubmit () {\n this.$refs.addForm.submitForm()\n },\n dateTimeChange (arr) {\n this.addForm.ruleForm.openStartDate = arr[0]\n this.addForm.ruleForm.openEndDate = arr[1]\n },\n // 图片上传成功\n ImgeSuccess (res, file) {\n this.addForm.ruleForm.imgUrls[0] = file.response.url\n },\n // 图片文件上传之前\n beforeAvatarUpload (file) {\n const isLt2M = file.size / 1024 / 1024 < 2;\n const isJPG = file.type === 'image/png'\n const isPNG = file.type === 'image/jpeg'\n if (!isJPG && !isPNG) {\n this.$message.error('上传头像图片只能是 JPG/PNG 格式!');\n }\n if (!isLt2M) {\n this.$message.error('上传头像图片大小不能超过 2MB!');\n }\n return (isJPG || isPNG) && isLt2M;\n },\n // 上传限制提示\n handleExceed (files, fileList) {\n this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);\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 }).then(() => {\n this.$refs.table.tableDelete(arr)\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!./supplierManagement.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!./supplierManagement.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./supplierManagement.vue?vue&type=template&id=47c172a4&\"\nimport script from \"./supplierManagement.vue?vue&type=script&lang=js&\"\nexport * from \"./supplierManagement.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":""}