|
|
@@ -18,20 +18,6 @@
|
|
|
:default-value="new Date()" value-format="YYYY-MM-DD" :editable="false" :clearable="false"
|
|
|
@visible-change="visibleChange" @calendar-change="calendarChange" :rules="formRules.Xydqrq" />
|
|
|
</el-form-item>
|
|
|
- <!-- <el-form-item label="一次扣费限额" prop="Yckfxe">
|
|
|
- <el-input-number :precision="2" :step="0.01" name="Yckfxe" placeholder="请输入一次扣费限额" v-model="Yckfxe" :rules="formRules.Yckfxe" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="扣费周期内扣款限额" prop="Kkzqnkfxe">
|
|
|
- <el-input-number :precision="2" :step="0.01" name="Kkzqnkfxe" placeholder="请输入扣费周期内扣款限额" v-model="Kkzqnkfxe" :rules="formRules.Kkzqnkfxe" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="扣费周期内限制笔数" prop="Kkzqnxzbs">
|
|
|
- <el-input-number :precision="0" :step="1" name="Kkzqnxzbs" placeholder="请输入扣费周期内限制笔数" v-model="Kkzqnxzbs" :rules="formRules.Kkzqnxzbs" />
|
|
|
- </el-form-item> -->
|
|
|
- <el-form-item class="el-form-item--row" label="扣款单位" prop="Kksjdw">
|
|
|
- <el-select effect="dark" v-model="Kksjdw" :rules="formRules.Kksjdw" >
|
|
|
- <el-option :label="item.label" :value="item.value" v-for="(item, index) in getGt_kksjdwList()" :key="index" />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
<el-form-item class="el-form-item--row" label="地址" prop="Addr">
|
|
|
<el-input name="Addr" v-model="formData.Addr" maxlength="128" placeholder="请输入联系地址" />
|
|
|
</el-form-item>
|
|
|
@@ -49,7 +35,6 @@
|
|
|
<script lang="ts" setup>
|
|
|
import { ref } from 'vue'
|
|
|
import { ElMessage, FormInstance, FormRules, ElMessageBox } from 'element-plus'
|
|
|
-import { getGt_kksjdwList } from "@/constants/bank"
|
|
|
import { useDoYJFGetWithholdSignInSMSVCode, useDoYJF_WithholdSignInSMS } from '@/business/bank'
|
|
|
import { validateRules } from '@/constants/regex'
|
|
|
import { useDateRange } from '@/hooks/date-picker'
|
|
|
@@ -62,18 +47,8 @@ const { visibleChange, calendarChange } = useDateRange()
|
|
|
const show = ref(true)
|
|
|
const refresh = ref(false)
|
|
|
const formRef = ref<FormInstance>()
|
|
|
-const Kksjdw = ref('')
|
|
|
-// const Kkzqnkfxe = ref(0.00)
|
|
|
-// const Yckfxe = ref(0.00)
|
|
|
-// const Kkzqnxzbs = ref(0)
|
|
|
|
|
|
const formRules: FormRules = {
|
|
|
- // Yckfxe: [{
|
|
|
- // message: '请输入一次扣费限额',
|
|
|
- // validator: () => {
|
|
|
- // return !!Yckfxe.value
|
|
|
- // }
|
|
|
- // }],
|
|
|
Xysxrq: [{
|
|
|
message: '请选择协议生效期',
|
|
|
validator: () => {
|
|
|
@@ -86,24 +61,6 @@ const formRules: FormRules = {
|
|
|
return !!formData.Xydqrq
|
|
|
}
|
|
|
}],
|
|
|
- Kksjdw: [{
|
|
|
- message: '请选择扣款单位',
|
|
|
- validator: () => {
|
|
|
- return !!Kksjdw.value
|
|
|
- }
|
|
|
- }],
|
|
|
- // Kkzqnkfxe: [{
|
|
|
- // message: '请输入扣费周期内扣款限额',
|
|
|
- // validator: () => {
|
|
|
- // return !!Kkzqnkfxe.value
|
|
|
- // }
|
|
|
- // }],
|
|
|
- // Kkzqnxzbs: [{
|
|
|
- // message: '请输入扣费周期内限制笔数',
|
|
|
- // validator: () => {
|
|
|
- // return !!Kkzqnxzbs.value
|
|
|
- // }
|
|
|
- // }],
|
|
|
Lxdh: [{
|
|
|
message: '请输入手机号码',
|
|
|
validator: (rule, value, callback) => {
|
|
|
@@ -136,10 +93,6 @@ const signSubmit = () => {
|
|
|
const formSubmit = () => {
|
|
|
formRef.value?.validate((formValid) => {
|
|
|
if (formValid) {
|
|
|
-
|
|
|
- /// 数据单独处理
|
|
|
- formData.Kksjdw = Kksjdw.value.toString()
|
|
|
-
|
|
|
onSubmit().then(() => {
|
|
|
ElMessageBox.prompt('请输入验证码', '验证码', {
|
|
|
confirmButtonText: '提交',
|