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.
yanzong/public/store/js/store.83583939.js

1 line
52 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["store"],{"0c84":function(e,a,t){"use strict";t("de94")},1708:function(e,a,t){"use strict";t.r(a);var r=function(){var e=this,a=e._self._c;return a("a-card",{attrs:{bordered:!1}},[a("div",{staticClass:"card-title"},[e._v(e._s(e.$route.meta.title))]),a("a-spin",{attrs:{spinning:e.isLoading}},[a("a-form",{attrs:{form:e.form},on:{submit:e.handleSubmit}},[a("a-form-item",{attrs:{label:"门店名称",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["shop_name",{rules:[{required:!0,min:2,message:"请输入至少2个字符"}]}],expression:"['shop_name', { rules: [{ required: true, min: 2, message: '请输入至少2个字符' }] }]"}],attrs:{placeholder:"请输入门店名称"}})],1),a("a-form-item",{attrs:{label:"门店Logo",labelCol:e.labelCol,wrapperCol:e.wrapperCol,extra:"建议尺寸: 300*300",required:""}},[a("SelectImage",{directives:[{name:"decorator",rawName:"v-decorator",value:["logo_image_id",{rules:[{required:!0,message:"请上传门店logo"}]}],expression:"['logo_image_id', { rules: [{ required: true, message: '请上传门店logo' }] }]"}],attrs:{defaultList:e.record.logoImage?[e.record.logoImage]:[]}})],1),a("a-form-item",{attrs:{label:"联系人",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["linkman",{rules:[{required:!0,min:2,message:"请输入至少2个字符"}]}],expression:"['linkman', { rules: [{ required: true, min: 2, message: '请输入至少2个字符' }] }]"}],attrs:{placeholder:"请输入联系人"}})],1),a("a-form-item",{attrs:{label:"联系电话",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["phone",{rules:[{required:!0}]}],expression:"['phone', { rules: [{ required: true }] }]"}],attrs:{placeholder:"请输入联系电话"}})],1),a("a-form-item",{attrs:{label:"营业时间",labelCol:e.labelCol,wrapperCol:e.wrapperCol,extra:"例如:8:30-17:30"}},[a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["shop_hours",{rules:[{required:!0}]}],expression:"['shop_hours', { rules: [{ required: true }] }]"}],attrs:{placeholder:"请输入营业时间"}})],1),a("a-form-item",{attrs:{label:"门店区域",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[a("SelectRegion",{directives:[{name:"decorator",rawName:"v-decorator",value:["cascader",{rules:[{required:!0,message:"请选择省市区"}]}],expression:"['cascader', { rules: [{ required: true, message: '请选择省市区' }] }]"}],attrs:{placeholder:"请选择省市区"}})],1),a("a-form-item",{attrs:{label:"详细地址",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["address",{rules:[{required:!0}]}],expression:"['address', { rules: [{ required: true }] }]"}],attrs:{placeholder:"请输入详细地址"}})],1),a("a-form-item",{attrs:{label:"门店坐标",labelCol:e.labelCol,wrapperCol:e.wrapperCol,required:""}},[a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["coordinate",{rules:[{required:!0}]}],expression:"['coordinate', { rules: [{ required: true }] }]"}],attrs:{placeholder:"请选择门店坐标"}}),a("Getpoint",{on:{setCoordinate:e.setCoordinate}})],1),a("a-form-item",{attrs:{label:"门店简介",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[a("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["summary"],expression:"['summary']"}],attrs:{autoSize:{minRows:4}}})],1),a("a-form-item",{attrs:{label:"自提核销",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[a("a-radio-group",{directives:[{name:"decorator",rawName:"v-decorator",value:["is_check",{initialValue:1,rules:[{required:!0}]}],expression:"['is_check', { initialValue: 1, rules: [{ required: true }] }]"}]},[a("a-radio",{attrs:{value:1}},[e._v("支持")]),a("a-radio",{attrs:{value:0}},[e._v("不支持")])],1)],1),a("a-form-item",{attrs:{label:"状态",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[a(