linwenxin 1 år sedan
förälder
incheckning
ae234cb105

+ 2 - 0
src/views/finance/components/receivable_list-add.vue

@@ -174,8 +174,10 @@
               <el-select filterable v-model="scope.row.customerWalletId" @change="(v)=>{
                 if(v && scope.row.walletList.find(d=>d.customerWalletId==v)){
                   scope.row.customerWalletName = scope.row.walletList.find(d=>d.customerWalletId==v).customerWalletName
+                  scope.row.walletId = scope.row.walletList.find(d=>d.customerWalletId==v).walletRebateId
                 }else{
                   scope.row.customerWalletName = ''
+                  scope.row.walletId = ''
                 }
               }" placeholder="请选择">
                 <el-option

+ 2 - 0
src/views/finance/components/receivable_list-detail.vue

@@ -212,8 +212,10 @@
               <el-select filterable v-model="scope.row.customerWalletId" @change="(v)=>{
                 if(v && scope.row.walletList.find(d=>d.customerWalletId==v)){
                   scope.row.customerWalletName = scope.row.walletList.find(d=>d.customerWalletId==v).customerWalletName
+                  scope.row.walletId = scope.row.walletList.find(d=>d.customerWalletId==v).walletRebateId
                 }else{
                   scope.row.customerWalletName = ''
+                  scope.row.walletId = ''
                 }
               }" placeholder="请选择">
                 <el-option