代码更新
This commit is contained in:
@@ -262,7 +262,7 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
|
||||
rows.add(jsonObject);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
map.remove("tableData");
|
||||
String currentUserId = SecurityUtils.getCurrentUserId();
|
||||
@@ -2541,6 +2541,8 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
|
||||
.process()
|
||||
.getResultJSONArray(0);
|
||||
|
||||
if (ObjectUtil.isEmpty(allRowArr)) throw new BadRequestException("当前没有可设置的分配明细");
|
||||
|
||||
for (int i = 0; i < allRowArr.size(); i++) {
|
||||
// 调用当前排处理方法
|
||||
JSONObject jsonRow = allRowArr.getJSONObject(i);
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user