Home > front end >  LayUI achieve the linkage of the quarter and date selection
LayUI achieve the linkage of the quarter and date selection

Time:02-03

Ask you a question, I'm going to realize choose quarter and the linkage of the date, how to set? Specific code is as follows:


CodePudding user response:

You mean, when you choose a quarter, then date box can choose the date of this quarter?

The analyse:
1. The first choice in
2. Select the quarterly
3. Select a date
There should be a normal three drop-down box, the first in a select box, a drop-down box in the second quarter, then date selection box, such a logic,
Choose good years and quarterly, we calculate what is the date to the date, the corresponding laydate is set in the date of one of the biggest and smallest date, so a logical, to select the year, quarter will recount a few months to a few months

CodePudding user response:

Yes, don't need, only need to choose quarter and time is ok,

CodePudding user response:

About the code can help me to write my reference? Thank you, appreciate!
  • Related