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 4a86f1fc
authored
Jun 05, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
c9be0573
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
src/views/GH/Renew/detail.vue
src/views/GH/Renew/renew.vue
src/views/GH/Renew/detail.vue
View file @
4a86f1f
<!-- 权益订单 -->
<!-- 权益订单 -->
<
template
>
<
template
>
<div>
<div>
<report
:renewDisable=
"orderStatus!=0"
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<report
:
key=
"comKey"
:
renewDisable=
"orderStatus!=0"
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<repair
:renewDisable=
"orderStatus!=0"
ref=
"repairRef"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<repair
:renewDisable=
"orderStatus!=0"
ref=
"repairRef"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<material
:renewDisable=
"orderStatus!=0"
:isXB=
"true"
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<material
:renewDisable=
"orderStatus!=0"
:isXB=
"true"
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<!-- 案件说明 -->
<!-- 案件说明 -->
...
@@ -227,6 +227,7 @@ export default {
...
@@ -227,6 +227,7 @@ export default {
item
.
operation
=
obj_o
[
item
.
operation
]
item
.
operation
=
obj_o
[
item
.
operation
]
})
})
this
.
recordList
=
recordList
this
.
recordList
=
recordList
this
.
comKey
=
new
Date
()
})
})
},
},
// 新增的时候,输入合同号,带出信息
// 新增的时候,输入合同号,带出信息
...
@@ -428,7 +429,7 @@ export default {
...
@@ -428,7 +429,7 @@ export default {
toSubmitGuoRen
()
{
toSubmitGuoRen
()
{
let
approveAmounts
=
{}
let
approveAmounts
=
{}
this
.
serviceItemsList
.
forEach
(
el
=>
{
this
.
serviceItemsList
.
forEach
(
el
=>
{
Object
.
assign
(
approveAmounts
,
{
[
el
.
serviceItemCode
]:
el
.
app
ly
Amount
})
Object
.
assign
(
approveAmounts
,
{
[
el
.
serviceItemCode
]:
el
.
app
rove
Amount
})
})
})
let
files
=
[]
let
files
=
[]
for
(
let
i
in
this
.
materialForm
)
{
for
(
let
i
in
this
.
materialForm
)
{
...
@@ -470,8 +471,8 @@ export default {
...
@@ -470,8 +471,8 @@ export default {
}
else
if
(
checkPlan
.
indexOf
(
'.'
)
>=
0
)
{
}
else
if
(
checkPlan
.
indexOf
(
'.'
)
>=
0
)
{
checkPlan
=
checkPlan
.
replace
(
/^
()
*
(\d
+
)\.(\d\d)
.*$/
,
'$1$2.$3'
)
// 只能输入两个小数
checkPlan
=
checkPlan
.
replace
(
/^
()
*
(\d
+
)\.(\d\d)
.*$/
,
'$1$2.$3'
)
// 只能输入两个小数
}
}
console
.
log
(
checkPlan
)
this
.
$set
(
this
.
serviceItemsList
[
id
],
'approveAmount'
,
checkPlan
)
this
.
$set
(
this
.
serviceItemsList
[
id
],
'approveAmount'
,
checkPlan
)
this
.
approveAmountsInput
[
id
]
=
checkPlan
}
}
}
}
}
}
...
...
src/views/GH/Renew/renew.vue
View file @
4a86f1f
...
@@ -84,7 +84,7 @@ export default {
...
@@ -84,7 +84,7 @@ export default {
return
'去处理'
return
'去处理'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
[
15
,
14
,
0
].
includes
(
row
.
scope
.
status
)
return
[
15
,
0
].
includes
(
row
.
scope
.
status
)
},
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
...
@@ -100,7 +100,7 @@ export default {
...
@@ -100,7 +100,7 @@ export default {
return
'查看'
return
'查看'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
[
1
,
3
,
4
,
17
,
2
].
includes
(
row
.
scope
.
status
)
return
[
1
,
3
,
4
,
17
,
2
,
14
].
includes
(
row
.
scope
.
status
)
},
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
...
@@ -341,7 +341,8 @@ export default {
...
@@ -341,7 +341,8 @@ export default {
this
.
searchForm
=
{
this
.
searchForm
=
{
searchText
:
''
,
searchText
:
''
,
status
:
''
,
status
:
''
,
commitDate
:
''
commitDate
:
''
,
equitySource
:
1
}
}
this
.
getTableData
()
this
.
getTableData
()
},
},
...
...
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