(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-58149ef8"],{"0326":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("a-modal",{attrs:{title:"添加商品",width:"64%",visible:e.modalVisible,okText:"确定",cancelText:"取消"},on:{ok:e.ok,cancel:function(){e.$emit("cancel")}}},[r("a-tabs",{on:{change:e.tabChange},model:{value:e.businessType,callback:function(t){e.businessType=t},expression:"businessType"}},[r("a-tab-pane",{key:"1",attrs:{tab:"课程"}},[r("div",{staticClass:"search-box"},[r("a-form-model",{attrs:{layout:"inline",model:e.searchForm},on:{submit:e.handleSubmit},nativeOn:{submit:function(e){e.preventDefault()}}},[r("a-form-model-item",{attrs:{label:"课程状态"}},[r("a-select",{staticStyle:{width:"120px"},on:{change:e.changePutawayFlag},model:{value:e.searchForm.putawayFlag,callback:function(t){e.$set(e.searchForm,"putawayFlag",t)},expression:"searchForm.putawayFlag"}},e._l(e.putawayFlagArr,(function(t){return r("a-select-option",{key:t.key},[e._v(e._s(t.value))])})),1)],1),r("a-form-model-item",[r("a-input",{attrs:{placeholder:"请输入课程名称"},model:{value:e.searchForm.name,callback:function(t){e.$set(e.searchForm,"name",t)},expression:"searchForm.name"}},[r("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"search"},slot:"prefix"})],1)],1),r("a-form-model-item",[r("a-button",{staticClass:"margin_right10",attrs:{icon:"search",type:"primary","html-type":"submit"}},[e._v("搜索")]),r("a-button",{attrs:{type:"primary"},on:{click:function(t){e.searchForm.name=""}}},[e._v("重置")])],1)],1)],1),r("a-table",{ref:"courseTable",staticClass:"courseTable",attrs:{scroll:{y:300},pagination:!1,loading:e.courseLoading,columns:e.courseColumns,"data-source":e.courseList,"row-selection":{selectedRowKeys:e.courseSelectedRowKeys,onChange:e.onSelectCourseChange,type:"radio"}},scopedSlots:e._u([{key:"nameImgUrl",fn:function(t,n){return r("div",{staticClass:"flexbox middle"},[r("div",[r("img",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"course-img",attrs:{src:n.coverUrl}})]),r("label",[e._v(e._s(n.name))])])}},{key:"putawayFlag",fn:function(t,n){return r("span",{},[0==n.putawayFlag?r("a-badge",{attrs:{status:"default",text:"已下架"}}):e._e(),1==n.putawayFlag?r("a-badge",{attrs:{status:"processing",text:"定时上架"}}):e._e(),2==n.putawayFlag?r("a-badge",{attrs:{status:"success",text:"已上架"}}):e._e(),3==n.putawayFlag?r("a-badge",{attrs:{status:"warning",text:"暂不上架"}}):e._e()],1)}},{key:"courseType",fn:function(t,n){return r("span",{},[r("span",{directives:[{name:"show",rawName:"v-show",value:1==n.courseType,expression:"record.courseType == 1"}]},[e._v("伴读课")]),r("span",{directives:[{name:"show",rawName:"v-show",value:2==n.courseType,expression:"record.courseType == 2"}]},[e._v("网课")])])}},{key:"price",fn:function(t,n){return r("span",{},[r("span",{directives:[{name:"show",rawName:"v-show",value:0==n.pricingType,expression:"record.pricingType == 0"}]},[e._v("免费")]),r("span",{directives:[{name:"show",rawName:"v-show",value:1==n.pricingType,expression:"record.pricingType == 1"}]},[e._v(e._s(n.price))]),r("span",{directives:[{name:"show",rawName:"v-show",value:2==n.pricingType,expression:"record.pricingType == 2"}]},[e._v("不支持单独售卖")])])}}])})],1),e.isShowMember?r("a-tab-pane",{key:"2",attrs:{tab:"会员"}},[r("div",{staticClass:"search-box"},[r("a-form-model",{attrs:{layout:"inline",model:e.searchForm},on:{submit:e.handleSubmit}},[r("a-form-model-item",{attrs:{label:"会员状态"}},[r("a-select",{staticStyle:{width:"120px"},on:{change:e.changeStatus},model:{value:e.memberStatus,callback:function(t){e.memberStatus=t},expression:"memberStatus"}},e._l(e.statusArr,(function(t){return r("a-select-option",{key:t.key},[e._v(" "+e._s(t.value)+" ")])})),1)],1),r("a-form-model-item",[r("a-input",{attrs:{placeholder:"请输入会员名称"},model:{value:e.searchForm.name,callback:function(t){e.$set(e.searchForm,"name",t)},expression:"searchForm.name"}},[r("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"search"},slot:"prefix"})],1)],1),r("a-form-model-item",[r("a-button",{staticClass:"margin_right10",attrs:{icon:"search",type:"primary","html-type":"submit"}},[e._v("搜索 ")]),r("a-button",{attrs:{type:"primary"},on:{click:function(t){e.searchForm.name=""}}},[e._v("重置")])],1)],1)],1),r("a-table",{ref:"memberTable",staticClass:"memberTable",attrs:{scroll:{y:300},pagination:!1,loading:e.memberLoading,columns:e.memberColumns,"data-source":e.memberList,"row-selection":{selectedRowKeys:e.memberSelectedRowKeys,onChange:e.onSelectMemberChange,type:"radio"}},scopedSlots:e._u([{key:"nameImgUrl",fn:function(t,n){return r("div",{staticClass:"flexbox middle"},[r("div",[r("img",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"course-img",attrs:{src:n.coverImg}})]),r("label",[e._v(e._s(n.memberName))])])}},{key:"forbiddenStatus",fn:function(t,n){return r("span",{},[1==n.forbiddenStatus?r("a-badge",{attrs:{status:"success",text:n.forbiddenStatusText}}):e._e(),2==n.forbiddenStatus?r("a-badge",{attrs:{status:"error",text:n.forbiddenStatusText}}):e._e()],1)}}],null,!1,2439422875)})],1):e._e()],1)],1)},a=[],i=r("53ca"),o=(r("a9e3"),r("d3b7"),r("25f0"),r("159b"),r("b0c0"),r("d81d"),r("99af"),r("ac1f"),r("5319"),r("16e0")),s=r("d11d"),u=r("432b"),c=r("acda"),d={mixins:[u["a"]],props:{modalVisible:{type:Boolean,required:!0},type:{type:Number,default:0},tabType:{type:Number,default:1},isShowMember:{type:Boolean,default:!1},selectedRowKeys:{type:Array,default:[]}},data:function(){return{searchForm:{putawayFlag:2,name:""},putawayFlagArr:[{key:"",value:"全部状态"}],businessType:"1",selectedRows:"",courseCount:1,coursePage:1,coursePageSize:20,courseList:[],courseLoading:!1,courseSelectedRowKeys:[],courseColumns:[{title:"课程名称",dataIndex:"name",key:"name",scopedSlots:{customRender:"nameImgUrl"}},{title:"状态",dataIndex:"putawayFlag",key:"putawayFlag",width:"15%",scopedSlots:{customRender:"putawayFlag"}},{title:"课节数",dataIndex:"lessonsCount",key:"lessonsCount",width:"15%"},{title:"课程类型",dataIndex:"courseType",key:"courseType",width:"15%",scopedSlots:{customRender:"courseType"}},{title:"定价",dataIndex:"price",key:"price",width:"15%",scopedSlots:{customRender:"price"}}],statusArr:[{key:"",value:"全部状态"}],memberStatus:1,memberCount:1,memberPage:1,memberPageSize:20,memberList:[],memberLoading:!1,memberSelectedRowKeys:[],memberColumns:[{title:"会员名称",dataIndex:"name",key:"name",scopedSlots:{customRender:"nameImgUrl"}},{title:"状态",dataIndex:"forbiddenStatus",key:"forbiddenStatus",width:"15%",scopedSlots:{customRender:"forbiddenStatus"}},{title:"会员价格",dataIndex:"price",key:"price",width:"15%"},{title:"有效期",dataIndex:"days",key:"days",width:"15%"}]}},created:function(){var e=this;if(this.modalVisible){this.businessType=Object(i["a"])(this.tabType)==String?this.tabType:this.tabType.toString();var t=JSON.parse(localStorage.getItem("dictionaryObj"));t.putawayFlag.forEach((function(t){return e.putawayFlagArr.push(t)})),t.disableOrEnabled.forEach((function(t){return e.statusArr.push(t)})),this.switchHandle(),this.$nextTick((function(){var t="";2==e.businessType&&e.isShowMember?(t=document.querySelector(".memberTable .ant-table-body"),e.memberSelectedRowKeys=e.selectedRowKeys):(t=document.querySelector(".courseTable .ant-table-body"),e.courseSelectedRowKeys=e.selectedRowKeys);t.addEventListener("scroll",(function(){var r=t.scrollHeight-t.scrollTop-t.clientHeight;if(r<=200&&e.courseCount>e.courseList.length){if(2==e.businessType&&e.isShowMember){++e.memberPage;var n=Math.ceil(e.memberCount/e.memberPageSize);if(n0?r("div",[r("ProductCard",{attrs:{"table-list":e.tableList}})],1):e._e()],1),r("a-form-model-item",{attrs:{"wrapper-col":{span:14,offset:4}}},[r("a-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(" 保存 ")]),r("a-button",{staticStyle:{"margin-left":"10px"},on:{click:function(t){return e.onClose(!1)}}},[e._v(" 取消 ")])],1)],1)],1),e.modalVisible?r("RadioModal",{attrs:{modalVisible:e.modalVisible,type:0,isShowMember:!0,selectedRowKeys:e.selectedRowKeys},on:{cancel:function(t){e.modalVisible=!1},ok:e.handleOk}}):e._e()],1)},a=[],i=r("5530"),o=r("1da1"),s=(r("96cf"),r("a9e3"),r("d3b7"),r("25f0"),r("be49")),u=r("e80b"),c=r("49ef"),d=r("0326"),l={components:{RadioModal:d["a"],ProductCard:c["a"]},props:{visible:{type:Boolean,default:!1},id:{type:String,default:""},businessType:{type:Number,default:1}},data:function(){return{bindTypeList:s["d"],businessTypeList:s["e"],thirdPlat:s["n"],businessTypeMap:s["f"],labelCol:{span:6},wrapperCol:{span:14},other:"",form:{businessNo:"",thirdPlatform:1,businessType:1,productId:"",isSku:2},rules:{businessNo:[{required:!0,message:"请选择商品",trigger:"change"}],productId:[{required:!0,message:"请输入三方商品号",trigger:"blur"}],thirdPlatform:[{required:!0,message:"请选择三方平台",trigger:"change"}],businessType:[{required:!0,message:"请选择类型",trigger:"change"}],isSku:[{required:!0,message:"请选择绑定方式",trigger:"change"}]},modalVisible:!1,tableList:[],selectedRowKeys:[],isAdd:!0}},methods:{onClose:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$emit("close",e)},afterVisibleChange:function(e){this.tableList=[],this.form=this.$options.data().form,e&&(this.isAdd=!+this.id,this.isAdd?this.form.businessType=this.businessType:this.getDetail())},getDetail:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var r,n,a,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={id:e.id.toString()},t.next=3,Object(u["K"])(r);case 3:if(n=t.sent,a=n.code,i=n.data,200===a){t.next=8;break}return t.abrupt("return");case 8:e.form=i.relationdata,e.tableList.push(i.businessData);case 10:case"end":return t.stop()}}),t)})))()},onSubmit:function(){var e=this;this.$refs.ruleForm.validate((function(t){t&&(4===e.form.thirdPlatform&&(e.form.isSku=1),e.isAdd?e.addRelation():e.editRelation())}))},addRelation:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var r,n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=Object(i["a"])({thirdPlatForm:e.form.thirdPlatform},e.form),t.next=3,Object(u["A"])(r);case 3:if(n=t.sent,a=n.code,200===a){t.next=7;break}return t.abrupt("return");case 7:e.$message.success("添加成功"),e.onClose(!0);case 9:case"end":return t.stop()}}),t)})))()},editRelation:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var r,n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=Object(i["a"])({thirdPlatForm:e.form.thirdPlatform},e.form),t.next=3,Object(u["D"])(r);case 3:if(n=t.sent,a=n.code,200===a){t.next=7;break}return t.abrupt("return");case 7:e.$message.success("修改成功"),e.onClose(!0);case 9:case"end":return t.stop()}}),t)})))()},handleOk:function(e,t){this.selectedRowKeys=e,this.tableList=[t],this.tableList[0].memberNo?this.$set(this.form,"businessNo",this.tableList[0].memberNo):this.$set(this.form,"businessNo",e[0]),this.modalVisible=!1}}},p=l,m=r("2877"),f=Object(m["a"])(p,n,a,!1,null,null,null);t["default"]=f.exports},"49ef":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"p-container"},[r("a-list",{attrs:{"item-layout":"horizontal","data-source":e.tableList},scopedSlots:e._u([{key:"renderItem",fn:function(t){return r("a-list-item",{},[r("div",{staticClass:"info-wrap flexbox middle justify"},[r("div",{staticClass:"item-info flexbox flex1"},[r("img",{staticClass:"p-img",attrs:{src:t.coverUrl?t.coverUrl:t.coverImg,alt:""}}),r("div",{staticClass:"p-info flex1"},[r("div",{staticClass:"p-wrap"},[r("div",{staticClass:"p-info-name more-t"},[e._v(" "+e._s(t.name?t.name:t.businessName||t.memberName)+" ")]),r("div",{directives:[{name:"show",rawName:"v-show",value:1==t.courseType&&0==t.pricingType,expression:"item.courseType == 1 && item.pricingType == 0"}],staticClass:"p-info-price"},[e._v(" 免费 ")]),r("div",{directives:[{name:"show",rawName:"v-show",value:1==t.courseType&&1==t.pricingType,expression:"item.courseType == 1 && item.pricingType == 1"}],staticClass:"p-info-price"},[e._v(" ¥"+e._s(t.price.toFixed(2))+" ")]),r("div",{directives:[{name:"show",rawName:"v-show",value:1==t.courseType&&2==t.pricingType,expression:"item.courseType == 1 && item.pricingType == 2"}],staticClass:"p-info-price"},[e._v(" 不支持单独售卖 ")]),r("div",{directives:[{name:"show",rawName:"v-show",value:1!=t.courseType,expression:"item.courseType != 1"}],staticClass:"p-info-price"},[e._v(" ¥"+e._s(t.price.toFixed(2))+" ")])]),r("div",{staticClass:"p-info-type"},[e._v(" 商品类型 :"+e._s(e.businessTypeMap.get(t.courseType?t.courseType:t.businessType))+" ")])])])])])}}])})],1)},a=[],i=(r("4ec9"),r("d3b7"),r("3ca3"),r("ddb0"),new Map([[1,"课程"],[2,"会员"],[void 0,"会员"]])),o={name:"ProductCard",props:{tableList:{type:Array,default:[]}},data:function(){return{businessTypeMap:i}}},s=o,u=(r("1153"),r("2877")),c=Object(u["a"])(s,n,a,!1,null,"2fcbe7b4",null);t["a"]=c.exports},5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,r){var n=r("1d80"),a=r("5899"),i="["+a+"]",o=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),u=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(o,"")),2&e&&(r=r.replace(s,"")),r}};e.exports={start:u(1),end:u(2),trim:u(3)}},"696c":function(e,t,r){"use strict";r("6ce9")},"6ce9":function(e,t,r){},7156:function(e,t,r){var n=r("861d"),a=r("d2bb");e.exports=function(e,t,r){var i,o;return a&&"function"==typeof(i=t.constructor)&&i!==r&&n(o=i.prototype)&&o!==r.prototype&&a(e,o),e}},"8aa5":function(e,t,r){"use strict";var n=r("6547").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},9263:function(e,t,r){"use strict";var n=r("ad6d"),a=r("9f7f"),i=r("5692"),o=RegExp.prototype.exec,s=i("native-string-replace",String.prototype.replace),u=o,c=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,l=void 0!==/()??/.exec("")[1],p=c||l||d;p&&(u=function(e){var t,r,a,i,u=this,p=d&&u.sticky,m=n.call(u),f=u.source,h=0,b=e;return p&&(m=m.replace("y",""),-1===m.indexOf("g")&&(m+="g"),b=String(e).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==e[u.lastIndex-1])&&(f="(?: "+f+")",b=" "+b,h++),r=new RegExp("^(?:"+f+")",m)),l&&(r=new RegExp("^"+f+"$(?!\\s)",m)),c&&(t=u.lastIndex),a=o.call(p?r:u,b),p?a?(a.input=a.input.slice(h),a[0]=a[0].slice(h),a.index=u.lastIndex,u.lastIndex+=a[0].length):u.lastIndex=0:c&&a&&(u.lastIndex=u.global?a.index+a[0].length:t),l&&a&&a.length>1&&s.call(a[0],r,(function(){for(i=1;i2)if(c=b(c),t=c.charCodeAt(0),43===t||45===t){if(r=c.charCodeAt(2),88===r||120===r)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:n=2,a=49;break;case 79:case 111:n=8,a=55;break;default:return+c}for(i=c.slice(2),o=i.length,s=0;sa)return NaN;return parseInt(i,n)}return+c};if(i(y,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var k,S=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof S&&(w?l((function(){v.valueOf.call(r)})):u(r)!=y)?c(new g(x(t)),r,S):x(t)},T=n?m(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),I=0;T.length>I;I++)s(g,k=T[I])&&!s(S,k)&&h(S,k,f(g,k));S.prototype=v,v.constructor=S,o(a,y,S)}},aa3b:function(e,t,r){},ac1f:function(e,t,r){"use strict";var n=r("23e7"),a=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},acda:function(e,t,r){"use strict";r.d(t,"g",(function(){return a})),r.d(t,"a",(function(){return i})),r.d(t,"f",(function(){return o})),r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return u})),r.d(t,"b",(function(){return c})),r.d(t,"e",(function(){return d})),r.d(t,"i",(function(){return l})),r.d(t,"l",(function(){return p})),r.d(t,"n",(function(){return m})),r.d(t,"s",(function(){return f})),r.d(t,"j",(function(){return h})),r.d(t,"p",(function(){return b})),r.d(t,"h",(function(){return y})),r.d(t,"k",(function(){return g})),r.d(t,"o",(function(){return v})),r.d(t,"r",(function(){return w})),r.d(t,"q",(function(){return x})),r.d(t,"m",(function(){return k}));var n=r("284b"),a=function(e){return n["a"].post("/adminv2/productPageList",e)},i=function(e){return n["a"].post("/adminv2/addProduct",e)},o=function(e){return n["a"].post("/adminv2/productDetail",e)},s=function(e){return n["a"].post("/adminv2/editProduct",e)},u=function(e){return n["a"].post("/adminv2/enableProduct",e)},c=function(e){return n["a"].post("/adminv2/disableProduct",e)},d=function(e){return n["a"].post("/adminv2/getCourseList",e)},l=function(e){return n["a"].post("/adminv2/shopgoods/addCategory",e)},p=function(e){return n["a"].post("/adminv2/shopgoods/editCategory",e)},m=function(e){return n["a"].post("/adminv2/shopgoods/categoryLists",e)},f=function(e){return n["a"].post("/adminv2/shopgoods/removedCategory",e)},h=function(e){return n["a"].post("/adminv2/shopgoods/delCategory",e)},b=function(e){return n["a"].post("/adminv2/shopgoods/lists",e)},y=function(e){return n["a"].post("/adminv2/shopgoods/add",e)},g=function(e){return n["a"].post("/adminv2/shopgoods/edit",e)},v=function(e){return n["a"].post("/adminv2/shopgoods/getOne",e)},w=function(e){return n["a"].post("/adminv2/shopgoods/removed",e)},x=function(e){return n["a"].post("/adminv2/shopgoods/goodsOrderInfo",e)},k=function(e){return n["a"].post("/adminv2/shopgoods/categoryLink",e)}},ad6d:function(e,t,r){"use strict";var n=r("825a");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},be49:function(e,t,r){"use strict";r.d(t,"m",(function(){return n})),r.d(t,"n",(function(){return a})),r.d(t,"e",(function(){return i})),r.d(t,"d",(function(){return o})),r.d(t,"f",(function(){return s})),r.d(t,"k",(function(){return u})),r.d(t,"l",(function(){return c})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return p})),r.d(t,"g",(function(){return m})),r.d(t,"h",(function(){return f})),r.d(t,"i",(function(){return h})),r.d(t,"j",(function(){return b}));r("4ec9"),r("d3b7"),r("3ca3"),r("ddb0");var n=[{title:"第三方平台",dataIndex:"thirdPlatform",key:"thirdPlatform"},{title:"绑定课程/会员",dataIndex:"businessName",key:"businessName"},{title:"课程/会员ID",dataIndex:"businessNo",key:"businessNo"},{title:"绑定方式",dataIndex:"bindType",key:"bindType"},{title:"第三方商品ID/SKU ID",dataIndex:"productId",key:"productId"},{title:"创建时间",dataIndex:"createTime",key:"createTime"},{title:"操作",key:"operation",fixed:"right",width:100,scopedSlots:{customRender:"action"}}],a=[{name:"小商店",val:1},{name:"抖店",val:2},{name:"快手",val:3},{name:"小红书",val:4}],i=[{type:"课程",val:1},{type:"会员",val:2}],o=[{type:"商品ID",val:2},{type:"SKU ID",val:1}],s=new Map([[1,"课程"],[2,"会员"],[void 0,"会员"]]),u=[{title:"商品名称",dataIndex:"goodsName",key:"goodsName",width:"12%"},{title:"订单编号",dataIndex:"orderNo",key:"orderNo",width:"9%"},{title:"商品类型",dataIndex:"goodsType",key:"goodsType",width:"4%",scopedSlots:{customRender:"goodsType"}},{title:"商品金额",dataIndex:"price",key:"price",width:"8%",scopedSlots:{customRender:"price"}},{title:"实付金额",dataIndex:"realPrice",key:"realPrice",width:"5%",scopedSlots:{customRender:"realPrice"}},{title:"用户账号",dataIndex:"userName",key:"userName",width:"5%"},{title:"支付方式",dataIndex:"payType",key:"payType",width:"5%",scopedSlots:{customRender:"payType"}},{title:"订单状态",dataIndex:"state",key:"state",width:"5%",scopedSlots:{customRender:"state"}},{title:"下单时间",dataIndex:"orderTime",width:"8%",key:"orderTime"},{title:"收货地址",dataIndex:"receiptAddress",key:"receiptAddress",scopedSlots:{customRender:"receiptAddress"},width:"10%"},{title:"快递公司",dataIndex:"trackingName",key:"trackingName",with:"5%"},{title:"快递单号",dataIndex:"trackingNumber",key:"trackingNumber",width:"8%"},{title:"发货状态",dataIndex:"shippingStatus",key:"shippingStatus",width:"5%",scopedSlots:{customRender:"shippingStatus"}},{title:"操作",key:"actions",fixed:"right",width:200,scopedSlots:{customRender:"actions"}}],c=new Map([[1,"微信"],[2,"支付宝"],[3,"余额"],[4,"积分"]]),d=4,l=5,p=7,m=new Map([[1,"待支付"],[2,"支付成功"],[3,"支付失败"],[4,"申请退款中"],[5,"退款中"],[6,"退款成功"],[7,"退款失败"],[8,"订单已取消"]]),f=new Map([[1,"无需发货"],[2,"待发货"],[3,"已发货"],[4,"已送达"]]),h=[{key:-1,value:"全部"},{key:"1",value:"虚拟商品"},{key:"0",value:"实物商品"}],b=[{title:"订单编号",dataIndex:"orderNo",key:"orderNo",width:"8%"},{title:"商品名称",dataIndex:"businessName",key:"businessName",width:"12%"},{title:"用户手机号",dataIndex:"userName",key:"userName",width:"6%"},{title:"支付金额",dataIndex:"realPrice",key:"realPrice",width:"4%"},{title:"订单状态",dataIndex:"orderStatusText",key:"orderStatusText",width:"4%"},{title:"下单时间",dataIndex:"createTime",width:"5%",sorter:!0,key:"createTime"},{title:"支付时间",dataIndex:"payTime",width:"5%",sorter:!0,key:"payTime"}]},d784:function(e,t,r){"use strict";r("ac1f");var n=r("6eeb"),a=r("d039"),i=r("b622"),o=r("9112"),s=i("species"),u=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),c=function(){return"$0"==="a".replace(/./,"$0")}(),d=i("replace"),l=function(){return!!/./[d]&&""===/./[d]("a","$0")}(),p=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,d){var m=i(e),f=!a((function(){var t={};return t[m]=function(){return 7},7!=""[e](t)})),h=f&&!a((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[s]=function(){return r},r.flags="",r[m]=/./[m]),r.exec=function(){return t=!0,null},r[m](""),!t}));if(!f||!h||"replace"===e&&(!u||!c||l)||"split"===e&&!p){var b=/./[m],y=r(m,""[e],(function(e,t,r,n,a){return t.exec===RegExp.prototype.exec?f&&!a?{done:!0,value:b.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:l}),g=y[0],v=y[1];n(String.prototype,e,g),n(RegExp.prototype,m,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}d&&o(RegExp.prototype[m],"sham",!0)}},e80b:function(e,t,r){"use strict";r.d(t,"g",(function(){return a})),r.d(t,"i",(function(){return i})),r.d(t,"u",(function(){return o})),r.d(t,"h",(function(){return s})),r.d(t,"s",(function(){return u})),r.d(t,"o",(function(){return c})),r.d(t,"b",(function(){return d})),r.d(t,"J",(function(){return l})),r.d(t,"B",(function(){return p})),r.d(t,"c",(function(){return m})),r.d(t,"r",(function(){return f})),r.d(t,"l",(function(){return h})),r.d(t,"m",(function(){return b})),r.d(t,"n",(function(){return y})),r.d(t,"f",(function(){return g})),r.d(t,"a",(function(){return v})),r.d(t,"t",(function(){return w})),r.d(t,"v",(function(){return x})),r.d(t,"d",(function(){return k})),r.d(t,"e",(function(){return S})),r.d(t,"j",(function(){return T})),r.d(t,"p",(function(){return I})),r.d(t,"q",(function(){return C})),r.d(t,"k",(function(){return _})),r.d(t,"y",(function(){return R})),r.d(t,"z",(function(){return N})),r.d(t,"x",(function(){return P})),r.d(t,"w",(function(){return F})),r.d(t,"L",(function(){return E})),r.d(t,"K",(function(){return L})),r.d(t,"D",(function(){return O})),r.d(t,"A",(function(){return A})),r.d(t,"C",(function(){return $})),r.d(t,"H",(function(){return K})),r.d(t,"M",(function(){return M})),r.d(t,"P",(function(){return D})),r.d(t,"Q",(function(){return U})),r.d(t,"N",(function(){return j})),r.d(t,"I",(function(){return V})),r.d(t,"F",(function(){return z})),r.d(t,"E",(function(){return q})),r.d(t,"G",(function(){return H})),r.d(t,"O",(function(){return B}));var n=r("284b"),a=(r("f121"),function(e){return n["a"].post("/adminv2/order/info/getOrders",e)}),i=function(e){return n["a"].get("/admin/order/info",{params:e})},o=function(e){return n["a"].post("/admin/order/info/saveExpress",e)},s=function(e){return n["a"].get("/adminv2/order/info/saveExpressNo",{params:e})},u=function(e){return n["a"].post("/adminv2/order/info/recoveryRights",e)},c=function(e){return n["a"].post("/adminv2/order/info/refund",e)},d=function(e){return n["a"].post("/adminv2/order/info/applyRefund",e)},l=function(e){return n["a"].post("/adminv2/order/info/refuseRefund",e)},p=function(e){return n["a"].post("/adminv2/order/info/addRemark",e)},m=function(e){return n["a"].get("/admin/order/info/download/template",{params:e})},f=function(e){return n["a"].post("/admin/order/info/third/party",e)},h=function(e){return n["a"].post("/admin/corrects/open",e)},b=function(e){return n["a"].post("/admin/order/info/export",e)},y=function(e){return n["a"].post("/adminv2/order/info/export",e)},g=function(e){return n["a"].post("/admin/order/info/getCanBeOpenedCorrects",e)},v=function(e){return n["a"].post("/admin/order/info/allOpenedCorrects",e)},w=function(e){return n["a"].post("/admin/order/info/saveDeliveryStatus",e)},x=function(e){return n["a"].get("/admin/config/select/province",{params:e})},k=function(e){return n["a"].get("/admin/config/select/city/byProvince",{params:e})},S=function(e){return n["a"].get("/admin/config/select/city/byProvince",{params:e})},T=function(e){return n["a"].post("/adminv2/order/sync/getOrders",e)},I=function(e){return n["a"].post("/admin/order/sync",e)},C=function(e){return n["a"].post("/adminv2/order/sync/export",e)},_=function(e){return n["a"].post("/admin/wxOrder/getOrders",e)},R=function(e){return n["a"].post("/admin/wxOrder/sync",e)},N=function(e){return n["a"].post("/admin/wxOrder/export",e)},P=function(e){return n["a"].post("/adminv2/upOrderPhone",e)},F=function(e){return n["a"].post("/adminv2/ssxyTransferSearch",e)},E=function(e){return n["a"].post("/adminv2/thirdproduct/relationList",e)},L=function(e){return n["a"].post("/adminv2/thirdproduct/relationDetail",e)},O=function(e){return n["a"].post("/adminv2/thirdproduct/editRelation",e)},A=function(e){return n["a"].post("/adminv2/thirdproduct/addRelation",e)},$=function(e){return n["a"].post("/adminv2/thirdproduct/delRelation",e)},K=function(e){return n["a"].post("/adminv2/shoporder/lists",e)},M=function(e){return n["a"].post("/adminv2/shoporder/download/template",e)},D=function(e){return n["a"].post("/adminv2/shoporder/upExpress",e)},U=function(e){return n["a"].post("/adminv2/shoporder/upReceipt",e)},j=function(e){return n["a"].post("/adminv2/shoporder/refund",e)},V=function(e){return n["a"].post("/adminv2/shoporder/orderDown",e)},z=function(e){return n["a"].post("/adminv2/order/info/getCompayOrders",e)},q=function(e){return n["a"].post("/adminv2/order/info/exportCompany",e)},H=function(e){return n["a"].post("/adminv2/order/xhs/list",e)},B=function(e){return n["a"].post("/order/syncOrder",e)}}}]); //# sourceMappingURL=chunk-58149ef8.7e4aaede.js.map