fix bug
This commit is contained in:
parent
474d28750c
commit
73f6d9c6f7
1 changed files with 4 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ const {
|
|||
/**
|
||||
* Props
|
||||
*/
|
||||
const props = defineProps({
|
||||
const props = defineProps({
|
||||
modal: Boolean,
|
||||
save: {
|
||||
type: Function,
|
||||
|
|
@ -80,7 +80,7 @@ const affiliationReceived = ref<string>("");
|
|||
const receivedate = ref<Date | null>();
|
||||
const announceDate = ref<Date | null>();
|
||||
const invoiceDate = ref<Date | null>(null);
|
||||
const filterinsigniaOp2 = ref<any>(DataStore.insigniaOp2);
|
||||
const filterinsigniaOp2 = ref<any[]>([]);
|
||||
const employeeClass = ref<string>("");
|
||||
const employeeClassOps = ref<DataOption[]>([
|
||||
{ id: "officer", name: "ข้าราชการ กทม.สามัญ" },
|
||||
|
|
@ -107,6 +107,7 @@ function clearDateInvoiceDate() {
|
|||
*/
|
||||
watch(props, () => {
|
||||
if (props.modal === true) {
|
||||
filterinsigniaOp2.value = DataStore.insigniaOp2;
|
||||
employeeClass.value = "";
|
||||
cardid.value = "";
|
||||
fullName.value = "";
|
||||
|
|
@ -170,7 +171,7 @@ function selectType() {
|
|||
* function เรียกรายชื่อลูกจ้างตาม id หน่วยงาน
|
||||
* @param id id หน่วยงาน
|
||||
*/
|
||||
function findlist(id: string = "", idCard: string) {
|
||||
function findlist(id: string = "", idCard: string) {
|
||||
formFilter.searchKeyword = idCard;
|
||||
http
|
||||
.get(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue