|
|
|
@ -155,7 +155,7 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
qty: this.NewQty,
|
|
|
|
|
};
|
|
|
|
|
this.Submitlist.push(arr);
|
|
|
|
|
this.every.qty -= parseFloat(this.NewQty);
|
|
|
|
|
this.every.qty += parseFloat(this.NewQty);
|
|
|
|
|
this.model.SourceDetail.qty -= parseFloat(this.NewQty);
|
|
|
|
|
}
|
|
|
|
|
deleteItem(e: any) {
|
|
|
|
@ -166,7 +166,7 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
success: (res) => {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
this.Submitlist.splice(e.contentIndex, 1);
|
|
|
|
|
this.every.qty += parseFloat(e.lineData.qty);
|
|
|
|
|
this.every.qty -= parseFloat(e.lineData.qty);
|
|
|
|
|
this.model.SourceDetail.qty += parseFloat(e.lineData.qty);
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
return;
|
|
|
|
|