engineering/public/admin/assets/index.998055ee.js
2024-06-13 14:42:52 +08:00

2 lines
5.5 KiB
JavaScript

import{B as V,w as y,L,C as S,N,O as P,P as T}from"./element-plus.6d2d2999.js";import{_ as R}from"./index.vue_vue_type_script_setup_true_lang.09449d5c.js";import{_ as $}from"./index.vue_vue_type_script_setup_true_lang.6219fc0a.js";import{u as O}from"./usePaging.d22bd5fb.js";import{u as Q}from"./useDictOptions.8d7e96ad.js";import{f as j}from"./quotation.61c89cd7.js";import{a as I}from"./quotation_detail.55f6e564.js";import{d as v,r as h,a0 as M,a5 as U,o as u,c as z,V as e,M as a,O as G,u as o,L as f,S as H,a as w,k as J,T as b}from"./@vue.5673dc6e.js";import"./@vueuse.ae0833ee.js";import"./@element-plus.d30df31f.js";import"./lodash-es.5979d539.js";import"./dayjs.2ad434f4.js";import"./axios.36225696.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.1eb21f43.js";import"./lodash.a82e6f70.js";import"./vue-router.137bc04e.js";import"./pinia.dba679c5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.5db10a28.js";import"./color.71c30cc1.js";import"./clone.2ee3e1bd.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.6e76bada.js";import"./ms.a9ae1d6d.js";import"./nprogress.6e60475c.js";import"./vue-clipboard3.532e155c.js";import"./clipboard.7774a268.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.00aeb742.js";const K=b("\u67E5\u8BE2"),X=b("\u91CD\u7F6E"),Y={class:"mt-4"},Z={class:"flex mt-4 justify-end"},ee=v({name:"quotationDetailLists"}),Qe=v({...ee,setup(oe){const i=h(!1),n=M({quotation_id:""}),C=h([]),E=p=>{C.value=p.map(({id:l})=>l)},{dictData:F}=Q("tax_rate"),{pager:r,getLists:d,resetParams:D,resetPage:B}=O({fetchFun:I,params:n});return d(),(p,l)=>{const W=$,s=V,c=y,A=L,m=S,t=N,g=P,x=R,k=U("edit-popup"),q=T;return u(),z("div",null,[e(m,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[e(A,{class:"mb-[-16px]",model:n,inline:""},{default:a(()=>[e(s,{label:"\u62A5\u4EF7\u5355\u53F7",prop:"quotation_id"},{default:a(()=>[e(W,{formData:n,model:"quotation_id",api:o(j)},null,8,["formData","api"])]),_:1}),e(s,null,{default:a(()=>[e(c,{type:"primary",onClick:o(B)},{default:a(()=>[K]),_:1},8,["onClick"]),e(c,{onClick:o(D)},{default:a(()=>[X]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),G((u(),f(m,{class:"!border-none",shadow:"never"},{default:a(()=>[w("div",Y,[e(g,{border:"",data:o(r).lists,onSelectionChange:E},{default:a(()=>[e(t,{type:"selection",width:"55"}),e(t,{label:"\u5E8F\u53F7",type:"index",width:"55"}),e(t,{"render-header":o(r).calcWidth,label:"\u62A5\u4EF7\u5355\u53F7",prop:"quotation_code"},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u5BA2\u6237\u540D\u79F0",prop:"custom_name"},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u5236\u5355\u4EBA",prop:"quotation_create_user","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u62A5\u4EF7\u65E5\u671F",prop:"quotation_date","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u4EA7\u54C1\u7C7B\u522B",prop:"product_first_level_name","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u4EA7\u54C1\u4E2D\u7C7B",prop:"product_second_level_name","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u4EA7\u54C1\u5C0F\u7C7B",prop:"product_three_level_name","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u4EA7\u54C1\u540D\u79F0",prop:"product_name"},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u4EA7\u54C1\u7F16\u7801",prop:"product_code"},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u89C4\u683C\u578B\u53F7",prop:"product_specs","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u54C1\u724C",prop:"product_brand","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{prop:"product_parameter_description","show-overflow-tooltip":""}),e(t,{"render-header":o(r).calcWidth,label:"\u5355\u4F4D",prop:"product_unit","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u6570\u91CF",prop:"num","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u7A0E\u7387",prop:"tax_rate","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u542B\u7A0E\u5355\u4EF7",prop:"tax_inclusive_price","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u4E0D\u542B\u7A0E\u91D1\u989D",width:94,prop:"tax_exclusive_amount","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u542B\u7A0E\u91D1\u989D",prop:"tax_inclusive_amount","show-overflow-tooltip":""},null,8,["render-header"]),e(t,{"render-header":o(r).calcWidth,label:"\u521B\u5EFA\u65E5\u671F",prop:"create_time","show-overflow-tooltip":""},null,8,["render-header"])]),_:1},8,["data"])]),w("div",Z,[e(x,{modelValue:o(r),"onUpdate:modelValue":l[0]||(l[0]=_=>J(r)?r.value=_:null),onChange:o(d)},null,8,["modelValue","onChange"])])]),_:1})),[[q,o(r).loading]]),i.value?(u(),f(k,{key:0,ref:"editRef","dict-data":o(F),onSuccess:o(d),onClose:l[1]||(l[1]=_=>i.value=!1)},null,8,["dict-data","onSuccess"])):H("",!0)])}}});export{Qe as default};