|
@@ -127,15 +127,7 @@ const state = ref({
|
|
|
const { pagination, visible, puyType, Currency, cyciy, tariffListData, Form, formRef, billingMethodList, Edit, Type } = toRefs(state.value)
|
|
|
|
|
|
const rules = {
|
|
|
- label: [{ required: true, message: '套餐名称不能为空' }, {
|
|
|
- validator: (value, cb) => {
|
|
|
- if (value.length > 10) {
|
|
|
- cb('套餐名称最多10个字符');
|
|
|
- } else {
|
|
|
- cb();
|
|
|
- }
|
|
|
- }
|
|
|
- }],
|
|
|
+ label: [{ required: true, message: '套餐名称不能为空' }],
|
|
|
type: [{ required: true, message: '请选择充值类型' }],
|
|
|
period: [{ required: true, message: '请填写充值周期' }, {
|
|
|
validator: (value, cb) => {
|