16.8a40d7c10ae8c85d0b7b.js.map 24 KB

1
  1. {"version":3,"sources":["webpack:///src/views/pms/productCate/components/ProductCateDetail.vue","webpack:///./src/views/pms/productCate/components/ProductCateDetail.vue?f519","webpack:///./src/views/pms/productCate/components/ProductCateDetail.vue","webpack:///src/views/pms/productCate/add.vue","webpack:///./src/views/pms/productCate/add.vue?f1cb","webpack:///./src/views/pms/productCate/add.vue"],"names":["defaultProductCate","description","icon","keywords","name","navStatus","parentId","productUnit","showStatus","sort","productAttributeIdList","ProductCateDetail","components","SingleUpload","props","isEdit","type","Boolean","default","data","productCate","assign_default","selectProductCateList","rules","required","message","trigger","min","max","filterAttrs","filterProductAttrList","value","created","_this","this","Object","$route","query","id","then","response","productAttr","length","i","push","key","Date","now","attributeCategoryId","attributeId","getSelectProductCateList","getProductAttrCateList","methods","_this2","pageSize","pageNum","list","unshift","_this3","productAttrCate","children","productAttributeList","j","label","getProductAttributeIdList","item","onSubmit","formName","_this4","$refs","validate","valid","$message","duration","$confirm","confirmButtonText","cancelButtonText","$router","back","resetFields","resetForm","removeFilterAttr","productAttributeId","index","indexOf","splice","handleAddFilterAttr","filters","filterLabelFilter","components_ProductCateDetail","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","shadow","ref","model","label-width","prop","callback","$$v","$set","expression","_v","placeholder","_l","size","on","click","$event","_e","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__","add","productCate_add","is-edit"],"mappings":"oHA2EAA,GACAC,YAAA,GACAC,KAAA,GACAC,SAAA,GACAC,KAAA,GACAC,UAAA,EACAC,SAAA,EACAC,YAAA,GACAC,WAAA,EACAC,KAAA,EACAC,2BAEAC,GACAP,KAAA,oBACAQ,YAAAC,uBAAA,GACAC,OACAC,QACAC,KAAAC,QACAC,SAAA,IAGAC,KATA,WAUA,OACAC,YAAAC,OAAArB,GACAsB,yBACAC,OACAnB,OACAoB,UAAA,EAAAC,QAAA,UAAAC,QAAA,SACAC,IAAA,EAAAC,IAA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A,gBAAAA,EAAA,aAAoEG,OAAOjF,KAAA,WAAiB+F,IAAKC,MAAA,SAAAC,GAAyBtB,EAAAzB,SAAA,uBAAkCyB,EAAAgB,GAAA,QAAAhB,EAAAgB,GAAA,KAAAhB,EAAA5E,OAA2H4E,EAAAuB,KAA3HpB,EAAA,aAA2DiB,IAAIC,MAAA,SAAAC,GAAyBtB,EAAAX,UAAA,uBAAmCW,EAAAgB,GAAA,qBAE52EQ,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACA3G,EACA8E,GATA,EAVA,SAAA8B,GACAF,EAAA,SAaA,kBAEA,MAUAG,EAAA,EAAAJ,EAAA,yHCrBAK,GACArH,KAAA,iBACAQ,YAAAD,4BAAA,ICJA+G,GADiBhC,OAFjB,WAA0B,IAAaE,EAAb1D,KAAa2D,eAAkD,OAA/D3D,KAAuC6D,MAAAD,IAAAF,GAAwB,uBAAiCK,OAAO0B,WAAA,MAEhHR,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACAG,EACAC,GATA,EAVA,SAAAH,GACAF,EAAA,SAaA,KAEA,MAUAG,EAAA,QAAAJ,EAAA","file":"static/js/16.8a40d7c10ae8c85d0b7b.js","sourcesContent":["<template>\n <el-card class=\"form-container\" shadow=\"never\">\n <el-form :model=\"productCate\"\n :rules=\"rules\"\n ref=\"productCateFrom\"\n label-width=\"150px\">\n <el-form-item label=\"分类名称:\" prop=\"name\">\n <el-input v-model=\"productCate.name\"></el-input>\n </el-form-item>\n <el-form-item label=\"上级分类:\">\n <el-select v-model=\"productCate.parentId\"\n placeholder=\"请选择分类\">\n <el-option\n v-for=\"item in selectProductCateList\"\n :key=\"item.id\"\n :label=\"item.name\"\n :value=\"item.id\">\n </el-option>\n </el-select>\n </el-form-item>\n <!-- <el-form-item label=\"数量单位:\">\n <el-input v-model=\"productCate.productUnit\"></el-input>\n </el-form-item> -->\n <el-form-item label=\"排序:\">\n <el-input v-model=\"productCate.sort\"></el-input>\n </el-form-item>\n <el-form-item label=\"是否显示:\">\n <el-radio-group v-model=\"productCate.showStatus\">\n <el-radio :label=\"1\">是</el-radio>\n <el-radio :label=\"0\">否</el-radio>\n </el-radio-group>\n </el-form-item>\n <el-form-item label=\"是否显示在导航栏:\">\n <el-radio-group v-model=\"productCate.navStatus\">\n <el-radio :label=\"1\">是</el-radio>\n <el-radio :label=\"0\">否</el-radio>\n </el-radio-group>\n </el-form-item>\n <el-form-item label=\"分类图标:\" prop=\"icon\">\n <single-upload v-model=\"productCate.icon\"></single-upload>\n </el-form-item>\n <!-- <el-form-item v-for=\"(filterProductAttr, index) in filterProductAttrList\"\n :label=\"index | filterLabelFilter\"\n :key=\"filterProductAttr.key\"\n >\n <el-cascader\n clearable\n v-model=\"filterProductAttr.value\"\n :options=\"filterAttrs\">\n </el-cascader>\n <el-button style=\"margin-left: 20px\" @click.prevent=\"removeFilterAttr(filterProductAttr)\">删除</el-button>\n </el-form-item> -->\n <el-form-item>\n <el-button size=\"small\" type=\"primary\" @click=\"handleAddFilterAttr()\">新增</el-button>\n </el-form-item>\n <!-- <el-form-item label=\"关键词:\">\n <el-input v-model=\"productCate.keywords\"></el-input>\n </el-form-item> -->\n <!-- <el-form-item label=\"分类描述:\">\n <el-input type=\"textarea\" :autosize=\"true\" v-model=\"productCate.description\"></el-input>\n </el-form-item> -->\n <el-form-item>\n <el-button type=\"primary\" @click=\"onSubmit('productCateFrom')\">提交</el-button>\n <el-button v-if=\"!isEdit\" @click=\"resetForm('productCateFrom')\">重置</el-button>\n </el-form-item>\n </el-form>\n </el-card>\n</template>\n\n<script>\n import {fetchList, createProductCate, updateProductCate, getProductCate} from '@/api/productCate';\n import {fetchListWithAttr} from '@/api/productAttrCate';\n import {getProductAttrInfo} from '@/api/productAttr';\n import SingleUpload from '@/components/Upload/singleUpload';\n\n const defaultProductCate = {\n description: '',\n icon: '',\n keywords: '',\n name: '',\n navStatus: 0,\n parentId: 0,\n productUnit: '',\n showStatus: 0,\n sort: 0,\n productAttributeIdList: []\n };\n export default {\n name: \"ProductCateDetail\",\n components: {SingleUpload},\n props: {\n isEdit: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n productCate: Object.assign({}, defaultProductCate),\n selectProductCateList: [],\n rules: {\n name: [\n {required: true, message: '请输入品牌名称', trigger: 'blur'},\n {min: 2, max: 140, message: '长度在 2 到 140 个字符', trigger: 'blur'},\n\n ],\n icon:[ {required: true, message: '请上传分类图标', trigger: 'blur'},]\n },\n filterAttrs: [],\n filterProductAttrList: [{\n value: []\n }]\n }\n },\n created() {\n if (this.isEdit) {\n getProductCate(this.$route.query.id).then(response => {\n this.productCate = response.data;\n });\n getProductAttrInfo(this.$route.query.id).then(response => {\n if (response.data != null && response.data.length > 0) {\n this.filterProductAttrList = [];\n for (let i = 0; i < response.data.length; i++) {\n this.filterProductAttrList.push({\n key: Date.now() + i,\n value: [response.data[i].attributeCategoryId, response.data[i].attributeId]\n })\n }\n }\n });\n } else {\n this.productCate = Object.assign({}, defaultProductCate);\n }\n this.getSelectProductCateList();\n this.getProductAttrCateList();\n },\n methods: {\n getSelectProductCateList() {\n fetchList(0, {pageSize: 100, pageNum: 1}).then(response => {\n this.selectProductCateList = response.data.list;\n this.selectProductCateList.unshift({id: 0, name: '无上级分类'});\n });\n },\n getProductAttrCateList() {\n fetchListWithAttr().then(response => {\n let list = response.data;\n for (let i = 0; i < list.length; i++) {\n let productAttrCate = list[i];\n let children = [];\n if (productAttrCate.productAttributeList != null && productAttrCate.productAttributeList.length > 0) {\n for (let j = 0; j < productAttrCate.productAttributeList.length; j++) {\n children.push({\n label: productAttrCate.productAttributeList[j].name,\n value: productAttrCate.productAttributeList[j].id\n })\n }\n }\n this.filterAttrs.push({label: productAttrCate.name, value: productAttrCate.id, children: children});\n }\n });\n },\n getProductAttributeIdList() {\n //获取选中的筛选商品属性\n let productAttributeIdList = [];\n for (let i = 0; i < this.filterProductAttrList.length; i++) {\n let item = this.filterProductAttrList[i];\n if (item.value !== null && item.value.length === 2) {\n productAttributeIdList.push(item.value[1]);\n }\n }\n return productAttributeIdList;\n },\n onSubmit(formName) {\n this.$refs[formName].validate((valid) => {\n if (valid) {\n this.$confirm('是否提交数据', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n if (this.isEdit) {\n this.productCate.productAttributeIdList = this.getProductAttributeIdList();\n updateProductCate(this.$route.query.id, this.productCate).then(response => {\n this.$message({\n message: '修改成功',\n type: 'success',\n duration: 1000\n });\n this.$router.back();\n });\n } else {\n this.productCate.productAttributeIdList = this.getProductAttributeIdList();\n createProductCate(this.productCate).then(response => {\n this.$refs[formName].resetFields();\n this.resetForm(formName);\n this.$message({\n message: '提交成功',\n type: 'success',\n duration: 1000\n });\n });\n }\n });\n\n } else {\n this.$message({\n message: '验证失败',\n type: 'error',\n duration: 1000\n });\n return false;\n }\n });\n },\n resetForm(formName) {\n this.$refs[formName].resetFields();\n this.productCate = Object.assign({}, defaultProductCate);\n this.getSelectProductCateList();\n this.filterProductAttrList = [{\n value: []\n }];\n },\n removeFilterAttr(productAttributeId) {\n if (this.filterProductAttrList.length === 1) {\n this.$message({\n message: '至少要留一个',\n type: 'warning',\n duration: 1000\n });\n return;\n }\n var index = this.filterProductAttrList.indexOf(productAttributeId);\n if (index !== -1) {\n this.filterProductAttrList.splice(index, 1)\n }\n },\n handleAddFilterAttr() {\n if (this.filterProductAttrList.length === 3) {\n this.$message({\n message: '最多添加三个',\n type: 'warning',\n duration: 1000\n });\n return;\n }\n this.filterProductAttrList.push({\n value: null,\n key: Date.now()\n });\n }\n },\n filters: {\n filterLabelFilter(index) {\n if (index === 0) {\n return '筛选属性:';\n } else {\n return '';\n }\n }\n }\n }\n</script>\n\n<style scoped>\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/pms/productCate/components/ProductCateDetail.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:\"form-container\",attrs:{\"shadow\":\"never\"}},[_c('el-form',{ref:\"productCateFrom\",attrs:{\"model\":_vm.productCate,\"rules\":_vm.rules,\"label-width\":\"150px\"}},[_c('el-form-item',{attrs:{\"label\":\"分类名称:\",\"prop\":\"name\"}},[_c('el-input',{model:{value:(_vm.productCate.name),callback:function ($$v) {_vm.$set(_vm.productCate, \"name\", $$v)},expression:\"productCate.name\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"上级分类:\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择分类\"},model:{value:(_vm.productCate.parentId),callback:function ($$v) {_vm.$set(_vm.productCate, \"parentId\", $$v)},expression:\"productCate.parentId\"}},_vm._l((_vm.selectProductCateList),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.name,\"value\":item.id}})}))],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"排序:\"}},[_c('el-input',{model:{value:(_vm.productCate.sort),callback:function ($$v) {_vm.$set(_vm.productCate, \"sort\", $$v)},expression:\"productCate.sort\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"是否显示:\"}},[_c('el-radio-group',{model:{value:(_vm.productCate.showStatus),callback:function ($$v) {_vm.$set(_vm.productCate, \"showStatus\", $$v)},expression:\"productCate.showStatus\"}},[_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"是\")]),_vm._v(\" \"),_c('el-radio',{attrs:{\"label\":0}},[_vm._v(\"否\")])],1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"是否显示在导航栏:\"}},[_c('el-radio-group',{model:{value:(_vm.productCate.navStatus),callback:function ($$v) {_vm.$set(_vm.productCate, \"navStatus\", $$v)},expression:\"productCate.navStatus\"}},[_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"是\")]),_vm._v(\" \"),_c('el-radio',{attrs:{\"label\":0}},[_vm._v(\"否\")])],1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"分类图标:\",\"prop\":\"icon\"}},[_c('single-upload',{model:{value:(_vm.productCate.icon),callback:function ($$v) {_vm.$set(_vm.productCate, \"icon\", $$v)},expression:\"productCate.icon\"}})],1),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":function($event){_vm.handleAddFilterAttr()}}},[_vm._v(\"新增\")])],1),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.onSubmit('productCateFrom')}}},[_vm._v(\"提交\")]),_vm._v(\" \"),(!_vm.isEdit)?_c('el-button',{on:{\"click\":function($event){_vm.resetForm('productCateFrom')}}},[_vm._v(\"重置\")]):_vm._e()],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-51cc9d36\",\"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/pms/productCate/components/ProductCateDetail.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,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-51cc9d36\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./ProductCateDetail.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!./ProductCateDetail.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductCateDetail.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-51cc9d36\\\",\\\"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!./ProductCateDetail.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-51cc9d36\"\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/pms/productCate/components/ProductCateDetail.vue\n// module id = null\n// module chunks = ","<template> \n <product-cate-detail :is-edit='false'></product-cate-detail>\n</template>\n<script>\n import ProductCateDetail from './components/ProductCateDetail'\n export default {\n name: 'addProductCate',\n components: { ProductCateDetail }\n }\n</script>\n<style>\n</style>\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/views/pms/productCate/add.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('product-cate-detail',{attrs:{\"is-edit\":false}})}\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-0253b6cd\",\"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/pms/productCate/add.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,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-0253b6cd\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./add.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!./add.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./add.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0253b6cd\\\",\\\"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!./add.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/pms/productCate/add.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}