فهرست منبع

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
         >