update 支出合同新增字段的编辑限制
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
<a-input placeholder="请输入联系电话"
|
||||
v-decorator="['phone',validatorRules.phone]"
|
||||
:maxLength='11'
|
||||
:disabled="canEdit"
|
||||
@change="e => {e.target.value = (e.target.value + '').trim()}"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -64,6 +65,7 @@
|
||||
<a-input placeholder="请输入邮寄地址"
|
||||
v-decorator="['address',validatorRules.address]"
|
||||
:maxLength='50'
|
||||
:disabled="canEdit"
|
||||
@change="e => {e.target.value = (e.target.value + '').trim()}"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -72,6 +74,7 @@
|
||||
<a-input placeholder="请输入邮编"
|
||||
v-decorator="['postCode',validatorRules.postCode]"
|
||||
:maxLength='6'
|
||||
:disabled="canEdit"
|
||||
@change="e => {e.target.value = (e.target.value + '').trim()}"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
Reference in New Issue
Block a user