|
|
@ -343,12 +343,11 @@
|
|
|
|
for (let i = 0;i<list.length;i++){
|
|
|
|
for (let i = 0;i<list.length;i++){
|
|
|
|
this.dataForm.collection_item0List[i].salesorderId = list[i].id;
|
|
|
|
this.dataForm.collection_item0List[i].salesorderId = list[i].id;
|
|
|
|
this.dataForm.collection_item0List[i].rate = list[i].price - list[i].notPrice;
|
|
|
|
this.dataForm.collection_item0List[i].rate = list[i].price - list[i].notPrice;
|
|
|
|
this.amount
|
|
|
|
// this.dataForm.collection_item0List[i].amount = list[i].price - list[i].amountCollected;
|
|
|
|
this.dataForm.collection_item0List[i].amount = list[i].price - list[i].amountCollected;
|
|
|
|
// amountCollected = amountCollected + this.dataForm.collection_item0List[i].amount;
|
|
|
|
amountCollected = amountCollected + this.dataForm.collection_item0List[i].amount;
|
|
|
|
|
|
|
|
debugger
|
|
|
|
debugger
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.dataForm.amountCollected = amountCollected;
|
|
|
|
// this.dataForm.amountCollected = amountCollected;
|
|
|
|
this.$store.commit('generator/UPDATE_RELATION_DATA', {})
|
|
|
|
this.$store.commit('generator/UPDATE_RELATION_DATA', {})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 表单提交
|
|
|
|
// 表单提交
|
|
|
|