import{_ as k,d as A,r as a,o as B,A as b,y as u,e as V,h as l,i as e,d6 as g,H as w}from"./index.js";import{u as E}from"./use-review-process.315fb2c4.js";import{R as h}from"./global.9ad647c8.js";const y={flex:"","flex-col":"",style:{width:"50%"}},R=A({__name:"approval-pending",emits:["changeStatus"],setup(D,{emit:m}){const s={fail:"3",success:"2"},i=m,{formData:t,formRules:c,formRef:_,handleChangeStatus:f}=E({callback:()=>i("changeStatus",t),failStatus:s.fail});return(F,o)=>{const r=a("el-option"),d=a("el-select"),p=a("el-form-item"),v=a("el-input"),x=a("el-button"),C=a("el-form");return B(),b(C,{inline:"",rules:e(c),model:e(t),ref_key:"formRef",ref:_,"label-width":"100px",flex:"","justify-between":""},{default:u(()=>[V("div",y,[l(p,{label:"\u5BA1\u6838\u72B6\u6001",prop:"status"},{default:u(()=>[l(d,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",modelValue:e(t).status,"onUpdate:modelValue":o[0]||(o[0]=n=>e(t).status=n)},{default:u(()=>[l(r,{value:s.success,label:"\u901A\u8FC7"},null,8,["value"]),l(r,{value:s.fail,label:"\u4E0D\u901A\u8FC7"},null,8,["value"])]),_:1},8,["modelValue"])]),_:1}),l(p,{label:"\u5907\u6CE8",prop:"remark"},{default:u(()=>[l(v,g({type:"textarea",maxlength:2e3,rows:5,placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",modelValue:e(t).remark,"onUpdate:modelValue":o[1]||(o[1]=n=>e(t).remark=n)},e(h)),null,16,["modelValue"])]),_:1})]),l(x,{type:"primary",onClick:e(f)},{default:u(()=>o[2]||(o[2]=[w("\u63D0\u4EA4\u5BA1\u6838\u7ED3\u679C")])),_:1},8,["onClick"])]),_:1},8,["rules","model"])}}});var j=k(R,[["__file","D:/work/jiesuan/settle-vue3/src/views/InvoiceSales/capitalPool/approval-process/approval-pending.vue"]]);export{j as default};
