2 lines
6.5 KiB
JavaScript
2 lines
6.5 KiB
JavaScript
|
|
import{Q as x}from"./QSelect-809bd0f2.js";import{d as C,a as t,o as h,e as g,f as _,g as a,j as o,A as y,ac as q,aj as T,F as V,i as M,C as i,D as n,ah as N,s as O,at as P,au as j,ai as D}from"./index-3a2b6cd5.js";import{Q as F}from"./QSpace-5fefe78e.js";import{Q as L}from"./QTh-95cd2a9c.js";import{Q as w}from"./QTr-c5e846f1.js";import{Q as s}from"./QTd-71639d11.js";import{Q as $}from"./QPagination-e0f4fffb.js";import{Q as A}from"./QTable-d329bd84.js";import"./QChip-f43cc21c.js";import"./QItemSection-843d83e6.js";import"./QItemLabel-37c56e27.js";import"./QMenu-59199f2b.js";import"./position-engine-4e9b318c.js";import"./selection-8094913b.js";import"./rtl-36dd996b.js";import"./format-312d1398.js";import"./QList-1b100cb9.js";import"./use-fullscreen-273d7265.js";const E=r=>(P("data-v-8f9ac0bb"),r=r(),j(),r),G=E(()=>y("div",{class:"toptitle text-dark col-12 row items-center"}," บันทึกผลการจ่ายใบกำกับ ",-1)),H={class:"row col-12 q-pb-sm q-gutter-xs"},J={class:"text-weight-medium"},K=C({__name:"Main",setup(r){const u=t(""),Q=t(["ทั้งหมด","เขตที่ 1 ","เขตที่ 2 ","เขตที่ 3 "]),d=t(""),k=t(["ทั้งหมด","สังกัด 1 ","สังกัด 2 ","สังกัด 3 "]),m=t(""),I=t(["ทั้งหมด","สถานะการจ่าย 1 ","สถานะการจ่าย 2 ","สถานะการจ่าย 3 "]),v=t(""),b=t(["no","citizenId","name","affiliation","affiliationcurrent","county","countycurren"]),z=t([{name:"no",align:"left",label:"ลำดับ",sortable:!0,field:"no",headerStyle:"font-size: 14px",style:"font-size: 14px"},{name:"citizenId",align:"left",label:"เลขบัตรประชาชน",sortable:!0,field:"citizenId",headerStyle:"font-size: 14px",style:"font-size: 14px"},{name:"name",align:"left",label:"ชื่อ-นามสกุล",sortable:!0,field:"name",headerStyle:"font-size: 14px",style:"font-size: 14px"},{name:"affiliation",align:"left",label:"สังกัด ณ วันที่ขอ",sortable:!0,field:"affiliation",headerStyle:"font-size: 14px",style:"font-size: 14px"},{name:"affiliationcurrent",align:"left",label:"สังกัด ณ ปัจจุบัน",sortable:!0,field:"affiliationcurrent",headerStyle:"font-size: 14px",style:"font-size: 14px"},{name:"county",align:"left",label:"สังกัดงานเขต ณ วันที่ขอ",sortable:!0,field:"county",headerStyle:"font-size: 14px",style:"font-size: 14px"},{name:"countycurren",align:"left",label:"สังกัดงานเขต ณ ปัจจุบัน",sortable:!0,field:"countycurren",headerStyle:"font-size: 14px",style:"font-size: 14px"}]),S=t([{no:"1",citizenId:"1xxxxxxxxxx",name:"นายใจดี ยอดใจ ",affiliation:"นักวิชาการพัสดุ",affiliationcurrent:"ปฏิบัติการ",county:"ปฏิบัติการ",countycurren:"บริหาร"},{no:"2",citizenId:"1xxxxxxxxxx",name:"นายจักกริน บัณฑิต",affiliation:"นักวิชาการพัสดุ",affiliationcurrent:"ปฏิบัติการ",county:"ปฏิบัติการ",countycurren:"บริหาร"}]);h(()=>{u.value="ทั้งหมด",d.value="ทั้งหมด",m.value="ทั้งหมด"});const c=t({sortBy:"desc",descending:!1,page:1,rowsPerPage:10}),U=t(!0),B=(f,l,e)=>U.value==!0?" "+f+"-"+l+" ใน "+e:f+"-"+l+" ใน "+e;return(f,l)=>(g(),_(V,null,[G,a(N,{class:"col-12 q-pa-md"},{default:o(()=>[y("div",H,[a(x,{outlined:"",dense:"",modelValue:u.value,"onUpdate:modelValue":l[0]||(l[0]=e=>u.value=e),options:Q.value,label:"สำนักงานเขต",class:"col-xs-12 col-sm-3 col-md-2"},null,8,["modelValue","options"]),a(x,{outlined:"",dense:"",modelValue:d.value,"onUpdate:modelValue":l[1]||(l[1]=e=>d.value=e),options:k.value,label:"สังกัด",class:"col-xs-12 col-sm-3 col-md-2"},null,8,["modelValue","options"]),a(x,{outlined:"",dense:"",modelValue:m.v
|