瀏覽代碼

Merge branch '20220812' of http://git.shengws.com/csx/Vue_New into 20220812

huangyw 2 年之前
父節點
當前提交
c584af8794
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      src/xt_pages/stock/stockInOrderAdd.vue
  2. 2 2
      src/xt_pages/stock/stockInOrderEdit.vue

+ 2 - 2
src/xt_pages/stock/stockInOrderAdd.vue 查看文件

@@ -765,8 +765,8 @@
765 765
                 this.warehousing_info_id  = info.id
766 766
                 for(let i=0;i<list.length;i++){
767 767
                   for(let j=0;j<dealerList.length;j++){
768
-                     if(list[i].dealer == dealerList[i].id){
769
-                        list[i].dealer = dealerList[i].dealer_name
768
+                     if(list[i].dealer == dealerList[j].id){
769
+                        list[i].dealer = dealerList[j].dealer_name
770 770
                      }
771 771
                   }
772 772
                   for(let s=0;s<manufacturerList.length;s++){

+ 2 - 2
src/xt_pages/stock/stockInOrderEdit.vue 查看文件

@@ -760,8 +760,8 @@ export default {
760 760
               var dealerList = response.data.data.dealerList
761 761
               for(let i=0;i<list.length;i++){
762 762
                 for(let j=0;j<dealerList.length;j++){
763
-                 if(list[i].dealer == dealerList[i].id){
764
-                    list[i].dealer = dealerList[i].dealer_name
763
+                 if(list[i].dealer == dealerList[j].id){
764
+                    list[i].dealer = dealerList[j].dealer_name
765 765
                   }
766 766
                 }
767 767
                 for(let s=0;s<manufacturerList.length;s++){