Commit 74bf58e2 authored by huangjie's avatar huangjie

*

parent 62ba2ce9
......@@ -418,10 +418,12 @@ export default {
this.cbVisible = true
},
addinputs(){
this.tableData.forEach(item=>{
let tables = JSON.parse(JSON.stringify(this.tableData))
tables.forEach(item=>{
item.id = item.actualId
item.month = this.expenseDate
})
saveBatch(JSON.stringify(this.tableData)).then(res=>{
saveBatch(JSON.stringify(tables)).then(res=>{
if(res.code == 200){
this.$message.success(res.msg)
this.isinput = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment