Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6ed41377
authored
Mar 04, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 上传限制4张
1 parent
05c14925
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
src/views/ghPreSale/editEquity.vue
src/views/ghPreSale/equityList.vue
src/views/ghPreSale/editEquity.vue
View file @
6ed4137
...
@@ -976,7 +976,14 @@ export default {
...
@@ -976,7 +976,14 @@ export default {
this
.
updateEquity
(
params
)
this
.
updateEquity
(
params
)
},
},
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
=>
{
this
.
$apis
.
ghBeforeSale
.
updateEquityApi
(
params
).
then
(
res
=>
{
loading
.
close
();
this
.
submit
=
false
this
.
submit
=
false
if
(
res
.
errId
==
'A1307'
)
{
if
(
res
.
errId
==
'A1307'
)
{
this
.
whereToGo
(
'vin'
)
this
.
whereToGo
(
'vin'
)
...
...
src/views/ghPreSale/equityList.vue
View file @
6ed4137
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<!-- 表格区域 end -->
<!-- 表格区域 end -->
</div>
</div>
<pdf-dialog
:isVisible=
"isPdfVisible"
title=
"合同"
:pdfUrl=
"pdfUrl"
@
closeDialog=
"handlePdfClose"
></pdf-dialog>
<pdf-dialog
:isVisible=
"isPdfVisible"
title=
"合同"
:pdfUrl=
"pdfUrl"
@
closeDialog=
"handlePdfClose"
></pdf-dialog>
<glsx-dialog
class=
"upload-dialog"
title=
"上传资料"
:isVisible
.
sync=
"isFileVisible"
width=
"7
1
0px"
:noCancel=
"noCancel"
btnOkLabel=
"关闭"
@
confirmDialog=
"handleUploadFileClose"
@
closeDialog=
"handleUploadFileClose"
>
<glsx-dialog
class=
"upload-dialog"
title=
"上传资料"
:isVisible
.
sync=
"isFileVisible"
width=
"7
5
0px"
:noCancel=
"noCancel"
btnOkLabel=
"关闭"
@
confirmDialog=
"handleUploadFileClose"
@
closeDialog=
"handleUploadFileClose"
>
<div
class=
"upload-wrap"
style=
"height: 284px; overflow-y: scroll;"
>
<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"
>
<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"
>
<span
class=
"upload-slot"
slot=
"uploadSlot"
slot-scope=
"item"
>
...
@@ -701,7 +701,7 @@ export default {
...
@@ -701,7 +701,7 @@ export default {
name
:
item
.
attachmentCode
,
name
:
item
.
attachmentCode
,
type
:
'upload'
,
type
:
'upload'
,
limitSize
:
20
,
limitSize
:
20
,
maxPhotoNum
:
9
,
maxPhotoNum
:
4
,
suffixSlot
:
'uploadSlot'
,
suffixSlot
:
'uploadSlot'
,
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
const
imgFile
=
e
.
target
.
result
const
imgFile
=
e
.
target
.
result
...
@@ -1490,7 +1490,7 @@ export default {
...
@@ -1490,7 +1490,7 @@ export default {
display
:
none
;
display
:
none
;
}
}
&
:last-child
{
&
:last-child
{
width
:
25
0px
;
width
:
33
0px
;
.img-btns,
img{
.img-btns,
img{
width
:
64px
;
width
:
64px
;
height
:
64px
;
height
:
64px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment