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