2 lines
3.9 KiB
JavaScript
2 lines
3.9 KiB
JavaScript
import{Z as L,_ as B,D as S,L as q,w as C,M as I}from"./element-plus.44a1c90c.js";import{u as T}from"./vue-router.12d45bc3.js";import{a as V}from"./vehicle.af376d39.js";import{d as D}from"./index.371802bc.js";import{$ as N,r as R,a4 as F,o as m,c as f,U as o,L as a,S as n,T as r,V as A,a7 as G,a as u,u as M,b7 as U,b6 as X}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.d871e3e1.js";import"./axios.263e335e.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.e8c2b926.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.49c13ae5.js";import"./color.6f36a052.js";import"./clone.0bac550d.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.762f2b8b.js";import"./ms.a9ae1d6d.js";import"./nprogress.f7d60be2.js";import"./vue-clipboard3.536bdb56.js";import"./clipboard.cadf3e40.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const h=_=>(U("data-v-159a578a"),_=_(),X(),_),Z={class:"box"},$=h(()=>u("span",null,"\u8F66\u724C\u53F7:",-1)),j=h(()=>u("span",null,"\u4F7F\u7528\u4EBA:",-1)),z=h(()=>u("span",null,"\u8054\u7CFB\u65B9\u5F0F:",-1)),H=n("\u8BE6\u60C5"),J={__name:"goodsList",setup(_){N([{name:"1"},{name:"2"},{name:"3"},{name:"4"}]);const l=R({id:2,license:"",status:2,type:0,use_user_id:313,use_user_name:"",use_user_phone:"",total_package:4,total_goods:4}),w=p=>{if(p.length>2){let d=p.slice(0,2);return d.push({name:"..."}),d}else return p},v=T();return V({id:v.query.id}).then(p=>{l.value=p,console.log(l)}),(p,d)=>{const i=L,g=B,x=S,s=q,y=F("router-link"),k=C,E=I;return m(),f("div",Z,[o(x,{ref:"formRef","label-width":"84px"},{default:a(()=>[o(i,null,{default:a(()=>[o(g,null,{default:a(()=>[o(i,{span:4},{default:a(()=>{var e,t;return[$,n(r((t=(e=l.value)==null?void 0:e.basic)==null?void 0:t.license),1)]}),_:1}),o(i,{span:4},{default:a(()=>{var e,t;return[j,n(" "+r((t=(e=l.value)==null?void 0:e.basic)==null?void 0:t.use_user_name),1)]}),_:1}),o(i,{span:4},{default:a(()=>{var e,t;return[z,n(" "+r((t=(e=l.value)==null?void 0:e.basic)==null?void 0:t.use_user_phone),1)]}),_:1}),o(i,{span:4},{default:a(()=>{var e,t,c,b;return[n("\u5F53\u524D\u8F66\u4E0A\u5171\u8BA1"+r((t=(e=l.value)==null?void 0:e.basic)==null?void 0:t.total_package)+"\u4E2A\u5305\u88F9,"+r((b=(c=l.value)==null?void 0:c.basic)==null?void 0:b.total_goods)+"\u4EF6\u5546\u54C1",1)]}),_:1})]),_:1})]),_:1})]),_:1},512),o(E,{data:l.value.lists,"default-sort":{prop:"create_time",order:"descending"}},{default:a(()=>[o(s,{type:"index",width:"50"}),o(s,{label:"\u5546\u54C1",align:"center",width:"auto"},{default:a(({row:e})=>[(m(!0),f(A,null,G(w(e.products),(t,c)=>(m(),f("div",null,r(t.goods_name)+"X "+r(t.product_num)+" "+r(t.goods_unit),1))),256)),u("div",null,"\u5171"+r(e.product_count)+"\u4EF6\u5546\u54C1",1)]),_:1}),o(s,{label:"\u8BA2\u5355\u7F16\u53F7",prop:"order_sn","show-overflow-tooltip":""}),o(s,{label:"\u63D0\u4F9B\u5546\u5BB6",prop:"shop_name","show-overflow-tooltip":""}),o(s,{label:"\u4E0B\u5355\u7528\u6237",prop:"user_name","show-overflow-tooltip":""}),o(s,{label:"\u6536\u8D27\u5730\u5740",prop:"receiver_address","show-overflow-tooltip":""}),o(s,{label:"\u4E0A\u8F66\u65F6\u95F4",prop:"qh_time","show-overflow-tooltip":""}),o(s,{label:"\u8FD0\u8F93\u65F6\u95F4",prop:"diff_time","show-overflow-tooltip":""}),o(s,{label:"\u64CD\u4F5C",align:"center",width:"auto",fixed:"right"},{default:a(({row:e})=>[o(k,{type:"primary",link:""},{default:a(()=>[o(y,{to:{path:"/vehicle/goodsDetail",query:{car_id:M(v).query.id,order_id:28}}},{default:a(()=>[H]),_:1},8,["to"])]),_:1})]),_:1})]),_:1},8,["data"])])}}},Co=D(J,[["__scopeId","data-v-159a578a"]]);export{Co as default};
|