소스 검색

no message

linwenxin 1 년 전
부모
커밋
ae234cb105
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/views/finance/components/receivable_list-add.vue
  2. 2 0
      src/views/finance/components/receivable_list-detail.vue

+ 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