How to pass the value of table to the backend?

problem description

how can I pass the value to the background as needed, and then display the value of the background processing in the corresponding place of the foreground?
the idea here should be like this: after I enter the data, click on it and pass all the data to the background for processing, and then return all the processing results in the background. I need to use the subscript to obtain the corresponding data one by one, and then display it in the corresponding foreground location

.

my idea is to add a ref, but I pass a value to js to display this, what does that mean?

related codes

/ / Please paste the code text below (do not replace the code with pictures)

<tr ref="tableInfo" v-for="(item,index) in items" :id="index">
        <td><i-input v-model="item.STOCKCODE" size="small" placeholder=""/></td>
        <td><i-input v-model="item.QUANTITY" size="small" placeholder=""/></td>
        <td><i-input v-model="item.PRICE" size="small" placeholder=""/></td>
        <td><i-input v-model="item.BUSINESS" size="small" placeholder=""/></td>
        <td class="green_bg4" v-if="hide">A</td>
        <td class="green_bg4" v-if="hide">1</td>
        <td class="green_bg4" v-if="hide">1</td>
        <td class="green_bg4" v-if="hide">9</td>
        <td class="green_bg4" v-if="hide">5</td>
        <td class="green_bg4" v-if="hide">5555</td>
    </tr>
    
    
spreadsheet:function(){
        this.hide=true;
        var h=this.$refs.tableInfo;   //
        ajax.post({
            req:{   
                service:"",

            }
        })
    }

what result do you expect? What is the error message actually seen?

Sep.07,2021

laxative
vue ref is used to get DOM element objects. The data passed into the background must still be items . At this time, it depends on the type of data received by the background. It's usually a string, so you can convert it with JSON.stringify (items) .

< hr >

if it is helpful, please click to adopt it, thank you ~

Is there a problem with
oldData passing to the backend to return currentData and then rendering currentData?
which step can't be done? Or do you need a plan? I don't think you have an operation here. What are you asking?
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-1eaf391-2239.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-1eaf391-2239.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?