2025-01-18 17:19:02 +08:00
|
|
|
import{a1 as O,a2 as R,x as k,y as x,G as T,H as V,K as w}from"./element-plus.8e273e86.js";import{u as L}from"./usePaging.f8c888e4.js";import"./index.4eb92b1c.js";import{a as N}from"./purchase_order.2496a76b.js";import{a as q}from"./purchase_product_offer.d658f8f6.js";import{u as I}from"./vue-router.10bd5b90.js";import{_ as K}from"./subOrder.vue_vue_type_script_setup_true_name_subOrder_lang.54bf79e6.js";import{_ as S}from"./goodsOffer.vue_vue_type_script_setup_true_name_subOrder_lang.d7cf4192.js";import{d as D,r as s,Z as U,o as b,c as $,U as e,L as t,u as r,j,R as u,S as p,K as A,Q as G}from"./@vue.76ce7aa3.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.4e6d2a38.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./pinia.f3529286.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8d65305c.js";import"./index.vue_vue_type_script_setup_true_lang.d6032bc4.js";import"./useDictOptions.cc192734.js";import"./details.vue_vue_type_script_setup_true_name_storeOrderDETAILS_lang.ba9c6c3b.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";import"./delivery_service.dec17fe8.js";import"./warehouseEdit.vue_vue_type_script_setup_true_name_warehouseProductEdit_lang.1072b14b.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.1c4ad7f9.js";import"./store_product.67945300.js";import"./store_branch_product.15081d2c.js";import"./warehouse_product_storege.4ecd1622.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.ab7d6184.js";import"./warehouse.133a325d.js";import"./index.63ba074e.js";import"./warehouse_product.7a054e5c.js";import"./supplier.b4cdcdd3.js";const H=D({name:"purchaseOrderDetail"}),Me=D({...H,setup(Q){const c=I(),a=s({}),n=s("detail");(async()=>{const i=await N({id:c.query.id});a.value=i})();const d=s(null),f=s(null);s(null),s(null),s(null);const g=i=>{var m,o;i=="order"&&((m=d.value)==null||m.getLists()),i=="offer"&&((o=f.value)==null||o.getLists())},E=U({order_id:c.query.id}),{pager:C,getLists:y,resetParams:z,resetPage:J}=L({fetchFun:q,params:E});return y(),(i,m)=>{const o=O,h=R,l=T,v=V,_=k,B=x,F=w;return b(),$("div",null,[e(F,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[e(B,{modelValue:r(n),"onUpdate:modelValue":m[0]||(m[0]=P=>j(n)?n.value=P:null),class:"demo-tabs",onTabChange:g},{default:t(()=>[e(_,{label:"\u6982\u51B5",name:"detail"},{default:t(()=>[e(h,{class:"margin-top",column:4,border:""},{default:t(()=>[e(o,{span:4,label:"\u5355\u636E\u7F16\u53F7"},{default:t(()=>[u(p(r(a).order_id),1)]),_:1}),e(o,{span:2,label:"\u5355\u636E\u91D1\u989D"},{default:t(()=>[u(p(r(a).total),1)]),_:1}),e(o,{span:2,label:"\u5B9E\u9645\u91D1\u989D"},{default:t(()=>[u(p(r(a).actual),1)]),_:1}),e(o,{span:2,label:"\u5B9E\u6536\u91D1\u989D"},{default:t(()=>[u(p(r(a).money),1)]),_:1}),e(o,{label:"\u6240\u5C5E\u5546\u6237"},{default:t(()=>[u(p(r(a).system_store),1)]),_:1})]),_:1}),e(v,{data:r(C).lists,border:"",style:{width:"100%","margin-top":"20px"}},{default:t(()=>[e(l,{prop:"id",label:"ID",width:"120"}),e(l,{prop:"store_name",label:"\u5546\u54C1\u540D\u79F0"}),e(l,{prop:"unit_name",label:"\u5355\u4F4D"}),e(l,{prop:"store_info",label:"\u89C4\u683C"}),e(l,{prop:"need_num",label:"\u6570\u91CF"}),e(l,{prop:"price",label:"\u5355\u4EF7(\u5143)"}),e(l,{prop:"total_price",label:"\u603B\u4EF7"})]),_:1},8,
|