beehole-store-server
Version:
www.bee-hole.com
1 lines • 18.5 kB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-49a2659a"],{4526:function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e._self._c;return t("ant-modal",{attrs:{visible:e.open,"modal-title":e.formTitle,"adjust-size":!0,modalWidth:"800",modalHeight:"600"},on:{cancel:e.cancel}},[t("a-form-model",{ref:"form",attrs:{slot:"content",model:e.form,rules:e.rules,layout:"vertical"},slot:"content"},[t("a-row",{staticClass:"form-row",attrs:{gutter:32}},[t("a-col",{attrs:{lg:24,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:e.$t("component.postfee.post_name1"),prop:"carry_name"}},[t("a-input",{attrs:{placeholder:e.$t("component.postfee.input.post_name")},model:{value:e.form.carry_name,callback:function(t){e.$set(e.form,"carry_name",t)},expression:"form.carry_name"}})],1)],1),t("a-col",{attrs:{lg:24,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:e.$t("component.postfee.desc"),prop:"remark"}},[t("a-textarea",{attrs:{placeholder:e.$t("component.postfee.input.desc")},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1),t("a-col",{attrs:{lg:24,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:e.$t("component.postfee.billing_method"),prop:"billing_method"}},[t("a-radio-group",{attrs:{"button-style":"solid"},model:{value:e.form.billing_method,callback:function(t){e.$set(e.form,"billing_method",t)},expression:"form.billing_method"}},[t("a-radio",{attrs:{value:"1"}},[e._v(e._s(e.$t("component.postfee.fixed_freight")))]),t("a-radio",{attrs:{value:"2"}},[e._v(e._s(e.$t("component.postfee.first_reloading")))]),t("a-radio",{attrs:{value:"3"}},[e._v(e._s(e.$t("component.postfee.first_successor")))])],1)],1)],1),t("a-col",{attrs:{lg:24,md:12,sm:24}},[t("a-tabs",{on:{change:e.changeBack},model:{value:e.form.extra_condition,callback:function(t){e.$set(e.form,"extra_condition",t)},expression:"form.extra_condition"}},[t("a-tab-pane",{key:"0",attrs:{tab:e.$t("component.postfee.non-interval")}},[0==e.form.extra_condition?t("a-col",{attrs:{lg:24,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:e.$t("component.postfee.fee_price")}},[1==e.form.billing_method?t("div",[t("a-input",{staticStyle:{width:"20%"},model:{value:e.form.fixed_freight,callback:function(t){e.$set(e.form,"fixed_freight",t)},expression:"form.fixed_freight"}}),e._v(" "+e._s(e.$t("component.postfee.yuan"))+" ")],1):e._e(),2==e.form.billing_method?t("div",[e._v(" "+e._s(e.$t("component.postfee.head_weight"))+" "),t("a-input",{staticStyle:{width:"15%"},model:{value:e.form.first_piece,callback:function(t){e.$set(e.form,"first_piece",t)},expression:"form.first_piece"}}),e._v(" kg "+e._s(e.$t("component.postfee.first_weight_charge"))+" "),t("a-input",{staticStyle:{width:"15%"},model:{value:e.form.first_amount,callback:function(t){e.$set(e.form,"first_amount",t)},expression:"form.first_amount"}}),e._v(" "+e._s(e.$t("component.postfee.yuan"))+" "+e._s(e.$t("component.postfee.reweight"))+" "),t("a-input",{staticStyle:{width:"15%"},model:{value:e.form.second_piece,callback:function(t){e.$set(e.form,"second_piece",t)},expression:"form.second_piece"}}),e._v(" kg "+e._s(e.$t("component.postfee.reloading_charge"))+" "),t("a-input",{staticStyle:{width:"15%"},model:{value:e.form.second_amount,callback:function(t){e.$set(e.form,"second_amount",t)},expression:"form.second_amount"}}),e._v(" "+e._s(e.$t("component.postfee.yuan"))+" ")],1):e._e(),3==e.form.billing_method?t("div",[e._v(" "+e._s(e.$t("component.postfee.first_piece"))+" "),t("a-input",{staticStyle:{width:"15%"},model:{value:e.form.first_piece,callback:function(t){e.$set(e.form,"first_piece",t)},expression:"form.first_piece"}}),e._v(" "+e._s(e.$t("component.postfee.piece"))+" "+e._s(e.$t("component.postfee.initial_cost"))+" "),t("a-input",{staticStyle:{width:"15%"},model:{value:e.form.first_amount,callback:function(t){e.$set(e.form,"first_amount",t)},expression:"form.first_amount"}}),e._v(" "+e._s(e.$t("component.postfee.yuan"))+" "+e._s(e.$t("component.postfee.follow-on"))+" "),t("a-input",{staticStyle:{width:"15%"},model:{value:e.form.second_piece,callback:function(t){e.$set(e.form,"second_piece",t)},expression:"form.second_piece"}}),e._v(" "+e._s(e.$t("component.postfee.piece"))+" "+e._s(e.$t("component.postfee.replacement_charge"))+" "),t("a-input",{staticStyle:{width:"15%"},model:{value:e.form.second_amount,callback:function(t){e.$set(e.form,"second_amount",t)},expression:"form.second_amount"}}),e._v(" "+e._s(e.$t("component.postfee.yuan"))+" ")],1):e._e()])],1):e._e()],1),t("a-tab-pane",{key:"1",attrs:{tab:e.$t("component.postfee.interval")}},[1==e.form.extra_condition?t("a-col",{attrs:{lg:24,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:e.$t("component.postfee.conditional_interval"),prop:"condition_interval"}},[t("a-radio-group",{attrs:{"button-style":"solid"},model:{value:e.form.condition_interval,callback:function(t){e.$set(e.form,"condition_interval",t)},expression:"form.condition_interval"}},[t("a-radio",{attrs:{value:"1"}},[e._v(e._s(e.$t("component.postfee.item_total_price")))]),t("a-radio",{attrs:{value:"2"}},[e._v(e._s(e.$t("component.postfee.parcel_weight")))]),t("a-radio",{attrs:{value:"3"}},[e._v(e._s(e.$t("component.postfee.item_num")))])],1)],1)],1):e._e(),1==e.form.extra_condition?t("a-col",{attrs:{lg:24,md:12,sm:24}},[1==e.form.condition_interval?t("a-form-model-item",{attrs:{label:e.$t("component.postfee.item_total_price")}},[1==e.form.billing_method?t("div",[e._l(e.carryModeAry,(function(o,n){return t("div",{key:n},[t("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(t){e.$set(o,"start_interval",t)},expression:"a.start_interval"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" - "),t("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(t){e.$set(o,"end_interval",t)},expression:"a.end_interval"}}),e._v(" "+e._s(e.$t("component.postfee.yuan"))+" "+e._s(e.$t("view.postfee.fee"))+" "),t("a-input-number",{staticStyle:{width:"20%"},model:{value:o.fixed_freight,callback:function(t){e.$set(o,"fixed_freight",t)},expression:"a.fixed_freight"}}),e._v(" "+e._s(e.$t("component.postfee.yuan"))+" ")],1)})),t("a-button",{attrs:{type:"primary"},on:{click:e.addCarryModeAry}},[e._v(" +"+e._s(e.$t("component.postfee.interval1"))+" ")])],2):e._e(),2==e.form.billing_method?t("div",[e._l(e.carryModeAry1,(function(o,n){return t("div",{key:n},[t("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(t){e.$set(o,"start_interval",t)},expression:"a1.start_interval"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" - "),t("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(t){e.$set(o,"end_interval",t)},expression:"a1.end_interval"}}),e._v(" "+e._s(e.$t("component.postfee.yuan"))+" "+e._s(e.$t("component.postfee.head_weight"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(t){e.$set(o,"first_piece",t)},expression:"a1.first_piece"}}),e._v("kg "+e._s(e.$t("component.postfee.first_weight_charge"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(t){e.$set(o,"first_amount",t)},expression:"a1.first_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" "+e._s(e.$t("component.postfee.reweight"))+e._s(e.$t("component.postfee.every"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(t){e.$set(o,"second_piece",t)},expression:"a1.second_piece"}}),e._v("kg "+e._s(e.$t("component.postfee.reloading_charge"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(t){e.$set(o,"second_amount",t)},expression:"a1.second_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" ")],1)})),t("a-button",{attrs:{type:"primary"},on:{click:e.addCarryModeAry1}},[e._v(" +"+e._s(e.$t("component.postfee.interval1"))+" ")])],2):e._e(),3==e.form.billing_method?t("div",[e._l(e.carryModeAry2,(function(o,n){return t("div",{key:n},[t("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(t){e.$set(o,"start_interval",t)},expression:"a2.start_interval"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" - "),t("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(t){e.$set(o,"end_interval",t)},expression:"a2.end_interval"}}),e._v(" "+e._s(e.$t("component.postfee.yuan"))+" "+e._s(e.$t("component.postfee.first_piece"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(t){e.$set(o,"first_piece",t)},expression:"a2.first_piece"}}),e._v(e._s(e.$t("component.postfee.piece"))+" "+e._s(e.$t("component.postfee.initial_cost"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(t){e.$set(o,"first_amount",t)},expression:"a2.first_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" "+e._s(e.$t("component.postfee.follow-on"))+e._s(e.$t("component.postfee.every"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(t){e.$set(o,"second_piece",t)},expression:"a2.second_piece"}}),e._v(e._s(e.$t("component.postfee.piece"))+" "+e._s(e.$t("component.postfee.replacement_charge"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(t){e.$set(o,"second_amount",t)},expression:"a2.second_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" ")],1)})),t("a-button",{attrs:{type:"primary"},on:{click:e.addCarryModeAry2}},[e._v(" +"+e._s(e.$t("component.postfee.interval1"))+" ")])],2):e._e()]):e._e(),2==e.form.condition_interval?t("a-form-model-item",{attrs:{label:e.$t("component.postfee.parcel_weight")}},[1==e.form.billing_method?t("div",[e._l(e.carryModeAry,(function(o,n){return t("div",{key:n},[t("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(t){e.$set(o,"start_interval",t)},expression:"a.start_interval"}}),e._v("kg - "),t("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(t){e.$set(o,"end_interval",t)},expression:"a.end_interval"}}),e._v("kg "),t("a-input-number",{staticStyle:{width:"20%"},model:{value:o.fixed_freight,callback:function(t){e.$set(o,"fixed_freight",t)},expression:"a.fixed_freight"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" ")],1)})),t("a-button",{attrs:{type:"primary"},on:{click:e.addCarryModeAry}},[e._v(" +"+e._s(e.$t("component.postfee.interval1"))+" ")])],2):e._e(),2==e.form.billing_method?t("div",[e._l(e.carryModeAry1,(function(o,n){return t("div",{key:n},[t("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(t){e.$set(o,"start_interval",t)},expression:"a1.start_interval"}}),e._v("kg - "),t("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(t){e.$set(o,"end_interval",t)},expression:"a1.end_interval"}}),e._v("kg "+e._s(e.$t("component.postfee.head_weight"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(t){e.$set(o,"first_piece",t)},expression:"a1.first_piece"}}),e._v("kg "+e._s(e.$t("component.postfee.first_weight_charge"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(t){e.$set(o,"first_amount",t)},expression:"a1.first_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" "+e._s(e.$t("component.postfee.reweight"))+e._s(e.$t("component.postfee.every"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(t){e.$set(o,"second_piece",t)},expression:"a1.second_piece"}}),e._v("kg "+e._s(e.$t("component.postfee.reloading_charge"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(t){e.$set(o,"second_amount",t)},expression:"a1.second_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" ")],1)})),t("a-button",{attrs:{type:"primary"},on:{click:e.addCarryModeAry1}},[e._v(" +"+e._s(e.$t("component.postfee.interval1"))+" ")])],2):e._e(),3==e.form.billing_method?t("div",[e._l(e.carryModeAry2,(function(o,n){return t("div",{key:n},[t("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(t){e.$set(o,"start_interval",t)},expression:"a2.start_interval"}}),e._v("kg - "),t("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(t){e.$set(o,"end_interval",t)},expression:"a2.end_interval"}}),e._v("kg "+e._s(e.$t("component.postfee.first_piece"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(t){e.$set(o,"first_piece",t)},expression:"a2.first_piece"}}),e._v(e._s(e.$t("component.postfee.piece"))+" "+e._s(e.$t("component.postfee.initial_cost"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(t){e.$set(o,"first_amount",t)},expression:"a2.first_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" "+e._s(e.$t("component.postfee.follow-on"))+e._s(e.$t("component.postfee.every"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(t){e.$set(o,"second_piece",t)},expression:"a2.second_piece"}}),e._v(e._s(e.$t("component.postfee.piece"))+" "+e._s(e.$t("component.postfee.replacement_charge"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(t){e.$set(o,"second_amount",t)},expression:"a2.second_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" ")],1)})),t("a-button",{attrs:{type:"primary"},on:{click:e.addCarryModeAry2}},[e._v(" +"+e._s(e.$t("component.postfee.interval1"))+" ")])],2):e._e()]):e._e(),3==e.form.condition_interval?t("a-form-model-item",{attrs:{label:e.$t("component.postfee.item_num")}},[1==e.form.billing_method?t("div",[e._l(e.carryModeAry,(function(o,n){return t("div",{key:n},[t("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(t){e.$set(o,"start_interval",t)},expression:"a.start_interval"}}),e._v(e._s(e.$t("component.postfee.piece"))+" - "),t("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(t){e.$set(o,"end_interval",t)},expression:"a.end_interval"}}),e._v(e._s(e.$t("component.postfee.piece"))+" "),t("a-input-number",{staticStyle:{width:"20%"},model:{value:o.fixed_freight,callback:function(t){e.$set(o,"fixed_freight",t)},expression:"a.fixed_freight"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" ")],1)})),t("a-button",{attrs:{type:"primary"},on:{click:e.addCarryModeAry}},[e._v(" +"+e._s(e.$t("component.postfee.interval1"))+" ")])],2):e._e(),2==e.form.billing_method?t("div",[e._l(e.carryModeAry1,(function(o,n){return t("div",{key:n},[t("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(t){e.$set(o,"start_interval",t)},expression:"a1.start_interval"}}),e._v(e._s(e.$t("component.postfee.piece"))+" - "),t("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(t){e.$set(o,"end_interval",t)},expression:"a1.end_interval"}}),e._v(" "+e._s(e.$t("component.postfee.piece"))+" "+e._s(e.$t("component.postfee.head_weight"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(t){e.$set(o,"first_piece",t)},expression:"a1.first_piece"}}),e._v("kg "+e._s(e.$t("component.postfee.first_weight_charge"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(t){e.$set(o,"first_amount",t)},expression:"a1.first_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" "+e._s(e.$t("component.postfee.reweight"))+e._s(e.$t("component.postfee.every"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(t){e.$set(o,"second_piece",t)},expression:"a1.second_piece"}}),e._v("kg "+e._s(e.$t("component.postfee.reloading_charge"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(t){e.$set(o,"second_amount",t)},expression:"a1.second_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" ")],1)})),t("a-button",{attrs:{type:"primary"},on:{click:e.addCarryModeAry1}},[e._v(" +"+e._s(e.$t("component.postfee.interval1"))+" ")])],2):e._e(),3==e.form.billing_method?t("div",[e._l(e.carryModeAry2,(function(o,n){return t("div",{key:n},[t("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(t){e.$set(o,"start_interval",t)},expression:"a2.start_interval"}}),e._v(e._s(e.$t("component.postfee.piece"))+" - "),t("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(t){e.$set(o,"end_interval",t)},expression:"a2.end_interval"}}),e._v(" "+e._s(e.$t("component.postfee.piece"))+" "+e._s(e.$t("component.postfee.first_piece"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(t){e.$set(o,"first_piece",t)},expression:"a2.first_piece"}}),e._v(e._s(e.$t("component.postfee.piece"))+" "+e._s(e.$t("component.postfee.initial_cost"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(t){e.$set(o,"first_amount",t)},expression:"a2.first_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" "+e._s(e.$t("component.postfee.follow-on"))+e._s(e.$t("component.postfee.every"))+" "),t("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(t){e.$set(o,"second_piece",t)},expression:"a2.second_piece"}}),e._v(e._s(e.$t("component.postfee.piece"))+" "+e._s(e.$t("component.postfee.replacement_charge"))+" "),t("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(t){e.$set(o,"second_amount",t)},expression:"a2.second_amount"}}),e._v(e._s(e.$t("component.postfee.yuan"))+" ")],1)})),t("a-button",{attrs:{type:"primary"},on:{click:e.addCarryModeAry2}},[e._v(" +"+e._s(e.$t("component.postfee.interval1"))+" ")])],2):e._e()]):e._e()],1):e._e()],1)],1)],1)],1)],1),t("template",{slot:"footer"},[t("a-button",{on:{click:e.cancel}},[e._v(" "+e._s(e.$t("component.postfee.cancle.btn"))+" ")]),t("a-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v(" "+e._s(e.$t("component.postfee.save.btn"))+" ")])],1)],2)},a=[],i=o("5530"),s=o("a9cd"),c=Object(i["a"])({},s["default"]),r=c,l=(o("d34f"),o("2877")),p=Object(l["a"])(r,n,a,!1,null,null,null);t["default"]=p.exports},b504:function(e,t,o){},d34f:function(e,t,o){"use strict";o("b504")}}]);