浏览代码

fix: 客户总账充值的必选项

lyc 6 天之前
父节点
当前提交
12ebb5d7bf
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      src/composables/recharge/useRechargeAdd.ts
  2. 1 1
      src/views/recharge/AddRechargeAdd.vue

+ 2 - 0
src/composables/recharge/useRechargeAdd.ts

@@ -27,6 +27,8 @@ function useRechargeAdd(onClose: Fn, onShow: Fn, setLoading: Fn, emit: Fn) {
         customerId: [{ required: true, message: '请选择客户编号', trigger: 'change' }],
         currencyCode: [{ required: true, message: '请选择币种', trigger: 'change' }],
         feeAmount: [{ required: true, message: '请输入金额', trigger: 'blur' }],
+        receiveTime: [{ required: true, message: '请选择付款时间', trigger: 'change' }],
+        paymentType: [{ required: true, message: '请选择付款方式', trigger: 'change' }],
     })
     // 显示
     const show = () => {

+ 1 - 1
src/views/recharge/AddRechargeAdd.vue

@@ -12,7 +12,7 @@
         <el-form
           ref="addrechargeRef"
           :model="rechargeForm"
-          :label-width="80"
+          :label-width="90"
           :rules="rechargeFormRules"
           inline
         >