Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
4b253116
Commit
4b253116
authored
Nov 27, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改接口
parent
13493ce8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
8 deletions
+18
-8
index.html
dist/index.html
+2
-2
52.23f257fea5adf70fced1.js
dist/static/js/52.23f257fea5adf70fced1.js
+2
-0
52.588e6a501727512ff125.js
dist/static/js/52.588e6a501727512ff125.js
+0
-2
manifest.7e34d7d4cb68dd6d23a7.js
dist/static/js/manifest.7e34d7d4cb68dd6d23a7.js
+2
-2
salerMonthDetail.vue
src/views/apps/quota/salerMonthDetail.vue
+12
-2
No files found.
dist/index.html
View file @
4b253116
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.c85fa8f746d40fdeb56240fc035dae01.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.bab82b391b0c72273e48.js
></script><script
type=
text/javascript
src=
./static/js/vendor.c9b2df17ceb0429de99c.js
></script><script
type=
text/javascript
src=
./static/js/app.3b7a0f97a46338a97901.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.c85fa8f746d40fdeb56240fc035dae01.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.7e34d7d4cb68dd6d23a7.js
></script><script
type=
text/javascript
src=
./static/js/vendor.c9b2df17ceb0429de99c.js
></script><script
type=
text/javascript
src=
./static/js/app.3b7a0f97a46338a97901.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/js/52.23f257fea5adf70fced1.js
0 → 100644
View file @
4b253116
webpackJsonp
([
52
],{
"+qr5"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
o
=
r
.
n
(
a
),
n
=
r
(
"PI0u"
),
s
=
r
(
"Ch4/"
),
c
=
r
(
"3E4D"
),
l
=
r
(
"P9l9"
),
i
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
operationStaffName
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
activeId
:
"4"
,
tableData
:[],
performanceSum
:
"0.00"
,
clerkObj
:{
storeId
:
""
,
storeName
:
""
,
yearMonth
:
""
,
settingAble
:
1
,
storePerformance
:
""
},
equalFlag
:
!
0
}},
computed
:{},
methods
:{
objectSpanMethod
:
function
(
e
){
e
.
row
,
e
.
column
;
var
t
=
e
.
rowIndex
;
if
(
2
===
e
.
columnIndex
)
return
0
==
t
?{
rowspan
:
this
.
tableData
.
length
,
colspan
:
1
}:{
rowspan
:
0
,
colspan
:
0
}},
inputPerformance
:
function
(
e
,
t
,
r
){
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
r
.
clerkPerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
).
toFixed
(
2
);
var
a
=
0
;
this
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
this
.
performanceSum
=
Number
(
a
).
toFixed
(
2
),
this
.
diffData
()},
inputValue
:
function
(
e
,
t
){
t
.
performanceValue
=
Number
(
String
(
e
).
replace
(
/
[^\d
.
]
/g
,
""
))?
String
(
e
).
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
;
var
r
=
0
;
this
.
tableData
.
forEach
(
function
(
e
){
r
+=
Number
(
e
.
performanceValue
)}),
this
.
performanceSum
=
Number
(
r
).
toFixed
(
2
),
this
.
diffData
()},
inputMonthPerformance
:
function
(
e
){
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
).
toFixed
(
2
),
this
.
diffData
()},
diffData
:
function
(){
var
e
=
Number
(
this
.
performanceSum
)
==
Number
(
this
.
clerkObj
.
storePerformance
);
return
this
.
equalFlag
=!!
e
,
e
},
saveSet
:
Object
(
n
.
a
)(
function
(){
if
(
!
this
.
diffData
())
return
!
1
;
if
(
""
==
this
.
clerkObj
.
storePerformance
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入门店月指标"
}),
!
1
;
var
e
=
{
clerkPerformanceList
:
this
.
tableData
,
storePerformance
:
this
.
clerkObj
.
storePerformance
,
operationStaffName
:
this
.
operationStaffName
};
this
.
postSave
(
e
)},
500
),
postSave
:
function
(
e
){
var
t
=
this
,
r
=
{
enterpriseId
:
t
.
activeBrand
,
storeId
:
t
.
clerkObj
.
storeId
,
yearMonth
:
t
.
clerkObj
.
yearMonth
,
performance
:
o
()(
e
)};
Object
(
l
.
d
)(
"/haoban-app-performance-three-web/performance/save-clerk-month-performance"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
s
.
a
.
errorMsg
(
t
):
c
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
activeBrand
,
storeId
:
e
.
clerkObj
.
storeId
,
yearMonth
:
e
.
clerkObj
.
yearMonth
};
Object
(
l
.
d
)(
"/haoban-app-performance-three-web/performance/query-clerk-month-performance"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
==
r
.
errorCode
){
r
.
result
.
clerkPerformanceList
&&
r
.
result
.
clerkPerformanceList
.
length
&&
(
r
.
result
.
clerkPerformanceList
.
forEach
(
function
(
e
){
e
.
clerkPerformance
=
Number
(
e
.
clerkPerformance
).
toFixed
(
2
)}),
e
.
tableData
=
r
.
result
.
clerkPerformanceList
||
[]),
r
.
result
.
storePerformance
=
Number
(
r
.
result
.
storePerformance
).
toFixed
(
2
),
e
.
clerkObj
=
r
.
result
;
var
a
=
0
;
return
e
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
void
(
e
.
performanceSum
=
Number
(
a
).
toFixed
(
2
))}
s
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"1"
),
this
.
brandId
&&
(
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
r
(
"div"
,{
staticClass
:
"task-set-content border-box"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title flex flex-space-between m-b-15"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title_left"
},[
r
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
yearMonth
))]),
r
(
"span"
,{
staticClass
:
"p-l-18"
},[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
storeName
)
+
"门店导购月指标详情"
)])])]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"saler-set-table"
},[
r
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
r
(
"el-table-column"
,{
attrs
:{
label
:
"导购"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"月指标"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
r
(
"el-input"
,{
staticClass
:
"w-120 p-l-8"
,
attrs
:{
maxlength
:
"12"
,
placeholder
:
"请输入"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
||
0
==
t
.
row
.
bindFlag
},
on
:{
blur
:
function
(
r
){
return
e
.
inputPerformance
(
r
,
t
.
$index
,
t
.
row
)},
input
:
function
(
r
){
return
e
.
inputValue
(
r
,
t
.
row
)}},
model
:{
value
:
t
.
row
.
clerkPerformance
,
callback
:
function
(
r
){
e
.
$set
(
t
.
row
,
"clerkPerformance"
,
r
)},
expression
:
"scope.row.clerkPerformance"
}},[
r
(
"i"
,{
staticStyle
:{
"font-style"
:
"normal"
,
position
:
"absolute"
,
top
:
"4px"
,
left
:
"12px"
},
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
},[
e
.
_v
(
"¥"
)])])],
1
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"总计=门店月指标"
,
width
:
"418px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
r
(
"span"
,{
staticClass
:
"font-14 color-606266 text-left"
},[
e
.
_v
(
"总计"
)]),
r
(
"span"
,{
staticClass
:
" p-l-175 font-14 color-606266 text-left"
},[
e
.
_v
(
"门店月指标"
)])]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticStyle
:{
"margin-top"
:
"4px"
}},[
r
(
"el-input"
,{
staticClass
:
"w-161"
,
attrs
:{
disabled
:
""
},
model
:{
value
:
e
.
performanceSum
,
callback
:
function
(
t
){
e
.
performanceSum
=
t
},
expression
:
"performanceSum"
}},[
r
(
"i"
,{
staticStyle
:{
"font-style"
:
"normal"
,
position
:
"absolute"
,
top
:
"4px"
,
left
:
"10px"
},
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
},[
e
.
_v
(
"¥"
)])]),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"p-l-10 p-r-10"
},[
e
.
_v
(
"="
)]),
e
.
_v
(
" "
),
r
(
"el-input"
,{
staticClass
:
"w-161 p-l-8"
,
attrs
:{
maxlength
:
"50"
,
placeholder
:
"请输入指标值"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
},
on
:{
blur
:
function
(
t
){
return
e
.
inputMonthPerformance
(
t
)}},
model
:{
value
:
e
.
clerkObj
.
storePerformance
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkObj
,
"storePerformance"
,
t
)},
expression
:
"clerkObj.storePerformance"
}},[
r
(
"i"
,{
staticStyle
:{
"font-style"
:
"normal"
,
position
:
"absolute"
,
top
:
"4px"
,
left
:
"16px"
},
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
},[
e
.
_v
(
"¥"
)])])],
1
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"task-set-save text-center m-t-30"
},[
1
==
e
.
clerkObj
.
settingAble
?
r
(
"el-button"
,{
attrs
:{
disabled
:
!
e
.
equalFlag
,
type
:
"primary"
},
on
:{
click
:
e
.
saveSet
}},[
e
.
_v
(
"确认"
)]):
e
.
_e
()],
1
)])])},
staticRenderFns
:[]};
var
u
=
r
(
"VU/8"
)(
i
,
f
,
!
1
,
function
(
e
){
r
(
"fX1K"
)},
"data-v-6336f928"
,
null
);
t
.
default
=
u
.
exports
},
fX1K
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/52.588e6a501727512ff125.js
deleted
100644 → 0
View file @
13493ce8
webpackJsonp
([
52
],{
"+qr5"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
o
=
r
.
n
(
a
),
s
=
r
(
"PI0u"
),
n
=
r
(
"Ch4/"
),
l
=
r
(
"3E4D"
),
c
=
r
(
"P9l9"
),
i
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
operationStaffName
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
activeId
:
"4"
,
tableData
:[],
performanceSum
:
"0.00"
,
clerkObj
:{
storeId
:
""
,
storeName
:
""
,
yearMonth
:
""
,
settingAble
:
1
,
storePerformance
:
""
},
equalFlag
:
!
0
}},
computed
:{},
methods
:{
objectSpanMethod
:
function
(
e
){
e
.
row
,
e
.
column
;
var
t
=
e
.
rowIndex
;
if
(
2
===
e
.
columnIndex
)
return
0
==
t
?{
rowspan
:
this
.
tableData
.
length
,
colspan
:
1
}:{
rowspan
:
0
,
colspan
:
0
}},
inputPerformance
:
function
(
e
,
t
,
r
){
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
r
.
clerkPerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
).
toFixed
(
2
);
var
a
=
0
;
this
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
this
.
performanceSum
=
Number
(
a
).
toFixed
(
2
),
this
.
diffData
()},
inputMonthPerformance
:
function
(
e
){
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
).
toFixed
(
2
),
this
.
diffData
()},
diffData
:
function
(){
var
e
=
Number
(
this
.
performanceSum
)
==
Number
(
this
.
clerkObj
.
storePerformance
);
return
this
.
equalFlag
=!!
e
,
e
},
saveSet
:
Object
(
s
.
a
)(
function
(){
if
(
!
this
.
diffData
())
return
!
1
;
if
(
""
==
this
.
clerkObj
.
storePerformance
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入门店月指标"
}),
!
1
;
var
e
=
{
clerkPerformanceList
:
this
.
tableData
,
storePerformance
:
this
.
clerkObj
.
storePerformance
,
operationStaffName
:
this
.
operationStaffName
};
this
.
postSave
(
e
)},
500
),
postSave
:
function
(
e
){
var
t
=
this
,
r
=
{
enterpriseId
:
t
.
activeBrand
,
storeId
:
t
.
clerkObj
.
storeId
,
yearMonth
:
t
.
clerkObj
.
yearMonth
,
performance
:
o
()(
e
)};
Object
(
c
.
d
)(
"/haoban-app-performance-three-web/performance/save-clerk-month-performance"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
n
.
a
.
errorMsg
(
t
):
l
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
activeBrand
,
storeId
:
e
.
clerkObj
.
storeId
,
yearMonth
:
e
.
clerkObj
.
yearMonth
};
Object
(
c
.
d
)(
"/haoban-app-performance-three-web/performance/query-clerk-month-performance"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
==
r
.
errorCode
){
r
.
result
.
clerkPerformanceList
&&
r
.
result
.
clerkPerformanceList
.
length
&&
(
r
.
result
.
clerkPerformanceList
.
forEach
(
function
(
e
){
e
.
clerkPerformance
=
Number
(
e
.
clerkPerformance
).
toFixed
(
2
)}),
e
.
tableData
=
r
.
result
.
clerkPerformanceList
||
[]),
r
.
result
.
storePerformance
=
Number
(
r
.
result
.
storePerformance
).
toFixed
(
2
),
e
.
clerkObj
=
r
.
result
;
var
a
=
0
;
return
e
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
void
(
e
.
performanceSum
=
Number
(
a
).
toFixed
(
2
))}
n
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"1"
),
this
.
brandId
&&
(
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
r
(
"div"
,{
staticClass
:
"task-set-content border-box"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title flex flex-space-between m-b-15"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title_left"
},[
r
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
yearMonth
))]),
r
(
"span"
,{
staticClass
:
"p-l-18"
},[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
storeName
)
+
"门店导购月指标详情"
)])])]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"saler-set-table"
},[
r
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
r
(
"el-table-column"
,{
attrs
:{
label
:
"导购"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"月指标"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
r
(
"el-input"
,{
staticClass
:
"w-120 p-l-8"
,
attrs
:{
maxlength
:
"50"
,
placeholder
:
"请输入"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
||
0
==
t
.
row
.
bindFlag
},
on
:{
blur
:
function
(
r
){
return
e
.
inputPerformance
(
r
,
t
.
$index
,
t
.
row
)}},
model
:{
value
:
t
.
row
.
clerkPerformance
,
callback
:
function
(
r
){
e
.
$set
(
t
.
row
,
"clerkPerformance"
,
r
)},
expression
:
"scope.row.clerkPerformance"
}},[
r
(
"i"
,{
staticStyle
:{
"font-style"
:
"normal"
,
position
:
"absolute"
,
top
:
"4px"
,
left
:
"12px"
},
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
},[
e
.
_v
(
"¥"
)])])],
1
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"总计=门店月指标"
,
width
:
"418px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
r
(
"span"
,{
staticClass
:
"font-14 color-606266 text-left"
},[
e
.
_v
(
"总计"
)]),
r
(
"span"
,{
staticClass
:
" p-l-175 font-14 color-606266 text-left"
},[
e
.
_v
(
"门店月指标"
)])]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticStyle
:{
"margin-top"
:
"4px"
}},[
r
(
"el-input"
,{
staticClass
:
"w-161"
,
attrs
:{
disabled
:
""
},
model
:{
value
:
e
.
performanceSum
,
callback
:
function
(
t
){
e
.
performanceSum
=
t
},
expression
:
"performanceSum"
}},[
r
(
"i"
,{
staticStyle
:{
"font-style"
:
"normal"
,
position
:
"absolute"
,
top
:
"4px"
,
left
:
"10px"
},
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
},[
e
.
_v
(
"¥"
)])]),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"p-l-10 p-r-10"
},[
e
.
_v
(
"="
)]),
e
.
_v
(
" "
),
r
(
"el-input"
,{
staticClass
:
"w-161 p-l-8"
,
attrs
:{
maxlength
:
"50"
,
placeholder
:
"请输入指标值"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
},
on
:{
blur
:
function
(
t
){
return
e
.
inputMonthPerformance
(
t
)}},
model
:{
value
:
e
.
clerkObj
.
storePerformance
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkObj
,
"storePerformance"
,
t
)},
expression
:
"clerkObj.storePerformance"
}},[
r
(
"i"
,{
staticStyle
:{
"font-style"
:
"normal"
,
position
:
"absolute"
,
top
:
"4px"
,
left
:
"16px"
},
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
},[
e
.
_v
(
"¥"
)])])],
1
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"task-set-save text-center m-t-30"
},[
1
==
e
.
clerkObj
.
settingAble
?
r
(
"el-button"
,{
attrs
:{
disabled
:
!
e
.
equalFlag
,
type
:
"primary"
},
on
:{
click
:
e
.
saveSet
}},[
e
.
_v
(
"确认"
)]):
e
.
_e
()],
1
)])])},
staticRenderFns
:[]};
var
u
=
r
(
"VU/8"
)(
i
,
f
,
!
1
,
function
(
e
){
r
(
"fX1K"
)},
"data-v-6336f928"
,
null
);
t
.
default
=
u
.
exports
},
fX1K
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/manifest.
bab82b391b0c72273e48
.js
→
dist/static/js/manifest.
7e34d7d4cb68dd6d23a7
.js
View file @
4b253116
!
function
(
e
){
var
f
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
f
&&
f
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
c
=
{
88
:
0
};
function
b
(
f
){
if
(
a
[
f
])
return
a
[
f
].
exports
;
var
c
=
a
[
f
]
=
{
i
:
f
,
l
:
!
1
,
exports
:{}};
return
e
[
f
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
f
=
c
[
e
];
if
(
0
===
f
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
f
)
return
f
[
2
];
var
a
=
new
Promise
(
function
(
a
,
b
){
f
=
c
[
e
]
=
[
a
,
b
]});
f
[
2
]
=
a
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ba129d3b4f512eeaa1b6"
,
1
:
"2fe1fea28b338647500e"
,
2
:
"1ee388c2d99a13efc1ce"
,
3
:
"e3e5cb80f2284b3190be"
,
4
:
"d9188c5ef11d148a9172"
,
5
:
"d3f88d7a7ab12a0c3ee3"
,
6
:
"3014e775749d7f5b55f5"
,
7
:
"c7a7f149b9bda67ba206"
,
8
:
"44ef777174215bae215b"
,
9
:
"a62fb8970e3ef30127ce"
,
10
:
"546b16617e8d45a97acd"
,
11
:
"fce5fcc498c4ce97d798"
,
12
:
"6858196070975fac87ef"
,
13
:
"acdad5e4c434690dabb4"
,
14
:
"0515ff16e22ad1985252"
,
15
:
"d50e9937112bad8cc91e"
,
16
:
"7400088166b56885fd23"
,
17
:
"df7d17412a0cb4c4d42f"
,
18
:
"09b98776fa678846481e"
,
19
:
"f11c386818436323fde4"
,
20
:
"e3adbfd3e776cf2e8f9f"
,
21
:
"d78352462bc271cf6c69"
,
22
:
"b775cd5a3407a1f4c844"
,
23
:
"ed8ffa7851cf7b93d55d"
,
24
:
"76079e07f55c773e8ebe"
,
25
:
"755d295db713955f70d0"
,
26
:
"033c6e723fba9da08a93"
,
27
:
"8ae3986881568fb833a3"
,
28
:
"a016b66e25f9c11fca32"
,
29
:
"9fc187d28f0558e31cb3"
,
30
:
"a383e23152f401e14903"
,
31
:
"a81d5594ab762bad1101"
,
32
:
"18695c9f2b46cc400c85"
,
33
:
"0a4442de53039502010e"
,
34
:
"e1c92d68f0bd271d5f80"
,
35
:
"ea6b99a3057b0b403906"
,
36
:
"47f03b8472e95e8be943"
,
37
:
"e3388332c83433feb21d"
,
38
:
"c26f420ff1a672b85fee"
,
39
:
"deafa9cdc10a89021017"
,
40
:
"abdef089ceb3bd63a0c5"
,
41
:
"fc79fa1242ad11717288"
,
42
:
"649eb602c3c2bdb4bc57"
,
43
:
"a447bba03751452b5565"
,
44
:
"0906f80f7e95924674b9"
,
45
:
"c94e711a21b4d65d30a8"
,
46
:
"ae8570220fc779bbd1d5"
,
47
:
"0401741d9e48cc3f8706"
,
48
:
"77fa4dbb806cca2b4bbb"
,
49
:
"5ed2afdca5e082bcd5b7"
,
50
:
"1a8bef21670320094f7b"
,
51
:
"63c76b027ea9deeab75d"
,
52
:
"588e6a501727512ff125"
,
53
:
"76703df56e38ac027cc1"
,
54
:
"7adecbdc09bf73921e73"
,
55
:
"68e06904bb295863e369"
,
56
:
"3ef8e1768cf748f5bf8d"
,
57
:
"7d9334062856fbe3a1f1"
,
58
:
"1a2afdbe94416be140fb"
,
59
:
"ec266b89f6f61f3a6088"
,
60
:
"bdbfd640dea49c35d168"
,
61
:
"269f3510c533a0e67067"
,
62
:
"03bed41d8e38604c1b54"
,
63
:
"a698e6564f5d3cebf0f4"
,
64
:
"1620250b23cfa763a9c3"
,
65
:
"d41f2d2b941e095185d2"
,
66
:
"6afd6ec06206d5b8a521"
,
67
:
"0afabbdd1d7bb710d7e4"
,
68
:
"5ff3f98baf8880c05da3"
,
69
:
"6cbef6b5b52c84b7b396"
,
70
:
"37af3cee1717e313fd51"
,
71
:
"8d17bb653be063ab471a"
,
72
:
"ac26d9c97757be3fb0f6"
,
73
:
"24e38b4db5635ab5479f"
,
74
:
"ed219bdfce8bcaaba02d"
,
75
:
"0046b7cfac5a91d4e35e"
,
76
:
"189f705b050fd637351a"
,
77
:
"7ac4f8a44031fa1b17f7"
,
78
:
"f2456e2bd3974453d8e3"
,
79
:
"cad7e7028f946d585b99"
,
80
:
"1f635392ccbdf9f1e3dd"
,
81
:
"e74908cd5cfe8fa29870"
,
82
:
"60e8ef88a5631daceff9"
,
83
:
"26ec5f0666918217e67d"
,
84
:
"a6953ebd87c2db8ecfd9"
,
85
:
"edc07c8d4e5f0e535386"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
f
=
c
[
e
];
0
!==
f
&&
(
f
&&
f
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
f
,
a
){
b
.
o
(
e
,
f
)
||
Object
.
defineProperty
(
e
,
f
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
f
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
f
,
"a"
,
f
),
f
},
b
.
o
=
function
(
e
,
f
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
f
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
f
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
f
&&
f
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
c
=
{
88
:
0
};
function
b
(
f
){
if
(
a
[
f
])
return
a
[
f
].
exports
;
var
c
=
a
[
f
]
=
{
i
:
f
,
l
:
!
1
,
exports
:{}};
return
e
[
f
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
f
=
c
[
e
];
if
(
0
===
f
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
f
)
return
f
[
2
];
var
a
=
new
Promise
(
function
(
a
,
b
){
f
=
c
[
e
]
=
[
a
,
b
]});
f
[
2
]
=
a
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ba129d3b4f512eeaa1b6"
,
1
:
"2fe1fea28b338647500e"
,
2
:
"1ee388c2d99a13efc1ce"
,
3
:
"e3e5cb80f2284b3190be"
,
4
:
"d9188c5ef11d148a9172"
,
5
:
"d3f88d7a7ab12a0c3ee3"
,
6
:
"3014e775749d7f5b55f5"
,
7
:
"c7a7f149b9bda67ba206"
,
8
:
"44ef777174215bae215b"
,
9
:
"a62fb8970e3ef30127ce"
,
10
:
"546b16617e8d45a97acd"
,
11
:
"fce5fcc498c4ce97d798"
,
12
:
"6858196070975fac87ef"
,
13
:
"acdad5e4c434690dabb4"
,
14
:
"0515ff16e22ad1985252"
,
15
:
"d50e9937112bad8cc91e"
,
16
:
"7400088166b56885fd23"
,
17
:
"df7d17412a0cb4c4d42f"
,
18
:
"09b98776fa678846481e"
,
19
:
"f11c386818436323fde4"
,
20
:
"e3adbfd3e776cf2e8f9f"
,
21
:
"d78352462bc271cf6c69"
,
22
:
"b775cd5a3407a1f4c844"
,
23
:
"ed8ffa7851cf7b93d55d"
,
24
:
"76079e07f55c773e8ebe"
,
25
:
"755d295db713955f70d0"
,
26
:
"033c6e723fba9da08a93"
,
27
:
"8ae3986881568fb833a3"
,
28
:
"a016b66e25f9c11fca32"
,
29
:
"9fc187d28f0558e31cb3"
,
30
:
"a383e23152f401e14903"
,
31
:
"a81d5594ab762bad1101"
,
32
:
"18695c9f2b46cc400c85"
,
33
:
"0a4442de53039502010e"
,
34
:
"e1c92d68f0bd271d5f80"
,
35
:
"ea6b99a3057b0b403906"
,
36
:
"47f03b8472e95e8be943"
,
37
:
"e3388332c83433feb21d"
,
38
:
"c26f420ff1a672b85fee"
,
39
:
"deafa9cdc10a89021017"
,
40
:
"abdef089ceb3bd63a0c5"
,
41
:
"fc79fa1242ad11717288"
,
42
:
"649eb602c3c2bdb4bc57"
,
43
:
"a447bba03751452b5565"
,
44
:
"0906f80f7e95924674b9"
,
45
:
"c94e711a21b4d65d30a8"
,
46
:
"ae8570220fc779bbd1d5"
,
47
:
"0401741d9e48cc3f8706"
,
48
:
"77fa4dbb806cca2b4bbb"
,
49
:
"5ed2afdca5e082bcd5b7"
,
50
:
"1a8bef21670320094f7b"
,
51
:
"63c76b027ea9deeab75d"
,
52
:
"23f257fea5adf70fced1"
,
53
:
"76703df56e38ac027cc1"
,
54
:
"7adecbdc09bf73921e73"
,
55
:
"68e06904bb295863e369"
,
56
:
"3ef8e1768cf748f5bf8d"
,
57
:
"7d9334062856fbe3a1f1"
,
58
:
"1a2afdbe94416be140fb"
,
59
:
"ec266b89f6f61f3a6088"
,
60
:
"bdbfd640dea49c35d168"
,
61
:
"269f3510c533a0e67067"
,
62
:
"03bed41d8e38604c1b54"
,
63
:
"a698e6564f5d3cebf0f4"
,
64
:
"1620250b23cfa763a9c3"
,
65
:
"d41f2d2b941e095185d2"
,
66
:
"6afd6ec06206d5b8a521"
,
67
:
"0afabbdd1d7bb710d7e4"
,
68
:
"5ff3f98baf8880c05da3"
,
69
:
"6cbef6b5b52c84b7b396"
,
70
:
"37af3cee1717e313fd51"
,
71
:
"8d17bb653be063ab471a"
,
72
:
"ac26d9c97757be3fb0f6"
,
73
:
"24e38b4db5635ab5479f"
,
74
:
"ed219bdfce8bcaaba02d"
,
75
:
"0046b7cfac5a91d4e35e"
,
76
:
"189f705b050fd637351a"
,
77
:
"7ac4f8a44031fa1b17f7"
,
78
:
"f2456e2bd3974453d8e3"
,
79
:
"cad7e7028f946d585b99"
,
80
:
"1f635392ccbdf9f1e3dd"
,
81
:
"e74908cd5cfe8fa29870"
,
82
:
"60e8ef88a5631daceff9"
,
83
:
"26ec5f0666918217e67d"
,
84
:
"a6953ebd87c2db8ecfd9"
,
85
:
"edc07c8d4e5f0e535386"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
f
=
c
[
e
];
0
!==
f
&&
(
f
&&
f
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
f
,
a
){
b
.
o
(
e
,
f
)
||
Object
.
defineProperty
(
e
,
f
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
f
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
f
,
"a"
,
f
),
f
},
b
.
o
=
function
(
e
,
f
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
f
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/views/apps/quota/salerMonthDetail.vue
View file @
4b253116
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-04-12 17:56:45
* @Date: 2019-04-12 17:56:45
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-
08-26 10:04:11
* @LastEditTime: 2020-
11-27 09:53:05
-->
-->
<
template
>
<
template
>
<div
class=
"app-detail-wrap common-right-wrap"
>
<div
class=
"app-detail-wrap common-right-wrap"
>
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<el-table-column
label=
"月指标"
>
<el-table-column
label=
"月指标"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div>
<div>
<el-input
class=
"w-120 p-l-8"
maxlength=
"
50"
v-model=
"scope.row.clerkPerformance"
placeholder=
"请输入"
:disabled=
"clerkObj.settingAble == 0 || scope.row.bindFlag == 0"
@
blur=
"value => inputPerformance(value, scope.$index
, scope.row)"
>
<el-input
class=
"w-120 p-l-8"
maxlength=
"
12"
v-model=
"scope.row.clerkPerformance"
placeholder=
"请输入"
:disabled=
"clerkObj.settingAble == 0 || scope.row.bindFlag == 0"
@
blur=
"value => inputPerformance(value, scope.$index, scope.row)"
@
input=
"value => inputValue(value
, scope.row)"
>
<i
slot=
"prefix"
style=
"font-style: normal;position: absolute;top: 4px;left: 12px;"
>
¥
</i>
<i
slot=
"prefix"
style=
"font-style: normal;position: absolute;top: 4px;left: 12px;"
>
¥
</i>
</el-input>
</el-input>
</div>
</div>
...
@@ -120,6 +120,16 @@ export default {
...
@@ -120,6 +120,16 @@ export default {
that
.
performanceSum
=
Number
(
sumData
).
toFixed
(
2
);
that
.
performanceSum
=
Number
(
sumData
).
toFixed
(
2
);
that
.
diffData
();
that
.
diffData
();
},
},
inputValue
(
value
,
row
)
{
const
that
=
this
;
row
.
performanceValue
=
!!
Number
(
String
(
value
).
replace
(
/
[^\d
.
]
/g
,
''
))
?
String
(
value
).
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
''
)
:
''
;
let
sumData
=
0
;
that
.
tableData
.
forEach
(
ele
=>
{
sumData
+=
Number
(
ele
.
performanceValue
);
});
that
.
performanceSum
=
Number
(
sumData
).
toFixed
(
2
);
that
.
diffData
();
},
inputMonthPerformance
:
function
(
val
)
{
inputMonthPerformance
:
function
(
val
)
{
let
that
=
this
;
let
that
=
this
;
that
.
clerkObj
.
storePerformance
=
!!
Number
(
that
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
.
]
/g
,
''
))
?
that
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
''
)
:
''
;
that
.
clerkObj
.
storePerformance
=
!!
Number
(
that
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
.
]
/g
,
''
))
?
that
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
''
)
:
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment