add:新增业助功能

This commit is contained in:
郭飞 2025-05-19 17:57:46 +08:00
parent d5eac5129e
commit 8d9235daa3
2 changed files with 864 additions and 683 deletions

View File

@ -206,6 +206,34 @@
<!-- </el-form>--> <!-- </el-form>-->
<!-- </el-row>--> <!-- </el-row>-->
<!-- </div>--> <!-- </div>-->
<el-row :gutter="24" class="page-search" justify="space-between" align="bottom">
<el-form
ref="formDataRef"
:model="state.CAREER_ASSISTANCE"
:rules="rules"
label-position="left"
>
<el-form-item label="" prop="CAREER_ASSISTANCE">
<el-col :span="5">
<div class="block" style="float: right">
<el-form-item label="过账日期" prop="state.commitDate">
<el-date-picker
:clearable="true"
:editable="true"
v-model="state.commitDate"
type="date"
placeholder="选择过账时间"
value-format="YYYY-MM-DD"
/>
</el-form-item>
</div>
</el-col>
</el-form-item>
</el-form>
</el-row>
</div> </div>
</template> </template>
<script lang="ts"> <script lang="ts">
@ -244,6 +272,7 @@ const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableH
const queryFormRef = ref(ElForm); const queryFormRef = ref(ElForm);
const size = ref<'default' | 'large' | 'small'>('small');//formdata const size = ref<'default' | 'large' | 'small'>('small');//formdata
const state = reactive({ const state = reactive({
commitDate: '',
loadings: false, loadings: false,
CAREER_ASSISTANCEDrawer : false, CAREER_ASSISTANCEDrawer : false,
updateSALESPERSON : { updateSALESPERSON : {
@ -403,6 +432,13 @@ const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableH
] ]
/*钩子函数区域*/ /*钩子函数区域*/
onMounted(() => { onMounted(() => {
var newDate = new Date()
var year = newDate.getFullYear()
var moth = newDate.getMonth() + 1
if (moth < 10) moth = '0' + moth
var day = newDate.getDate()
if (day < 10) day = '0' + day
state.commitDate = year + '-' + moth + '-' + day
materialTableConfig.value.column = [ materialTableConfig.value.column = [

File diff suppressed because it is too large Load Diff