| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7f9f69d1"],{1635:function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t._self._c;return a("div",{staticClass:"order-detail"},[a("el-drawer",{attrs:{visible:t.showDetail,size:"1000px","before-close":t.closeFn,"custom-class":"order-draw-wrap",direction:"ltr"},on:{"update:visible":function(a){t.showDetail=a}}},[t.$util.isEmpty(t.detailInfo)?t._e():a("div",{staticClass:"order-manage-wrap"},[a("div",{staticClass:"card-wrap",staticStyle:{"margin-top":"0"}},[a("div",{staticClass:"card-tit"},[t._v(" 花材信息按 Esc 关闭窗口) "),a("el-button",{staticStyle:{"margin-left":"80px"},attrs:{type:"primary"},on:{click:function(a){return t.assignOrder()}}},[t._v("刷新货位")])],1),a("div",{staticClass:"card-body"},[a("el-table",{attrs:{data:t.detailInfo.itemInfo}},[a("el-table-column",{attrs:{label:"花材图片"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("el-popover",{attrs:{placement:"right",width:"200",trigger:"hover"}},[a("div",{staticStyle:{width:"200px",height:"200px"}},[a("img",{staticStyle:{width:"100%",height:"100%","object-fit":"cover"},attrs:{src:t.row.bigCover}})]),a("div",{staticStyle:{width:"30px"},attrs:{slot:"reference"},slot:"reference"},[a("img",{staticStyle:{width:"100%",height:"100%","object-fit":"cover","border-radius":"5px"},attrs:{src:t.row.cover}})])])]}}],null,!1,1714386569)}),a("el-table-column",{attrs:{property:"name",label:"花材名称",width:"200"}}),a("el-table-column",{attrs:{property:"bigPrice",label:"单价"}}),a("el-table-column",{attrs:{label:"数量"},scopedSlots:t._u([{key:"default",fn:function(s){return[a("span",[t._v(t._s(s.row.itemNum?s.row.itemNum:0))]),Number(s.row.refundNum)>0?a("span",[t._v("(退 "+t._s(s.row.refundNum)+")")]):t._e()]}}],null,!1,2241800275)}),a("el-table-column",{attrs:{label:"合计"},scopedSlots:t._u([{key:"default",fn:function(s){return[a("span",[t._v("¥"+t._s(s.row.totalPrice))])]}}],null,!1,2024436839)}),a("el-table-column",{attrs:{label:"分配货位",width:"300"},scopedSlots:t._u([{key:"default",fn:function(s){return[Number(s.row.noSeatNum)>0?a("div",[t._v(" 无货位 "+t._s(s.row.noSeatNum)+" ")]):t._e(),t.$util.isEmpty(s.row.sendList)?t._e():a("div",{staticStyle:{"margin-bottom":"10upx","font-size":"30upx"}},t._l(s.row.sendList,(function(s,e){return a("div",{staticStyle:{"margin-bottom":"7upx"}},[t._v(" "+t._s(s.customName)+"("+t._s(s.seatSn)+") 数量 "+t._s(s.num)+" "),a("span",{staticStyle:{"margin-left":"20upx"}},[t._v(t._s(0==s.status?"待上架":1==s.status?"已上架":"已取消"))])])})),0)]}}],null,!1,1039941038)})],1)],1)]),a("div",{staticStyle:{"margin-left":"180px"}},[0==t.detailInfo.location?[a("div",{staticClass:"accounts-list"},[t._v(" 运费支付 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v(t._s(1==t.detailInfo.yfPayWay?"寄付":"到付"))])]),a("div",{staticClass:"accounts-list"},[t._v(" 打包费 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.packingCharge?parseFloat(t.detailInfo.packingCharge):0))])]),a("div",{staticClass:"accounts-list"},[t._v(" 短途运费 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.shortCharge?parseFloat(t.detailInfo.shortCharge):0))])]),a("div",{staticClass:"accounts-list"},[t._v(" 长途运费 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.longCharge?parseFloat(t.detailInfo.longCharge):0))])])]:t._e(),a("div",{staticClass:"accounts-list"},[t._v(" 总金额 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.prePrice?parseFloat(t.detailInfo.prePrice):0))])]),t.detailInfo.refundPrice>0?a("div",{staticClass:"accounts-list"},[t._v(" 退款金额 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("-¥"+t._s(t.detailInfo.tkPrice?parseFloat(t.detailInfo.tkPrice):0))])]):t._e(),a("div",{staticClass:"accounts-list"},[t._v(" 减免 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.discountAmount?parseFloat(t.detailInfo.discountAmount):0))])]),a("div",{staticClass:"accounts-list"},[t._v(" 实际金额 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.realPrice?parseFloat(t.detailInfo.realPrice):0))])]),0==t.detailInfo.location?[2==t.detailInfo.yfPayWay?a("div",{staticClass:"accounts-list"},[t._v(" 短途运费 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.shortCharge?parseFloat(t.detailInfo.shortCharge):0))])]):t._e(),2==t.detailInfo.yfPayWay?a("div",{staticClass:"accounts-list"},[t._v(" 长途运费 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.longCharge?parseFloat(t.detailInfo.longCharge):0))])]):t._e(),a("div",{staticClass:"accounts-list"},[t._v(" 提货费 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.pickCharge?parseFloat(t.detailInfo.pickCharge):0))])]),a("div",{staticClass:"accounts-list"},[t._v(" 本地运费 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.localCharge?parseFloat(t.detailInfo.localCharge):0))])]),a("div",{staticClass:"accounts-list"},[t._v(" 合计费用 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.totalFreight?parseFloat(t.detailInfo.totalFreight):0))])]),a("div",{staticClass:"accounts-list"},[t._v(" 合计成本 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.totalCgCost?parseFloat(t.detailInfo.totalCgCost):0))])]),a("div",{staticClass:"accounts-list"},[t._v(" 总重量 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v(t._s(t.detailInfo.totalWeight?parseFloat(t.detailInfo.totalWeight):0))])]),a("div",{staticClass:"accounts-list"},[t._v(" 每公斤运费 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v("¥"+t._s(t.detailInfo.avgKgWeight?parseFloat(t.detailInfo.avgKgWeight):0))])]),a("div",{staticClass:"accounts-list"},[t._v(" 物流费用 "),a("div",{staticClass:"accounts-center",staticStyle:{"font-weight":"bold",color:"black"}},[t._v(t._s(0==t.detailInfo.isCost?"不算成本":"算成本"))])])]:t._e()],2)])])],1)},i=[],l={name:"order-detail",props:{orderOperate:{type:Object,default:()=>{}}},data(){return{showDetail:!1,selectJobType:"order_change",autoLoad:!1,stepActive:0,form:{name:""},detailInfo:{},loading:!1,printItemId:0,printType:0,printLabelShow:!1,printNum:"",wcPrintNum:1,entryTime:"",T:null,orderSn:"",salt:"",showSeat:1,title:"",imageUrl:""}},methods:{assignOrder(){this.$service.purchaseOrder.assignSeat({id:this.detailInfo.id,salt:this.salt}).then(t=>{this.init(),this.$message.success("刷新成功")})},init(){this.$service.purchaseOrder.detail({orderSn:this.orderOperate.orderSn}).then(t=>{this.detailInfo=t,this.showDetail=!0})},closeFn(){this.showDetail=!1}}},o=l,c=(s("8227"),s("21cb"),s("1805")),n=Object(c["a"])(o,e,i,!1,null,"3e9afc49",null);a["default"]=n.exports},"21cb":function(t,a,s){"use strict";s("2507")},2507:function(t,a,s){},8227:function(t,a,s){"use strict";s("f935")},f935:function(t,a,s){}}]);
|