代码更新

This commit is contained in:
2023-01-27 11:35:42 +08:00
parent 4e38ad2615
commit 8f305eb3a1
3 changed files with 9 additions and 5 deletions

View File

@@ -360,7 +360,7 @@ export default {
// 将明细变成不可编辑
for (let i = 0; i < this.form.tableData.length; i++) {
const row = this.form.tableData[i]
row.edit = true
row.edit = false
this.form.tableData.splice(i, 1, row)
}
})

View File

@@ -628,9 +628,11 @@ export default {
return
}
this.loadingSetAllPoint = true
this.currentRow.point_code = this.form2.point_code
this.currentRow.iostorinv_id = this.mstrow.iostorinv_id
checkoutbill.allSetPoint(this.currentRow).then(res => {
const data = {
'point_code': this.form2.point_code,
'iostorinv_id': this.mstrow.iostorinv_id
}
checkoutbill.allSetPoint(data).then(res => {
this.queryTableDdis(this.currentRow.iostorinvdtl_id)
this.crud.notify('设置成功!', CRUD.NOTIFICATION_TYPE.INFO)
this.loadingSetAllPoint = false