[asking for help] several problems encountered in the submission of the form on the travel itinerary page

the effect you want to achieve is shown in the figure:
3895218980-5c11fcad4d5c1_articlex

layuiJquery
:http://nbdm.net/jquery.html

:

1:1N
:
1name"sight[1][]",2"sight[2][]"
:

2:
:

3:1
:"

1

"
:

Mar.07,2022

try this:
block the default submission, then use jquery traversal node to read the data, and combine the data after submission.


Hello, this kind of data usually needs to be submitted to the background in separate tables. I would like to have a rough look and ask me to design at least 3 tables
1. Schedule
2. Daily itinerary
3. Itinerary step table
then the overall data structure is about

//
const DATA = {
  //
  //
  //
  //
  //...
  children: [
    //
    {
      //ID
      //
      // N
      //...
      children: [
        //
        {
          //ID
          //ID
          //....
          //
          //...
        }
      ]
    }
  ],
};

render the view with a canonical data structure like this, and your problem no longer exists
just provide ideas

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e48683-439e8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e48683-439e8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?