UNPKG

beehole-store-server

Version:

www.bee-hole.com

1 lines 23.5 kB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5d8b6fcc","chunk-798c91b3","chunk-798c91b3"],{a196:function(t,e,o){"use strict";o("fb29")},a9cd:function(t,e,o){"use strict";o.r(e);o("a9e3");var n=o("2dd7"),i=o("f214");e["default"]={name:"CarrymodeForm",props:{shop_id:0,disabled:{type:Boolean,default:!1},loading1:{type:Boolean,default:!0}},components:{AntModal:n["a"]},data:function(){return{open:!1,attachmentRefName:"addUploaderFile",editAttachmentRefName:"editUploaderFile",formId:"",labelCol:{span:4},wrapperCol:{span:14},loading:!1,total:0,id:void 0,formTitle:"",contentEditorEdit:"",form:{carry_id:void 0,carry_name:"",remark:"",billing_method:1,extra_condition:0,condition_interval:1,carry_sub_mode:""},rules:{carry_name:[{required:!0,message:this.$t("component.postfee.postfee_name.not.null"),trigger:"blur"}]},isLoading:this.loading1.default,isDisabled:this.disabled.default,carryModeAry:[],carryModeAry1:[],carryModeAry2:[]}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){},methods:{changeBack:function(t){this.form.extra_condition=t},cancel:function(){this.open=!1,this.reset(),this.$emit("close")},getList:function(){this.loading=!0;var t=this;Object(i["b"])({fare_id:this.form.fare_id}).then((function(e){t.list=e.list,t.loading=!1}))},reset:function(){this.form={carry_id:void 0,carry_name:"",remark:"",billing_method:"1",extra_condition:"0",condition_interval:"1",carry_sub_mode:""},this.carryModeAry=[{start_interval:"",end_interval:"",fixed_freight:0}],this.carryModeAry1=[{start_interval:"",end_interval:"",first_piece:"1",first_amount:1,second_piece:"1",second_amount:1}],this.carryModeAry2=[{start_interval:"",end_interval:"",first_piece:"1",first_amount:1,second_piece:"1",second_amount:1}]},addCarryModeAry:function(){this.carryModeAry.push({start_interval:"",end_interval:"",fixed_freight:0}),this.$set(this,"carryModeAry",this.carryModeAry)},addCarryModeAry1:function(){this.carryModeAry1.push({start_interval:"",end_interval:"",first_piece:"1",first_amount:1,second_piece:"1",second_amount:1}),this.$set(this,"carryModeAry1",this.carryModeAry1)},addCarryModeAry2:function(){this.carryModeAry2.push({start_interval:"",end_interval:"",first_piece:"1",first_amount:1,second_piece:"1",second_amount:1}),this.$set(this,"carryModeAry2",this.carryModeAry2)},handleCarryModeAdd:function(t){this.reset(),this.open=!0,this.formTitle=this.$t("component.postfee.add.postfee"),this.form.fare_id=t.fare_id},handleCarryModeEdit:function(t){this.reset(),this.formTitle=this.$t("component.postfee.update.postfee"),this.open=!0,this.form=t,this.form.billing_method=String(this.form.billing_method),this.form.condition_interval=String(this.form.condition_interval),1===this.form.extra_condition&&("1"!==this.form.billing_method&&1!==this.form.billing_method||(this.carryModeAry=t.sub_mode),"2"!==this.form.billing_method&&2!==this.form.billing_method||(this.carryModeAry1=t.sub_mode),"3"!==this.form.billing_method&&3!==this.form.billing_method||(this.carryModeAry2=t.sub_mode)),this.form.extra_condition=String(this.form.extra_condition)},changeExtraCondition:function(t,e){this.isDisabled=!this.isDisabled,this.isLoading=!this.isLoading;var o=this,n="",i="";t?(n="确认开启条件区间?",i="开启之后,可以按照相对应的条件去设置运费"):(n="确认关闭条件区间?",i="关闭之后,已设置的运费条件则不生效"),this.$confirm({title:n,content:i,okText:"确认",cancelText:"取消",onOk:function(){e.extra_condition=t?1:0,o.isDisabled=!1,o.isLoading=!1},onCancel:function(){o.isDisabled=!1,o.isLoading=!1}})},submitForm:function(){var t=this,e=this;e.shop_id&&(this.form.shop_id=e.shop_id),this.form.extra_condition=Number(this.form.extra_condition),1===this.form.extra_condition&&("1"===this.form.billing_method&&(this.form.carry_sub_mode=JSON.stringify(this.carryModeAry)),"2"===this.form.billing_method&&(this.form.carry_sub_mode=JSON.stringify(this.carryModeAry1)),"3"===this.form.billing_method&&(this.form.carry_sub_mode=JSON.stringify(this.carryModeAry2))),this.$refs.form.validate((function(e){if(!e)return!1;void 0!==t.form.carry_id?Object(i["d"])(t.form).then((function(e){t.$message.success(t.$t("component.postfee.update.postfee.success"),3),t.open=!1,t.$emit("ok"),t.$emit("close")})):Object(i["d"])(t.form).then((function(e){t.$message.success(t.$t("component.postfee.add.postfee.success"),3),t.open=!1,t.$emit("ok",t.form.fare_id),t.$emit("close")}))}))}}}},f214:function(t,e,o){"use strict";o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){return a})),o.d(e,"e",(function(){return s})),o.d(e,"d",(function(){return r})),o.d(e,"b",(function(){return c}));var n=o("b775");function i(t){return Object(n["b"])({url:"/postfee/list",method:"post",params:t})}function a(t){return Object(n["b"])({url:"/postfee/list",method:"post",params:{fare_id:t}})}function s(t){return Object(n["b"])({url:"/postfee/add",method:"post",params:t})}function r(t){return Object(n["b"])({url:"/postfee/mode-add",method:"post",params:t})}function c(t){return Object(n["b"])({url:"/postfee/mode-list",method:"post",params:t})}},fb29:function(t,e,o){},fd7b:function(t,e,o){"use strict";o.r(e);var n=function(){var t=this,e=t._self._c;return e("ant-modal",{attrs:{visible:t.open,"modal-title":t.formTitle,"adjust-size":!0,modalWidth:"800",modalHeight:"600"},on:{cancel:t.cancel}},[e("a-form-model",{ref:"form",attrs:{slot:"content",model:t.form,rules:t.rules,layout:"vertical"},slot:"content"},[e("a-row",{staticClass:"form-row",attrs:{gutter:32}},[e("a-col",{attrs:{lg:24,md:12,sm:24}},[e("a-form-model-item",{attrs:{label:t.$t("component.postfee.post_name1"),prop:"carry_name"}},[e("a-input",{attrs:{placeholder:t.$t("component.postfee.input.post_name")},model:{value:t.form.carry_name,callback:function(e){t.$set(t.form,"carry_name",e)},expression:"form.carry_name"}})],1)],1),e("a-col",{attrs:{lg:24,md:12,sm:24}},[e("a-form-model-item",{attrs:{label:t.$t("component.postfee.desc"),prop:"remark"}},[e("a-textarea",{attrs:{placeholder:t.$t("component.postfee.input.desc")},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),e("a-col",{attrs:{lg:24,md:12,sm:24}},[e("a-form-model-item",{attrs:{label:t.$t("component.postfee.billing_method"),prop:"billing_method"}},[e("a-radio-group",{attrs:{"button-style":"solid"},model:{value:t.form.billing_method,callback:function(e){t.$set(t.form,"billing_method",e)},expression:"form.billing_method"}},[e("a-radio",{attrs:{value:"1"}},[t._v(t._s(t.$t("component.postfee.fixed_freight")))]),e("a-radio",{attrs:{value:"2"}},[t._v(t._s(t.$t("component.postfee.first_reloading")))]),e("a-radio",{attrs:{value:"3"}},[t._v(t._s(t.$t("component.postfee.first_successor")))])],1)],1)],1),e("a-col",{attrs:{lg:24,md:12,sm:24}},[e("a-tabs",{on:{change:t.changeBack},model:{value:t.form.extra_condition,callback:function(e){t.$set(t.form,"extra_condition",e)},expression:"form.extra_condition"}},[e("a-tab-pane",{key:"0",attrs:{tab:t.$t("component.postfee.non-interval")}},[0==t.form.extra_condition?e("a-col",{attrs:{lg:24,md:12,sm:24}},[e("a-form-model-item",{attrs:{label:t.$t("component.postfee.fee_price")}},[1==t.form.billing_method?e("div",[e("a-input",{staticStyle:{width:"20%"},model:{value:t.form.fixed_freight,callback:function(e){t.$set(t.form,"fixed_freight",e)},expression:"form.fixed_freight"}}),t._v(" "+t._s(t.$t("component.postfee.yuan"))+" ")],1):t._e(),2==t.form.billing_method?e("div",[t._v(" "+t._s(t.$t("component.postfee.head_weight"))+" "),e("a-input",{staticStyle:{width:"15%"},model:{value:t.form.first_piece,callback:function(e){t.$set(t.form,"first_piece",e)},expression:"form.first_piece"}}),t._v(" kg "+t._s(t.$t("component.postfee.first_weight_charge"))+" "),e("a-input",{staticStyle:{width:"15%"},model:{value:t.form.first_amount,callback:function(e){t.$set(t.form,"first_amount",e)},expression:"form.first_amount"}}),t._v(" "+t._s(t.$t("component.postfee.yuan"))+" "+t._s(t.$t("component.postfee.reweight"))+" "),e("a-input",{staticStyle:{width:"15%"},model:{value:t.form.second_piece,callback:function(e){t.$set(t.form,"second_piece",e)},expression:"form.second_piece"}}),t._v(" kg "+t._s(t.$t("component.postfee.reloading_charge"))+" "),e("a-input",{staticStyle:{width:"15%"},model:{value:t.form.second_amount,callback:function(e){t.$set(t.form,"second_amount",e)},expression:"form.second_amount"}}),t._v(" "+t._s(t.$t("component.postfee.yuan"))+" ")],1):t._e(),3==t.form.billing_method?e("div",[t._v(" "+t._s(t.$t("component.postfee.first_piece"))+" "),e("a-input",{staticStyle:{width:"15%"},model:{value:t.form.first_piece,callback:function(e){t.$set(t.form,"first_piece",e)},expression:"form.first_piece"}}),t._v(" "+t._s(t.$t("component.postfee.piece"))+" "+t._s(t.$t("component.postfee.initial_cost"))+" "),e("a-input",{staticStyle:{width:"15%"},model:{value:t.form.first_amount,callback:function(e){t.$set(t.form,"first_amount",e)},expression:"form.first_amount"}}),t._v(" "+t._s(t.$t("component.postfee.yuan"))+" "+t._s(t.$t("component.postfee.follow-on"))+" "),e("a-input",{staticStyle:{width:"15%"},model:{value:t.form.second_piece,callback:function(e){t.$set(t.form,"second_piece",e)},expression:"form.second_piece"}}),t._v(" "+t._s(t.$t("component.postfee.piece"))+" "+t._s(t.$t("component.postfee.replacement_charge"))+" "),e("a-input",{staticStyle:{width:"15%"},model:{value:t.form.second_amount,callback:function(e){t.$set(t.form,"second_amount",e)},expression:"form.second_amount"}}),t._v(" "+t._s(t.$t("component.postfee.yuan"))+" ")],1):t._e()])],1):t._e()],1),e("a-tab-pane",{key:"1",attrs:{tab:t.$t("component.postfee.interval")}},[1==t.form.extra_condition?e("a-col",{attrs:{lg:24,md:12,sm:24}},[e("a-form-model-item",{attrs:{label:t.$t("component.postfee.conditional_interval"),prop:"condition_interval"}},[e("a-radio-group",{attrs:{"button-style":"solid"},model:{value:t.form.condition_interval,callback:function(e){t.$set(t.form,"condition_interval",e)},expression:"form.condition_interval"}},[e("a-radio",{attrs:{value:"1"}},[t._v(t._s(t.$t("component.postfee.item_total_price")))]),e("a-radio",{attrs:{value:"2"}},[t._v(t._s(t.$t("component.postfee.parcel_weight")))]),e("a-radio",{attrs:{value:"3"}},[t._v(t._s(t.$t("component.postfee.item_num")))])],1)],1)],1):t._e(),1==t.form.extra_condition?e("a-col",{attrs:{lg:24,md:12,sm:24}},[1==t.form.condition_interval?e("a-form-model-item",{attrs:{label:t.$t("component.postfee.item_total_price")}},[1==t.form.billing_method?e("div",[t._l(t.carryModeAry,(function(o,n){return e("div",{key:n},[e("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(e){t.$set(o,"start_interval",e)},expression:"a.start_interval"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" - "),e("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(e){t.$set(o,"end_interval",e)},expression:"a.end_interval"}}),t._v(" "+t._s(t.$t("component.postfee.yuan"))+" "+t._s(t.$t("view.postfee.fee"))+" "),e("a-input-number",{staticStyle:{width:"20%"},model:{value:o.fixed_freight,callback:function(e){t.$set(o,"fixed_freight",e)},expression:"a.fixed_freight"}}),t._v(" "+t._s(t.$t("component.postfee.yuan"))+" ")],1)})),e("a-button",{attrs:{type:"primary"},on:{click:t.addCarryModeAry}},[t._v(" +"+t._s(t.$t("component.postfee.interval1"))+" ")])],2):t._e(),2==t.form.billing_method?e("div",[t._l(t.carryModeAry1,(function(o,n){return e("div",{key:n},[e("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(e){t.$set(o,"start_interval",e)},expression:"a1.start_interval"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" - "),e("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(e){t.$set(o,"end_interval",e)},expression:"a1.end_interval"}}),t._v(" "+t._s(t.$t("component.postfee.yuan"))+" "+t._s(t.$t("component.postfee.head_weight"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(e){t.$set(o,"first_piece",e)},expression:"a1.first_piece"}}),t._v("kg "+t._s(t.$t("component.postfee.first_weight_charge"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(e){t.$set(o,"first_amount",e)},expression:"a1.first_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" "+t._s(t.$t("component.postfee.reweight"))+t._s(t.$t("component.postfee.every"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(e){t.$set(o,"second_piece",e)},expression:"a1.second_piece"}}),t._v("kg "+t._s(t.$t("component.postfee.reloading_charge"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(e){t.$set(o,"second_amount",e)},expression:"a1.second_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" ")],1)})),e("a-button",{attrs:{type:"primary"},on:{click:t.addCarryModeAry1}},[t._v(" +"+t._s(t.$t("component.postfee.interval1"))+" ")])],2):t._e(),3==t.form.billing_method?e("div",[t._l(t.carryModeAry2,(function(o,n){return e("div",{key:n},[e("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(e){t.$set(o,"start_interval",e)},expression:"a2.start_interval"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" - "),e("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(e){t.$set(o,"end_interval",e)},expression:"a2.end_interval"}}),t._v(" "+t._s(t.$t("component.postfee.yuan"))+" "+t._s(t.$t("component.postfee.first_piece"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(e){t.$set(o,"first_piece",e)},expression:"a2.first_piece"}}),t._v(t._s(t.$t("component.postfee.piece"))+" "+t._s(t.$t("component.postfee.initial_cost"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(e){t.$set(o,"first_amount",e)},expression:"a2.first_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" "+t._s(t.$t("component.postfee.follow-on"))+t._s(t.$t("component.postfee.every"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(e){t.$set(o,"second_piece",e)},expression:"a2.second_piece"}}),t._v(t._s(t.$t("component.postfee.piece"))+" "+t._s(t.$t("component.postfee.replacement_charge"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(e){t.$set(o,"second_amount",e)},expression:"a2.second_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" ")],1)})),e("a-button",{attrs:{type:"primary"},on:{click:t.addCarryModeAry2}},[t._v(" +"+t._s(t.$t("component.postfee.interval1"))+" ")])],2):t._e()]):t._e(),2==t.form.condition_interval?e("a-form-model-item",{attrs:{label:t.$t("component.postfee.parcel_weight")}},[1==t.form.billing_method?e("div",[t._l(t.carryModeAry,(function(o,n){return e("div",{key:n},[e("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(e){t.$set(o,"start_interval",e)},expression:"a.start_interval"}}),t._v("kg - "),e("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(e){t.$set(o,"end_interval",e)},expression:"a.end_interval"}}),t._v("kg "),e("a-input-number",{staticStyle:{width:"20%"},model:{value:o.fixed_freight,callback:function(e){t.$set(o,"fixed_freight",e)},expression:"a.fixed_freight"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" ")],1)})),e("a-button",{attrs:{type:"primary"},on:{click:t.addCarryModeAry}},[t._v(" +"+t._s(t.$t("component.postfee.interval1"))+" ")])],2):t._e(),2==t.form.billing_method?e("div",[t._l(t.carryModeAry1,(function(o,n){return e("div",{key:n},[e("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(e){t.$set(o,"start_interval",e)},expression:"a1.start_interval"}}),t._v("kg - "),e("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(e){t.$set(o,"end_interval",e)},expression:"a1.end_interval"}}),t._v("kg "+t._s(t.$t("component.postfee.head_weight"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(e){t.$set(o,"first_piece",e)},expression:"a1.first_piece"}}),t._v("kg "+t._s(t.$t("component.postfee.first_weight_charge"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(e){t.$set(o,"first_amount",e)},expression:"a1.first_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" "+t._s(t.$t("component.postfee.reweight"))+t._s(t.$t("component.postfee.every"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(e){t.$set(o,"second_piece",e)},expression:"a1.second_piece"}}),t._v("kg "+t._s(t.$t("component.postfee.reloading_charge"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(e){t.$set(o,"second_amount",e)},expression:"a1.second_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" ")],1)})),e("a-button",{attrs:{type:"primary"},on:{click:t.addCarryModeAry1}},[t._v(" +"+t._s(t.$t("component.postfee.interval1"))+" ")])],2):t._e(),3==t.form.billing_method?e("div",[t._l(t.carryModeAry2,(function(o,n){return e("div",{key:n},[e("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(e){t.$set(o,"start_interval",e)},expression:"a2.start_interval"}}),t._v("kg - "),e("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(e){t.$set(o,"end_interval",e)},expression:"a2.end_interval"}}),t._v("kg "+t._s(t.$t("component.postfee.first_piece"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(e){t.$set(o,"first_piece",e)},expression:"a2.first_piece"}}),t._v(t._s(t.$t("component.postfee.piece"))+" "+t._s(t.$t("component.postfee.initial_cost"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(e){t.$set(o,"first_amount",e)},expression:"a2.first_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" "+t._s(t.$t("component.postfee.follow-on"))+t._s(t.$t("component.postfee.every"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(e){t.$set(o,"second_piece",e)},expression:"a2.second_piece"}}),t._v(t._s(t.$t("component.postfee.piece"))+" "+t._s(t.$t("component.postfee.replacement_charge"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(e){t.$set(o,"second_amount",e)},expression:"a2.second_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" ")],1)})),e("a-button",{attrs:{type:"primary"},on:{click:t.addCarryModeAry2}},[t._v(" +"+t._s(t.$t("component.postfee.interval1"))+" ")])],2):t._e()]):t._e(),3==t.form.condition_interval?e("a-form-model-item",{attrs:{label:t.$t("component.postfee.item_num")}},[1==t.form.billing_method?e("div",[t._l(t.carryModeAry,(function(o,n){return e("div",{key:n},[e("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(e){t.$set(o,"start_interval",e)},expression:"a.start_interval"}}),t._v(t._s(t.$t("component.postfee.piece"))+" - "),e("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(e){t.$set(o,"end_interval",e)},expression:"a.end_interval"}}),t._v(t._s(t.$t("component.postfee.piece"))+" "),e("a-input-number",{staticStyle:{width:"20%"},model:{value:o.fixed_freight,callback:function(e){t.$set(o,"fixed_freight",e)},expression:"a.fixed_freight"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" ")],1)})),e("a-button",{attrs:{type:"primary"},on:{click:t.addCarryModeAry}},[t._v(" +"+t._s(t.$t("component.postfee.interval1"))+" ")])],2):t._e(),2==t.form.billing_method?e("div",[t._l(t.carryModeAry1,(function(o,n){return e("div",{key:n},[e("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(e){t.$set(o,"start_interval",e)},expression:"a1.start_interval"}}),t._v(t._s(t.$t("component.postfee.piece"))+" - "),e("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(e){t.$set(o,"end_interval",e)},expression:"a1.end_interval"}}),t._v(" "+t._s(t.$t("component.postfee.piece"))+" "+t._s(t.$t("component.postfee.head_weight"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(e){t.$set(o,"first_piece",e)},expression:"a1.first_piece"}}),t._v("kg "+t._s(t.$t("component.postfee.first_weight_charge"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(e){t.$set(o,"first_amount",e)},expression:"a1.first_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" "+t._s(t.$t("component.postfee.reweight"))+t._s(t.$t("component.postfee.every"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(e){t.$set(o,"second_piece",e)},expression:"a1.second_piece"}}),t._v("kg "+t._s(t.$t("component.postfee.reloading_charge"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(e){t.$set(o,"second_amount",e)},expression:"a1.second_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" ")],1)})),e("a-button",{attrs:{type:"primary"},on:{click:t.addCarryModeAry1}},[t._v(" +"+t._s(t.$t("component.postfee.interval1"))+" ")])],2):t._e(),3==t.form.billing_method?e("div",[t._l(t.carryModeAry2,(function(o,n){return e("div",{key:n},[e("a-input",{staticStyle:{width:"10%"},model:{value:o.start_interval,callback:function(e){t.$set(o,"start_interval",e)},expression:"a2.start_interval"}}),t._v(t._s(t.$t("component.postfee.piece"))+" - "),e("a-input",{staticStyle:{width:"10%","margin-right":"5px"},model:{value:o.end_interval,callback:function(e){t.$set(o,"end_interval",e)},expression:"a2.end_interval"}}),t._v(" "+t._s(t.$t("component.postfee.piece"))+" "+t._s(t.$t("component.postfee.first_piece"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.first_piece,callback:function(e){t.$set(o,"first_piece",e)},expression:"a2.first_piece"}}),t._v(t._s(t.$t("component.postfee.piece"))+" "+t._s(t.$t("component.postfee.initial_cost"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.first_amount,callback:function(e){t.$set(o,"first_amount",e)},expression:"a2.first_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" "+t._s(t.$t("component.postfee.follow-on"))+t._s(t.$t("component.postfee.every"))+" "),e("a-input",{staticStyle:{width:"10%"},model:{value:o.second_piece,callback:function(e){t.$set(o,"second_piece",e)},expression:"a2.second_piece"}}),t._v(t._s(t.$t("component.postfee.piece"))+" "+t._s(t.$t("component.postfee.replacement_charge"))+" "),e("a-input-number",{staticStyle:{width:"10%"},model:{value:o.second_amount,callback:function(e){t.$set(o,"second_amount",e)},expression:"a2.second_amount"}}),t._v(t._s(t.$t("component.postfee.yuan"))+" ")],1)})),e("a-button",{attrs:{type:"primary"},on:{click:t.addCarryModeAry2}},[t._v(" +"+t._s(t.$t("component.postfee.interval1"))+" ")])],2):t._e()]):t._e()],1):t._e()],1)],1)],1)],1)],1),e("template",{slot:"footer"},[e("a-button",{on:{click:t.cancel}},[t._v(" "+t._s(t.$t("component.postfee.cancle.btn"))+" ")]),e("a-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(" "+t._s(t.$t("component.postfee.save.btn"))+" ")])],1)],2)},i=[],a=o("5530"),s=o("a9cd"),r=Object(a["a"])({},s["default"]),c=r,l=(o("a196"),o("2877")),p=Object(l["a"])(c,n,i,!1,null,null,null);e["default"]=p.exports}}]);