Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- del: function (index) {
- console.log(this.stockIn.ItemCollection[index])
- this.stockIn.Total = parseInt(this.stockIn.Total) - parseInt(
- ((parseInt(this.stockIn.ItemCollection[index].BundleQuantity100) * parseInt(this.stockIn.ItemCollection[index].Price100))) +
- ((parseInt(this.stockIn.ItemCollection[index].BundleQuantity90) * parseInt(this.stockIn.ItemCollection[index].Price90))) +
- ((parseInt(this.stockIn.ItemCollection[index].BundleQuantity60) * parseInt(this.stockIn.ItemCollection[index].Price60)))
- )
- this.stockIn.ItemQuantity = parseInt(this.stockIn.ItemQuantity) - parseInt(this.stockIn.ItemCollection[index].BundleItemQuantity)
- this.$delete(this.stockIn.ItemCollection, index)
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement