Commit ff248033 authored by 沈翠玲's avatar 沈翠玲

到货单

parent c3b9f3cb
...@@ -144,7 +144,7 @@ import BottomBtn from "@/components/BottomBtn/index.vue"; ...@@ -144,7 +144,7 @@ import BottomBtn from "@/components/BottomBtn/index.vue";
"purchaseSerial": arr[3], "purchaseSerial": arr[3],
"purchaseType": arr[1] "purchaseType": arr[1]
}) })
if (!data.success) return if (!data.success) return this.input = ''
const index = this.goodsList.findIndex(v => v.joinlabel === arr.slice(0, 5).join('-')) const index = this.goodsList.findIndex(v => v.joinlabel === arr.slice(0, 5).join('-'))
if (index > -1) { if (index > -1) {
this.goodsList[index]['arrivalQuantity'] = Number(this.goodsList[index]['arrivalQuantity']) + Number(arr[5]) this.goodsList[index]['arrivalQuantity'] = Number(this.goodsList[index]['arrivalQuantity']) + Number(arr[5])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment