|
@@ -62,6 +62,7 @@
|
|
|
:limit="1"
|
|
:limit="1"
|
|
|
ref="refuploadattach"
|
|
ref="refuploadattach"
|
|
|
:http-request="uploadrequest"
|
|
:http-request="uploadrequest"
|
|
|
|
|
+ :on-change="handleChangePic"
|
|
|
class="attach-uploader">
|
|
class="attach-uploader">
|
|
|
<i class="el-icon-plus attach-uploader-icon"></i>
|
|
<i class="el-icon-plus attach-uploader-icon"></i>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
@@ -302,7 +303,11 @@ Viewer.setDefaults({
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+ handleChangePic (file, fileList) {
|
|
|
|
|
+ if (fileList.length > 1) {
|
|
|
|
|
+ fileList.splice(0, 1)
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
showDialog () {
|
|
showDialog () {
|
|
|
this.Title = '代理制造商'
|
|
this.Title = '代理制造商'
|
|
|
this.ManufacturerForm.SupplierCertId = this.SupplierCertId
|
|
this.ManufacturerForm.SupplierCertId = this.SupplierCertId
|