(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-040e7832","chunk-ae7cb8dc","chunk-ae7cb8dc"],{"0f9d":function(t,e,n){"use strict";n("47fa")},"22c1":function(t,e,n){"use strict";n("8d8d")},"47fa":function(t,e,n){},4884:function(t,e,n){"use strict";n.d(e,"L",(function(){return o})),n.d(e,"K",(function(){return s})),n.d(e,"D",(function(){return c})),n.d(e,"G",(function(){return d})),n.d(e,"J",(function(){return l})),n.d(e,"H",(function(){return u})),n.d(e,"C",(function(){return m})),n.d(e,"u",(function(){return p})),n.d(e,"t",(function(){return _})),n.d(e,"B",(function(){return b})),n.d(e,"r",(function(){return f})),n.d(e,"x",(function(){return h})),n.d(e,"V",(function(){return g})),n.d(e,"A",(function(){return v})),n.d(e,"l",(function(){return y})),n.d(e,"k",(function(){return x})),n.d(e,"hb",(function(){return C})),n.d(e,"b",(function(){return O})),n.d(e,"M",(function(){return S})),n.d(e,"bb",(function(){return j})),n.d(e,"I",(function(){return k})),n.d(e,"m",(function(){return w})),n.d(e,"q",(function(){return L})),n.d(e,"ab",(function(){return P})),n.d(e,"n",(function(){return T})),n.d(e,"s",(function(){return I})),n.d(e,"z",(function(){return F})),n.d(e,"o",(function(){return M})),n.d(e,"E",(function(){return $})),n.d(e,"F",(function(){return D})),n.d(e,"y",(function(){return E})),n.d(e,"c",(function(){return N})),n.d(e,"w",(function(){return R})),n.d(e,"a",(function(){return A})),n.d(e,"j",(function(){return q})),n.d(e,"W",(function(){return z})),n.d(e,"eb",(function(){return U})),n.d(e,"cb",(function(){return V})),n.d(e,"db",(function(){return W})),n.d(e,"fb",(function(){return K})),n.d(e,"gb",(function(){return B})),n.d(e,"P",(function(){return Q})),n.d(e,"R",(function(){return G})),n.d(e,"N",(function(){return J})),n.d(e,"Q",(function(){return H})),n.d(e,"O",(function(){return Z})),n.d(e,"S",(function(){return X})),n.d(e,"T",(function(){return Y})),n.d(e,"U",(function(){return tt})),n.d(e,"d",(function(){return et})),n.d(e,"v",(function(){return nt})),n.d(e,"g",(function(){return at})),n.d(e,"h",(function(){return rt})),n.d(e,"e",(function(){return it})),n.d(e,"X",(function(){return ot})),n.d(e,"Y",(function(){return st})),n.d(e,"f",(function(){return ct})),n.d(e,"p",(function(){return dt})),n.d(e,"i",(function(){return lt})),n.d(e,"Z",(function(){return ut}));var a=n("b775"),r="/api-oms",i={omsStores:r+"/admin/common/stores",omsStocks:r+"/admin/common/stocks",omsPayment:r+"/admin/common/payment-methods",omsPlaces:r+"/admin/common/sale-places",omsShipping:r+"/admin/common/shipping-types",omsPromotion:r+"/admin/common/promotion-sources",omsList:r+"/admin/order/list",exportList:r+"/admin/export/create",exportDetail:r+"/admin/export/field",omsImportList:r+"/admin/import/create",cityAllList:r+"/admin/address/all-city",countyList:r+"/admin/address/all-county",editOrderPayment:r+"/admin/order/enable-payment-methods",omsDetail:r+"/admin/order/detail",omsIdCardPic:r+"/admin/order/check-id-card",orderTrack:r+"/admin/order/track-items",changeProcessing:r+"/admin/order/status-to-processing",changeComplete:r+"/admin/order/status-to-complete",updateAddress:r+"/admin/order/update-address",addRemark:r+"/admin/order/add-remark",operationLog:r+"/admin/order/remark-list",shipmentsCarriers:r+"/admin/common/carriers",omsShipments:r+"/admin/order/shipment",checkIdentity:r+"/admin/order/check-identity-verify",editIdentity:r+"/admin/order/update-identity-verify",selectProductId:r+"/admin/order/check-item-list",checkProductItem:r+"/admin/order/check-item",editProductItem:r+"/admin/order/update-item",omsFillPrie:r+"/admin/order/fill-price",crearFillPrice:r+"/admin/order/create-fill-price",omsPickUp:r+"/admin/order/confirm-pickup",omsPickUpShipment:r+"/admin/order/pickup-shipment",omsDiscount:r+"/admin/order/discount",addressPlaintext:r+"/admin/order/address-detail",abnormalList:r+"/admin/exception-order/list",abnormalDetail:r+"/admin/exception-order/detail",cancelAbnormalOrder:r+"/admin/exception-order/cancel",regenerateOrder:r+"/admin/exception-order/regenerate",templateList:r+"/admin/customs_clearance_order_account/list",templateCreate:r+"/admin/customs_clearance_order_account/create",templateUpdate:r+"/admin/customs_clearance_order_account/update",templateDetail:r+"/admin/customs_clearance_order_account/detail",templateLogList:r+"/admin/operation_log/list",orderCustomsList:r+"/admin/customs_clearance_order/list",orderCustomsReset:r+"/admin/customs_clearance_order/reset",orderCustomsCancel:r+"/admin/customs_clearance_order/cancel",orderCustomsPush:r+"/admin/customs_clearance_order/push_customs_reset",orderCustomsDetail:r+"/admin/customs_clearance_order/get_detail",orderCustomsUpdatePrice:r+"/admin/customs_clearance_order/update_price",orderQueryDetail:r+"/admin/search-condition/detail",orderQueryUpdate:r+"/admin/search-condition/update",addressTree:r+"/admin/address/tree",getCountryList:r+"/admin/country/list",batchAssignLogistics:r+"/admin/order/batch-assign-logistics",batchRemoveLogistics:r+"/admin/order/batch-remove-logistics",assignLogLines:r+"/admin/order/assign-logistics-lines",removeLogistics:r+"/admin/order/remove-logistics",removeStock:r+"/admin/order/remove-stock",assignStock:r+"/admin/order/assign-stock",delSubscribeRecord:r+"/admin/order/delete-subscribe-record",bufferOrderLog:r+"/buffer_order/logs",resetLogisticsTrack:r+"/admin/order/re-sync-logistics-track"};function o(t){return Object(a["b"])({url:i.omsStores,method:"get",timeout:6e4,params:t})}function s(t){return Object(a["b"])({url:i.omsStocks,method:"get",params:t})}function c(t){return Object(a["b"])({url:i.omsPayment,method:"get",params:t})}function d(t){return Object(a["b"])({url:i.omsPlaces,method:"get",params:t})}function l(t){return Object(a["b"])({url:i.omsShipping,method:"get",params:t})}function u(t){return Object(a["b"])({url:i.omsPromotion,method:"get",params:t})}function m(t){return Object(a["b"])({url:i.omsList,method:"post",data:t,timeout:6e4})}function p(t){return Object(a["b"])({url:i.exportList,method:"post",data:t})}function _(t){return Object(a["b"])({url:i.exportDetail,method:"get",params:t})}function b(t){return Object(a["b"])({url:i.omsImportList,method:"post",data:t})}function f(t){return Object(a["b"])({url:i.editOrderPayment,method:"get",params:t})}function h(t){return Object(a["b"])({url:i.omsDetail,method:"get",params:t,timeout:6e4})}function g(t){return Object(a["b"])({url:i.orderTrack,method:"get",params:t})}function v(t){return Object(a["b"])({url:i.omsIdCardPic,method:"get",params:t})}function y(t){return Object(a["b"])({url:i.changeProcessing,method:"post",data:t})}function x(t){return Object(a["b"])({url:i.changeComplete,method:"post",data:t})}function C(t){return Object(a["b"])({url:i.updateAddress,method:"post",data:t})}function O(t){return Object(a["b"])({url:i.addRemark,method:"post",data:t})}function S(t){return Object(a["b"])({url:i.operationLog,method:"get",params:t})}function j(t){return Object(a["b"])({url:i.shipmentsCarriers,method:"get",params:t})}function k(t){return Object(a["b"])({url:i.omsShipments,method:"post",data:t})}function w(t){return Object(a["b"])({url:i.checkIdentity,method:"get",params:t})}function L(t){return Object(a["b"])({url:i.editIdentity,method:"post",data:t,timeout:6e4})}function P(t){return Object(a["b"])({url:i.selectProductId,method:"get",params:t})}function T(t){return Object(a["b"])({url:i.checkProductItem,method:"get",params:t})}function I(t){return Object(a["b"])({url:i.editProductItem,method:"post",data:t})}function F(t){return Object(a["b"])({url:i.omsFillPrie,method:"get",params:t})}function M(t){return Object(a["b"])({url:i.crearFillPrice,method:"post",data:t})}function $(t){return Object(a["b"])({url:i.omsPickUp,method:"post",data:t})}function D(t){return Object(a["b"])({url:i.omsPickUpShipment,method:"post",data:t})}function E(t){return Object(a["b"])({url:i.omsDiscount,method:"get",params:t})}function N(t){return Object(a["b"])({url:i.addressPlaintext,method:"get",params:t})}function R(t){return Object(a["b"])({url:i.abnormalList,method:"post",data:t})}function A(t){return Object(a["b"])({url:i.abnormalDetail,method:"get",params:t})}function q(t){return Object(a["b"])({url:i.cancelAbnormalOrder,method:"post",data:t})}function z(t){return Object(a["b"])({url:i.regenerateOrder,method:"post",data:t})}function U(t){return Object(a["b"])({url:i.templateList,method:"get",params:t})}function V(t){return Object(a["b"])({url:i.templateCreate,method:"post",data:t})}function W(t){return Object(a["b"])({url:i.templateDetail,method:"get",params:t})}function K(t){return Object(a["b"])({url:i.templateLogList,method:"get",params:t})}function B(t){return Object(a["b"])({url:i.templateUpdate,method:"post",data:t})}function Q(t){return Object(a["b"])({url:i.orderCustomsList,method:"get",params:t})}function G(t){return Object(a["b"])({url:i.orderCustomsReset,method:"post",data:t})}function J(t){return Object(a["b"])({url:i.orderCustomsCancel,method:"post",data:t})}function H(t){return Object(a["b"])({url:i.orderCustomsPush,method:"post",data:t})}function Z(t){return Object(a["b"])({url:i.orderCustomsDetail,method:"get",params:t})}function X(t){return Object(a["b"])({url:i.orderCustomsUpdatePrice,method:"post",data:t})}function Y(t){return Object(a["b"])({url:i.orderQueryDetail,method:"get",params:t})}function tt(t){return Object(a["b"])({url:i.orderQueryUpdate,method:"post",data:t})}function et(t){return Object(a["b"])({url:i.addressTree,method:"get",params:t})}function nt(t){return Object(a["b"])({url:i.getCountryList,method:"get",params:t})}function at(t){return Object(a["b"])({url:i.batchAssignLogistics,method:"post",data:t})}function rt(t){return Object(a["b"])({url:i.batchRemoveLogistics,method:"post",data:t})}function it(t){return Object(a["b"])({url:i.assignLogLines,method:"post",data:t})}function ot(t){return Object(a["b"])({url:i.removeLogistics,method:"post",data:t})}function st(t){return Object(a["b"])({url:i.removeStock,method:"post",data:t})}function ct(t){return Object(a["b"])({url:i.assignStock,method:"post",data:t})}function dt(t){return Object(a["b"])({url:i.delSubscribeRecord,method:"post",data:t})}function lt(t){return Object(a["b"])({url:i.bufferOrderLog,method:"get",params:t})}function ut(t){return Object(a["b"])({url:i.resetLogisticsTrack,method:"post",data:t})}},"4de0":function(t,e,n){"use strict";n("9e90")},5044:function(t,e,n){},5633:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"customBread"},[n("div",{staticClass:"page-header clearfix"},[n("div",{staticClass:"page-header-index-wide",staticStyle:{float:"left"}},[n("a-breadcrumb",{staticClass:"breadcrumb"},t._l(t.breadList.loopBread,(function(e){return n("a-breadcrumb-item",{key:e.name},[e.href?n("router-link",{attrs:{to:{path:e.href}}},[t._v("\n "+t._s(e.title)+"\n ")]):n("span",[t._v(t._s(e.title))])],1)})),1),n("div",{staticClass:"detail"},[n("div",{staticClass:"customBreadcrumb-current"},[n("h1",{staticClass:"title"},[t._v(t._s(t.breadList.current))]),t.breadList.showNote&&t.breadList.isText?n("a-tooltip",{attrs:{placement:"bottomLeft"}},[n("template",{slot:"title"},[n("div",{domProps:{innerHTML:t._s(t.noteRender())}})]),n("a-icon",{staticClass:"customBreadcrumb-icon",attrs:{type:"exclamation-circle"}})],2):t.breadList.showNote?n("a-popover",{attrs:{placement:"bottomLeft",overlayClassName:"custom-crumbcrumb-tips"}},[n("template",{slot:"content"},[n("div",{domProps:{innerHTML:t._s(t.noteRender())}})]),n("a-icon",{staticClass:"customBreadcrumb-icon",attrs:{type:"exclamation-circle"}})],2):t._e()],1)])],1),n("div",{staticClass:"customBreadRight"},[t._t("default")],2)])])},r=[],i={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 - 无库存商品,排在有库存商品之后
\n - 热推商品展示在前,非热推商品展示在后;热推商品按热推商品排序值由小到大排序
\n - 运营分类商品列表:按运营分类人工排值由小到大排序(不适用搜索商品列表页、品牌商品列表页、店铺商品列表页)
\n - \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 \n - 若人工排序值和系统排序值都相同,则按照搜索引擎返回的顺序排序
\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""}}}},o=i,s=(n("22c1"),n("2877")),c=Object(s["a"])(o,a,r,!1,null,"ceaaba20",null);e["a"]=c.exports},7077:function(t,e,n){"use strict";n("5044")},"8d8d":function(t,e,n){},9145:function(t,e,n){"use strict";n("bd62")},"9e90":function(t,e,n){},bd62:function(t,e,n){},ee5c:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"blog-page-detail"},[t.pageLoading?n("div",{staticClass:"loading"},[n("a-spin",{attrs:{size:"large"}})],1):t._e(),n("custom-bread",{attrs:{breadList:t.breadList}},[n("a-button-group",[1===t.order_detail.customs_clearance_status||4===t.order_detail.customs_clearance_status?n("a-button",{staticClass:"btn-default",on:{click:t.cancelOrderGenerate}},[t._v("取消生成")]):t._e(),2===t.order_detail.customs_clearance_status||3===t.order_detail.customs_clearance_status||4===t.order_detail.customs_clearance_status?n("a-button",{staticClass:"btn-default",on:{click:t.resetOrderGenerate}},[t._v("重新生成")]):t._e(),2===t.order_detail.customs_clearance_status?n("a-button",{staticClass:"btn-default",on:{click:t.editAccountPrice}},[t._v("编辑申报金额")]):t._e(),3===t.order_detail.customs_push_status||4===t.order_detail.customs_push_status?n("a-button",{staticClass:"btn-default",on:{click:t.customs}},[t._v("报关")]):t._e()],1)],1),n("div",[n("a-card",{staticClass:"card-style",staticStyle:{"margin-top":"24px"},attrs:{title:"基本申报信息"}},[n("detail-list",{attrs:{col:4}},[n("detail-list-item",{attrs:{term:"订单号",limitSize:"30"}},[t._v("\n "+t._s(t.order_detail.increment_id||"- -")+"\n ")]),n("detail-list-item",[n("span",{attrs:{slot:"term"},slot:"term"},[t._v("\n 生成状态\n "),n("a-tooltip",{attrs:{title:"订单报关数据的生成状态,报关数据是依据海关要求基于原订单重新计算生成的"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t._v("\n "+t._s(t.order_detail.customs_clearance_status_name||"- -")+"\n ")]),n("detail-list-item",{attrs:{term:"站点"}},[t._v("\n "+t._s(t.order_detail.website_name||"- -")+"\n ")]),n("detail-list-item",{attrs:{term:"店铺"}},[t._v("\n "+t._s(t.order_detail.store_name||"- -")+"\n ")]),n("detail-list-item",{attrs:{term:"发货仓库"}},[t._v("\n "+t._s(t.order_detail.stock_name||"- -")+"\n ")]),n("detail-list-item",{attrs:{term:"下单时间"}},[t._v("\n "+t._s(t.order_detail.order_created_at||"- -")+"\n ")]),n("detail-list-item",[n("span",{attrs:{slot:"term"},slot:"term"},[t._v("\n 统一社会信息代码\n "),n("a-tooltip",{attrs:{title:"一组长度为18位的用于法人和其他组织身份识别的代码,我国以统一社会信用代码和相关基本信息作为法人和其他组织的“数字身份证"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t._v("\n "+t._s(t.account_detail.org_code||"- -")+"\n ")]),n("detail-list-item",[n("span",{attrs:{slot:"term"},slot:"term"},[t._v("\n 传输企业代码\n "),n("a-tooltip",{attrs:{title:"报文传输的企业海关注册代码"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t._v("\n "+t._s(t.account_detail.cop_code||"- -")+"\n ")]),n("detail-list-item",[n("span",{attrs:{slot:"term"},slot:"term"},[t._v("\n 传输企业名称\n "),n("a-tooltip",{attrs:{title:"报文传输的企业海关注册名称"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t._v("\n "+t._s(t.account_detail.cop_name||"- -")+"\n ")]),n("detail-list-item",[n("span",{attrs:{slot:"term"},slot:"term"},[t._v("\n 接收部门\n "),n("a-tooltip",{attrs:{title:"报文发送的监管单位,一般填写CQM,C代表海关,Q代表检验检疫,M代表市场监管"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t._v("\n "+t._s(t.account_detail.receiver_department||"- -")+"\n ")]),n("detail-list-item",[n("span",{attrs:{slot:"term"},slot:"term"},[t._v("\n 电商平台代码\n "),n("a-tooltip",{attrs:{title:"电商平台的海关注册登记编号"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t._v("\n "+t._s(t.account_detail.ebp_code||"- -")+"\n ")]),n("detail-list-item",[n("span",{attrs:{slot:"term"},slot:"term"},[t._v("\n 电商平台企业名称\n "),n("a-tooltip",{attrs:{title:"电商平台的海关注册登记名称"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t._v("\n "+t._s(t.account_detail.ebp_name||"- -")+"\n ")]),n("detail-list-item",[n("span",{attrs:{slot:"term"},slot:"term"},[t._v("\n 电商商户代码\n "),n("a-tooltip",{attrs:{title:"电商企业的海关注册登记编号"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t._v("\n "+t._s(t.account_detail.ebc_code||"- -")+"\n ")]),n("detail-list-item",[n("span",{attrs:{slot:"term"},slot:"term"},[t._v("\n 电商商户名称\n "),n("a-tooltip",{attrs:{title:"电商企业的海关注册登记名称"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t._v("\n "+t._s(t.account_detail.ebc_name||"- -")+"\n ")]),n("detail-list-item",{attrs:{term:"支付报关流水号"}},[t._v("\n "+t._s(t.order_detail.pay_transaction_id||"- -")+"\n ")]),n("detail-list-item",[n("span",{attrs:{slot:"term"},slot:"term"},[t._v("\n 报关状态\n "),n("a-tooltip",{attrs:{title:"订单清关数据申报给海关的状态"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t._v("\n "+t._s(t.order_detail.customs_push_status_name||"- -")+"\n ")]),n("detail-list-item",{attrs:{term:"数据生成异常信息",limitSize:"1"}},[t._v("\n "+t._s(t.order_detail.err_message||"- -")+"\n ")]),n("detail-list-item",{attrs:{term:"报关异常信息",limitSize:"1"}},[t._v("\n "+t._s(t.order_detail.customs_return_info||"- -")+"\n ")])],1)],1),n("a-card",{staticClass:"card-style",staticStyle:{"margin-top":"16px"}},[n("span",{attrs:{slot:"title"},slot:"title"},[t._v("\n 用户身份申报信息\n "),n("a",{directives:[{name:"permission",rawName:"v-permission",value:"order:/admin/order/show-user-data",expression:"'order:/admin/order/show-user-data'"}],staticClass:"copy",attrs:{href:"javascript:;"},on:{click:function(e){return t.checkIdentityText()}}},[t._v("查看")])]),n("detail-list",{attrs:{col:4}},[n("detail-list-item",{attrs:{term:"订购人注册号"}},[t._v("\n "+t._s(t.order_detail.buyer_reg_no||"- -")+"\n ")]),n("detail-list-item",{attrs:{term:"订购人姓名"}},[t._v("\n "+t._s(t.order_detail.buyer_name||"- -")+"\n ")]),n("detail-list-item",{attrs:{term:"订购人电话"}},[t._v("\n "+t._s(t.order_detail.buyer_telephone||"- -")+"\n ")]),n("detail-list-item",{attrs:{term:"订购人身份证号码"}},[t._v("\n "+t._s(t.order_detail.buyer_id_number||"- -")+"\n ")])],1)],1),n("a-layout-content",{style:{marginTop:"16px"}},[n("a-card",{attrs:{title:"商品申报信息",bordered:!1,loading:t.loading}},[n("detail-table",{attrs:{columns:t.product_columns,symbol:"¥",dataSource:t.oms_item}}),n("div",{staticClass:"refund-total"},[n("ul",[n("li",[n("span",{staticClass:"name text",attrs:{slot:"label"},slot:"label"},[t._v("\n 商品金额\n "),n("a-tooltip",{attrs:{title:"商品缴税的基准金额,包含商品优惠券优惠金额,不包含商品无券优惠金额"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1),t._v("\n :\n ")],1),n("span",{staticClass:"price"},[t._v("\n ¥"+t._s(t._f("getFixed")(t.order_detail.subtotal))+"\n ")])]),n("li",[n("span",{staticClass:"text"},[t._v("\n 运费\n "),n("a-tooltip",{attrs:{title:"运费需向海关缴税,运费无券优惠不需要缴税,优惠券优惠需缴税。运费=应收运费-运费无券优惠"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1),t._v("\n :\n ")],1),n("span",{staticClass:"price"},[t._v("\n ¥"+t._s(t._f("getFixed")(t.order_detail.shipping_amount))+"\n ")])]),n("li",[n("span",{staticClass:"text"},[t._v("\n 代扣税款\n "),n("a-tooltip",{attrs:{title:"订单要向海关缴纳的税费"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1),t._v("\n :\n ")],1),n("span",{staticClass:"price"},[t._v(" ¥"+t._s(t._f("getFixed")(t.order_detail.tax_original_amount))+" ")])]),n("li",[n("span",{staticClass:"text"},[t._v("\n 非现金抵扣金额\n "),n("a-tooltip",{attrs:{title:"订单的优惠券优惠金额"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1),t._v("\n :\n ")],1),n("span",{staticClass:"price"},[t._v(" ¥"+t._s(t._f("getFixed")(t.order_detail.discount))+" ")])]),n("li",[n("span",{staticClass:"name",style:{fontWeight:"bold"},attrs:{slot:"label"},slot:"label"},[t._v("实付金额\n :\n ")]),n("span",{style:{float:"right",fontWeight:"bold",color:"rgba(67,67,67,.65)"}},[t._v("\n ¥ "+t._s(t._f("getFixed")(t.order_detail.grand_total))+"\n ")])])])])],1)],1),n("a-card",{staticStyle:{"margin-top":"16px"},attrs:{title:"操作日志"}},[n("a-table",{ref:"table",attrs:{dataSource:t.dataSource,pagination:t.paginationSet,columns:t.columns,loading:t.loading,rowKey:t.rowKeyMethod}}),n("p-agination",{attrs:{total:t.pageTotal,currentPage:t.query.page,computedPageNumber:t.computedPageNumber,pageSize:t.query.size,size:"custom"},on:{jumpTableChange:t.jumpTableChange,selectPageSizeChange:t.selectPageSizeChange}})],1)],1),n("modal-edit-account",{ref:"modalEditAccount",attrs:{columns:t.product_columns,dataSource:t.oms_item,omsMaster:t.order_detail,symbol:"¥"}})],1)},r=[],i=n("5633"),o=n("bf43"),s=n("4884"),c=n("ac0d"),d=n("de6a"),l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"oms-detail-table"},[n("a-table",{attrs:{columns:t.columns,rowKey:t.rowKeyMethod,dataSource:t.dataSource,pagination:!1},scopedSlots:t._u([{key:"name",fn:function(t,e){return n("div",{},[n("commodity-info",{attrs:{commodityObj:e}})],1)}},{key:"weight",fn:function(e){return n("div",{staticClass:"exception-text"},[t._v("\n "+t._s(e)+"\n ")])}},{key:"price",fn:function(e){return n("div",{staticClass:"exception-text"},[t._v("\n "+t._s(t.symbol)+" "+t._s(t._f("getFixed")(e))+"\n ")])}},{key:"qty_ordered",fn:function(e){return n("div",{staticClass:"exception-text"},[t._v("\n x "+t._s(e)+"\n ")])}},{key:"total_price",fn:function(e){return n("div",{},[t._v("\n "+t._s(t.symbol)+" "+t._s(t._f("getFixed")(e))+"\n ")])}}])},[n("span",{attrs:{slot:"customTitle"},slot:"customTitle"},[t._v(" 商品合计\n "),n("a-tooltip",{attrs:{title:"商品合计=商品成交价*数量"}},[n("a-icon",{staticStyle:{color:"rgba(0,0,0,.65)"},attrs:{type:"exclamation-circle"}})],1)],1)])],1)},u=[],m=n("ca00"),p=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"commodityInfoBox omsCommodity"},[a("div",{staticClass:"commodityInfoLeft"},[t.commodityObj.image_url?a("img",{attrs:{src:t.commodityObj.image_url}}):[a("img",{attrs:{src:n("24b4")}})]],2),a("div",{staticClass:"commodityInfoCenter"},[a("div",{staticClass:"commodityTitle"},[a("a",{attrs:{target:"_blank",href:t.commodityObj.url}},[t.commodityObj.name?a("a-tooltip",{attrs:{placement:"topLeft",title:t.commodityObj.name}},[t.commodityObj.free_samples>0?a("a-tag",{staticClass:"bundled-tag",attrs:{color:"#FFF0F6"}},[t._v("赠品")]):t._e(),t._v(t._s(t.commodityObj.name)+"\n ")],1):[t._v("\n --\n ")]],2)]),a("div",{staticClass:"commodityInfoSort "},[a("div",{staticClass:"limitWidth"},[a("custom-tool-tip",{attrs:{term:"商品ID",limitSize:"4"}},[t._v("\n "+t._s(t._f("stringFilter")(t.commodityObj.product_id))+"\n ")])],1),a("div",{staticClass:"limitWidth"},[a("custom-tool-tip",{attrs:{term:"商户SKU"}},[t._v("\n "+t._s(t._f("stringFilter")(t.commodityObj.sku))+"\n ")])],1)]),a("div",{staticClass:"commodityInfoSort "},[a("div",{staticClass:"limitWidth",style:{paddingLeft:0}},[a("custom-tool-tip",{attrs:{term:"原产国"}},[t._v("\n "+t._s(t._f("stringFilter")(t.commodityObj.country_of_origin))+"\n ")])],1),a("div",{staticClass:"limitWidth"},[a("custom-tool-tip",{attrs:{term:"品牌"}},[t._v("\n "+t._s(t._f("stringFilter")(t.commodityObj.brand))+"\n ")])],1)]),a("div",{staticClass:"commodityInfoSort "},[a("div",{staticClass:"limitWidth",style:{paddingLeft:0}},[a("custom-tool-tip",{attrs:{term:"商品备案号"}},[t._v("\n "+t._s(t._f("stringFilter")(t.commodityObj.bsc_numbers))+"\n ")])],1),a("div",{staticClass:"limitWidth"},[a("custom-tool-tip",{attrs:{term:"海关编码"}},[t._v("\n "+t._s(t._f("stringFilter")(t.commodityObj.hs_code))+"\n ")])],1)])]),t.commodityObj.child_items?t._l(t.commodityObj.child_items,(function(e,n){return a("a-col",{key:n,staticClass:"childProduct",attrs:{span:17}},[a("div",{staticClass:"childProduct-name"},[a("span",{staticClass:"grayColor"},[t._v("【子商品】")]),a("a-tooltip",{attrs:{placement:"topLeft",title:e.name}},[a("a",{attrs:{href:e.url,target:"_blank"}},[t._v(t._s(e.name))])])],1),a("div",{staticClass:"num"},[t._v("\n x"+t._s(e.qty_ordered)+"\n ")])])})):t._e()],2)},_=[],b=n("0291"),f={components:{customToolTip:b["a"]},data:function(){return{isShow:!1}},props:{commodityObj:{type:Object,required:!0,default:function(){return{}}},symbol:{type:String,default:""}},filters:{transformClass:function(t){if(void 0===t||t.length<=0)return"- -";for(var e=t[0],n=1;n "+t[n];return e}}},h=f,g=(n("9145"),n("2877")),v=Object(g["a"])(h,p,_,!1,null,"3d356260",null),y=v.exports,x={name:"DetailTable123",data:function(){return{refundPrice:[],price:[],childPrice:[],isZero:!1,initial:0,qty_ordered:0}},components:{CommodityInfo:y},props:{columns:{type:Array,default:function(){return[]}},symbol:{type:String,default:""},dataSource:{type:Array,default:function(){return[]}}},computed:{priceTips:function(t){var e=this.dataSource[0].exception_items||[],n="";return e.map((function(t){1===t.exception_type&&(n=t.message)})),n},numTips:function(){var t=this.dataSource[0].exception_items,e="";return t.map((function(t){3===t.exception_type&&(e=t.message)})),e},weightTips:function(){var t=this.dataSource[0].exception_items,e="";return t.map((function(t){4===t.exception_type&&(e=t.message)})),e}},filters:{getFixed:function(t){return Object(m["e"])(t,2)}},methods:{rowKeyMethod:function(t,e){return e}}},C=x,O=(n("0f9d"),Object(g["a"])(C,l,u,!1,null,"14259caa",null)),S=O.exports,j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a-modal",{attrs:{width:"1190px",title:"编辑商品申报信息",closable:!1,okText:"确定"},on:{ok:t.handleSubmit,cancel:t.handleClose},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[n("a-layout",[n("a-layout-content",{style:{background:"#fff"}},[n("a-form",{staticClass:"custom-form",attrs:{form:t.form},on:{submit:t.handleSubmit}},[n("a-table",{attrs:{columns:t.columns,rowKey:t.rowKeyMethod,dataSource:t.dataSource,pagination:!1},scopedSlots:t._u([{key:"name",fn:function(t,e){return n("div",{},[n("commodity-info",{attrs:{commodityObj:e}})],1)}},{key:"weight",fn:function(e){return n("div",{staticClass:"exception-text"},[t._v("\n "+t._s(e)+"\n ")])}},{key:"price",fn:function(e,a,r){return n("div",{staticClass:"exception-text"},[n("a-form-item",{staticStyle:{width:"90px"}},[n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:[["new_price"+a.entity_id],{rules:[{validator:t.handleValidator}],initialValue:e,validateTrigger:"blur"}],expression:"[\n [`new_price${record.entity_id}`],\n {\n rules: [\n { validator: handleValidator }\n ],\n initialValue: text,\n validateTrigger: 'blur'\n }\n ]"}],on:{change:function(e){return t.changePriceData(e.target.value,r,"new_price")}}})],1)],1)}},{key:"qty",fn:function(e){return n("div",{staticClass:"exception-text"},[t._v("\n x "+t._s(e)+"\n ")])}},{key:"total_price",fn:function(e,a,r){return n("div",{},[t._v("\n ¥ "+t._s(a.qty*(t.dataSource[r].new_price?t.dataSource[r].new_price:a.price))+"\n ")])}}])},[n("span",{attrs:{slot:"customTitle"},slot:"customTitle"},[t._v(" 商品合计\n "),n("a-tooltip",{attrs:{title:"商品合计=商品成交价*数量"}},[n("a-icon",{staticStyle:{color:"rgba(0,0,0,.65)"},attrs:{type:"exclamation-circle"}})],1)],1)]),n("div",{staticClass:"refund-total"},[n("ul",[n("li",[n("span",{staticClass:"name text",attrs:{slot:"label"},slot:"label"},[t._v("\n 商品金额\n "),n("a-tooltip",{attrs:{title:"商品缴税的基准金额,包含商品优惠券优惠金额,不包含商品无券优惠金额"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1),t._v("\n :\n ")],1),n("span",{staticClass:"price"},[t._v("\n ¥"+t._s(t._f("getFixed")(t.omsMaster.subtotal))+"\n ")])]),n("li",[n("span",{staticClass:"text"},[t._v("\n 运费\n "),n("a-tooltip",{attrs:{title:"运费需向海关缴税,运费无券优惠不需要缴税,优惠券优惠需缴税。运费=应收运费-运费无券优惠"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1),t._v("\n :\n ")],1),n("span",{staticClass:"price no-right",staticStyle:{width:"60px",position:"relative",right:"-8px"}},[n("a-form-item",[n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["new_shipping_amount",{rules:[{validator:t.handleShippingValidator}],initialValue:t.omsMaster.shipping_amount,validateTrigger:"blur"}],expression:"[\n 'new_shipping_amount',\n {\n rules: [\n { validator: handleShippingValidator }\n ],\n initialValue: omsMaster.shipping_amount,\n validateTrigger: 'blur'\n }\n ]"}],on:{change:function(e){return t.changeShippingAmountData(e.target.value,"new_shipping_amount")}}})],1)],1)]),t.isShowError?n("li",[n("span",{staticStyle:{"margin-top":"10px"}})]):t._e(),n("li",[n("span",{staticClass:"text"},[t._v("\n 代扣税款\n "),n("a-tooltip",{attrs:{title:"订单要向海关缴纳的税费"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1),t._v("\n :\n ")],1),n("span",{staticClass:"price"},[t._v(" ¥"+t._s(t._f("getFixed")(t.omsMaster.tax_original_amount))+" ")])]),n("li",[n("span",{staticClass:"text"},[t._v("\n 非现金抵扣金额\n "),n("a-tooltip",{attrs:{title:"订单的优惠券优惠金额"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1),t._v("\n :\n ")],1),n("span",{staticClass:"price"},[t._v(" ¥"+t._s(t._f("getFixed")(t.omsMaster.discount))+" ")])]),n("li",[n("span",{staticClass:"name",style:{fontWeight:"bold"},attrs:{slot:"label"},slot:"label"},[t._v("实付金额\n :\n ")]),n("span",{style:{float:"right",fontWeight:"bold",color:"rgba(67,67,67,.65)"}},[t._v("\n ¥ "+t._s(t._f("getFixed")(t.omsMaster.grand_total))+"\n ")])])])])],1)],1)],1)],1)},k=[],w=(n("ac6a"),n("c5f6"),{data:function(){return{form:this.$form.createForm(this),visible:!1,isShow:!1,activeRecord:"",isShowError:!1}},components:{CommodityInfo:y},props:{columns:{type:Array,default:function(){return[]}},symbol:{type:String,default:""},dataSource:{type:Array,default:function(){return[]}},omsMaster:{type:Object,default:function(){return{}}}},computed:{priceTips:function(t){var e=this.dataSource[0].exception_items||[],n="";return e.map((function(t){1===t.exception_type&&(n=t.message)})),n},numTips:function(){var t=this.dataSource[0].exception_items,e="";return t.map((function(t){3===t.exception_type&&(e=t.message)})),e},weightTips:function(){var t=this.dataSource[0].exception_items,e="";return t.map((function(t){4===t.exception_type&&(e=t.message)})),e}},filters:{getFixed:function(t){return Object(m["e"])(t,2)}},methods:{showModal:function(){var t=this;this.$nextTick((function(){t.visible=!0}))},backList:function(){this.$router.push({path:"/order/oms/abnormalList"})},rowKeyMethod:function(t,e){return e},handleSubmit:function(){var t=this,e=this.form.getFieldsError(),n=!1;for(var a in e)Object.hasOwnProperty.call(e,a)&&e[a]&&(n=!0);if(!n){var r={customs_clearance_id:Number(this.$route.params.orderCustoms_id),shipping_amount:this.omsMaster.new_shipping_amount?Number(this.omsMaster.new_shipping_amount):Number(this.omsMaster.shipping_amount),items:[]};this.dataSource.forEach((function(t){r.items.push({id:t.entity_id,qty:t.qty,price:t.new_price?Number(t.new_price):Number(t.price),total_price:t.new_price?Number(t.new_price*t.qty):Number(t.price*t.qty),old_price:Number(t.price),old_total_price:Number(t.total_price)})})),r.items=JSON.stringify(r.items),Object(s["S"])(r).then((function(e){0===e.status&&(t.loading=!1,t.$message.success("操作成功!"),t.visible=!0,setInterval((function(){window.location.reload()}),500))})).catch((function(){t.loading=!1,t.$error({content:"商品金额+运费+代扣税款-非现金抵扣金额≠实付金额,无法保存数据。",title:"编辑失败",okText:"确定"})}))}},handleValidator:function(t,e,n){var a,r=this.form.fieldsStore.fieldsMeta[t.field].initialValue;return isNaN(e)?(a="编辑范围不能大于小于0.1",n(a)):e?Math.abs(e-r)>.1?(a="编辑范围不能大于小于0.1",n(a)):n():(a="编辑范围不能大于小于0.1",n(a))},handleShippingValidator:function(t,e,n){var a,r=this.form.fieldsStore.fieldsMeta[t.field].initialValue;return isNaN(e)?(a="编辑范围不能大于小于0.1",this.isShowError=!0,n(a)):e?Math.abs(e-r)>.1?(a="编辑范围不能大于小于0.1",this.isShowError=!0,n(a)):(this.isShowError=!1,n()):(a="编辑范围不能大于小于0.1",this.isShowError=!0,n(a))},changePriceData:function(t,e,n){this.dataSource[e][n]=t},changeTotalPriceData:function(t,e,n){this.dataSource[e][n]=t},changeShippingAmountData:function(t,e){this.omsMaster[e]=t},handleClose:function(){this.isShowError=!1,delete this.omsMaster.new_shipping_amount,this.dataSource.forEach((function(t){delete t.new_price,delete t.new_total_price})),this.form.resetFields()}}}),L=w,P=(n("4de0"),Object(g["a"])(L,j,k,!1,null,"fdb857c2",null)),T=P.exports,I=n("fa43"),F=I["a"].Item,M={mixins:[c["n"]],components:{customBread:i["a"],DetailTable:S,ModalEditAccount:T,PAgination:o["a"],DetailList:I["a"],DetailListItem:F},data:function(){var t=this.$createElement;return{productList:[],breadList:{current:"订单报关详情",loopBread:[{name:"1",title:"工作台",href:"/dashboard"},{name:"2",title:"订单"},{name:"3",title:"报关"},{name:"4",title:"订单报关列表",href:"/order/customs/orderCumtomsList"},{name:"5",title:"订单报关详情"}]},labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:16}},order_detail:{},account_detail:{},sort:[],pageLoading:!1,loading:!1,dataSource:[],columns:[{title:"操作类型",dataIndex:"operation_type_name",key:"operation_type_name",width:"20%",align:"center"},{title:"操作内容",dataIndex:"remark",key:"remark",width:"40%",ellipsis:!0},{title:"操作人",dataIndex:"sso_user_name",key:"sso_user_name",width:"20%",align:"center"},{title:"操作时间",dataIndex:"operation_time",key:"operation_time",width:"20%",align:"center"}],product_columns:[{title:"商品信息",dataIndex:"name",key:"name",width:"30%",align:"center",ellipsis:!0,scopedSlots:{customRender:"name"}},{title:function(){return t("span",["法定数量",t("a-tooltip",{style:"margin-left: 5px",attrs:{title:"商品的海关编码都有对应的法定单位,法定单位对应的数量即为法定数量"}},[t("a-icon",{attrs:{type:"info-circle"}})])])},dataIndex:"legal_number",key:"legal_number",align:"center",width:"10%",scopedSlots:{customRender:"legal_number"}},{title:function(){return t("span",["法定单位",t("a-tooltip",{style:"margin-left: 5px",attrs:{title:"海关标准的参数代码《JGS-20 海关业务代码集》- 计量单位代码"}},[t("a-icon",{attrs:{type:"info-circle"}})])])},dataIndex:"legal_unit",key:"legal_unit",align:"center",width:"10%",scopedSlots:{customRender:"legal_unit"}},{title:function(){return t("span",["第二数量",t("a-tooltip",{style:"margin-left: 5px",attrs:{title:"部分商品存在第二单位(第二法定单位),第二单位对应的数量即为第二数量"}},[t("a-icon",{attrs:{type:"info-circle"}})])])},dataIndex:"second_number",key:"second_number",align:"center",width:"10%",scopedSlots:{customRender:"second_number"}},{title:function(){return t("span",["第二单位",t("a-tooltip",{style:"margin-left: 5px",attrs:{title:"海关标准的参数代码《JGS-20 海关业务代码集》- 计量单位代码,部分商品无第二单位"}},[t("a-icon",{attrs:{type:"info-circle"}})])])},dataIndex:"second_unit",key:"second_unit",align:"center",width:"10%",scopedSlots:{customRender:"second_unit"}},{title:function(){return t("span",["单价",t("a-tooltip",{style:"margin-left: 5px",attrs:{title:"商品要缴税的单价,包含商品优惠券优惠,不包含商品无券优惠"}},[t("a-icon",{attrs:{type:"info-circle"}})])])},dataIndex:"price",key:"price",align:"center",width:"10%",scopedSlots:{customRender:"price"}},{title:"数量",dataIndex:"qty",key:"qty",align:"center",width:"10%",scopedSlots:{customRender:"qty"}},{title:function(){return t("span",["商品合计",t("a-tooltip",{style:"margin-left: 5px",attrs:{title:"商品合计=单价*数量"}},[t("a-icon",{attrs:{type:"info-circle"}})])])},dataIndex:"total_price",key:"total_price",align:"center",width:"10%",scopedSlots:{customRender:"total_price"}}],oms_master:{},oms_item:[]}},filters:{getFixed:function(t){return(1*t).toFixed(2)}},methods:{rowKeyMethod:function(t,e){return e},getTableList:function(){var t=this;this.loading=!0;var e={relation_id:this.$route.params.orderCustoms_id};e=Object.assign(e,this.query),Object(s["fb"])(e).then((function(e){e&&(t.loading=!1,t.dataSource=e.data.rows,t.pageTotal=e.data.total)})).catch((function(){t.loading=!1}))},fetch:function(){var t=this,e={customs_clearance_id:this.$route.params.orderCustoms_id};Object(s["O"])(e).then((function(e){0===e.status&&(t.order_detail=e.data.customs_clearance_order,t.account_detail=e.data.customs_clearance_order_account,t.oms_item=e.data.customs_clearance_order_detail)}))},cancelOrderGenerate:function(){var t=this;this.$confirm({icon:function(t){return t(d["a"])},content:"确定要取消生成订单清关数据吗?",onOk:function(){var e={customs_clearance_id:t.$route.params.orderCustoms_id,is_check:1};Object(s["N"])(e).then((function(e){0===e.status&&(t.$message.success("操作成功!"),setInterval((function(){window.location.reload()}),500))})).catch((function(){t.loading=!1}))}})},resetOrderGenerate:function(){var t=this;this.$confirm({icon:function(t){return t(d["a"])},content:"确定要重新生成订单清关数据吗?",onOk:function(){var e={customs_clearance_id:t.$route.params.orderCustoms_id,is_check:1};Object(s["R"])(e).then((function(e){0===e.status&&(t.$message.success("操作成功!"),setInterval((function(){window.location.reload()}),500))})).catch((function(){t.loading=!1}))}})},customs:function(){var t=this;this.$confirm({icon:function(t){return t(d["a"])},content:"确定要重置订单的报关状态为待报关吗?",onOk:function(){var e={customs_clearance_id:t.$route.params.orderCustoms_id,is_check:1};Object(s["Q"])(e).then((function(e){0===e.status&&(t.$message.success("操作成功!"),setInterval((function(){window.location.reload()}),500))})).catch((function(){t.loading=!1}))}})},editAccountPrice:function(){this.$refs.modalEditAccount.showModal()},checkIdentityText:function(){var t=this,e={increment_id:this.order_detail.increment_id,is_hidden_image:1};Object(s["m"])(e).then((function(e){var n=e.data;n&&(t.order_detail.buyer_name=n.firstname,t.order_detail.buyer_id_number=n.identity)})),Object(s["c"])(e).then((function(e){var n=e.data;n&&(t.order_detail.buyer_telephone=n.telephone)}))}},created:function(){},mounted:function(){this.fetch(),this.$store.commit("SET_Comsumer_Stop_Select_Website",!0),this.$store.commit("SET_Controller_HddenLanguages",!0)},beforeRouteLeave:function(t,e,n){this.$store.commit("SET_Comsumer_Stop_Select_Website",!1),this.$store.commit("SET_Controller_HddenLanguages",!1),n()}},$=M,D=(n("7077"),Object(g["a"])($,a,r,!1,null,"6c4aca6a",null));e["default"]=D.exports}}]);