Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 94429553
authored
May 20, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
查看合同bug修复
1 parent
5d35e78d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
8 deletions
src/views/beforeSale/writeOff/damage.vue
src/views/claims/order.vue
src/views/djClaims/components/check/index.vue
src/views/djClaims/components/contractDialog.vue
src/views/djClaims/components/watch/index.vue
src/views/beforeSale/writeOff/damage.vue
View file @
9442955
...
@@ -374,7 +374,8 @@ export default {
...
@@ -374,7 +374,8 @@ export default {
},
},
methods
:
{
methods
:
{
// 查看合同
// 查看合同
handleContractPdf
()
{
handleContractPdf
(
flag
)
{
if
(
flag
)
return
const
loading
=
this
.
$loading
({
const
loading
=
this
.
$loading
({
lock
:
true
,
lock
:
true
,
text
:
'Loading'
,
text
:
'Loading'
,
...
...
src/views/claims/order.vue
View file @
9442955
...
@@ -61,6 +61,8 @@
...
@@ -61,6 +61,8 @@
<GLDialog
class=
"gl-form-page gl-form-min"
title=
"审核不通过"
mode=
"mid"
:visible
.
sync=
"showNoPassDialog"
@
onOk=
"comfirmNoPass"
@
onCancel=
"cancleNoPass"
>
<GLDialog
class=
"gl-form-page gl-form-min"
title=
"审核不通过"
mode=
"mid"
:visible
.
sync=
"showNoPassDialog"
@
onOk=
"comfirmNoPass"
@
onCancel=
"cancleNoPass"
>
<glsx-combi-form
ref=
"noPassRef"
:isInline=
"false"
labelWidth=
"154px"
defaultWidth=
"284px"
:formObj=
"noPassObj"
:formData=
"noPassForm"
></glsx-combi-form>
<glsx-combi-form
ref=
"noPassRef"
:isInline=
"false"
labelWidth=
"154px"
defaultWidth=
"284px"
:formObj=
"noPassObj"
:formData=
"noPassForm"
></glsx-combi-form>
</GLDialog>
</GLDialog>
<!-- 查看合同 -->
<contract-dialog
v-if=
"pageType != 1"
ref=
"contract-dialog"
:isVisible=
"contractVisible"
:pdfUrl=
"pdfUrl"
@
handleContractPdf=
"handleContractPdf"
@
closeDialog=
"closeDialog"
></contract-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -71,6 +73,7 @@ import util from '@/util/util'
...
@@ -71,6 +73,7 @@ import util from '@/util/util'
import
wraning
from
'./components/wraning/index.vue'
import
wraning
from
'./components/wraning/index.vue'
import
glsxCombiForm
from
'@/components/glsx-combi-form'
import
glsxCombiForm
from
'@/components/glsx-combi-form'
import
NP
from
'number-precision'
import
NP
from
'number-precision'
import
contractDialog
from
'../djClaims/components/contractDialog.vue'
export
default
{
export
default
{
name
:
'order'
,
name
:
'order'
,
components
:
{
components
:
{
...
@@ -78,7 +81,8 @@ export default {
...
@@ -78,7 +81,8 @@ export default {
repair
,
repair
,
material
,
material
,
wraning
,
wraning
,
glsxCombiForm
glsxCombiForm
,
contractDialog
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -174,7 +178,8 @@ export default {
...
@@ -174,7 +178,8 @@ export default {
},
},
reasonForFailureCode
:
1
,
reasonForFailureCode
:
1
,
isWatchOrder
:
false
,
isWatchOrder
:
false
,
refitInfo
:
{}
refitInfo
:
{},
contractVisible
:
false
}
}
},
},
created
()
{
created
()
{
...
@@ -203,6 +208,30 @@ export default {
...
@@ -203,6 +208,30 @@ export default {
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
// 查看合同
handleContractPdf
(
flag
)
{
if
(
flag
)
return
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
this
.
$apis
.
beforeSale
.
getContractUrlApi
({
contractNo
:
this
.
editForm
?.
contractNo
}).
then
(
res
=>
{
let
{
code
,
message
}
=
res
if
(
code
==
0
)
{
this
.
pdfUrl
=
res
.
data
this
.
contractVisible
=
true
}
else
{
this
.
$message
.
error
(
message
)
}
loading
.
close
()
})
},
// 关闭查看合同弹窗
closeDialog
()
{
this
.
contractVisible
=
false
},
// 校验上传资料是否填完
// 校验上传资料是否填完
verifyWarningImage
()
{
verifyWarningImage
()
{
if
(
!
this
.
queryList
)
{
if
(
!
this
.
queryList
)
{
...
...
src/views/djClaims/components/check/index.vue
View file @
9442955
...
@@ -279,7 +279,8 @@ export default {
...
@@ -279,7 +279,8 @@ export default {
},
},
methods
:
{
methods
:
{
// 查看合同
// 查看合同
handleContractPdf
()
{
handleContractPdf
(
flag
)
{
if
(
flag
)
return
const
loading
=
this
.
$loading
({
const
loading
=
this
.
$loading
({
lock
:
true
,
lock
:
true
,
text
:
'Loading'
,
text
:
'Loading'
,
...
...
src/views/djClaims/components/contractDialog.vue
View file @
9442955
<
template
>
<
template
>
<!-- 合同内容弹窗 -->
<!-- 合同内容弹窗 -->
<div>
<div
<div
v-if=
"isVisible"
v-if=
"isVisible"
class=
"pdf-preview-container"
class=
"pdf-preview-container"
...
@@ -32,10 +33,11 @@
...
@@ -32,10 +33,11 @@
<div
class=
"resize-handle sw"
@
mousedown=
"startResize($event, 'sw')"
></div>
<div
class=
"resize-handle sw"
@
mousedown=
"startResize($event, 'sw')"
></div>
</div>
</div>
<!-- 功能入口 -->
<!-- 功能入口 -->
<div
v-else
class=
"point-btn"
@
click
.
capture=
"handleShow"
>
<div
class=
"point-btn"
@
click
.
capture=
"handleShow"
>
<img
src=
"../../../assets/view-icon.png"
alt=
""
>
<img
src=
"../../../assets/view-icon.png"
alt=
""
>
<div
class=
"contact_text"
>
查看合同
</div>
<div
class=
"contact_text"
>
查看合同
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -73,9 +75,10 @@ export default {
...
@@ -73,9 +75,10 @@ export default {
watch
:
{
watch
:
{
isVisible
:
{
isVisible
:
{
handler
(
n
)
{
handler
(
n
)
{
console
.
log
(
n
)
this
.
size
.
width
=
400
this
.
size
.
width
=
400
this
.
size
.
height
=
500
this
.
size
.
height
=
500
this
.
position
.
x
=
800
this
.
position
.
y
=
100
}
}
}
}
},
},
...
@@ -116,7 +119,7 @@ export default {
...
@@ -116,7 +119,7 @@ export default {
},
},
methods
:
{
methods
:
{
handleShow
()
{
handleShow
()
{
this
.
$emit
(
'handleContractPdf'
)
this
.
$emit
(
'handleContractPdf'
,
this
.
isVisible
)
},
},
startDrag
(
e
)
{
startDrag
(
e
)
{
// 忽略缩放控制点的点击
// 忽略缩放控制点的点击
...
...
src/views/djClaims/components/watch/index.vue
View file @
9442955
...
@@ -402,7 +402,8 @@ export default {
...
@@ -402,7 +402,8 @@ export default {
},
},
methods
:
{
methods
:
{
// 查看合同
// 查看合同
handleContractPdf
()
{
handleContractPdf
(
flag
)
{
if
(
flag
)
return
const
loading
=
this
.
$loading
({
const
loading
=
this
.
$loading
({
lock
:
true
,
lock
:
true
,
text
:
'Loading'
,
text
:
'Loading'
,
...
...
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