ERP-admin/build/admin/assets/detail.f3f0af3c.js

2 lines
5.6 KiB
JavaScript
Raw Normal View History

2024-05-30 16:04:01 +08:00
import{W as L,X as O,x as T,y as x,O as $,Q as w,T as V}from"./element-plus.681b9893.js";import{u as G}from"./usePaging.6a6670f9.js";import{s as q,v as N}from"./index.0c8416f0.js";import{u as I}from"./vue-router.101084e3.js";import{_ as U}from"./subOrder.vue_vue_type_script_setup_true_name_subOrder_lang.49a3cd53.js";import{_ as j}from"./goodsOffer.vue_vue_type_script_setup_true_name_subOrder_lang.cf4f7154.js";import{_ as Q}from"./noPush.vue_vue_type_script_setup_true_name_subOrder_lang.3fc8bd2d.js";import{_ as W}from"./putStorage.vue_vue_type_script_setup_true_name_subOrder_lang.38e00367.js";import{_ as X}from"./outStorage.vue_vue_type_script_setup_true_name_subOrder_lang.8e08b4ab.js";import{d as R,r as i,Z,o as b,c as g,U as t,L as e,u as r,j as z,R as m,S as n}from"./@vue.18505fe0.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.a6528143.js";import"./@babel.16688d44.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.466e9fe4.js";import"./axios.4905d81f.js";import"./jspdf.54afd842.js";import"./fflate.fca59393.js";import"./pinia.a969beab.js";import"./css-color-function.29b71fa4.js";import"./color.87d313dc.js";import"./clone.a63396d9.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"./vue-plugin-hiprint.a2d84e76.js";import"./jquery.c3f97e49.js";import"./jsbarcode.39151b53.js";import"./socket.io-client.0b5a7289.js";import"./engine.io-client.81030771.js";import"./engine.io-parser.c748e159.js";import"./@socket.io.77accf6a.js";import"./debug.b392f131.js";import"./socket.io-parser.b7256298.js";import"./html2canvas.0f5947bc.js";import"./canvg.a673c4b2.js";import"./core-js.97b94d69.js";import"./raf.407ad6ad.js";import"./performance-now.a710f6e4.js";import"./rgbcolor.20c71161.js";import"./svg-pathdata.eba17832.js";import"./stackblur-canvas.0fb5df18.js";import"./nprogress.3461658b.js";import"./vue-clipboard3.c63182fd.js";import"./clipboard.dd2c63d0.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.vue_vue_type_script_setup_true_lang.58d80c54.js";import"./useDictOptions.b307efcf.js";import"./detail.vue_vue_type_script_setup_true_name_brandEdit_lang.adc91481.js";import"./index.vue_vue_type_script_setup_true_lang.2914ee54.js";import"./index.a7179cc9.js";import"./cashierinfo.48c49872.js";import"./cashierclass.284635b4.js";import"./index.vue_vue_type_script_setup_true_name_brandEdit_lang.0cd2638e.js";const H={key:1},J=R({name:"opurchaseclassDetail"}),fe=R({...J,setup(K){const D=I(),s=i({}),_=i("detail");(async()=>{const u=await q({id:D.query.id});s.value=u})();const E=i(null),h=i(null),v=i(null),B=i(null),F=i(null),C=u=>{var l,a,f,o,d;u=="order"&&((l=E.value)==null||l.getLists()),u=="offer"&&((a=h.value)==null||a.getLists()),u=="notPushedGoods"&&((f=v.value)==null||f.getLists()),u=="putStorage"&&((o=B.value)==null||o.getLists()),u=="outStorage"&&((d=F.value)==null||d.getLists())},y=Z({id:D.query.id}),{pager:P,getLists:k,resetParams:Y,resetPage:tt}=G({fetchFun:N,params:y});return k(),(u,l)=>{const a=L,f=O,o=$,d=w,p=T,A=x,S=V;return b(),g("div",null,[t(S,{class:"!border-none mb-4",shadow:"never"},{default:e(()=>[t(A,{modelValue:r(_),"onUpdate:modelValue":l[1]||(l[1]=c=>z(_)?_.value=c:null),class:"demo-tabs",onTabChange:C},{default:e(()=>[t(p,{label:"\u6982\u51B5",name:"detail"},{default:e(()=>[t(f,{class:"margin-top",column:4,border:""},{default:e(()=>[t(a,{span:4,label:"\u5355\u636E\u7F16\u53F7"},{default:e(()=>[m(n(r(s).number),1)]),_:1}),t(a,{span:2,label:"\u5355\u636E\u91D1\u989D"},{default:e(()=>[m(n(r(s).total),1)]),_:1}),t(a,{span:2,label:"\u62B5\u6263\u91D1\u989D"},{default:e(()=>[m(n(r(s).deduction_price),1)]),_:1}),t(a,{span:2,label:"\u5B9E\u9645\u91D1\u989D"},{default:e(()=>[m(n(r(s).actual),1)]),_:1}),t