(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-warehouse-sell"],{"000e":function(t,e,s){"use strict";s.r(e);var i=s("ef67"),a=s("cec2");for(var r in a)["default"].indexOf(r)<0&&function(t){s.d(e,t,(function(){return a[t]}))}(r);s("14dd");var o=s("f0c5"),n=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"2c12ae2d",null,!1,i["a"],void 0);e["default"]=n.exports},"14dd":function(t,e,s){"use strict";var i=s("505c"),a=s.n(i);a.a},2909:function(t,e,s){"use strict";s("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t)||(0,a.default)(t)||(0,r.default)(t)||(0,o.default)()};var i=n(s("6005")),a=n(s("db90")),r=n(s("06c5")),o=n(s("3427"));function n(t){return t&&t.__esModule?t:{default:t}}},"2c89":function(t,e,s){"use strict";s("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.userRegister=e.updateUserInfo=e.smsSend=e.smsCheck=e.privacyPolicy=e.orderPay=e.orderDetail=e.logout=e.loginApi=e.getgoodsDetail=e.getWarehouseList=e.getUserProfitStatistic=e.getUserProfitList=e.getUserInfo=e.getUserFansStatistic=e.getUserFansOrderStatistic=e.getUserFansOrderList=e.getUserFansList=e.getUserCommissionStatistic=e.getUserCommissionList=e.getUserCommissionApi=e.getSellerOrderList=e.getGoodsList=e.getBuyerOrderList=e.getArea=e.getAddrList=e.getAddrDesc=e.forgetPsw=e.editAddr=e.deleteAddr=e.createOrder=e.couponList=e.changePassword=e.cancelOrder=e.addAddr=void 0;var i=uni.$u.http;e.smsSend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/api/sms/send",t,e)};e.smsCheck=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/api/sms/check",t,e)};e.userRegister=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/api/user/register",t,e)};e.loginApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/api/user/login",t,e)};e.privacyPolicy=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/addons/shopro/data.richtext/index",t,e)};e.forgetPsw=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.post("/api/user/resetpwd",t,e)};e.getUserInfo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserinfo",t,e)};e.getAddrList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.address/index",t,e)};e.getArea=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/data.area/index",t,e)};e.addAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.address/add",t,e)};e.editAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.address/edit",t,e)};e.deleteAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.address/delete",t,e)};e.getAddrDesc=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.address/detail",t,e)};e.changePassword=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.user/changePassword",t,e)};e.logout=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/logout",t,e)};e.updateUserInfo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/updateUserInfo",t,e)};e.couponList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/addons/shopro/user.coupon/index",t,e)};e.getUserCommissionStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserCommissionStatistic",t,e)};e.getUserCommissionApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserCommission",t,e)};e.getUserCommissionList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserCommissionList",t,e)};e.getUserFansStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserFansStatistic",t,e)};e.getUserFansList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserFansList",t,e)};e.getUserFansOrderStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserFansOrderStatistic",t,e)};e.getUserFansOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserFansOrderList",t,e)};e.getUserProfitStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserProfitStatistic",t,e)};e.getUserProfitList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/user/getUserProfitList",t,e)};e.getWarehouseList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/order/getWarehouseList",t,e)};e.getGoodsList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/order/getGoodsList",t,e)};e.getgoodsDetail=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/order/goodsDetail",t,e)};e.getBuyerOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.get("/api/order/getBuyerOrderList",{params:t},e)};e.getSellerOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.get("/api/order/getSellerOrderList",{params:t},e)};e.createOrder=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/order/createOrder",t,e)};e.cancelOrder=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.post("/api/order/cancelOrder",t,e)};e.orderDetail=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.get("/api/order/orderDetail",{params:t},e)};e.orderPay=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return i.get("/api/order/orderPay",{params:t},e)}},3427:function(t,e,s){"use strict";s("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},s("d9e2"),s("d401")},"505c":function(t,e,s){var i=s("8a3a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=s("4f06").default;a("3320c8fe",i,!0,{sourceMap:!1,shadowMode:!1})},6005:function(t,e,s){"use strict";s("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,i.default)(t)};var i=function(t){return t&&t.__esModule?t:{default:t}}(s("6b75"))},7180:function(t,e,s){"use strict";s("7a82");var i=s("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,s("14d9");var a=i(s("2909")),r=i(s("5530")),o=s("2c89"),n={data:function(){return{page:1,limit:10,status:null,tableData:[],total:0}},onLoad:function(t){this.status=t.type,this.getList()},methods:{getList:function(t){var e=this,s={page:this.page,limit:this.limit,status:-1==this.status?"":this.status};(0,o.getSellerOrderList)((0,r.default)((0,r.default)({},s),{},{custom:{auth:!0}})).then((function(s){var i;t?(i=e.tableData).push.apply(i,(0,a.default)(s.data.data)):(e.tableData=s.data.data,e.total=s.data.total)}))},onOrderTab:function(t){this.status=t,this.getList()},onOrderList:function(){uni.navigateTo({url:"/pages/OrderDetails/OrderDetails"})}},onReachBottom:function(){this.tableData.length0?i("v-uni-view",t._l(t.tableData,(function(e,s){return i("v-uni-view",{key:s,staticClass:"list",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOrderList.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"title-status"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",[t._v("订单号:"+t._s(e.order_sn))])],1),i("v-uni-view",{staticClass:"status"},[i("v-uni-text",[t._v(t._s(0==e.status?"待支付":1==e.status?"待确认":2==e.status?"已完成":3==e.status?"已投诉":4==e.status?"待发货":5==e.status?"待收货":-1==e.status?"已取消":""))])],1)],1),i("v-uni-view",{staticClass:"goods-list"},[i("v-uni-view",{staticClass:"cangku"},[t._v("所属仓库:"+t._s(e.warehouse.length>0?e.warehouse[0].title:"-"))]),i("v-uni-view",{staticClass:"goods"},[i("v-uni-view",{staticClass:"thumb"},[i("v-uni-image",{attrs:{src:e.order_goods[0]?e.order_goods[0].goods_image:"",mode:""}})],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"goods-name"},[i("v-uni-text",{staticClass:"two-omit"},[t._v(t._s(e.order_goods[0]?e.order_goods[0].goods_name:""))])],1),i("v-uni-view",{staticClass:"goods-price"},[i("v-uni-text",{staticClass:"min"},[t._v("¥"+t._s(e.order_goods[0]?e.order_goods[0].goods_price:""))])],1)],1)],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1==e.status,expression:"item.status==1"}],staticClass:"status-btn"},[i("v-uni-view",{staticClass:"btnGroup"},[i("v-uni-view",{staticClass:"btn"},[t._v("投诉")]),i("v-uni-view",{staticClass:"btn"},[t._v("确认收款")])],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:3==e.status,expression:"item.status==3"}],staticClass:"status-btn"},[i("v-uni-view",{staticClass:"btnGroup"},[i("v-uni-view",{staticClass:"btn"},[t._v("取消投诉")])],1)],1)],1)})),1):i("v-uni-view",{staticClass:"empty"},[i("v-uni-image",{attrs:{src:s("ae930"),mode:"widthFix"}}),i("v-uni-view",{staticClass:"emptyText"},[t._v("暂无数据")])],1)],1)],1)},a=[]}}]);