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"],{"03c9":function(t,e,s){var i=s("5eec");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=s("4f06").default;a("431ad98c",i,!0,{sourceMap:!1,shadowMode:!1})},"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,s("14d9");var a=i(s("2909")),r=i(s("5530")),o=s("5af7"),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?id="+item.id})},confirmPay:function(t,e){var s=this,i={status:e,id:t.id};(0,o.orderPay)(i).then((function(t){s.getList()}))}},onReachBottom:function(){this.tableData.length<this.total&&(this.page++,this.getList("over"))}};e.default=n},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}}},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")},"4aa3":function(t,e,s){"use strict";s.d(e,"b",(function(){return i})),s.d(e,"c",(function(){return a})),s.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page"},[i("v-uni-view",{staticClass:"order-tab"},[i("v-uni-view",{staticClass:"tab",class:{action:-1==t.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOrderTab(-1)}}},[i("v-uni-text",[t._v("我的仓库")]),i("v-uni-text",{staticClass:"line"})],1),i("v-uni-view",{staticClass:"tab",class:{action:0==t.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOrderTab(0)}}},[i("v-uni-text",[t._v("付款确认")]),i("v-uni-text",{staticClass:"line"})],1),i("v-uni-view",{staticClass:"tab",class:{action:1==t.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOrderTab(1)}}},[i("v-uni-text",[t._v("收款确认")]),i("v-uni-text",{staticClass:"line"})],1),i("v-uni-view",{staticClass:"tab",class:{action:3==t.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOrderTab(3)}}},[i("v-uni-text",[t._v("投诉订单")]),i("v-uni-text",{staticClass:"line"})],1),i("v-uni-view",{staticClass:"tab",class:{action:4==t.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOrderTab(4)}}},[i("v-uni-text",[t._v("发货状态")]),i("v-uni-text",{staticClass:"line"})],1)],1),i("v-uni-view",{staticClass:"order-list"},[t.tableData.length>0?i("v-uni-view",t._l(t.tableData,(function(e,s){return i("v-uni-view",{key:s,staticClass:"list",on:{click:function(s){arguments[0]=s=t.$handleEvent(s),t.onOrderList(e)}}},[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"
|