update
This commit is contained in:
parent
418327044c
commit
dcd279a263
@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="edit-popup">
|
||||
<popup ref="popupRef" :title="popupTitle" :async="true" width="85vw" @confirm="handleSubmit" @close="handleClose">
|
||||
<popup ref="popupRef" :title="popupTitle" :async="true" width="85vw" @confirm="handleSubmit"
|
||||
@close="handleClose">
|
||||
<el-form ref="formRef" :model="formData" label-width="80px" :rules="formRules">
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
@ -15,8 +16,8 @@
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="考勤日期" prop="attendance_date">
|
||||
<el-date-picker class="flex-1 !flex" clearable v-model="formData.attendance_date" type="date"
|
||||
value-format="YYYY-MM-DD" placeholder="选择考勤日期">
|
||||
<el-date-picker class="flex-1 !flex" clearable v-model="formData.attendance_date"
|
||||
type="date" value-format="YYYY-MM-DD" placeholder="选择考勤日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -130,7 +131,7 @@
|
||||
</el-dialog>
|
||||
<div v-if="showDialog1">
|
||||
<el-dialog v-model="showDialog1" title="选择项目人员" width="70%">
|
||||
<projectPersonnel @customEvent="customEvent1" :project_id="formData.project_id">
|
||||
<projectPersonnel @customEvent="customEvent1" :project_id="formData.project_id || 0">
|
||||
</projectPersonnel>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@ -157,7 +158,7 @@ let props = defineProps({
|
||||
// 表单数据
|
||||
const formData = reactive({
|
||||
id: '',
|
||||
project_id: '',
|
||||
project_id: 0,
|
||||
attendance_date: '',
|
||||
remark: '',
|
||||
annex: '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user