Commit d1d8bca2 by Sweet Zhang

新增应付款支持负数

parent e451de86
...@@ -421,9 +421,8 @@ const addPayRecordFormConfig = [ ...@@ -421,9 +421,8 @@ const addPayRecordFormConfig = [
type: 'input', type: 'input',
prop: 'amount', prop: 'amount',
label: '出账金额', label: '出账金额',
inputType: 'decimal',
rules: [ rules: [
{ pattern: /^\d+$/, message: '只能输入正整数', trigger: 'blur' } { pattern: /^-?\d+(\.\d{1,2})?$/, message: '小数(最多两位)', trigger: 'blur' }
] ]
}, { }, {
type: 'select', type: 'select',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment