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
25 KiB
1 line
25 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-warehouse-buy"],{"07df":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("d2a2")),o={name:"u-line",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],computed:{lineStyle:function(){var t={};return t.margin=this.margin,"row"===this.direction?(t.borderBottomWidth="1px",t.borderBottomStyle=this.dashed?"dashed":"solid",t.width=uni.$u.addUnit(this.length),this.hairline&&(t.transform="scaleY(0.5)")):(t.borderLeftWidth="1px",t.borderLeftStyle=this.dashed?"dashed":"solid",t.height=uni.$u.addUnit(this.length),this.hairline&&(t.transform="scaleX(0.5)")),t.borderColor=this.color,uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}}};e.default=o},"0a55":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("c7b7").default,uUpload:n("c34a").default,uToast:n("e220").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(0==e.status?"待支付":1==e.status?"待确认":2==e.status?"待委托":3==e.status?"已投诉":4==e.status?"待发货":5==e.status?"待收货":-1==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:""}})],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.$handl
|