1 |
- import{_ as h,d as C,x as l,r as c,o as R,c as x,l as e,D as r,m as a,h as B,M as D,aQ as N}from"./index.js";import{R as k}from"./index.8ad79f80.js";import F from"./choose-modal.c5c6d0.js";import E from"./invoice-table.d3e141.js";import{c as w}from"./invoice-form.a2d84e.js";import"./orderRecord.4d98a397.js";import"./porder.9a85976d.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:f}){const s=l(null),u=l(null),m=l(null),o=l({payNo:"",invArr:[]}),p=()=>u.value.onDisplay();function d(){s.value.validate(t=>t&&f("create",a(o)))}const _=t=>o.value.invArr=t;return(t,i)=>{const n=c("ElFormItem"),v=c("ElButton");return R(),x("div",b,[e(a(N),{ref_key:"formRef",ref:s,"label-width":"100px",model:o.value,rules:a(w)},{default:r(()=>[e(n,{label:"\u8BA2\u5355\u5BF9\u8D26",prop:"payNo"},{default:r(()=>[e(a(k),{ref_key:"reconciliationRef",ref:m,isPurchPay:"",id:o.value.payNo,readonly:!!o.value.payNo,onChoose:p},null,8,["id","readonly"])]),_:1}),e(n,{label:"\u53D1\u7968",prop:"invArr"},{default:r(()=>[e(E,{onChange:_})]),_:1}),e(n,null,{default:r(()=>[B("div",A,[e(v,{type:"primary",onClick:d},{default:r(()=>[D("\u4FDD\u5B58")]),_:1})])]),_:1})]),_:1},8,["model","rules"]),e(F,{ref_key:"chooseModalRef",ref:u,onChoose:i[0]||(i[0]=y=>o.value.payNo=y)},null,512)])}}});var G=h(I,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/supply/sellInvoiceQuery/components/return-form.vue"]]);export{G as default};
|