engineering/public/admin/assets/edit.7c9f365c.js
2024-03-04 15:04:21 +08:00

2 lines
3.0 KiB
JavaScript

import{P as _}from"./index.9492d03b.js";import{I as V,y as c,G as b,H as D,D as k}from"./element-plus.258bf9e7.js";import{_ as C}from"./index.ec401e3b.js";import{o as p,c as i,V as l,M as a,W as E,a8 as U,L as v}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.1d82ee7c.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const I={},q={class:"edit-popup"};function w(o,t){const m=V,r=c,d=b,n=D,u=k,s=_;return p(),i("div",q,[l(s,{ref:"popupRef",title:o.popupTitle,async:!0,width:"550px",onConfirm:o.handleSubmit,onClose:o.handleClose},{default:a(()=>[l(u,{ref:"formRef",model:o.formData,"label-width":"90px",rules:o.formRules},{default:a(()=>[l(r,{label:"\u62A5\u4EF7\u5355id",prop:"quotation_id"},{default:a(()=>[l(m,{modelValue:o.formData.quotation_id,"onUpdate:modelValue":t[0]||(t[0]=e=>o.formData.quotation_id=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u62A5\u4EF7\u5355id"},null,8,["modelValue"])]),_:1}),l(r,{label:"\u4EA7\u54C1id",prop:"product_id"},{default:a(()=>[l(m,{modelValue:o.formData.product_id,"onUpdate:modelValue":t[1]||(t[1]=e=>o.formData.product_id=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EA7\u54C1id"},null,8,["modelValue"])]),_:1}),l(r,{label:"\u4EA7\u54C1\u6570\u91CF",prop:"product_num"},{default:a(()=>[l(m,{modelValue:o.formData.product_num,"onUpdate:modelValue":t[2]||(t[2]=e=>o.formData.product_num=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EA7\u54C1\u6570\u91CF"},null,8,["modelValue"])]),_:1}),l(r,{label:"\u7A0E\u7387",prop:"tax_rate"},{default:a(()=>[l(n,{class:"flex-1",modelValue:o.formData.tax_rate,"onUpdate:modelValue":t[3]||(t[3]=e=>o.formData.tax_rate=e),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u7A0E\u7387"},{default:a(()=>[(p(!0),i(E,null,U(o.dictData.tax_rate,(e,f)=>(p(),v(d,{key:f,label:e.name,value:parseInt(e.value)},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[l(m,{modelValue:o.formData.remark,"onUpdate:modelValue":t[4]||(t[4]=e=>o.formData.remark=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","onConfirm","onClose"])])}const po=C(I,[["render",w]]);export{po as default};