14.0303845d062e775561bd.js.map 22 KB

1
  1. {"version":3,"sources":["webpack:///src/views/pms/productAttr/updateProductAttr.vue","webpack:///./src/views/pms/productAttr/updateProductAttr.vue?73b4","webpack:///./src/views/pms/productAttr/updateProductAttr.vue","webpack:///src/views/pms/productAttr/components/ProductAttrDetail.vue","webpack:///./src/views/pms/productAttr/components/ProductAttrDetail.vue?e7c1","webpack:///./src/views/pms/productAttr/components/ProductAttrDetail.vue"],"names":["updateProductAttr","name","components","ProductAttrDetail","productAttr_updateProductAttr","render","_h","this","$createElement","_self","_c","attrs","is-edit","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__","defaultProductAttr","filterType","handAddStatus","inputList","inputType","productAttributeCategoryId","relatedStatus","searchType","selectType","sort","type","props","isEdit","Boolean","default","data","productAttr","assign_default","rules","required","message","trigger","min","max","productAttrCateList","inputListFormat","created","_this","Object","$route","query","id","then","response","replace","resetProductAttr","getCateList","watch","newValue","oldValue","methods","_this2","productAttrCate","pageNum","pageSize","list","Number","cid","onSubmit","formName","_this3","$refs","validate","valid","$message","duration","$confirm","confirmButtonText","cancelButtonText","$router","back","resetForm","resetFields","components_ProductAttrDetail","_vm","staticClass","shadow","ref","model","label-width","label","prop","value","callback","$$v","$set","expression","_v","placeholder","_l","item","key","autosize","on","click","$event","_e"],"mappings":"4GAMAA,GACAC,KAAA,oBACAC,YAAAC,4BAAA,ICLAC,GADiBC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,uBAAiCK,OAAOC,WAAA,MAEhHC,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACAhB,EACAI,GATA,EAVA,SAAAa,GACAF,EAAA,SAaA,kBAEA,MAUAG,EAAA,QAAAJ,EAAA,wIC8CAK,GACAC,WAAA,EACAC,cAAA,EACAC,UAAA,GACAC,UAAA,EACAtB,KAAA,GACAuB,2BAAA,EACAC,cAAA,EACAC,WAAA,EAC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AA,OAcAC,CACAb,EACA+E,GATA,EAVA,SAAAjE,GACAF,EAAA,SAaA,kBAEA,MAUAG,EAAA,EAAAJ,EAAA","file":"static/js/14.0303845d062e775561bd.js","sourcesContent":["<template>\n <product-attr-detail :is-edit='true'></product-attr-detail>\n</template>\n\n<script>\n import ProductAttrDetail from './components/ProductAttrDetail'\n export default {\n name: 'updateProductAttr',\n components: { ProductAttrDetail }\n }\n</script>\n\n<style scoped>\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/pms/productAttr/updateProductAttr.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('product-attr-detail',{attrs:{\"is-edit\":true}})}\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-44b7f90c\",\"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/productAttr/updateProductAttr.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-44b7f90c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./updateProductAttr.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!./updateProductAttr.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./updateProductAttr.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-44b7f90c\\\",\\\"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!./updateProductAttr.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-44b7f90c\"\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/productAttr/updateProductAttr.vue\n// module id = null\n// module chunks = ","<template>\n <el-card class=\"form-container\" shadow=\"never\">\n <el-form :model=\"productAttr\" :rules=\"rules\" ref=\"productAttrFrom\" label-width=\"150px\">\n <el-form-item label=\"属性名称:\" prop=\"name\">\n <el-input v-model=\"productAttr.name\"></el-input>\n </el-form-item>\n <el-form-item label=\"商品类型:\">\n <el-select v-model=\"productAttr.productAttributeCategoryId\" placeholder=\"请选择\">\n <el-option\n v-for=\"item in productAttrCateList\"\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-radio-group v-model=\"productAttr.filterType\">\n <el-radio :label=\"0\">普通</el-radio>\n <el-radio :label=\"1\">颜色</el-radio>\n </el-radio-group>\n </el-form-item>\n <!-- <el-form-item label=\"能否进行检索:\">\n <el-radio-group v-model=\"productAttr.searchType\">\n <el-radio :label=\"0\">不需要检索</el-radio>\n <el-radio :label=\"1\">关键字检索</el-radio>\n <el-radio :label=\"2\">范围检索</el-radio>\n </el-radio-group>\n </el-form-item> -->\n <el-form-item label=\"商品属性关联:\">\n <el-radio-group v-model=\"productAttr.relatedStatus\">\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=\"productAttr.selectType\">\n <el-radio :label=\"0\">唯一</el-radio>\n <el-radio :label=\"1\">单选</el-radio>\n <el-radio :label=\"2\">复选</el-radio>\n </el-radio-group>\n </el-form-item>\n <el-form-item label=\"属性值的录入方式:\">\n <el-radio-group v-model=\"productAttr.inputType\">\n <el-radio :label=\"0\">手工录入</el-radio>\n <el-radio :label=\"1\">从下面列表中选择</el-radio>\n </el-radio-group>\n </el-form-item>\n <el-form-item label=\"属性值可选值列表:\">\n <el-input :autosize=\"true\" type=\"textarea\" v-model=\"inputListFormat\"></el-input>\n </el-form-item>\n <el-form-item label=\"是否支持手动新增:\">\n <el-radio-group v-model=\"productAttr.handAddStatus\">\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-input v-model=\"productAttr.sort\"></el-input>\n </el-form-item>\n <el-form-item>\n <el-button type=\"primary\" @click=\"onSubmit('productAttrFrom')\">提交</el-button>\n <el-button v-if=\"!isEdit\" @click=\"resetForm('productAttrFrom')\">重置</el-button>\n </el-form-item>\n </el-form>\n </el-card>\n</template>\n\n<script>\n import {fetchList} from '@/api/productAttrCate'\n import {createProductAttr,getProductAttr,updateProductAttr} from '@/api/productAttr'\n\n const defaultProductAttr = {\n filterType: 0,\n handAddStatus: 0,\n inputList: '',\n inputType: 0,\n name: '',\n productAttributeCategoryId: 0,\n relatedStatus: 0,\n searchType: 0,\n selectType: 0,\n sort: 0,\n type: 0\n };\n export default {\n name: \"ProductAttrDetail\",\n props: {\n isEdit: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n productAttr: Object.assign({}, defaultProductAttr),\n rules: {\n name: [\n {required: true, message: '请输入属性名称', trigger: 'blur'},\n {min: 2, max: 140, message: '长度在 2 到 140 个字符', trigger: 'blur'}\n ]\n },\n productAttrCateList: null,\n inputListFormat:null\n }\n },\n created() {\n if(this.isEdit){\n getProductAttr(this.$route.query.id).then(response => {\n this.productAttr = response.data;\n this.inputListFormat = this.productAttr.inputList.replace(/,/g,'\\n');\n });\n }else{\n this.resetProductAttr();\n }\n this.getCateList();\n },\n watch:{\n inputListFormat: function (newValue, oldValue) {\n newValue = newValue.replace(/\\n/g,',');\n this.productAttr.inputList = newValue;\n }\n },\n methods: {\n getCateList() {\n let listQuery = {pageNum: 1, pageSize: 100};\n fetchList(listQuery).then(response => {\n this.productAttrCateList = response.data.list;\n });\n },\n resetProductAttr() {\n this.productAttr = Object.assign({}, defaultProductAttr);\n this.productAttr.productAttributeCategoryId = Number(this.$route.query.cid);\n this.productAttr.type = Number(this.$route.query.type);\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 updateProductAttr(this.$route.query.id,this.productAttr).then(response=>{\n this.$message({\n message: '修改成功',\n type: 'success',\n duration: 1000\n });\n this.$router.back();\n });\n }else{\n createProductAttr(this.productAttr).then(response=>{\n this.$message({\n message: '提交成功',\n type: 'success',\n duration: 1000\n });\n this.resetForm('productAttrFrom');\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.resetProductAttr();\n }\n },\n }\n</script>\n\n<style scoped>\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/pms/productAttr/components/ProductAttrDetail.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:\"productAttrFrom\",attrs:{\"model\":_vm.productAttr,\"rules\":_vm.rules,\"label-width\":\"150px\"}},[_c('el-form-item',{attrs:{\"label\":\"属性名称:\",\"prop\":\"name\"}},[_c('el-input',{model:{value:(_vm.productAttr.name),callback:function ($$v) {_vm.$set(_vm.productAttr, \"name\", $$v)},expression:\"productAttr.name\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"商品类型:\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.productAttr.productAttributeCategoryId),callback:function ($$v) {_vm.$set(_vm.productAttr, \"productAttributeCategoryId\", $$v)},expression:\"productAttr.productAttributeCategoryId\"}},_vm._l((_vm.productAttrCateList),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-radio-group',{model:{value:(_vm.productAttr.filterType),callback:function ($$v) {_vm.$set(_vm.productAttr, \"filterType\", $$v)},expression:\"productAttr.filterType\"}},[_c('el-radio',{attrs:{\"label\":0}},[_vm._v(\"普通\")]),_vm._v(\" \"),_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"颜色\")])],1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"商品属性关联:\"}},[_c('el-radio-group',{model:{value:(_vm.productAttr.relatedStatus),callback:function ($$v) {_vm.$set(_vm.productAttr, \"relatedStatus\", $$v)},expression:\"productAttr.relatedStatus\"}},[_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.productAttr.selectType),callback:function ($$v) {_vm.$set(_vm.productAttr, \"selectType\", $$v)},expression:\"productAttr.selectType\"}},[_c('el-radio',{attrs:{\"label\":0}},[_vm._v(\"唯一\")]),_vm._v(\" \"),_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"单选\")]),_vm._v(\" \"),_c('el-radio',{attrs:{\"label\":2}},[_vm._v(\"复选\")])],1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"属性值的录入方式:\"}},[_c('el-radio-group',{model:{value:(_vm.productAttr.inputType),callback:function ($$v) {_vm.$set(_vm.productAttr, \"inputType\", $$v)},expression:\"productAttr.inputType\"}},[_c('el-radio',{attrs:{\"label\":0}},[_vm._v(\"手工录入\")]),_vm._v(\" \"),_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"从下面列表中选择\")])],1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"属性值可选值列表:\"}},[_c('el-input',{attrs:{\"autosize\":true,\"type\":\"textarea\"},model:{value:(_vm.inputListFormat),callback:function ($$v) {_vm.inputListFormat=$$v},expression:\"inputListFormat\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"是否支持手动新增:\"}},[_c('el-radio-group',{model:{value:(_vm.productAttr.handAddStatus),callback:function ($$v) {_vm.$set(_vm.productAttr, \"handAddStatus\", $$v)},expression:\"productAttr.handAddStatus\"}},[_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-input',{model:{value:(_vm.productAttr.sort),callback:function ($$v) {_vm.$set(_vm.productAttr, \"sort\", $$v)},expression:\"productAttr.sort\"}})],1),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.onSubmit('productAttrFrom')}}},[_vm._v(\"提交\")]),_vm._v(\" \"),(!_vm.isEdit)?_c('el-button',{on:{\"click\":function($event){_vm.resetForm('productAttrFrom')}}},[_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-130a18dc\",\"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/productAttr/components/ProductAttrDetail.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-130a18dc\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./ProductAttrDetail.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!./ProductAttrDetail.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductAttrDetail.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-130a18dc\\\",\\\"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!./ProductAttrDetail.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-130a18dc\"\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/productAttr/components/ProductAttrDetail.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}