(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-10e4f9d6"],{3386:function(e,t,a){},"8c33":function(e,t,a){"use strict";a("3386")},"94ae":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"orderManagement"},[a("el-card",[a("el-row",{attrs:{span:24}},[a("el-col",{staticClass:"search",attrs:{span:12}},[a("el-input",{staticClass:"input-with-select",attrs:{placeholder:"请输入内容",clearable:""},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}},[a("el-select",{staticClass:"searchSelect",attrs:{slot:"prepend",filterable:"",placeholder:"请选择",width:"180px"},on:{change:e.selectSearch},slot:"prepend",model:{value:e.select,callback:function(t){e.select=t},expression:"select"}},[a("el-option",{attrs:{label:"订单号",value:"id"}}),a("el-option",{attrs:{label:"订单日期",value:"order_date"}}),a("el-option",{attrs:{label:"订单状态:未支付",value:"0"}}),a("el-option",{attrs:{label:"订单状态:已支付",value:"1"}}),a("el-option",{attrs:{label:"订单状态:已关闭",value:"2"}}),a("el-option",{attrs:{label:"订单状态:已取消",value:"3"}}),a("el-option",{attrs:{label:"订单状态:后付费",value:"4"}})],1),a("el-button",{staticClass:"searchSelectIcon",attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.search},slot:"append"})],1)],1)],1)],1),a("el-card",{staticClass:"orderList"},[a("el-table",{staticClass:"table",attrs:{border:"",data:e.tableData,height:"calc(100vh - 200px)"}},[a("el-table-column",{attrs:{align:"center","header-align":"center",prop:"id",label:"订单号"}}),a("el-table-column",{attrs:{align:"center","header-align":"center",prop:"order_date",label:"订单日期"}}),a("el-table-column",{attrs:{align:"center","header-align":"center",prop:"amount",label:"金额/元"}}),a("el-table-column",{attrs:{align:"center","header-align":"center",label:"订单状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e.getResult(t.row.order_status))+" ")]}}])}),a("el-table-column",{attrs:{align:"center","header-align":"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{staticStyle:{padding:"8px"},attrs:{size:"small",type:"primary"},on:{click:function(a){return e.orderDetails(t.row)}}},[e._v("查看详情")])]}}])})],1)],1)],1)},n=[],c=(a("ac1f"),a("841c"),a("b488")),l={data:function(){return{select:"",tableData:[],page:1,searchValue:null,order_status_select:null,userId:sessionStorage.getItem("userId"),dialogVisible:!1,orderDetail:{order_goods:[{productid:"",amount:"",list_price:"",quantity:"",discount:"",price:""}]}}},created:function(){this.getOrder()},methods:{getOrder:function(){var e=this,t={userid:this.userId};switch(this.select){case"order_date":t["type"]="200",t["order_date"]=this.searchValue;break;case"id":t["type"]="100",t["id"]=this.searchValue;break;case"0":t["type"]="200",t["order_status"]="0";break;case"1":t["type"]="200",t["order_status"]="1";break;case"2":t["type"]="200",t["order_status"]="2";break;case"3":t["type"]="200",t["order_status"]="3";break;case"4":t["type"]="200",t["order_status"]="4";break}Object(c["h"])(t).then((function(t){1==t.status&&(e.tableData=t.data)}))},orderDetails:function(e){this.$router.push({name:"orderDetil",query:{id:e.id}})},selectSearch:function(e){this.search()},search:function(e){this.getOrder()},getResult:function(e){switch(e){case"0":return"未支付";case"1":return"已支付";case"2":return"已关闭";case"3":return"已取消";case"4":return"后付费"}}}},s=l,o=(a("8c33"),a("2877")),u=Object(o["a"])(s,r,n,!1,null,"4b3a49df",null);t["default"]=u.exports},b488:function(e,t,a){"use strict";a.d(t,"g",(function(){return c})),a.d(t,"b",(function(){return l})),a.d(t,"a",(function(){return s})),a.d(t,"d",(function(){return o})),a.d(t,"e",(function(){return u})),a.d(t,"h",(function(){return i})),a.d(t,"c",(function(){return d})),a.d(t,"f",(function(){return p}));var r=a("b775"),n=".dspy";function c(e){return Object(r["a"])({url:"product/kehu_kan_chanpin".concat(n),method:"get",params:e})}function l(e){return Object(r["a"])({url:"bz_order/addbz_order".concat(n),method:"get",params:e})}function s(e){return Object(r["a"])({url:"bz_order/affirmbz_order".concat(n),method:"get",params:e})}function o(e){return Object(r["a"])({url:"bz_order/cancelbz_order".concat(n),method:"get",params:e})}function u(e){return Object(r["a"])({url:"bz_order/chargeback".concat(n),method:"get",params:e})}function i(e){return Object(r["a"])({url:"bz_order/getbz_order".concat(n),method:"get",params:e})}function d(e){return Object(r["a"])({url:"shopcart/shoppingCartAdd".concat(n),method:"get",params:e})}function p(e){return Object(r["a"])({url:"/ali/DescribeRegions".concat(n),method:"get",params:e})}}}]);