detail.86fc1b.js 3.1 KB

1
  1. import{_ as m,d as b,aY as h,m as D,w as v,at as C,H as g,l as o,o as F,c as y,j as e,C as t,aU as E,aM as _,aN as a,aT as B,M as d,L as f,aK as z}from"./index.js";import{u as k}from"./useDetail.4d3c165e.js";import{h as x}from"./index.362c970b.js";const N={class:"padding__container"},T=b({__name:"detail",setup(L){const p=h(),w=D();k({baseName:"\u6536\u53D1\u5B58\u6C47\u603B",collapseLen:2});const i=v({fz_date:"",company_code:"",company_name:""});return(()=>{var n;try{const s=(n=JSON.parse(w.query.data))!=null?n:{},{fz_date:u,company_code:l,company_name:r}=s;i.value={fz_date:u,company_code:l,company_name:r},u&&l&&p.run(x({fz_date:u,company_code:l}))}catch(s){console.error("\u521D\u59CB\u5316\u6570\u636E\u5931\u8D25:",s)}})(),(n,s)=>{const u=C("loading");return g((F(),y("div",N,[e(o(z),null,{default:t(()=>[e(o(E),{gutter:10},{default:t(()=>[e(o(_),{border:"",size:"small",class:"mb-[10px]",data:[{fz_date:i.value.fz_date,company_name:i.value.company_name}]},{default:t(()=>[e(o(a),{label:"\u8BB0\u8D26\u6708\u4EFD",prop:"fz_date"}),e(o(a),{label:"\u516C\u53F8\u540D\u79F0",prop:"company_name"})]),_:1},8,["data"]),e(o(B),{span:24},{default:t(()=>{var l;return[e(o(_),{size:"small",data:(l=o(p).data)==null?void 0:l.list,border:"",stripe:""},{default:t(()=>[e(o(a),{label:"\u5B58\u8D27",align:"center"},{default:t(()=>[e(o(a),{prop:"product_id",label:"\u5546\u54C1ID",width:"60","show-overflow-tooltip":""}),e(o(a),{prop:"skuCode",label:"\u7F16\u7801",width:"120","show-overflow-tooltip":""}),e(o(a),{prop:"goodName",label:"\u540D\u79F0",width:"150","show-overflow-tooltip":""}),e(o(a),{prop:"spec",label:"\u89C4\u683C",width:"60","show-overflow-tooltip":""}),e(o(a),{prop:"unit",label:"\u5355\u4F4D",width:"60","show-overflow-tooltip":""}),e(o(a),{prop:"weight",label:"\u91CD\u91CF",width:"100","show-overflow-tooltip":""},{default:t(({row:r})=>[d(f(r.Porduct.unit_weight),1)]),_:1}),e(o(a),{prop:"unit_price",label:"\u5355\u4EF7","show-overflow-tooltip":""},{default:t(({row:r})=>{var c;return[d(f((c=r.Porduct)==null?void 0:c.subunit_price),1)]}),_:1})]),_:1}),e(o(a),{label:"\u671F\u521D",align:"center"},{default:t(()=>[e(o(a),{prop:"begin_num",label:"\u6570\u91CF","show-overflow-tooltip":""}),e(o(a),{prop:"begin_total_price",label:"\u91D1\u989D","show-overflow-tooltip":""})]),_:1}),e(o(a),{label:"\u6536\u5165",align:"center"},{default:t(()=>[e(o(a),{prop:"in_num",label:"\u6570\u91CF","show-overflow-tooltip":""}),e(o(a),{prop:"in_total_price",label:"\u91D1\u989D","show-overflow-tooltip":""})]),_:1}),e(o(a),{label:"\u53D1\u51FA",align:"center"},{default:t(()=>[e(o(a),{prop:"out_num",label:"\u6570\u91CF","show-overflow-tooltip":""}),e(o(a),{prop:"out_total_price",label:"\u91D1\u989D","show-overflow-tooltip":""})]),_:1}),e(o(a),{label:"\u7ED3\u5B58",align:"center"},{default:t(()=>[e(o(a),{prop:"balance_num",label:"\u6570\u91CF","show-overflow-tooltip":""}),e(o(a),{prop:"balance_total_price",label:"\u91D1\u989D","show-overflow-tooltip":""})]),_:1})]),_:1},8,["data"])]}),_:1})]),_:1})]),_:1})])),[[u,o(p).loading]])}}});var O=m(T,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/summary/detail.vue"]]);export{O as default};