【修改】缴费凭证只能上传2张
This commit is contained in:
@@ -178,7 +178,7 @@ export default {
|
||||
let fileList = info.fileList
|
||||
|
||||
if (info.file.status === 'done') {
|
||||
if (!this.isMultiple && this.number > 0) {
|
||||
if ( this.number > 0) {
|
||||
fileList = fileList.slice(-this.number)
|
||||
}
|
||||
if (info.file.response.success) {
|
||||
|
||||
@@ -114,6 +114,7 @@
|
||||
<j-image-upload
|
||||
isLessThan5M
|
||||
isMultiple
|
||||
:number="2"
|
||||
:disabled="checkFlag||detailFlag"
|
||||
bizPath="payment"
|
||||
v-decorator="['paymentRecord', validatorRules.paymentRecord]">
|
||||
|
||||
@@ -442,6 +442,7 @@
|
||||
<j-image-upload
|
||||
isLessThan5M
|
||||
isMultiple
|
||||
:number="2"
|
||||
:disabled="checkFlag||detailFlag"
|
||||
bizPath="payment"
|
||||
v-decorator="['paymentRecord', validatorRules.paymentRecord]">
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
isLessThan5M
|
||||
isMultiple
|
||||
bizPath="payment"
|
||||
:number="2"
|
||||
v-decorator="['paymentRecord', validatorRules.paymentRecord]">
|
||||
</j-image-upload>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user