卸载moment插件
This commit is contained in:
@@ -707,7 +707,6 @@ import type { ComponentSize, FormInstance, FormRules } from 'element-plus'
|
||||
import { useAdminInfo } from '@/stores/adminInfo'
|
||||
import { queryByAllCode } from '@/api/system-boot/dictTree'
|
||||
import { uploadFile } from '@/api/system-boot/file'
|
||||
// import moment from 'moment'
|
||||
import { submitFormData } from '@/api/supervise/interfere/index'
|
||||
defineProps({
|
||||
openType: {
|
||||
@@ -1258,7 +1257,7 @@ watch(
|
||||
}
|
||||
|
||||
//处理填报日期时间格式
|
||||
subForm.value.reportDate = window.XEUtils.toDateString(form.value.reportDate, 'yyyy-MM-dd') //moment(form.value.reportDate).format('YYYY-MM-DD')
|
||||
subForm.value.reportDate = window.XEUtils.toDateString(form.value.reportDate, 'yyyy-MM-dd')
|
||||
//userType==0,1
|
||||
if (val.userType == '0' || val.userType == '1') {
|
||||
subForm.value.userReportProjectPO = {
|
||||
|
||||
Reference in New Issue
Block a user