|
@@ -825,6 +825,10 @@ export default {
|
|
handler(newValue, oldValue) {
|
|
handler(newValue, oldValue) {
|
|
if (newValue && newValue.length) {
|
|
if (newValue && newValue.length) {
|
|
newValue.forEach((item, index) => {
|
|
newValue.forEach((item, index) => {
|
|
|
|
+ if (this.correspondId) {
|
|
|
|
+ this.goodsList[index].correspondName = this.correspondName
|
|
|
|
+ this.goodsList[index].correspondId = this.correspondId
|
|
|
|
+ }
|
|
this.goodsList[index].compute_amount = item.price * item.qty
|
|
this.goodsList[index].compute_amount = item.price * item.qty
|
|
this.goodsList[index].compute_flAmount =
|
|
this.goodsList[index].compute_flAmount =
|
|
((item.price - item.discAmount) * item.qty * (item.rebateRate * 100)) / 100
|
|
((item.price - item.discAmount) * item.qty * (item.rebateRate * 100)) / 100
|