@dongkboy 3 ماه پیش
والد
کامیت
61bd9b7d57
1فایلهای تغییر یافته به همراه3 افزوده شده و 4 حذف شده
  1. 3 4
      src/views/payCredit/index.vue

+ 3 - 4
src/views/payCredit/index.vue

@@ -378,7 +378,7 @@
           </el-upload>
           </el-upload>
         </el-form-item>
         </el-form-item>
         <el-form-item prop="accountName" label="付款账户">
         <el-form-item prop="accountName" label="付款账户">
-          <el-input placeholder="请填入" ref="accountNameRef" v-model="drawForm.accountName"  @click="payAccount" :readonly="true" clearable />
+          <el-input placeholder="请填入"  v-model="drawForm.accountName"  @click="payAccount" :readonly="true" clearable />
         </el-form-item>
         </el-form-item>
       </el-form>
       </el-form>
       <template #footer>
       <template #footer>
@@ -665,8 +665,7 @@ const handleAccountCancel = () => {
 const handleAccountSubmit = () => {
 const handleAccountSubmit = () => {
   payAccountShow.value = false
   payAccountShow.value = false
   drawForm.value.accountName = selectItem.value.bankCardNum
   drawForm.value.accountName = selectItem.value.bankCardNum
-  drawForm.value.accountId = selectItem.value.accountId
-  nextTick(() => accountNameRef.value.blur())
+  drawForm.value.accountId = selectItem.value.id
 }
 }
 const handleCancelVerifyAmount = () => {
 const handleCancelVerifyAmount = () => {
   drawForm.value = {
   drawForm.value = {
@@ -682,7 +681,7 @@ const handleVerifyAmount = () => {
     id: drawForm.value.id,
     id: drawForm.value.id,
     voucherId: drawForm.value.voucherId,
     voucherId: drawForm.value.voucherId,
     picId: drawForm.value.picId,
     picId: drawForm.value.picId,
-    accountId: drawForm.value.accountId,
+    cardId: drawForm.value.accountId,
   }).then((res: any) => {
   }).then((res: any) => {
     if (res.code == 200) {
     if (res.code == 200) {
       ElMessage({
       ElMessage({