瀏覽代碼

2024.12.05 - 修复财务打款第一次无法选中通联的bug

GuYun-D 3 月之前
父節點
當前提交
79a7e97ee2
共有 1 個文件被更改,包括 12 次插入18 次删除
  1. 12 18
      src/views/finance/withdrawal/components/WithdrawalProcessing.vue

+ 12 - 18
src/views/finance/withdrawal/components/WithdrawalProcessing.vue

@@ -1,8 +1,5 @@
 <template>
-  <el-dialog
-    :visible.sync="visible"
-    v-bind="modalOptions"
-  >
+  <el-dialog :visible.sync="visible" v-bind="modalOptions">
     <div>
       <el-descriptions title="" :column="2" border>
         <el-descriptions-item label="店铺名称:">
@@ -65,12 +62,13 @@
         </el-descriptions-item>
       </el-descriptions>
     </div>
-    <div style="color: red;font-size: 16px;text-align: center;">* 请确认您已转账成功,再点击确认。说明:分账金额代表已打款,T+1到账</div>
-    <el-input v-show="formData.state == 3" v-model="formData.cause" type="textarea" autosize placeholder="请输入拒绝打款理由">
-    </el-input>
-    <div v-show="formData.state == 2" style="margin-top: 30px;">
-      <el-radio v-model="formData.type" label="1" border>通联</el-radio>
-      <el-radio v-model="formData.type" label="2" border>线下</el-radio>
+    <div style="color: red; font-size: 16px; text-align: center; margin-top: 10px">* 请确认您已转账成功,再点击确认。说明:分账金额代表已打款,T+1到账</div>
+    <el-input v-show="formData.state == 3" v-model="formData.cause" type="textarea" autosize placeholder="请输入拒绝打款理由"></el-input>
+    <div v-show="formData.state == 2" style="margin-top: 30px">
+      <el-radio-group v-model="formData.type">
+        <el-radio :label="1" border>通联</el-radio>
+        <el-radio :label="2" border>线下</el-radio>
+      </el-radio-group>
     </div>
 
     <template #footer>
@@ -90,8 +88,7 @@ import { withdrawalGetById, withdrawalHandle } from '@/api/withdrawal'
 
 export default {
   name: 'WithdrawalProcessing',
-  components: {
-  },
+  components: {},
   data() {
     return {
       modalOptions: {
@@ -112,23 +109,21 @@ export default {
         applyTime: '',
         handleTime: '',
         state: '',
-        type: '', // 支付方式选择
+        type: 1 , // 支付方式选择
         cause: '', // 拒绝理由
         summaryHsbSplitState: '',
         summaryHsbSplitedAmount: '',
         summaryHsbSplitRemainAmount: '',
         summaryNotHsbAmount: ''
       },
-      formRules: {
-      }
+      formRules: {}
     }
   },
   methods: {
     handleClose() {
       this.visible = false
     },
-    async initList() {
-    },
+    async initList() {},
     handleOpen(params = {}) {
       this.modalOptions.title = '提现处理'
       this.formData = Object.assign(this.$options.data().formData, params)
@@ -226,4 +221,3 @@ export default {
   }
 }
 </script>
-