当前位置:网站首页>el-input-number禁用科学计数无果,换成el-input(type=“number“)
el-input-number禁用科学计数无果,换成el-input(type=“number“)
2022-07-16 06:31:00 【美丽先生】

// 当不设置:max="999999999"时,数值过大会出现科学计数法
el-input-number(placeholder="合同约定的数量" size="small" :min="1" :max="999999999" v-model="scope.row.appointment_num")
可以换成el-input》type="number"形式
el-input(placeholder="合同约定的数量" size="small" type="number" v-model="scope.row.appointment_num")

js判断输入框内容
let arr1 = this.subTableData.filter(item => !item.device_name || item.appointment_num <= 0)
if(arr1 && arr1.length) {
this.$message.warning('合同约定的数量不能小于1!')
return
}
边栏推荐
- Data agility, HTAP database determines both efficiency and life and death
- HMM & MEMM & CRF
- Eureka read-write lock fantasy, too top!
- How about the income of increased life insurance? Can it be a pension financial product?
- Gee (6): set the number of decimal places reserved for the calculated value / image
- [sdx62] SBL stage read GPIO status operation
- Vulnhub-DC8学习笔记
- Remove the problem of repeated letters (the minimum sequence of different characters)
- 2022 questions and answers of safety management personnel operation examination of hazardous chemical business units
- Redis报错MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist...
猜你喜欢

2022T电梯修理操作证考试题及在线模拟考试

vivado里那些看不懂的约束语句

SLAM_ Rotational kinematics_ Relationship between velocity V and acceleration a in two coordinate systems

2022年A特种设备相关管理(电梯)操作证考试题及在线模拟考试

「TakinTalks」_ 故障频繁发生,如何做好系统稳定性?
![[applet] attribute description and example of input box (text + code)](/img/70/b28518d61225f01ec369c0dd7f442e.png)
[applet] attribute description and example of input box (text + code)

CUDA and cudnn installation tutorial (super detailed) Uninstalling CUDA, installing nsight visual studio edition of CUDA fails, and there is no CUDA option in vs2019+cuda11.1 new project

Failure of CUDA installation nsight visual studio edition failed

SLAM_旋转运动学_两个坐标系速度v和加速度a的关系

Vulnhub-DC8学习笔记
随机推荐
如何用常数时间插入、删除和获取随机元素
How about the income of increased life insurance? Can it be a pension financial product?
Operation of simulated examination platform for 2022 G2 boiler stoker examination
Preparation for the computer test of Baosteel 15: a master of string processing
2022危险化学品经营单位安全管理人员操作考试题及答案
Kotlin SQLite URL转义字符(Escape)(一)
HMM & MEMM & CRF
关于mock第三方调用
保研机试备考十五:字符串处理 集大成者
[C language] printf formatted output and modifier summary
Wwdc22 - Apple privacy technology exploration
书写更自然,媲美原厂体验,南卡Pencil电容笔上手
How does DMS empower database functions?
WWDC22 - In App Purchase 更新总结
A series of questions about candy
AcWing 3652. Maximum continuous subsequence dynamic programming
Top k high frequency elements
Will the arrears of Alibaba cloud international ECS be automatically released?
06-GuliMall 基础CRUD功能创建
How to insert, delete and obtain random elements with constant time