1 |
- import{_ as b,d as E,w as m,o as C,c as O,j as e,C as l,l as u,az as c,aA as _,a6 as B,aB as T,aC as A,aD as d,aE as v,aF as s,aG as V,aH as g,aI as p,h as j,aJ as y,M as w,aK as x}from"./index.js";import{B as k}from"./basic-descriptions.d643872c.js";import{u as I}from"./useDetail.107d918b.js";const h=[{label:"\u5904\u7406\u7F16\u53F7",field:"TODO",span:6},{label:"\u53D1\u7968\u660E\u7EC6ID",field:"TODO",span:6},{label:"\u4E1A\u52A1\u7F16\u53F7",field:"TODO",span:6},{label:"\u5546\u54C1\u7F16\u53F7",field:"TODO",span:6},{label:"\u5546\u54C1\u540D\u79F0",field:"TODO",span:6},{label:"\u5546\u54C1\u6570\u91CF",field:"TODO",span:6},{label:"\u7A0E\u524D\u5355\u4EF7",field:"TODO",span:6},{label:"\u7A0E\u540E\u5355\u4EF7",field:"TODO",span:6},{label:"\u51FA\u5E93\u91D1\u989D",field:"TODO",span:6},{label:"\u72B6\u6001",field:"TODO"},{label:"\u5206\u5149",field:"TODO",span:6},{label:"\u521B\u5EFA\u4EBA",field:"TODO",span:6},{label:"\u521B\u5EFA\u65F6\u95F4",field:"TODO",span:6}],N={class:"padding__container"},U={class:"flex w-full justify-end"},R=E({__name:"detail",setup(q){const{id:z,isDetail:S,title:r,collapses:n}=I({baseName:"\u8BA1\u63D0\u660E\u7EC6\u5904\u7406",collapseLen:2}),f=m(null),D={isToAdjust:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6DFB\u52A0\u81F3\u8C03\u6574\u5355",trigger:"change"}],amount:[{required:!0,message:"\u8BF7\u8F93\u5165\u8C03\u6574\u91D1\u989D",trigger:"change"}]},t=m({isToAdjust:"",amount:""});async function F(){var i;try{await((i=f.value)==null?void 0:i.validate())}catch{}}return(i,a)=>(C(),O("div",N,[e(u(x),null,{default:l(()=>[e(u(c),{label:u(r)},{default:l(()=>[e(u(_),{modelValue:u(n),"onUpdate:modelValue":a[2]||(a[2]=o=>B(n)?n.value=o:null)},{default:l(()=>[e(u(T),{title:u(r),name:"1"},{default:l(()=>[e(u(A),{"label-width":"140px",model:t.value,ref_key:"formRef",ref:f,rules:D},{default:l(()=>[e(u(d),{label:"\u8BA1\u63D0\u660E\u7EC6"},{default:l(()=>[e(u(k),{style:{width:"100%"},columns:u(h),data:{}},null,8,["columns"])]),_:1}),e(u(d),{label:"\u5173\u8054\u51ED\u8BC1"},{default:l(()=>[e(u(v),{size:"small",border:""},{default:l(()=>[e(u(s),{label:"\u51ED\u8BC1\u7F16\u53F7"}),e(u(s),{label:"\u5546\u54C1\u7F16\u53F7"}),e(u(s),{label:"\u5546\u54C1\u540D\u79F0"}),e(u(s),{label:"\u8D26\u9762\u6570\u91CF"}),e(u(s),{label:"\u76EE\u6807\u5546\u54C1\u6BD4\u4F8B"}),e(u(s),{label:"\u5173\u8054\u6570\u91CF"}),e(u(s),{label:"\u7A0E\u524D\u5355\u4EF7"}),e(u(s),{label:"\u7A0E\u540E\u5355\u4EF7"})]),_:1})]),_:1}),e(u(d),{label:"\u8C03\u6574\u91D1\u989D",prop:"amount"},{default:l(()=>[e(u(V),{modelValue:t.value.amount,"onUpdate:modelValue":a[0]||(a[0]=o=>t.value.amount=o),placeholder:"\u8C03\u6574\u91D1\u989D",disabled:""},null,8,["modelValue"])]),_:1}),e(u(d),{label:"\u6DFB\u52A0\u81F3\u8C03\u6574\u5355",prop:"isToAdjust"},{default:l(()=>[e(u(g),{modelValue:t.value.isToAdjust,"onUpdate:modelValue":a[1]||(a[1]=o=>t.value.isToAdjust=o),placeholder:"\u6DFB\u52A0\u81F3\u8C03\u6574\u5355"},{default:l(()=>[e(u(p),{label:"\u662F",value:"1"}),e(u(p),{label:"\u5426",value:"0"})]),_:1},8,["modelValue"])]),_:1}),j("div",U,[e(u(y),{type:"primary",onClick:F},{default:l(()=>a[3]||(a[3]=[w("\u4FDD\u5B58")])),_:1})])]),_:1},8,["model"])]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})]))}});var K=b(R,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/provisionOut/detail.vue"]]);export{K as default};
|