Explorar o código

Merge branch '1111'

zh %!s(int64=2) %!d(string=hai) anos
pai
achega
2ec063b490
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/sales_policy/components/editPolicy.vue

+ 2 - 1
src/views/sales_policy/components/editPolicy.vue

@@ -1061,7 +1061,7 @@ export default {
                 k.ovalRebateWalletIds = [...k.rebateWalletIds, d.walletId]
                 k.ovalRebateWalletIds = [...k.rebateWalletIds, d.walletId]
               } else {
               } else {
                 k.walletIds = [...k.walletIds, d.walletId]
                 k.walletIds = [...k.walletIds, d.walletId]
-                k.ovalWalletIds = [...k.rebateWalletIds, d.walletId]
+                k.ovalWalletIds = [...k.walletIds, d.walletId]
               }
               }
             }
             }
             // this.priceList.forEach(l => {
             // this.priceList.forEach(l => {
@@ -1321,6 +1321,7 @@ export default {
           this.handleUpdateTime()
           this.handleUpdateTime()
 
 
           if (row.ovalWalletIds && row.ovalWalletIds.length) {
           if (row.ovalWalletIds && row.ovalWalletIds.length) {
+            console.log(   row.ovalWalletIds)
             row.ovalWalletIds.forEach(k => {
             row.ovalWalletIds.forEach(k => {
               if (!~NoRebateWalletListId.indexOf(k)) {
               if (!~NoRebateWalletListId.indexOf(k)) {
                 const item = this.NoRebateWalletList.find(e => e.id === k)
                 const item = this.NoRebateWalletList.find(e => e.id === k)