代码更新
This commit is contained in:
@@ -2541,6 +2541,8 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
|
|||||||
.process()
|
.process()
|
||||||
.getResultJSONArray(0);
|
.getResultJSONArray(0);
|
||||||
|
|
||||||
|
if (ObjectUtil.isEmpty(allRowArr)) throw new BadRequestException("当前没有可设置的分配明细");
|
||||||
|
|
||||||
for (int i = 0; i < allRowArr.size(); i++) {
|
for (int i = 0; i < allRowArr.size(); i++) {
|
||||||
// 调用当前排处理方法
|
// 调用当前排处理方法
|
||||||
JSONObject jsonRow = allRowArr.getJSONObject(i);
|
JSONObject jsonRow = allRowArr.getJSONObject(i);
|
||||||
|
|||||||
@@ -360,7 +360,7 @@ export default {
|
|||||||
// 将明细变成不可编辑
|
// 将明细变成不可编辑
|
||||||
for (let i = 0; i < this.form.tableData.length; i++) {
|
for (let i = 0; i < this.form.tableData.length; i++) {
|
||||||
const row = this.form.tableData[i]
|
const row = this.form.tableData[i]
|
||||||
row.edit = true
|
row.edit = false
|
||||||
this.form.tableData.splice(i, 1, row)
|
this.form.tableData.splice(i, 1, row)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -628,9 +628,11 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.loadingSetAllPoint = true
|
this.loadingSetAllPoint = true
|
||||||
this.currentRow.point_code = this.form2.point_code
|
const data = {
|
||||||
this.currentRow.iostorinv_id = this.mstrow.iostorinv_id
|
'point_code': this.form2.point_code,
|
||||||
checkoutbill.allSetPoint(this.currentRow).then(res => {
|
'iostorinv_id': this.mstrow.iostorinv_id
|
||||||
|
}
|
||||||
|
checkoutbill.allSetPoint(data).then(res => {
|
||||||
this.queryTableDdis(this.currentRow.iostorinvdtl_id)
|
this.queryTableDdis(this.currentRow.iostorinvdtl_id)
|
||||||
this.crud.notify('设置成功!', CRUD.NOTIFICATION_TYPE.INFO)
|
this.crud.notify('设置成功!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||||
this.loadingSetAllPoint = false
|
this.loadingSetAllPoint = false
|
||||||
|
|||||||
Reference in New Issue
Block a user