|
@@ -2,6 +2,7 @@ import {BasicColumn} from '/@/components/Table';
|
|
|
import {FormSchema} from '/@/components/Table';
|
|
|
import { defHttp } from '/@/utils/http/axios';
|
|
|
import {ref } from 'vue';
|
|
|
+import moment from 'moment';
|
|
|
var customerOption = ref([])
|
|
|
var projectOption = ref([])
|
|
|
//列表数据
|
|
@@ -188,7 +189,8 @@ export const formSchema: FormSchema[] = [
|
|
|
field: 'billDate',
|
|
|
component: 'DatePicker',
|
|
|
componentProps: {
|
|
|
- valueFormat: 'YYYY-MM-DD'
|
|
|
+ valueFormat: 'YYYY-MM-DD',
|
|
|
+ defaultValue:moment(new Date()).format('YYYY-MM-DD')
|
|
|
},
|
|
|
labelWidth:150,
|
|
|
dynamicRules: ({model,schema}) => {
|