index.38882c18.js 18 KB

1
  1. import{aj as T,aF as Y,_ as j,d as $,af as ne,o as d,N as g,u as r,x as f,c as z,b as Q,y as e,K as u,W as h,T as q,a as A,aS as ce,E as x,b8 as se,a7 as me,aA as re,M as G,L as H,O as K,b5 as fe,a5 as ve,H as J,aD as X,c0 as Z,b4 as ee,aE as ye,bk as ge}from"./index.1417328f.js";import{b as he,c as be}from"./index.08fe6875.js";import{B as Ee}from"./basic-descriptions.cadaf928.js";import{c as ue}from"./tootip.8c37fa8a.js";import{C as Fe}from"./status.0f757cb5.js";import{b as W,s as le,c as ae}from"./status.727086c1.js";const oe=[{field:"payNo",label:"\u5BF9\u8D26\u5355\u53F7",span:6},{field:"status",label:"\u5BF9\u8D26\u72B6\u6001",render(o){return T(Y,null,{default:()=>{var p;return(p=Ce.find(y=>y.value===String(o)))==null?void 0:p.label}})}},{field:"apply_name",label:"\u7533\u8BF7\u4EBA",span:6},{field:"addtime",label:"\u521B\u5EFA\u65F6\u95F4",span:6},{field:"supplierName",label:"\u5356\u51FA\u65B9\u516C\u53F8",span:12,render:(o,{supplierNo:p})=>ue(o,"\u5356\u51FA\u65B9\u516C\u53F8\u7F16\u53F7 : "+p,270)},{field:"companyName",label:"\u4E70\u5165\u65B9\u516C\u53F8",span:12,render:(o,{companyNo:p})=>ue(o,"\u4E70\u5165\u65B9\u516C\u53F8\u7F16\u53F7 : "+p,270)},{field:"pay_status",label:"\u4ED8\u6B3E\u72B6\u6001",render(o){return T(Y,null,{default:()=>{var p;return(p=De.find(y=>y.value===String(o)))==null?void 0:p.label}})}},{field:"apay_fee",label:"\u5DF2\u4ED8\u6B3E"},{field:"pay_fee",label:"\u4ED8\u6B3E\u4E2D"},{field:"wpay_fee",label:"\u672A\u4ED8\u6B3E"},{field:"inv_status",label:"\u5F00\u7968\u72B6\u6001",render(o){return T(Y,null,{default:()=>{var p;return(p=_e.find(y=>y.value===String(o)))==null?void 0:p.label}})}},{field:"ainv_fee",label:"\u5DF2\u5F00\u7968"},{field:"inv_fee",label:"\u5F00\u7968\u4E2D"},{field:"winv_fee",label:"\u672A\u5F00\u7968"},{field:"total_fee",label:"\u5BF9\u8D26\u603B\u989D"},{field:"remark",span:18,label:"\u5907\u6CE8"}],Ce=[{label:"\u4E70\u65B9\u516C\u53F8\u4E1A\u52A1\u5BA1\u6838",value:"1"},{label:"\u5BF9\u8D26\u6210\u529F",value:"2"},{label:"\u5BF9\u8D26\u9A73\u56DE",value:"3"},{label:"\u5DF2\u64A4\u9500\u5BF9\u8D26",value:"4"}],De=[{value:"1",label:"\u672A\u4ED8\u6B3E"},{value:"2",label:"\u90E8\u5206\u4ED8\u6B3E"},{value:"3",label:"\u5DF2\u4ED8\u6B3E"}],_e=[{value:"1",label:"\u672A\u5F00\u7968"},{value:"2",label:"\u5F00\u7968\u4E2D"},{value:"3",label:"\u5DF2\u5F00\u7968"}],we=$({__name:"purchase-descriptions",props:{data:{type:Object,required:!0},isPurchPay:{type:Boolean,required:!1}},setup(o){const p=o,y=["inv_status","remark","ainv_fee","inv_fee","winv_fee","inv_tag_fee"],C=ne(()=>p.isPurchPay?oe.filter(D=>!y.includes(D.field)):oe);return(D,_)=>(d(),g(r(Ee),{data:o.data,columns:r(C)},null,8,["data","columns"]))}});var Be=j(we,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/components/ReconciliationForm/src/cpns/purchase-descriptions.vue"]]);const Pe={flex:"","justify-between":"","w-full":"","mb-1":""},Ne=h("\u6DFB\u52A0\u91C7\u8D2D\u5355"),Ae=h("\u5220\u9664"),xe=$({__name:"purchase-table",props:{companyNo:{type:String,required:!1},supplierNo:{type:String,required:!1},purchaseOrders:{type:null,required:!0},readonly:{type:Boolean,required:!0},isPurchPay:{type:Boolean,required:!1}},emits:["delete","choose","display-modal"],setup(o,{emit:p}){const y=o,C=[{value:"1",label:"\u672A\u5165\u5E93",type:"warning"},{value:"2",label:"\u90E8\u5206\u5165\u5E93",type:"primary"},{value:"3",label:"\u5168\u90E8\u5165\u5E93",type:"success"}],D=ne(()=>y.purchaseOrders.length);function _(){const{supplierNo:c,companyNo:k}=y;if(!c||!k)return ce.warning("\u8BF7\u9009\u62E9\u4F9B\u5E94\u5546\u548C\u4E1A\u52A1\u516C\u53F8");p("display-modal",{supplierNo:c,companyNo:k})}return(c,k)=>{const F=f("ElTag"),O=f("ElButton"),l=f("ElTableColumn"),E=f("ElTable");return d(),z("div",null,[Q("div",Pe,[e(F,{type:"warning"},{default:u(()=>[h("\u5171\u8BA1:"+q(r(D))+"\u4E2A\u8BA2\u5355",1)]),_:1}),!o.readonly&&!o.isPurchPay?(d(),g(O,{key:0,type:"primary",onClick:_},{default:u(()=>[Ne]),_:1})):A("v-if",!0)]),e(E,{ref:"tableRef","row-key":"id",size:"small",data:o.purchaseOrders,"max-height":"400"},{default:u(()=>[e(l,{label:"\u91C7\u8D2D\u5355\u7F16\u53F7",prop:"sequenceNo",width:"150","show-overflow-tooltip":""}),e(l,{label:"\u786E\u8BA4\u5355\u7F16\u53F7",prop:"qrdCode",width:"150"}),e(l,{label:"\u91C7\u8D2D\u4E3B\u5355\u53F7",prop:"cxCode",width:"150"}),e(l,{label:"\u91C7\u8D2D\u5355\u4FE1\u606F"},{default:u(()=>[e(l,{label:"\u4F9B\u8D27\u5546",prop:"supplierName","min-width":"160","show-overflow-tooltip":""}),e(l,{label:"\u72B6\u6001",prop:"sendStatus",width:"90","show-overflow-tooltip":""},{default:u(({row:v})=>[e(F,null,{default:u(()=>{var b;return[h(q((b=C.find(P=>P.value===String(v.sendStatus)))==null?void 0:b.label),1)]}),_:2},1024)]),_:1}),e(l,{label:"\u4E1A\u52A1\u516C\u53F8",prop:"companyName","min-width":"180","show-overflow-tooltip":""}),e(l,{label:"\u8BA2\u5355\u6765\u6E90",prop:"cgdSource",width:"100","show-overflow-tooltip":""},{default:u(({row:v})=>[e(F,null,{default:u(()=>{var b;return[h(q((b=r(Fe).find(P=>P.value===v.cgdSource))==null?void 0:b.label),1)]}),_:2},1024)]),_:1}),e(l,{label:"\u603B\u8D27\u6B3E",prop:"totalPrice",width:"80","show-overflow-tooltip":""})]),_:1}),e(l,{label:"\u5546\u54C1\u4FE1\u606F"},{default:u(()=>[e(l,{label:"\u5546\u54C1\u7F16\u53F7",prop:"goodNo",width:"140","show-overflow-tooltip":""}),e(l,{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",width:"180","show-overflow-tooltip":""}),e(l,{label:"\u5546\u54C1\u5355\u4EF7",prop:"goodPrice","show-overflow-tooltip":""}),e(l,{label:"\u5546\u54C1\u6765\u6E90",prop:"cgdType",width:"90","show-overflow-tooltip":""},{default:u(({row:v})=>[e(F,null,{default:u(()=>{var b;return[h(q((b=r(W).find(P=>P.value===String(v.cgdType)))==null?void 0:b.label),1)]}),_:2},1024)]),_:1}),e(l,{label:"\u5546\u54C1\u6570\u91CF",prop:"goodNum",width:"90","show-overflow-tooltip":""}),e(l,{label:"\u7A0E\u7387",prop:"tax","show-overflow-tooltip":""},{default:u(({row:v})=>[h(q(v.tax)+"% ",1)]),_:1})]),_:1}),e(l,{label:"\u91C7\u8D2D\u5458",prop:"ownerName",width:"75","show-overflow-tooltip":""}),o.readonly?A("v-if",!0):(d(),g(l,{key:0,label:"\u64CD\u4F5C",fixed:"right"},{default:u(({$index:v})=>[e(O,{link:"",type:"primary",onClick:()=>p("delete",v)},{default:u(()=>[Ae]),_:2},1032,["onClick"])]),_:1}))]),_:1},8,["data"])])}}});var te=j(xe,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/components/ReconciliationForm/src/cpns/purchase-table.vue"]]);const ke={"w-full":"",flex:"","justify-between":""},Se=h("\u641C\u7D22"),Ve=h("\u91CD\u7F6E"),qe={flex:"","mt-2":"","justify-between":""},ze=h("\u4FDD\u5B58"),Oe=$({__name:"purchase-modal",emits:["pushOrder"],setup(o,{expose:p,emit:y}){const C=x({supplierNo:"",companyNo:""}),D=x(!1),_=x([]),c=x(null),{data:k,loading:F,run:O}=se({isList:!0,success:B=>E.total=B.count}),l=x({timer:[],qrdCode:"",sequenceNo:"",cxCode:"",goodNo:"",goodName:"",cgder:"",sendstatus:"",cgdsource:"",cgdtype:"",code:""}),E=me({pageSize:15,currentPage:1,total:0});async function v(){F.value=!0;const{companyNo:B,supplierNo:n}=C.value,{currentPage:R,pageSize:t}=E,{timer:s,...m}=l.value,w={...m,start:s[0],end:s[1],status:"0",supplierNo:n,companyNo:B,page:R,size:t};O(he(w))}function b(){E.currentPage=1,l.value={timer:[],sequenceNo:"",goodNo:"",goodName:"",cgder:"",cxCode:"",sendstatus:"",cgdsource:"",cgdtype:"",code:"",qrdCode:""},v()}function P(B){_.value=B}function I(){D.value=!1,y("pushOrder",r(_))}const M=()=>{E.currentPage=1,v()};return p({onDisplay:B=>{l.value={timer:[],qrdCode:"",sequenceNo:"",cxCode:"",goodNo:"",goodName:"",cgder:"",sendstatus:"",cgdsource:"",cgdtype:"",code:""},D.value=!0,C.value=B}}),(B,n)=>{const R=f("ElDatePicker"),t=f("ElCol"),s=f("ElInput"),m=f("ElRow"),w=f("ElOption"),N=f("ElSelect"),S=f("ElButton"),i=f("ElTableColumn"),L=f("ElTag"),de=f("ElPagination"),ie=f("ElDialog"),pe=re("loading");return d(),g(ie,{modelValue:D.value,"onUpdate:modelValue":n[13]||(n[13]=a=>D.value=a),title:"\u9009\u62E9\u91C7\u8D2D\u5546\u54C1",center:"","destroy-on-close":"",width:"1040px",onOpen:v},{default:u(()=>[e(m,{gutter:5,"mb-1":""},{default:u(()=>[e(t,{span:6},{default:u(()=>[e(R,{size:"small",type:"daterange",modelValue:l.value.timer,"onUpdate:modelValue":n[0]||(n[0]=a=>l.value.timer=a),"start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4","value-format":"YYYY-MM-DD",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(t,{span:6},{default:u(()=>[e(s,{size:"small",placeholder:"\u91C7\u8D2D\u5355\u7F16\u53F7",modelValue:l.value.sequenceNo,"onUpdate:modelValue":n[1]||(n[1]=a=>l.value.sequenceNo=a)},null,8,["modelValue"])]),_:1}),e(t,{span:6},{default:u(()=>[e(s,{size:"small",placeholder:"\u91C7\u8D2D\u4E3B\u5355\u7F16\u53F7",modelValue:l.value.cxCode,"onUpdate:modelValue":n[2]||(n[2]=a=>l.value.cxCode=a)},null,8,["modelValue"])]),_:1}),e(t,{span:6},{default:u(()=>[e(s,{size:"small",placeholder:"\u786E\u8BA4\u5355\u7F16\u53F7",modelValue:l.value.qrdCode,"onUpdate:modelValue":n[3]||(n[3]=a=>l.value.qrdCode=a)},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{gutter:5,"mb-2":""},{default:u(()=>[e(t,{span:6},{default:u(()=>[e(s,{size:"small",placeholder:"\u5546\u54C1\u7F16\u53F7",modelValue:l.value.goodNo,"onUpdate:modelValue":n[4]||(n[4]=a=>l.value.goodNo=a)},null,8,["modelValue"])]),_:1}),e(t,{span:6},{default:u(()=>[e(s,{size:"small",placeholder:"\u5546\u54C1\u540D\u79F0",modelValue:l.value.goodName,"onUpdate:modelValue":n[5]||(n[5]=a=>l.value.goodName=a)},null,8,["modelValue"])]),_:1}),e(t,{span:6},{default:u(()=>[e(s,{size:"small",placeholder:"\u91C7\u8D2D\u5458\u540D\u79F0",modelValue:l.value.cgder,"onUpdate:modelValue":n[6]||(n[6]=a=>l.value.cgder=a)},null,8,["modelValue"])]),_:1}),e(t,{span:6},{default:u(()=>[e(N,{placeholder:"\u53D1\u8D27\u72B6\u6001",modelValue:l.value.sendstatus,"onUpdate:modelValue":n[7]||(n[7]=a=>l.value.sendstatus=a),size:"small",clearable:"","w-full":""},{default:u(()=>[(d(!0),z(H,null,G(r(le),a=>(d(),g(w,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(m,{"mb-2":""},{default:u(()=>[Q("div",ke,[e(t,{span:12,style:{display:"flex",gap:"10px"}},{default:u(()=>[e(N,{modelValue:l.value.cgdsource,"onUpdate:modelValue":n[8]||(n[8]=a=>l.value.cgdsource=a),size:"small",placeholder:"\u8BA2\u5355\u6765\u6E90",clearable:"","w-full":""},{default:u(()=>[(d(!0),z(H,null,G(r(ae),a=>(d(),g(w,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e(N,{modelValue:l.value.cgdtype,"onUpdate:modelValue":n[9]||(n[9]=a=>l.value.cgdtype=a),size:"small","w-full":"",placeholder:"\u5546\u54C1\u6765\u6E90",clearable:""},{default:u(()=>[(d(!0),z(H,null,G(r(W),a=>(d(),g(w,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(t,{span:3},{default:u(()=>[e(S,{size:"small",onClick:v,type:"primary"},{default:u(()=>[Se]),_:1}),e(S,{size:"small",onClick:b},{default:u(()=>[Ve]),_:1})]),_:1})])]),_:1}),K((d(),g(r(fe),{ref_key:"tableRef",ref:c,size:"small",data:r(k),onSelectionChange:P,"max-height":"580px"},{default:u(()=>[e(i,{type:"selection",width:"55"}),e(i,{label:"\u91C7\u8D2D\u5355\u7F16\u53F7",prop:"sequenceNo",width:"150"}),e(i,{label:"\u91C7\u8D2D\u4E3B\u5355\u7F16\u53F7",prop:"cxCode",width:"150"}),e(i,{label:"\u786E\u8BA4\u5355\u7F16\u53F7",prop:"qrdCode",width:"150"}),e(i,{label:"\u91C7\u8D2D\u5355\u4FE1\u606F"},{default:u(()=>[e(i,{label:"\u4F9B\u8D27\u5546",prop:"supplierName",width:"160","show-overflow-tooltip":""}),e(i,{label:"\u53D1\u8D27\u72B6\u6001",prop:"sendStatus",width:"90","show-overflow-tooltip":""},{default:u(({row:a})=>[e(L,null,{default:u(()=>{var V;return[h(q((V=r(le).find(U=>U.value===String(a.sendStatus)))==null?void 0:V.label),1)]}),_:2},1024)]),_:1}),e(i,{label:"\u4E1A\u52A1\u516C\u53F8",prop:"companyName",width:"180","show-overflow-tooltip":""}),e(i,{label:"\u8BA2\u5355\u6765\u6E90",prop:"cgdSource",width:"100","show-overflow-tooltip":""},{default:u(({row:a})=>[e(L,null,{default:u(()=>{var V;return[h(q((V=r(ae).find(U=>U.value===String(a.cgdSource)))==null?void 0:V.label),1)]}),_:2},1024)]),_:1}),e(i,{label:"\u603B\u8D27\u6B3E",prop:"totalPrice",width:"80","show-overflow-tooltip":""})]),_:1}),e(i,{label:"\u5546\u54C1\u4FE1\u606F"},{default:u(()=>[e(i,{label:"\u5546\u54C1\u7F16\u53F7",prop:"goodNo",width:"140","show-overflow-tooltip":""}),e(i,{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",width:"180","show-overflow-tooltip":""}),e(i,{label:"\u5546\u54C1\u6765\u6E90",prop:"cgdType",width:"90","show-overflow-tooltip":""},{default:u(({row:a})=>[e(L,null,{default:u(()=>{var V;return[h(q((V=r(W).find(U=>U.value===String(a.cgdType)))==null?void 0:V.label),1)]}),_:2},1024)]),_:1}),e(i,{label:"\u5546\u54C1\u6570\u91CF",prop:"goodNum",width:"90","show-overflow-tooltip":""})]),_:1}),e(i,{label:"\u91C7\u8D2D\u5458",prop:"ownerName",width:"75","show-overflow-tooltip":""})]),_:1},8,["data"])),[[pe,r(F)]]),A(" \u5206\u9875\u5668 "),Q("div",qe,[e(de,{"current-page":E.currentPage,"onUpdate:current-page":n[10]||(n[10]=a=>E.currentPage=a),"page-size":E.pageSize,"onUpdate:page-size":n[11]||(n[11]=a=>E.pageSize=a),total:E.total,"page-sizes":[15,50,100],layout:"sizes, prev, pager, next",onCurrentChange:v,onSizeChange:n[12]||(n[12]=()=>M())},null,8,["current-page","page-size","total"]),e(S,{type:"primary",onClick:I},{default:u(()=>[ze]),_:1})])]),_:1},8,["modelValue"])}}});var Te=j(Oe,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/components/ReconciliationForm/src/cpns/purchase-modal.vue"]]);const Re={cids:{required:!0,trigger:"change",message:"\u8BF7\u6DFB\u52A0\u91C7\u8D2D\u5355\u4FE1\u606F"},companyNo:{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u4E1A\u52A1\u516C\u53F8"},supplierNo:{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u4F9B\u5E94\u5546"}},Ue={class:"w-full"},Ie={key:0,class:"w-full flex justify-end"},je=h("\u9009\u62E9"),$e={key:0,flex:"","gap-10":""},Me={key:0,class:"flex w-full justify-end"},Le=h("\u4FDD\u5B58"),Ye=$({__name:"index",props:{id:{type:String,required:!1},readonly:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},isPurchPay:{type:Boolean,required:!1},isPurch:{type:Boolean,required:!1}},emits:["create","choose"],setup(o,{expose:p,emit:y}){const C=o,D=["QS2206011447553544","QS2203150147013805"],{currentCompany:_}=ve(),c=x({companyNo:"",supplierNo:"",companyItem:{},cids:[]}),k=x(null),F=x([]),O=x(null),{data:l,loading:E,run:v}=se({initalData:{},success:function(t){b(t.cgdlist)}});function b(t){if(!!t)for(let s=0;s<t.length;s++){const m=t[s];c.value.cids.includes(m.id)||(F.value.push(m),c.value.cids.push(m.id))}}function P({supplierNo:t,companyNo:s}){O.value.onDisplay({supplierNo:t,companyNo:s})}function I(t){F.value.splice(t,1),c.value.cids.splice(t,1)}function M(t){c.value.companyItem=t}function B(){const{companyItem:t,companyNo:s}=c.value;if(!C.isPurch&&s&&D.includes(s)){const{name:m}=t;ge({title:"\u63D0\u793A",type:"warning",message:T("p",null,[T("span",null,"\u516C\u53F8 "),T("strong",null,m),T("span",null," \u53EA\u80FD\u4ECE\u4E70\u5165\u83DC\u5355\u5BF9\u8D26")]),boxType:"confirm"});return}k.value.validate(m=>m&&y("create",r(c)))}const n=()=>v(be({payNo:C.id})),R=t=>{const{code:s,name:m,type:w}=t,S=w==="3"||w==="\u4E1A\u52A1\u516C\u53F8"?"(\u5DF2\u5347\u7EA7\u4E3A\u4E1A\u52A1\u516C\u53F8)":"";return s+" / "+m+S};return J(()=>C.id,t=>t&&n(),{immediate:!0}),J(()=>_.value,({companyNo:t})=>{c.value[C.isPurch?"companyNo":"supplierNo"]=t},{immediate:!0}),p({detail:l,refresh:()=>n()}),(t,s)=>{const m=f("ElButton"),w=f("ElInput"),N=f("ElFormItem"),S=re("loading");return K((d(),z("div",Ue,[o.isPurchPay?(d(),z("div",Ie,[e(m,{text:"",type:"primary",onClick:s[0]||(s[0]=()=>y("choose"))},{default:u(()=>[je]),_:1})])):A("v-if",!0),o.readonly?(d(),g(Be,{key:1,isPurchPay:o.isPurchPay,data:r(l)},null,8,["isPurchPay","data"])):A("v-if",!0),o.isPurchPay?A("v-if",!0):K((d(),g(r(ye),{key:2,class:"w-full",ref_key:"formRef",ref:k,model:c.value,rules:r(Re)},{default:u(()=>[o.readonly?A("v-if",!0):(d(),z("div",$e,[e(N,{label:"\u4E70\u65B9\u516C\u53F8",prop:"companyNo"},{default:u(()=>[o.isPurch?(d(),g(w,{key:1,style:{width:"300px"},value:r(_).companyName,disabled:""},null,8,["value"])):(d(),g(r(X),{key:0,value:c.value.companyNo,"onUpdate:value":s[1]||(s[1]=i=>c.value.companyNo=i),"is-root":"",style:{width:"386px"},api:r(Z),placeholder:"\u8BF7\u9009\u62E9\u4E1A\u52A1\u516C\u53F8","request-prop":"name","response-label-prop":"name","response-val-prop":"code","disabled-value":r(_).companyNo,getLabel:R,onItemChange:M},null,8,["value","api","disabled-value"]))]),_:1}),e(N,{label:"\u5356\u65B9\u516C\u53F8",prop:"supplierNo"},{default:u(()=>[o.isPurch?(d(),g(r(X),{key:1,value:c.value.supplierNo,"onUpdate:value":s[2]||(s[2]=i=>c.value.supplierNo=i),"is-root":"",style:{width:"386px"},api:r(Z),placeholder:"\u8BF7\u9009\u62E9\u4E1A\u52A1\u516C\u53F8","request-prop":"name","response-label-prop":"name","response-val-prop":"code","disabled-value":r(_).companyNo,getLabel:R},null,8,["value","api","disabled-value"])):(d(),g(w,{key:0,style:{width:"300px"},value:r(_).companyName,disabled:""},null,8,["value"]))]),_:1})])),e(N,{label:o.readonly?"":"\u91C7\u8D2D\u5355\u4FE1\u606F",prop:o.readonly?"":"cids"},{default:u(()=>[e(te,ee({class:"w-full mt-1"},c.value,{readonly:o.readonly,purchaseOrders:F.value,onDelete:I,onDisplayModal:P}),null,16,["readonly","purchaseOrders"])]),_:1},8,["label","prop"]),e(N,null,{default:u(()=>[o.readonly?A("v-if",!0):(d(),z("div",Me,[e(m,{type:"primary",onClick:B,loading:o.loading},{default:u(()=>[Le]),_:1},8,["loading"])]))]),_:1})]),_:1},8,["model","rules"])),[[S,o.loading]]),o.isPurchPay?(d(),g(te,ee({key:3,class:"w-full mt-1"},c.value,{readonly:o.readonly,isPurchPay:o.isPurchPay,purchaseOrders:F.value,onDelete:I,onPush:b}),null,16,["readonly","isPurchPay","purchaseOrders"])):A("v-if",!0),e(Te,{ref_key:"PurchaseModalRef",ref:O,onPushOrder:s[3]||(s[3]=i=>b(i))},null,512)])),[[S,r(E)||o.loading]])}}});var Xe=j(Ye,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/components/ReconciliationForm/src/index.vue"]]);export{Xe as R};