canyin-project/ybcy/views/channel/index20240524/static/js/chunk-156c4878.0c1c599a.js

1 line
6.0 KiB
JavaScript
Raw Permalink Normal View History

2024-11-01 16:07:54 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-156c4878"],{8519:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"outmain ba_f"},[a("div",{staticClass:"ba_f"},[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"存酒记录",name:"storestorage"}}),a("el-tab-pane",{attrs:{label:"取酒记录",name:"storestoragerecord"}}),a("el-tab-pane",{attrs:{label:"酒品名称",name:"storestoragebrand"}}),a("el-tab-pane",{attrs:{label:"存酒设置",name:"storestorageset"}})],1)],1),a("div",{staticClass:"ba_f"},[e._m(0),a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"180px"}},[a("el-form-item",{attrs:{label:"存酒审核"}},[a("el-radio-group",{model:{value:e.form.isCheck,callback:function(t){e.$set(e.form,"isCheck",t)},expression:"form.isCheck"}},[a("el-radio",{attrs:{label:"1"}},[e._v("开启")]),a("el-radio",{attrs:{label:"2"}},[e._v("关闭")])],1)],1),a("el-form-item",{attrs:{label:"存酒有效期"}},[a("el-input-number",{attrs:{min:10,max:1e7},model:{value:e.form.days,callback:function(t){e.$set(e.form,"days",t)},expression:"form.days"}}),a("span",{staticClass:"mar_l10"},[e._v("天")]),a("div",{staticClass:"yb_margin lh16"},[e._v("存酒有效期,单位天!默认10天")])],1),a("el-form-item",{attrs:{label:"存酒提示语"}},[a("el-input",{attrs:{placeholder:"请输入存酒提示语"},model:{value:e.form.slogan,callback:function(t){e.$set(e.form,"slogan",t)},expression:"form.slogan"}})],1),a("el-form-item",{attrs:{label:"广告位"}},[e.form.icon?a("div",{staticClass:"uploadSource bor_de rel flex curs"},[a("label",{staticClass:"statusLabel curs",on:{mouseenter:function(t){return e.enter(1)},mouseleave:function(t){return e.leave(1)}}},[a("i",{ref:"imgicon1",staticClass:"el-icon-check"}),a("i",{staticClass:"el-icon-close",on:{click:function(t){return e.deleteMultiImage(e.form.icon,1)}}})]),a("img",{staticClass:"wid",attrs:{src:e.form.icon},on:{click:function(t){return e.test(1)}}})]):a("div",{staticClass:"uploadSource flex-center curs",on:{click:function(t){return e.test(1)}}},[a("i",{staticClass:"el-icon-plus fon_40 color_d9"})]),a("div",{staticClass:"yb_margin lh16"},[e._v("*建议宽高750*320px")]),a("attachment-img",{ref:"img1",attrs:{type:"img"},on:{attachment:e.imgadd1}})],1),a("el-form-item",{attrs:{label:"存酒协议"}},[a("baidu-ueditor",{attrs:{content:e.form.details},on:{ueditor:e.getUeditor}})],1)],1)],1),a("div",{staticClass:"mar_t20 ba_f pad_20 t_c"},[a("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("保存")])],1)])},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"shuju_title mar_b20 mar_t20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[e._v("存酒设置")])])])}],i=(a("c975"),a("a434"),a("96cf"),a("1da1")),o=a("5530"),n=a("294d"),c=a("9893"),l=a("fc6e"),m=a("2f62"),u={components:{baiduUeditor:c["a"],attachmentImg:l["a"]},created:function(){this.init()},computed:Object(o["a"])({},Object(m["d"])(["storeId"])),data:function(){return{activeName:"storestorageset",form:{isCheck:"1",days:"10",slogan:"",content:"",details:"",icon:""}}},methods:{handleClick:function(){"storestorage"==this.activeName?this.$router.push({path:"storestorage"}):"storestoragerecord"==this.activeName?this.$router.push({path:"storestoragerecord"}):"storestoragebrand"==this.activeName?this.$router.push({path:"storestoragebrand"}):"storestorageset"==this.activeName&&this.$router.push({path:"storestorageset"})},getUeditor:function(e){this.form.details=e},enter:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$refs["imgicon"+e].style.display="none"},leave:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$refs["imgicon"+e].style.display="inline-block"},test:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$refs["img"+e].dialogVisible=!0},imgadd1:functi