代码更新

This commit is contained in:
2023-02-19 17:31:34 +08:00
parent 47df45110b
commit dd547b846f
6 changed files with 117 additions and 57 deletions

View File

@@ -453,10 +453,12 @@ export default {
if (!this.flagnow) {
item.edit = true
this.form.tableData.splice(-1, 0, item)
this.form.total_qty = parseFloat(this.form.total_qty) + parseFloat(item.plan_qty)
}
} else {
item.edit = true
this.form.tableData.splice(-1, 0, item)
this.form.total_qty = parseFloat(this.form.total_qty) + parseFloat(item.plan_qty)
}
})
this.form.detail_count = this.form.tableData.length