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.
hezhiying/unpackage/dist/build/h5/static/js/pages-warehouse-buy.3a74d0f...

1 line
25 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-warehouse-buy"],{"07eb":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={uModal:n("7304").default,uUpload:n("1519").default,uToast:n("dc8b").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"page"},[a("v-uni-view",{staticClass:"order-tab"},[a("v-uni-view",{staticClass:"tab",class:{action:-1==t.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOrderTab(-1)}}},[a("v-uni-text",[t._v("我的仓库")]),a("v-uni-text",{staticClass:"line"})],1),a("v-uni-view",{staticClass:"tab",class:{action:0==t.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOrderTab(0)}}},[a("v-uni-text",[t._v("付款确认")]),a("v-uni-text",{staticClass:"line"})],1),a("v-uni-view",{staticClass:"tab",class:{action:1==t.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOrderTab(1)}}},[a("v-uni-text",[t._v("收款确认")]),a("v-uni-text",{staticClass:"line"})],1),a("v-uni-view",{staticClass:"tab",class:{action:3==t.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOrderTab(3)}}},[a("v-uni-text",[t._v("投诉订单")]),a("v-uni-text",{staticClass:"line"})],1),a("v-uni-view",{staticClass:"tab",class:{action:4==t.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOrderTab(4)}}},[a("v-uni-text",[t._v("发货状态")]),a("v-uni-text",{staticClass:"line"})],1)],1),a("v-uni-view",{staticClass:"order-list"},[t.tableData.length>0?a("v-uni-view",t._l(t.tableData,(function(e,n){return a("v-uni-view",{key:n,staticClass:"list",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onOrderList(e)}}},[a("v-uni-view",{staticClass:"title-status"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",[t._v("订单号:"+t._s(e.order_sn))])],1),a("v-uni-view",{staticClass:"status"},[a("v-uni-text",[t._v(t._s(t.getstatusLabel(e.status)))])],1)],1),a("v-uni-view",{staticClass:"goods-list"},[a("v-uni-view",{staticClass:"cangku"},[t._v("所属仓库:"+t._s(e.warehouse?e.warehouse.title:"-"))]),a("v-uni-view",{staticClass:"goods"},[a("v-uni-view",{staticClass:"thumb"},[a("v-uni-image",{attrs:{src:e.order_goods[0]?e.order_goods[0].goods_image:"",mode:"aspectFill"}})],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"goods-name"},[a("v-uni-text",{staticClass:"two-omit"},[t._v(t._s(e.order_goods[0]?e.order_goods[0].goods_name:""))])],1),a("v-uni-view",{staticClass:"goods-price"},[a("v-uni-text",{staticClass:"min"},[t._v("¥"+t._s(e.order_goods[0]?e.order_goods[0].goods_price:""))])],1)],1)],1)],1),0==e.status?a("v-uni-view",{staticClass:"status-btn"},[a("v-uni-view",{staticClass:"btn",staticStyle:{margin:"0"},nativeOn:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.cancelOrderHandle(e)}}},[t._v("取消订单")]),a("v-uni-view",{staticClass:"btnGroup"},[a("v-uni-view",{staticClass:"btn",nativeOn:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.uploadPay(e,n)}}},[t._v("上传凭证")]),a("v-uni-view",{staticClass:"btn",nativeOn:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.goPay(e)}}},[t._v("去支付")]),a("v-uni-view",{staticClass:"btn",nativeOn:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.confirmPay(e)}}},[t._v("支付确认")])],1)],1):t._e(),2==e.status?a("v-uni-view",{staticClass:"status-btn"},[a("v-uni-view",{staticClass:"btn",staticStyle:{margin:"0"},nativeOn:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.changeStatusHandle(e)}}},[t._v("提取货物")]),a("v-uni-view",{staticClass:"btnGroup"},[a("v-uni-view",{staticClass:"btn",nativeOn:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.weituoHandle(e)}}},[t._v("委托上架")])],1)],1):t._e(),4==e.status?a("v-uni-view",{staticClass:"status-btn"},[a("v-uni-view",{staticClass:"btnGroup"},[a("v-uni-view",{staticClass:"btn",nativeOn:{click:function(n){n.stopPropa