ソースを参照

【修改】二次添加货品没展示仓库

howie 2 年 前
コミット
83e691b1fe
1 ファイル変更4 行追加0 行削除
  1. 4 0
      src/views/supply/policy/components/retail_form.vue

+ 4 - 0
src/views/supply/policy/components/retail_form.vue

@@ -825,6 +825,10 @@ export default {
       handler(newValue, oldValue) {
         if (newValue && newValue.length) {
           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_flAmount =
               ((item.price - item.discAmount) * item.qty * (item.rebateRate * 100)) / 100