(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0649d1ad"],{"1d60":function(t,e,o){"use strict";o.r(e);var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"app-content summary-wrap"},[o("el-form",{ref:"form",staticClass:"demo-form",attrs:{model:t.form,rules:t.rules,"label-width":"100px"}},[o("el-form-item",{attrs:{label:"商品通用简介",prop:"desc"}},[o("cl-editor-quill",{on:{load:t.editor},model:{value:t.form.desc,callback:function(e){t.$set(t.form,"desc",e)},expression:"form.desc"}})],1),o("el-form-item",[o("div",{staticClass:"app-color-3"},[o("i",{staticClass:"el-icon-warning",staticStyle:{"margin-right":"4px"}}),o("span",[t._v("说明：商品介绍的后半部分，将会显示上面的内容。")])])]),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitForm("form")}}},[t._v("保存")])],1)],1)],1)},i=[],r={name:"goods-summary",data:function(){return{form:{desc:""},rules:{},data:""}},mounted:function(){this.init()},methods:{init:function(){this._getData()},_getData:function(){var t=this;this.$service.single.getGoodsIntro().then((function(e){t.form.desc=e.introduce}))},_updateFn:function(){var t=this;this.$service.single.editGoodsIntro({introduce:this.form.desc}).then((function(e){t.form.desc=e.introduce}))},editor:function(){},submitForm:function(t){var e=this;this.$refs[t].validate((function(t){if(!t)return console.log("error submit!!"),!1;console.log(e.form),e._updateFn()}))},resetForm:function(t){this.$refs[t].resetFields()}}},s=r,a=(o("21db"),o("5511")),c=Object(a["a"])(s,n,i,!1,null,null,null);e["default"]=c.exports},"21db":function(t,e,o){"use strict";var n=o("30f7"),i=o.n(n);i.a},"30f7":function(t,e,o){}}]);