Commit 6ed41377 by 张权

fix: 上传限制4张

1 parent 05c14925
......@@ -976,7 +976,14 @@ export default {
this.updateEquity(params)
},
updateEquity(params) {
const loading = this.$loading({
lock: true,
text: 'Loading',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.3)'
})
this.$apis.ghBeforeSale.updateEquityApi(params).then(res => {
loading.close();
this.submit = false
if (res.errId == 'A1307') {
this.whereToGo('vin')
......
......@@ -41,7 +41,7 @@
<!-- 表格区域 end -->
</div>
<pdf-dialog :isVisible="isPdfVisible" title="合同" :pdfUrl="pdfUrl" @closeDialog="handlePdfClose"></pdf-dialog>
<glsx-dialog class="upload-dialog" title="上传资料" :isVisible.sync="isFileVisible" width="710px" :noCancel="noCancel" btnOkLabel="关闭" @confirmDialog="handleUploadFileClose" @closeDialog="handleUploadFileClose">
<glsx-dialog class="upload-dialog" title="上传资料" :isVisible.sync="isFileVisible" width="750px" :noCancel="noCancel" btnOkLabel="关闭" @confirmDialog="handleUploadFileClose" @closeDialog="handleUploadFileClose">
<div class="upload-wrap" style="height: 284px; overflow-y: scroll;">
<glsx-combi-form labelWidth="300px" :isBlock="isBlock" @handleImgDelete="handleDelImg(arguments)" ref="uploadFormRef" formRef="uploadChildRef" :formRules="uploadRule" :formObj.sync="uploadForm" :formData="uploadFormData">
<span class="upload-slot" slot="uploadSlot" slot-scope="item">
......@@ -701,7 +701,7 @@ export default {
name: item.attachmentCode,
type: 'upload',
limitSize: 20,
maxPhotoNum: 9,
maxPhotoNum: 4,
suffixSlot:'uploadSlot',
handleUpload: (e, file, targetItem) => {
const imgFile = e.target.result
......@@ -1490,7 +1490,7 @@ export default {
display: none;
}
&:last-child{
width: 250px;
width: 330px;
.img-btns, img{
width: 64px;
height: 64px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!