(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4f4e7b6d","chunk-ae7cb8dc","chunk-ae7cb8dc"],{"129e":function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"upload-list"},[a("div",{class:t.errorTips.length>0?"errorUploadBox img-box":"img-box"},[t.imageUrl?a("div",{staticClass:"upload-img-show"},[a("img",{staticClass:"adUploadImgStyle",attrs:{src:t.imageUrl,alt:"avatar"}}),a("div",{staticClass:"upload-img-preView"},[a("span",{staticClass:"upload-img-close",on:{click:t.closePreView}},[a("a-icon",{staticStyle:{color:"red",fontSize:"16px"},attrs:{type:"close"}})],1),a("p",{on:{click:t.showPrevisible}},[t._v("预览")])])]):a("a-upload",{staticClass:"avatar-uploader errorBox",attrs:{name:"file",listType:"picture-card",showUploadList:!1,action:t.addUploadRma,headers:t.token,data:{website_id:t.website_id},beforeUpload:t.beforeUpload},on:{change:t.handleChange}},[a("div",[a("a-icon",{attrs:{type:t.loading?"loading":"plus"}}),a("div",{staticClass:"ant-upload-text"},[t._v("上传")])],1)])],1),t.uploadTips?a("div",{staticClass:"uploadTips"},[t._v(t._s(t.uploadTips))]):t._e(),t.errorTips?a("div",{staticClass:"uploadErrorInfo"},[t._v(t._s(t.errorTips))]):t._e(),a("a-modal",{attrs:{visible:t.previewVisible,footer:null,width:800},on:{cancel:t.handleCancel}},[a("img",{staticStyle:{width:"100%"},attrs:{alt:"example",src:t.imageUrl}})])],1)},n=[];a("6762"),a("c5f6");function s(t,e){var a=new FileReader;a.addEventListener("load",(function(){return e(a.result)})),a.readAsDataURL(t)}var i="/api-r",o={props:{addUploadRma:{type:String,default:"".concat(i,"/file/single_upload")},uploadTips:{type:String,default:""},imgIndex:{type:Number,required:!0},editImg:{type:String,default:""}},watch:{editImg:{handler:function(t){t&&(this.imageUrl=t)},immediate:!0}},data:function(){return{loading:!1,imageUrl:"",errorTips:"",token:{"Access-Token":this.$ls.get("token"),"Website-ID":this.$store.getters.websiteId},website_id:this.$store.getters.websiteId,previewVisible:!1}},methods:{handleChange:function(t){var e=this,a=t.file;if("uploading"!==a.status){if("done"===a.status&&0===a.response.status){s(a.originFileObj,(function(t){e.imageUrl=t,e.loading=!1}));var r=a.response.data.front_single_upload;this.imageUrl=r,this.errorTips="",this.$emit("nextUplaod",this.imgIndex+1,r)}}else this.loading=!0},beforeUpload:function(t){var e=["image/png","image/gif","image/jpeg","image/jpg"],a=e.includes(t.type);a||(this.errorTips="仅支持jpg、jpeg、png、gif格式");var r=t.size<2097152;return r||(this.errorTips="图片大小不能超过2M"),a&&r},singleDecide:function(t){this.imageUrl||(this.errorTips=t||"请上传图片")},alreadyAdress:function(t){this.imageUrl=t},closePreView:function(){this.imageUrl="",this.$emit("removeUplaod",this.imgIndex)},handleCancel:function(){this.previewVisible=!1},showPrevisible:function(){this.previewVisible=!0}}},l=o,c=(a("5456"),a("2877")),u=Object(c["a"])(l,r,n,!1,null,"4a7fd43f",null);e["a"]=u.exports},"1b95":function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"commodityInfoBox"},[r("div",{staticClass:"commodityInfoLeft"},[t.commodityObj.image_url?r("img",{attrs:{src:t.commodityObj.image_url}}):["virtual"!==t.commodityObj.product_type?r("img",{attrs:{src:a("24b4")}}):r("img",{attrs:{src:a("fd32")}})]],2),r("div",{staticClass:"commodityInfoRight"},[r("div",{staticClass:"commodityTitle"},[r("a-tooltip",{attrs:{placement:"topLeft",title:t.commodityObj.name}},[2===t.commodityObj.free_samples?r("a-tag",{staticClass:"bundled-tag",attrs:{color:"#FFF0F6"}},[t._v("赠品")]):t._e(),1===t.commodityObj.free_samples?r("a-tag",{staticClass:"bundled-tag",attrs:{color:"#FFF0F6"}},[t._v("免费小样")]):t._e(),t.isChild&&2!==t.commodityObj.free_samples?[t._v(" 【子商品】 ")]:t._e(),t._v("\n "+t._s(t.commodityObj.name)+"\n ")],2)],1),t.commodityObj.attribute_options?r("div",{staticClass:"attribute"},[r("a-tooltip",{attrs:{placement:"topLeft",title:t.commodityObj.attribute_options}},[t._v("\n "+t._s(t.commodityObj.attribute_options)+"\n ")])],1):t._e(),r("div",{staticClass:"commodityInfoSort"},[r("a-tooltip",{attrs:{placement:"topLeft",title:t.commodityObj.product_id}},[r("span",{staticClass:"product_id"},[t._v("商品ID: "+t._s(t.commodityObj.product_id))])]),r("a-tooltip",{attrs:{placement:"topLeft",title:t.commodityObj.sku}},[r("span",{staticClass:"sku"},[t._v("商户sku: "+t._s(t.commodityObj.sku))])])],1)])]),t.isvirtual?r("div",{staticClass:"virtual"},[r("ul",t._l(t.commodityObj.child_products,(function(e){return r("li",{key:e.item_id},[2!==e.free_samples?[t._v("\n 【服务】"+t._s(e.name)+" "),r("span",[t._v("x"+t._s(e.qty_ordered))])]:t._e()],2)})),0)]):t._e()])},n=[],s={props:{commodityObj:{type:Object,required:!0},isChild:{type:Boolean,default:!1},isvirtual:{type:Boolean,default:!1}},filters:{}},i=s,o=(a("d44b"),a("2877")),l=Object(o["a"])(i,r,n,!1,null,"079ab4ec",null);e["a"]=l.exports},"22c1":function(t,e,a){"use strict";a("8d8d")},"3f43":function(t,e,a){"use strict";a("e873")},"41aa":function(t,e,a){"use strict";a.d(e,"H",(function(){return o})),a.d(e,"K",(function(){return l})),a.d(e,"g",(function(){return c})),a.d(e,"d",(function(){return u})),a.d(e,"c",(function(){return d})),a.d(e,"b",(function(){return m})),a.d(e,"o",(function(){return b})),a.d(e,"i",(function(){return p})),a.d(e,"v",(function(){return f})),a.d(e,"p",(function(){return _})),a.d(e,"j",(function(){return h})),a.d(e,"u",(function(){return g})),a.d(e,"t",(function(){return y})),a.d(e,"Q",(function(){return v})),a.d(e,"l",(function(){return w})),a.d(e,"n",(function(){return C})),a.d(e,"R",(function(){return j})),a.d(e,"f",(function(){return O})),a.d(e,"S",(function(){return x})),a.d(e,"m",(function(){return q})),a.d(e,"J",(function(){return k})),a.d(e,"s",(function(){return A})),a.d(e,"a",(function(){return S})),a.d(e,"k",(function(){return I})),a.d(e,"C",(function(){return L})),a.d(e,"h",(function(){return D})),a.d(e,"w",(function(){return R})),a.d(e,"x",(function(){return P})),a.d(e,"B",(function(){return U})),a.d(e,"L",(function(){return N})),a.d(e,"A",(function(){return M})),a.d(e,"O",(function(){return E})),a.d(e,"P",(function(){return $})),a.d(e,"D",(function(){return B})),a.d(e,"M",(function(){return F})),a.d(e,"N",(function(){return T})),a.d(e,"y",(function(){return z})),a.d(e,"z",(function(){return Y})),a.d(e,"F",(function(){return H})),a.d(e,"E",(function(){return G})),a.d(e,"G",(function(){return J})),a.d(e,"I",(function(){return Q})),a.d(e,"e",(function(){return V})),a.d(e,"q",(function(){return X})),a.d(e,"r",(function(){return Z}));a("8e6e"),a("ac6a"),a("456d"),a("ade3");var r=a("b775");var n="/api-base",s="/api-r",i={rmaHistory:s+"/rma_history/list",rmaLog:s+"/rma_log/list",countryList:n+"/country/list",addressList:s+"/rma_return_address/list",addressDetail:s+"/rma_return_address/detail",addressDelete:s+"/rma_return_address/delete",newAddress:s+"/rma_return_address/create",editAddress:s+"/rma_return_address/update",reasonList:s+"/rma_reason/list",newReason:s+"/rma_reason/create",editReason:s+"/rma_reason/update",reasonDetail:s+"/rma_reason/detail",reasonDelete:s+"/rma_reason/delete",saleSetting:s+"/rma_setting/detail",editSaleSetting:s+"/rma_setting/update",merchantsList:s+"/rma/website_merchants",shippingList:s+"/rma/shipping_type",channelList:s+"/rma/channels",storageList:s+"/stock/list",goodsInfo:s+"/common_order/detail",rmaList:s+"/rma/list",rmaDel:s+"/rma/delete",payList:s+"/rma/payment_method",addRmaStep:s+"/rma/create",editRmaStep:s+"/rma/update",rmaDetail:s+"/rma/detail",rmaDetailDel:s+"/rma/detail",rmaRefusal:s+"/rma/refusal",rmaApproved:s+"/rma/approved",rmaConfirmReturn:s+"/rma/confirm_return_ship",rmaLogistics:s+"/rma/logistics_company",rmaConfirmRefund:s+"/rma/confirm_return",rmaUpdateRefundAmount:s+"/rma/update_refund_amount",rmaUpdateRefundMethods:s+"/rma/update_refund_style",rmaSettingPayment:s+"/rma_setting/payment",rmaLogisticsTrack:s+"/rma/logistics_track",rmaSendCoupon:s+"/rma/again_send_coupon",rmaBatchAudit:s+"/rma/batch_audit",rmaBatchImport:s+"/export_import/create",rmaImgImport:s+"/rma/picture",rmaExportDetail:s+"/export_condition/detail",rmaExportCreate:s+"/export_condition/create",rmaExportUpdate:s+"/export_condition/update",rmaIntegral:s+"/rma/points_detail",autoConfirmReturn:s+"/rma/auto_confirm_return",orderQueryDetail:s+"/search_condition/detail",orderQueryUpdate:s+"/search_condition/update"};function o(t){return Object(r["b"])({url:i.rmaHistory,method:"get",params:t})}function l(t){return Object(r["b"])({url:i.rmaLog,method:"get",params:t})}function c(){return Object(r["b"])({url:i.countryList,method:"get",timeout:6e3})}function u(t){return Object(r["b"])({url:i.addressList,method:"get",params:t})}function d(t){return Object(r["b"])({url:i.addressDetail,method:"get",params:t})}function m(t){return Object(r["b"])({url:i.addressDelete,method:"post",params:t})}function b(t){return Object(r["b"])({url:i.newAddress,method:"post",params:t})}function p(t){return Object(r["b"])({url:i.editAddress,method:"post",params:t})}function f(t){return Object(r["b"])({url:i.reasonList,method:"get",params:t})}function _(t){return Object(r["b"])({url:i.newReason,method:"post",params:t})}function h(t){return Object(r["b"])({url:i.editReason,method:"post",data:t})}function g(t){return Object(r["b"])({url:i.reasonDetail,method:"get",params:t})}function y(t){return Object(r["b"])({url:i.reasonDelete,method:"post",data:t})}function v(t){return Object(r["b"])({url:i.saleSetting,method:"get",params:t})}function w(t){return Object(r["b"])({url:i.editSaleSetting,method:"post",data:t})}function C(t){return Object(r["b"])({url:i.merchantsList,method:"get",params:t})}function j(t){return Object(r["b"])({url:i.shippingList,method:"get",params:t})}function O(t){return Object(r["b"])({url:i.channelList,method:"get",params:t})}function x(t){return Object(r["b"])({url:i.storageList,method:"get",params:t})}function q(t){return Object(r["b"])({url:i.goodsInfo,method:"get",params:t})}function k(t){return Object(r["b"])({url:i.rmaList,method:"get",params:t})}function A(t){return Object(r["b"])({url:i.payList,method:"get",params:t})}function S(t){return Object(r["b"])({url:i.addRmaStep,method:"post",data:t})}function I(t){return Object(r["b"])({url:i.editRmaStep,method:"post",data:t})}function L(t){return Object(r["b"])({url:i.rmaDetail,method:"get",params:t})}function D(t){return Object(r["b"])({url:i.rmaDel,method:"post",data:t})}function R(t){return Object(r["b"])({url:i.rmaRefusal,method:"post",data:t})}function P(t){return Object(r["b"])({url:i.rmaApproved,method:"post",data:t})}function U(t){return Object(r["b"])({url:i.rmaConfirmReturn,method:"post",data:t})}function N(t){return Object(r["b"])({url:i.rmaLogistics,method:"get",params:t})}function M(t){return Object(r["b"])({url:i.rmaConfirmRefund,method:"post",data:t})}function E(t){return Object(r["b"])({url:i.rmaUpdateRefundAmount,method:"post",data:t})}function $(t){return Object(r["b"])({url:i.rmaUpdateRefundMethods,method:"post",data:t})}function B(t){return Object(r["b"])({url:i.rmaSettingPayment,method:"get",params:t})}function F(t){return Object(r["b"])({url:i.rmaLogisticsTrack,method:"post",data:t})}function T(t){return Object(r["b"])({url:i.rmaSendCoupon,method:"get",params:t})}function z(t){return Object(r["b"])({url:i.rmaBatchAudit,method:"get",params:t})}function Y(t){return Object(r["b"])({url:i.rmaBatchImport,method:"post",data:t})}function H(t){return Object(r["b"])({url:i.rmaExportDetail,method:"get",params:t})}function G(t){return Object(r["b"])({url:i.rmaExportCreate,method:"post",data:t})}function J(t){return Object(r["b"])({url:i.rmaExportUpdate,method:"post",data:t})}function Q(t){return Object(r["b"])({url:i.rmaIntegral,method:"post",data:t})}function V(t){return Object(r["b"])({url:i.autoConfirmReturn,method:"post",data:t})}function X(t){return Object(r["b"])({url:i.orderQueryDetail,method:"get",params:t})}function Z(t){return Object(r["b"])({url:i.orderQueryUpdate,method:"post",data:t})}},"46d7":function(t,e,a){},"4c57":function(t,e,a){"use strict";a("c07b")},"4def":function(t,e,a){"use strict";a("f475")},5456:function(t,e,a){"use strict";a("752c")},5633:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"customBread"},[a("div",{staticClass:"page-header clearfix"},[a("div",{staticClass:"page-header-index-wide",staticStyle:{float:"left"}},[a("a-breadcrumb",{staticClass:"breadcrumb"},t._l(t.breadList.loopBread,(function(e){return a("a-breadcrumb-item",{key:e.name},[e.href?a("router-link",{attrs:{to:{path:e.href}}},[t._v("\n "+t._s(e.title)+"\n ")]):a("span",[t._v(t._s(e.title))])],1)})),1),a("div",{staticClass:"detail"},[a("div",{staticClass:"customBreadcrumb-current"},[a("h1",{staticClass:"title"},[t._v(t._s(t.breadList.current))]),t.breadList.showNote&&t.breadList.isText?a("a-tooltip",{attrs:{placement:"bottomLeft"}},[a("template",{slot:"title"},[a("div",{domProps:{innerHTML:t._s(t.noteRender())}})]),a("a-icon",{staticClass:"customBreadcrumb-icon",attrs:{type:"exclamation-circle"}})],2):t.breadList.showNote?a("a-popover",{attrs:{placement:"bottomLeft",overlayClassName:"custom-crumbcrumb-tips"}},[a("template",{slot:"content"},[a("div",{domProps:{innerHTML:t._s(t.noteRender())}})]),a("a-icon",{staticClass:"customBreadcrumb-icon",attrs:{type:"exclamation-circle"}})],2):t._e()],1)])],1),a("div",{staticClass:"customBreadRight"},[t._t("default")],2)])])},n=[],s={props:{breadList:{type:Object,required:!0}},methods:{noteRender:function(){var t=this.breadList.current;switch(t){case"热搜词":return'\n
\n
\n
\n \n
\n
\n
\n ';case"搜索暗文":return'\n
\n
\n
\n \n
\n
\n
\n ';case"搜索跳转":return'\n
\n
\n
\n 设置搜索词跳转到指定的落地页\n
\n
\n
\n ';case"搜索联想词":return'\n
\n
\n
\n \n
\n
\n
\n ';case"热推商品":return'\n
\n
\n
\n 搜索商品列表页、运营分类商品列表页、品牌商品列表页、店铺商品列表页的商品,优先展示热推商品,同为热推商品,按排序值由小到大展示。\n
\n
\n
\n ';case"搜索无结果关联词":return'\n
\n
\n
\n \n
\n
\n
\n ';case"商品排序得分":return'\n
\n
\n

商品综合排序规则说明:

\n
    \n
  1. 无库存商品,排在有库存商品之后
  2. \n
  3. 热推商品展示在前,非热推商品展示在后;热推商品按热推商品排序值由小到大排序
  4. \n
  5. 运营分类商品列表:按运营分类人工排值由小到大排序(不适用搜索商品列表页、品牌商品列表页、店铺商品列表页)
  6. \n
  7. \n 排序值相同,按系统自动计算的商品排序得分由大到小排序。
    \n 商品排序得分="0.7*支付件数+0.03*下单件数+0.02*加购件数+0.05*访问uv+0.2*新品得分(新品=1,否则=0)
    \n 支付件数:最近一年已支付状态订单的sku件数合计
    \n 下单件数:最近一年所有状态订单的sku件数合计
    \n 加购件数:最近一年加入购物车的sku件数合计
    \n 访问uv:最近一年商品浏览访问uv合计
    \n 新品得分:新品=1,否则=0。设置新品规则 >>\n
  8. \n
  9. 若人工排序值和系统排序值都相同,则按照搜索引擎返回的顺序排序
  10. \n
\n
\n
\n ';case"异款SPU规则":return'\n
\n
\n
\n 将属于规则设置范围内,且属于同一店铺、同一品牌、同一品类,且符合价格最大极差的不同款商品,聚合成一个SPU商品\n
\n
\n
\n ';case"主图视频":return'\n
\n
\n
\n 按SPU编码维度,通过第三方视频生成服务,使用商品主图生成主图视频\n
\n
\n
\n ';default:return""}}}},i=s,o=(a("22c1"),a("2877")),l=Object(o["a"])(i,r,n,!1,null,"ceaaba20",null);e["a"]=l.exports},"61e6":function(t,e,a){"use strict";a("bb4e")},6472:function(t,e,a){},"660b":function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"clearfix upload-list-box"},[t._l(t.imgNume,(function(e,r){return[null!==e?a("upload",{key:r,ref:"rma_image_url",refInFor:!0,attrs:{imgIndex:r,editImg:t.defaultImg[r]},on:{nextUplaod:t.nextUplaod,removeUplaod:t.removeUplaod}}):t._e()]}))],2),a("div",{staticClass:"clearfix uploadTips"},[t._v("最多可上传5张图片,仅支持jpg、jpeg、png、gif格式")]),t.isShowError?a("div",{staticClass:"uploadErrorInfo"},[t._v("请上传凭证")]):t._e()])},n=[],s=(a("ac6a"),a("7f7f"),a("129e")),i={data:function(){return{imgNume:[0],currenIndex:1,fileNum:0,fileList:[],isShowError:!1}},components:{upload:s["a"]},props:{defaultImg:{type:Array,default:function(){return[]}}},watch:{defaultImg:{handler:function(t){var e=this,a=t.length;a>0&&"rmaEdit"===this.$route.name&&(this.imgNume=[],this.fileList=[],t.forEach((function(t,a){e.fileList.push(t),e.imgNume.push(a)})),a<5&&this.imgNume.push(a),this.$emit("uploadImg",t))},immediate:!0}},methods:{nextUplaod:function(t,e){var a=0,r=[];this.fileList.push(e),this.fileList.map((function(t){null!=t&&(a++,r.push(t))})),a<5&&this.imgNume.push(t),r.length&&(this.isShowError=!1),this.$emit("uploadImg",r)},removeUplaod:function(t){var e=this,a=0,r=0,n=[];this.removeIndex=t,this.$nextTick((function(){e.imgNume.splice(t,1,null),e.fileList.splice(t,1,null),e.fileList.map((function(t){null!=t&&(a++,n.push(t))})),e.imgNume.map((function(t){null!=t&&r++})),r-a===0&&a<5&&e.imgNume.push(e.imgNume.length+1),e.$emit("uploadImg",n)}))}}},o=i,l=(a("3f43"),a("2877")),c=Object(l["a"])(o,r,n,!1,null,"0af1895f",null);e["a"]=c.exports},"6cd7":function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ant-table-wrapper"},[a("div",{staticClass:"ant-spin-nested-loading"},[a("div",{staticClass:"ant-spin-container"},[a("div",{staticClass:"ant-table ant-table-scroll-position-left ant-table-layout-fixed ant-table-default"},[a("div",{staticClass:"ant-table-content"},[a("div",{staticClass:"ant-table-body"},[a("table",{},[a("colgroup",[t._l(t.columns,(function(e,r){return[a("col",{key:r,style:t.getStyle(e)})]}))],2),a("thead",{staticClass:"ant-table-thead"},[a("tr",t._l(t.columns,(function(e,r){return a("th",{key:r,staticClass:"ant-table-row-cell-ellipsis ant-table-row-cell-break-word"},[a("span",{staticClass:"ant-table-header-column"},[a("div",{staticStyle:{display:"flex"}},[a("span",{staticClass:"ant-table-column-title"},[t._v(t._s(e.title))]),"deduct_amount"===e.key?a("span",{staticStyle:{"margin-left":"4px"}},[a("a-tooltip",{attrs:{title:"用户通过分享返现活动获取的佣金,分享返现活动支持按分类、按商品设置不同的分享返现比例,所以可能出现实付金额相同、分享返现金额不一样的场景。分享返现金额不属于商品实付金额,所以不参与商品行的商品退款金额计算。"}},[a("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1):t._e(),a("span",{staticClass:"ant-table-column-sorter"})])])])})),0)]),t._l(t.getDataSource,(function(e,r){return a("tbody",{key:r,staticClass:"ant-table-tbody"},["bundle"!==e.product_type?[a("tr",{staticClass:"ant-table-row ant-table-row-level-0"},[a("td",{staticClass:"ant-table-row-cell-ellipsis ant-table-row-cell-break-word",staticStyle:{paddingLeft:"24px"}},[a("commodity-info",{attrs:{commodityObj:e,isChild:"1"===e.isChild}})],1),a("td",{staticClass:"ant-table-row-cell-break-word",staticStyle:{color:"#FF0000"}},[t._v("x "+t._s(e.qty?e.qty:e.allow_rma_qty))]),a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getAmount(e.base_shipping_amount,e.qty?e.qty:e.allow_rma_qty))+" ")]),a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getTaxation(e.base_tax_amount,e.qty?e.qty:e.allow_rma_qty))+" ")]),a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getPrice(e.base_row_total,e.qty?e.qty:e.allow_rma_qty))+" ")]),t.isShowReward&&"addRma"===t.$route.name?a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getShareCash((e.qty?e.qty:e.allow_rma_qty)===e.qty_ordered?t.getPrice(e.deduct_amount_total,1):t.getPrice(e.deduct_amount,e.qty?e.qty:e.allow_rma_qty),e.deduct_amount_total,e.history_deduct_amount)))]):t._e(),t.isShowReward&&"addRma"!==t.$route.name?a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getPrice(e.deduct_amount,1)))]):t._e(),a("td",{staticClass:"ant-table-row-cell-break-word"},[a("a-input",{staticClass:"refund-price",attrs:{prefix:t.symbal,"default-value":"addRma"===t.$route.name?t.getPrice(e.base_row_total,e.qty?e.qty:e.allow_rma_qty):t.getPrice(e.refund_amount,1)},on:{blur:function(a){t.changePrice(a,e)}},model:{value:e.refund_amount,callback:function(a){t.$set(e,"refund_amount",a)},expression:"item.refund_amount"}})],1)]),e.child_products?[t._l(e.child_products,(function(r,n){return[a("tr",{key:n},[a("td",{staticClass:"ant-table-row-cell-ellipsis ant-table-row-cell-break-word",staticStyle:{paddingLeft:"24px"}},[a("commodity-info",{attrs:{commodityObj:r}})],1),a("td",{staticClass:"ant-table-row-cell-break-word",staticStyle:{color:"#FF0000"}},[t._v("x "+t._s(2===r.free_samples?r.qty?r.qty:r.allow_rma_qty:e.qty?e.qty:e.allow_rma_qty))]),a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getAmount(r.base_shipping_amount,2===r.free_samples?r.qty?r.qty:r.allow_rma_qty:e.qty?e.qty:e.allow_rma_qty)))]),a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getTaxation(r.base_tax_amount,2===r.free_samples?r.qty?r.qty:r.allow_rma_qty:e.qty?e.qty:e.allow_rma_qty))+" ")]),a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getPrice(r.base_row_total,2===r.free_samples?r.qty?r.qty:r.allow_rma_qty:e.qty?e.qty:e.allow_rma_qty))+" ")]),"addRma"===t.$route.name?[2===r.free_samples&&t.isShowReward?a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v("\n "+t._s(t.symbal)+t._s(t.getShareCash((r.qty?r.qty:r.allow_rma_qty)===r.qty_ordered?t.getPrice(r.deduct_amount_total,1):t.getPrice(r.deduct_amount,r.qty?r.qty:r.allow_rma_qty),r.deduct_amount_total,r.history_deduct_amount))+"\n ")]):2!==r.free_samples&&t.isShowReward?a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v("\n "+t._s(t.symbal)+t._s(t.getShareCash((e.qty?e.qty:e.allow_rma_qty)===e.qty_ordered?t.getPrice(e.deduct_amount_total,1):t.getPrice(e.deduct_amount,e.qty?e.qty:e.allow_rma_qty),e.deduct_amount_total,e.history_deduct_amount))+"\n ")]):t._e()]:[2===r.free_samples&&t.isShowReward?a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v("\n "+t._s(t.symbal)+t._s(t.getPrice(r.deduct_amount,1))+"\n ")]):2!==r.free_samples&&t.isShowReward?a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v("\n "+t._s(t.symbal)+t._s(t.getPrice(e.deduct_amount,1))+"\n ")]):t._e()],t.isShowReward&&"addRma"!==t.$route.name?a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getPrice(r.deduct_amount,1)))]):t._e(),a("td",{staticClass:"ant-table-row-cell-break-word"},[a("a-input",{staticClass:"refund-price",attrs:{prefix:t.symbal,"default-value":"addRma"===t.$route.name?t.getPrice(r.base_row_total,2===r.free_samples?r.qty?r.qty:r.allow_rma_qty:e.qty?e.qty:e.allow_rma_qty):t.getPrice(r.refund_amount,1)},on:{blur:function(e){t.changePrice(e,r)}},model:{value:r.refund_amount,callback:function(e){t.$set(r,"refund_amount",e)},expression:"child.refund_amount"}})],1)],2)]}))]:t._e()]:[a("tr",{staticClass:"bundle-tr"},[a("td",{staticClass:"suit-pro border-dotted",attrs:{colspan:t.columns.length}},[a("div",{staticStyle:{width:"50%"}},[t._v("\n 【套装商品】"),a("span",{staticClass:"bundle-title"},[t._v(t._s(e.name))]),t._v(" x"+t._s(e.qty_ordered)+"\n ")])])]),t._l(e.child_products,(function(e,r){return[t.getDataList.indexOf(e.item_id)>-1?a("tr",{key:r,staticClass:"bundle-tr"},[a("td",{staticClass:"ant-table-row-cell-ellipsis ant-table-row-cell-break-word",staticStyle:{paddingLeft:"24px"}},[a("commodity-info",{attrs:{commodityObj:e,isChild:!0}})],1),a("td",{staticClass:"ant-table-row-cell-break-word",staticStyle:{color:"#FF0000"}},[t._v("x "+t._s(e.qty?e.qty:e.allow_rma_qty))]),a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getAmount(e.base_shipping_amount,e.qty?e.qty:e.allow_rma_qty)))]),a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getTaxation(e.base_tax_amount,e.qty?e.qty:e.allow_rma_qty))+" ")]),a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getPrice(e.base_row_total,e.qty?e.qty:e.allow_rma_qty))+" ")]),t.isShowReward&&"addRma"===t.$route.name?a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v("\n "+t._s(t.symbal)+t._s(t.getShareCash((e.qty?e.qty:e.allow_rma_qty)===e.qty_ordered?t.getPrice(e.deduct_amount_total,1):t.getPrice(e.deduct_amount,e.qty?e.qty:e.allow_rma_qty),e.deduct_amount_total,e.history_deduct_amount))+"\n ")]):t._e(),t.isShowReward&&"addRma"!==t.$route.name?a("td",{staticClass:"ant-table-row-cell-break-word"},[t._v(t._s(t.symbal)+t._s(t.getPrice(e.deduct_amount,1)))]):t._e(),a("td",{staticClass:"ant-table-row-cell-break-word"},[a("a-input",{staticClass:"refund-price",attrs:{prefix:t.symbal,"default-value":"addRma"===t.$route.name?t.getPrice(e.base_row_total,e.qty?e.qty:e.allow_rma_qty):t.getPrice(e.refund_amount,1)},on:{blur:function(a){t.changePrice(a,e)}},model:{value:e.refund_amount,callback:function(a){t.$set(e,"refund_amount",a)},expression:"child.refund_amount"}})],1)]):t._e()]}))]],2)}))],2)])])])])])])},n=[],s=(a("8e6e"),a("ac6a"),a("456d"),a("c5f6"),a("7f7f"),a("ade3")),i=a("ca00"),o=a("2f62"),l=a("1b95");function c(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function u(t){for(var e=1;ee-a){var r=(e-a).toFixed(2);return r<0&&(r=Number(0).toFixed(2)),r}return t}}}),methods:{getStyle:function(t){return"width:"+t.width},changePrice:function(t,e){var a=t.target.value;if(1*a&&1*a>=0){var r=Object(i["e"])(1*a,2);e.refund_amount=r}else e.refund_amount=Object(i["e"])(0,2),a=0;this.$emit("inputChange",e.item_id,a)}}},m=d,b=(a("dee7"),a("2877")),p=Object(b["a"])(m,r,n,!1,null,"02d46a88",null);e["a"]=p.exports},"752c":function(t,e,a){},"75eb":function(t,e,a){"use strict";a.d(e,"a",(function(){return d})),a.d(e,"c",(function(){return h})),a.d(e,"b",(function(){return x}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"couponInfo-header"},[t._v("\n 优惠券信息\n "),t.isClose?a("a-icon",{staticStyle:{color:"#999",fontSize:"16px","line-height":"42px",float:"right","padding-right":"14px",cursor:"pointer"},attrs:{type:"close"},on:{click:t.closeCoupon}}):t._e()],1),t.couponInfo.status?a("div",{staticClass:"couponInfo-content"},[a("a-row",[a("a-col",{attrs:{span:12}},[t._v("状态:"),a("span",{staticClass:"couponDetail"},[t._v(t._s(t._f("statusFilter")(t.couponInfo.status)))])]),a("a-col",{attrs:{span:12}},[t._v("\n 优惠券ID:"),a("span",{staticClass:"couponDetail"},[t._v(t._s(t.couponInfo.id))])]),a("a-col",{attrs:{span:12}},[a("ellipsis",{attrs:{tooltip:"",length:60}},[t._v("\n 优惠券标题: "+t._s(t.couponInfo.title)+"\n ")])],1),a("a-col",{attrs:{span:12}},[t._v("\n 面值:"),a("span",{staticClass:"couponDetail"},[t._v(t._s(t.couponInfo.value))])]),a("a-col",{attrs:{span:12}},[t._v("\n 每人限领张数:"),a("span",{staticClass:"couponDetail"},[t._v(t._s(0===t.couponInfo.limit.per_limit?"不限制":t.couponInfo.limit.per_limit+"张"))])]),a("a-col",{attrs:{span:12}},[t._v("\n 剩余优惠券张数:"),a("span",{staticClass:"couponDetail"},[t._v(t._s(Number(t.couponInfo.remain_num))+"张")])]),a("a-col",{attrs:{span:12}},[t._v("\n 生效方式:"),a("span",{staticClass:"couponDetail"},[t._v(t._s("period"===t.couponInfo.effect_mode.type?"时间段内生效":"领取后生效"))])]),"period"===t.couponInfo.effect_mode.type?a("a-col",{attrs:{span:12}},[a("ellipsis",{attrs:{tooltip:"",length:90}},[t._v("\n 生效时间: "+t._s(t.couponInfo.effect_mode.started_at)+" ~ "+t._s(t.couponInfo.effect_mode.ended_at)+"\n ")])],1):a("a-col",{attrs:{span:12}},[t._v("\n 生效天数:"),a("span",{staticClass:"couponDetail"},[t._v(t._s(t.couponInfo.effect_mode.days+"天"))])])],1)],1):a("div")])},n=[],s=a("cbfe"),i=a("c4db"),o={components:{Ellipsis:i["a"]},props:{targetAttr:{type:String,default:function(){return""}},isClose:{type:Boolean,default:!1}},data:function(){return{couponInfo:{}}},methods:{getCouponDetail:function(t){var e=this;Object(s["s"])({id:t}).then((function(t){var a=t.data;e.couponInfo=a;var r=e.targetAttr;e.$emit("couponReadyMethod",{couponInfoReady:!0,couponDetail:a,targetAttr:r})}))},closeCoupon:function(){var t=this.targetAttr;this.$emit("couponReadyMethod",{couponInfoReady:!1,couponDetail:Object,targetAttr:t})}},filters:{statusFilter:function(t){switch(t){case 1:return"新建";case 2:return"待审核";case 3:return"审核通过";case 4:return"已拒绝";case 5:return"已暂停";case 6:return"活动中";case 7:return"已结束";case 8:return"已作废";default:return"错误"}}}},l=o,c=(a("4def"),a("2877")),u=Object(c["a"])(l,r,n,!1,null,"a510405a",null),d=u.exports,m=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-form-item",{staticClass:"sendCoupon-selectNumber",attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol,required:"",label:"每人发券数量"}},[a("span",{staticClass:"inputMask"}),a("a-input",{staticStyle:{width:"130px"},attrs:{placeholder:"Basic usage"},model:{value:t.sendNumber,callback:function(e){t.sendNumber=e},expression:"sendNumber"}},[a("a-icon",{attrs:{slot:"prefix",type:"minus"},on:{click:function(e){return t.minusNub()}},slot:"prefix"}),a("a-icon",{staticStyle:{color:"rgba(0,0,0)"},attrs:{slot:"suffix",type:"plus"},on:{click:function(e){return t.plusNub()}},slot:"suffix"})],1)],1)},b=[],p={name:"CouponSelectNumber",data:function(){return{labelCol:{span:4},wrapperCol:{span:16},sendNumber:1}},methods:{minusNub:function(){0!==this.sendNumber&&(this.sendNumber--,this.$emit("clickNumber",this.sendNumber))},plusNub:function(){this.sendNumber++,this.$emit("clickNumber",this.sendNumber)}}},f=p,_=(a("61e6"),Object(c["a"])(f,m,b,!1,null,"c41cd782",null)),h=_.exports,g=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"customContent"},[r("a-layout",[r("a-layout-content",{style:{background:"#fff"}},[r("div",{staticClass:"module-couponDetail",staticStyle:{padding:"96px 0"}},[r("div",{staticStyle:{width:"73px",margin:"0 auto 15px"}},[r("img",{staticStyle:{width:"73px"},attrs:{src:a("072e")}})]),r("div",{staticStyle:{"text-align":"center","margin-bottom":"48px","font-weight":"bold","font-size":"28px",color:"#000"}},[t._v("提交成功")]),r("div",{staticClass:"submit-success-content"},[r("a-layout",[r("a-layout-content",[r("a-card",{attrs:{bordered:!1}},[r("detail-list",[r("detail-list-item",{staticStyle:{height:"14px"},attrs:{term:"发放时间"}},[t._v(t._s(t.addReturnInfo.send_at))]),r("detail-list-item",{attrs:{term:"发放用户数量"}},[t._v(t._s(t._f("stringFilter")(t.addReturnInfo.user_amount)))]),r("detail-list-item",{attrs:{term:"发放优惠券数量"}},[t._v(t._s(t._f("stringFilter")(t.addReturnInfo.coupon_amount)))])],1)],1)],1)],1)],1),r("div",{staticStyle:{"text-align":"center","padding-top":"24px"}},[r("a-button",{staticStyle:{"margin-right":"12px",background:"#1890ff",color:"#fff","border-color":"#1890ff"},on:{click:t.backList}},[t._v("返回列表")]),r("a-button",{on:{click:t.couponDetail}},[t._v("查看详情")])],1)])])],1)],1)},y=[],v=a("fa43"),w=v["a"].Item,C={components:{DetailList:v["a"],DetailListItem:w},props:{addReturnInfo:{required:!0,type:Object},jumpObject:{required:!0,type:Object}},computed:{websiteId:function(){return this.$store.getters.websiteId}},methods:{backList:function(){this.$router.push({path:this.jumpObject.list})},couponDetail:function(){this.$router.push({path:this.jumpObject.detail+this.addReturnInfo.id+"/websiteId/"+this.websiteId})}}},j=C,O=(a("4c57"),Object(c["a"])(j,g,y,!1,null,"5f24049b",null)),x=O.exports},"8d8d":function(t,e,a){},bb4e:function(t,e,a){},c07b:function(t,e,a){},d44b:function(t,e,a){"use strict";a("46d7")},dee7:function(t,e,a){"use strict";a("6472")},e873:function(t,e,a){},f475:function(t,e,a){},fd32:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABQCAYAAACzg5PLAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJfSURBVHhe7dzbbcJAFIRhl08N1EAN9EALFMBNXF6AkwzRwNHJmjBJiHA0kX7F9pol+2Xh0V28/5zP5zgcDrHZbGKxWLgUTGBzOp1AFR2w1ut1rFar2G63sd/vXQomsEFA66CHk9bN7haMdrtddNhy3lmPtVwuo8PntDXoPgcrgwkZTMxgYgYTM5iYwcQMJmYwMYOJGUzMYGIGEzOYmMHEDCZmMDGDiRlMzGBiBhMzmJjBxAwmZjAxg4kZTMxgYgYTM5jYn4KNx+MYjUaXcDybza7ntfrayWQS0+n00/W/7tfBsLC8cJxzDEj4PZ/Pr2B5nFUwQOU5W927v/Ue3+2pYADJY4+AcYznXDzvz/cijLV2Hubh3zEIsNYisGguooLlMcJgjrxYHPOc78OxVsTOc/y0p4HhP1zHuHO++kj2lVFZ6z7GXfbyYISptcAqAOM99VqdM4+3YDDHvwLj/RkDi+dx7d5Yq8GDcTdkMHzX8DsvH9fX9NX3fghjLw+GRbTGeL3uMI7het9rUcVk98Aw3yDAgFHH7oHhuO91qA+Tc9XrHBsMWP0jM04FywtrofF6vsbyvDW+rm/8Oz0NrC4c17k4jOGjhXPem+cAJkHrPCi/BwJ4Hkd57sGAodZ3zrPLWOilwf57BhMzmJjBxAwmZjAxg4kZTMxgYgYTM5iYwcQMJmYwMYOJGUzMYGIGEzOYmMHEDCZmMDGDiRlMzGBiBhMzmJjBxAwmdgHzg28f7/LgWxz40cpfx43V4YHUfDh160b3gQWf4/EYl8fDAw0PpsaWw+fU3YIJdhawIiLeACh/HqUvYpFZAAAAAElFTkSuQmCC"}}]);