|
@@ -323,6 +323,8 @@ const endYearBlur = () => {
|
|
|
//选择年份
|
|
|
const selectIndex = ref(0)
|
|
|
const yearOptions = ref([{
|
|
|
+ value:'',
|
|
|
+ label:'',
|
|
|
yearForm:{
|
|
|
yearlyInvest:'',
|
|
|
oneInvest:'',
|
|
@@ -340,7 +342,6 @@ const yearOptions = ref([{
|
|
|
const selectYear = ref('')
|
|
|
const changeYear = (val)=>{
|
|
|
selectIndex.value = arrIndex(yearOptions.value, 'value', val)
|
|
|
- console.log( selectIndex.value, '111111')
|
|
|
}
|
|
|
|
|
|
|
|
@@ -385,10 +386,6 @@ const formRef = ref(null)
|
|
|
const creatLoading = ref(false)
|
|
|
const createClick = async () => {
|
|
|
const form = formInfo.value
|
|
|
- console.log(form)
|
|
|
- // if (isNullES(form.id)) cancelClick()
|
|
|
- console.log(baseForm.value, 'baseForm.value')
|
|
|
- console.log(yearOptions.value, '111111')
|
|
|
let list = []
|
|
|
yearOptions.value.forEach((ele)=>{
|
|
|
let yearForm = ele.yearForm
|
|
@@ -409,7 +406,10 @@ const createClick = async () => {
|
|
|
console.log(form.id, 'form.id')
|
|
|
if (isNullES(form.id)) {
|
|
|
baseForm.value = {}
|
|
|
- yearOptions.value = [{
|
|
|
+ yearOptions.value = [
|
|
|
+ {
|
|
|
+ value:'',
|
|
|
+ label:'',
|
|
|
yearForm:{
|
|
|
yearlyInvest:'',
|
|
|
oneInvest:'',
|