How to get the corresponding value by inserting input, into the column of the table in element ui

there is such a requirement

clipboard.png

clipboard.png

clipboard.png

1

html

clipboard.png
`


clipboard.png

how to write the quantity value here before it can be passed to the backend?
A novice asks for help.

Apr.07,2021

I don't see how your instrument corresponds to the quantity, so that's why there is this problem.
what I think is that every line of yours corresponds to an object, something like rows: [{code: count}], and then it's easy to solve.

  1. when you add data, write it as rows.push ({newCode: 1}), input needs to be tied to (vMelfort = "el in rows") el.count here.
  2. sends the entire rows back when it is sent.
The

structure needs to be discussed with the backend, or it can be {code: this_code, count: this_count}, but the key-value is fine anyway.


landlord, can you paste your code


have you solved it

?
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-1bf3792-31e85.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-1bf3792-31e85.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?