You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
17 KiB
1 line
17 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-warehouse-sell"],{"1b1a":function(t,e,s){"use strict";s.r(e);var i=s("2712"),a=s.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){s.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},2712:function(t,e,s){"use strict";s("7a82");var i=s("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(s("2909")),r=i(s("5530"));s("4de4"),s("d3b7"),s("14d9");var n=s("5af7"),o={data:function(){return{page:1,limit:10,status:null,tableData:[],total:0,statusList:[{id:0,name:"待支付"},{id:1,name:"待确认"},{id:2,name:"待委托"},{id:3,name:"已投诉"},{id:4,name:"待发货"},{id:5,name:"待收货"},{id:-1,name:"已取消"},{id:7,name:"已上架"}]}},onLoad:function(t){this.status=t.type,this.getList()},methods:{getstatusLabel:function(t){var e=this.statusList.filter((function(e){return e.id==t}));return e.length>0?e[0].name:"-"},getList:function(t){var e=this,s={page:this.page,limit:this.limit,status:-1==this.status?"":this.status};(0,n.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=4==t?"4,5":t,this.getList()},onOrderList:function(){uni.navigateTo({url:"/pages/OrderDetails/OrderDetails?id="+item.id})},confirmPay:function(t,e){var s=this,i={status:e,id:t.id};(0,n.orderPay)(i).then((function(t){s.getList()}))}},onReachBottom:function(){this.tableData.length<this.total&&(this.page++,this.getList("over"))}};e.default=o},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,n.default)()};var i=o(s("6005")),a=o(s("db90")),r=o(s("06c5")),n=o(s("3427"));function o(t){return t&&t.__esModule?t:{default:t}}},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")},"5af7":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.payUpGoods=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.bindInvitor=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.l
|