1 |
- import{_ as h,d as C,w as l,r as c,o as R,c as B,l as e,C as r,u as a,b as N,M as k,aR as w}from"./index.88f7d256.js";import{R as x}from"./index.9fa951c4.js";import D from"./choose-modal.fa02c8d7.js";import F from"./invoice-table.7ed448fa.js";import{c as E}from"./invoice-form.0177fc9f.js";import"./index.69815c3e.js";import"./basic-descriptions.5c20357d.js";import"./orderRecord.c9c18fd5.js";import"./tootip.514b092e.js";import"./porder.b626a198.js";import"./status.2df4810d.js";import"./calc.850c7422.js";import"./_details.0f4a1772.js";import"./global.9ad647c8.js";const b={"w-full":""},A={class:"flex w-full justify-end"},I=C({__name:"return-form",emits:["create"],setup(M,{emit:m}){const s=l(null),u=l(null),p=l(null),o=l({payNo:"",invArr:[]}),f=()=>u.value.onDisplay();function d(){s.value.validate(t=>t&&m("create",a(o)))}const _=t=>o.value.invArr=t;return(t,i)=>{const n=c("ElFormItem"),v=c("ElButton");return R(),B("div",b,[e(a(w),{ref_key:"formRef",ref:s,"label-width":"100px",model:o.value,rules:a(E)},{default:r(()=>[e(n,{label:"\u8BA2\u5355\u5BF9\u8D26",prop:"payNo"},{default:r(()=>[e(a(x),{ref_key:"reconciliationRef",ref:p,isPurchPay:"",id:o.value.payNo,readonly:!!o.value.payNo,onChoose:f},null,8,["id","readonly"])]),_:1}),e(n,{label:"\u53D1\u7968",prop:"invArr"},{default:r(()=>[e(F,{onChange:_})]),_:1}),e(n,null,{default:r(()=>[N("div",A,[e(v,{type:"primary",onClick:d},{default:r(()=>[k("\u4FDD\u5B58")]),_:1})])]),_:1})]),_:1},8,["model","rules"]),e(D,{ref_key:"chooseModalRef",ref:u,onChoose:i[0]||(i[0]=y=>o.value.payNo=y)},null,512)])}}});var S=h(I,[["__file","D:/work/accout-vue3-ui2/settle-vue3/src/views/supply/sellInvoiceQuery/components/return-form.vue"]]);export{S as default};
|