Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
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-4
Commits
0821bb5e
Commit
0821bb5e
authored
Dec 24, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改确认弹窗
parent
9040422f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
34 deletions
+37
-34
edit-store-quota.vue
src/views/apps/target-manage/edit-store-quota.vue
+6
-6
perfect-day-target.vue
src/views/apps/target-manage/perfect-day-target.vue
+26
-24
perfect-sale-target.vue
src/views/apps/target-manage/perfect-sale-target.vue
+5
-4
No files found.
src/views/apps/target-manage/edit-store-quota.vue
View file @
0821bb5e
...
...
@@ -4,10 +4,10 @@
* @Author: 无尘
* @Date: 2020-11-09 10:40:12
* @LastEditors: 无尘
* @LastEditTime: 2020-1
1-09 10:41:18
* @LastEditTime: 2020-1
2-24 17:01:50
-->
<
template
>
<div
class=
"common-app-right"
>
<div
class=
"common-app-right"
v-loading=
"loading"
>
<el-alert
show-icon
:closable=
"false"
>
...
...
@@ -92,7 +92,7 @@
</el-form-item>
<el-form-item
label=
""
>
<el-button
type=
"primary"
@
click=
"confirm"
:loading=
"loading"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
保存
</el-button>
</el-form-item>
</el-form>
...
...
@@ -226,6 +226,7 @@ export default {
// 编辑回显
callback
({
year
,
storeInfoId
})
{
const
{
staffId
,
wxEnterpriseId
}
=
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
));
this
.
loading
=
true
;
let
params
=
{
storeInfoId
,
wxEnterpriseId
,
...
...
@@ -239,7 +240,7 @@ export default {
this
.
form
=
{
...
this
.
form
,
...
res
.
result
};
addMemebrValue
&&
(
this
.
addMemberCallback
=
JSON
.
parse
(
addMemebrValue
));
performanceValue
&&
(
this
.
performanceCallback
=
JSON
.
parse
(
performanceValue
));
});
})
.
finally
(()
=>
this
.
loading
=
false
)
;
},
// 获取组件的值
checkGroupIds
(
val
)
{
...
...
@@ -347,4 +348,4 @@ export default {
color
:
#606266
;
font-size
:
12px
;
}
</
style
>
\ No newline at end of file
</
style
>
src/views/apps/target-manage/perfect-day-target.vue
View file @
0821bb5e
...
...
@@ -4,10 +4,10 @@
* @Author: 无尘
* @Date: 2020-11-12 10:47:17
* @LastEditors: 无尘
* @LastEditTime: 2020-12-
03 17:27:07
* @LastEditTime: 2020-12-
24 16:52:15
-->
<
template
>
<div
class=
"common-app-right"
style=
"padding: 20px 0;color: #303133"
>
<div
class=
"common-app-right"
style=
"padding: 20px 0;color: #303133"
v-loading=
"loading"
>
<el-form
:model=
"form"
label-width=
"110px"
>
<el-form-item
label=
"门店名称"
>
<span
v-if=
"isAll"
>
全部门店
</span>
...
...
@@ -64,7 +64,7 @@
</ul>
</div>
<el-button
type=
"primary"
:
loading=
"loading"
:
disabled=
"$route.query.performanceSubType == 2 && totalDayTarget != form.performanceValue || disableSetting"
style=
"margin-left:20px"
@
click=
"confirm"
>
保存
</el-button>
<el-button
type=
"primary"
:disabled=
"$route.query.performanceSubType == 2 && totalDayTarget != form.performanceValue || disableSetting"
style=
"margin-left:20px"
@
click=
"confirm"
>
保存
</el-button>
<el-dialog
title=
"修改指标"
...
...
@@ -77,28 +77,29 @@
show-icon
:closable=
"false"
>
</el-alert>
<div
v-loading=
"loadMonth"
>
<el-form
:model=
"targetForm"
ref=
"targetForm"
hide-required-asterisk
label-width=
"175px"
@
submit
.
native
.
prevent
>
<el-form-item
prop=
"value"
:rules=
"[
{ required: true, message: '请输入月指标额', trigger: 'blur' }
]">
<span
slot=
"label"
>
<span
class=
"color1"
style=
"padding-right:35px"
>
{{
form
.
performanceYm
||
'--'
}}
</span>
指标额
</span>
<el-form
:model=
"targetForm"
ref=
"targetForm"
hide-required-asterisk
label-width=
"175px"
@
submit
.
native
.
prevent
>
<el-form-item
prop=
"value"
:rules=
"[
{ required: true, message: '请输入月指标额', trigger: 'blur' }
]">
<span
slot=
"label"
>
<span
class=
"color1"
style=
"padding-right:35px"
>
{{
form
.
performanceYm
||
'--'
}}
</span>
指标额
</span>
<el-input
v-model=
"targetForm.value"
maxlength=
"11"
style=
"width: 289px"
@
blur=
"value => inputPerformance(value)"
>
<span
slot=
"prefix"
style=
"color:#303133;padding-left:5px"
>
¥
</span>
</el-input>
</el-form-item>
</el-form>
<el-input
v-model=
"targetForm.value"
maxlength=
"11"
style=
"width: 289px"
@
blur=
"value => inputPerformance(value)"
>
<span
slot=
"prefix"
style=
"color:#303133;padding-left:5px"
>
¥
</span>
</el-input>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
:loading=
"loadMonth"
@
click=
"confirmMonthTarget"
>
确 定
</el-button>
</span>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirmMonthTarget"
>
确 定
</el-button>
</span>
</div>
</el-dialog>
</div>
</
template
>
...
...
@@ -229,6 +230,7 @@ export default {
if
(
flag
==
0
)
{
that
.
setDefault
();
}
else
if
(
flag
==
1
)
{
that
.
loading
=
true
;
let
par
=
{
enterpriseId
:
that
.
brandId
,
wxEnterpriseId
:
that
.
wxEnterpriseId
,
...
...
@@ -248,7 +250,7 @@ export default {
});
that
.
tableData
=
res
.
result
;
}
});
})
.
finally
(()
=>
this
.
loading
=
false
)
;
}
},
// 修改月指标
...
...
src/views/apps/target-manage/perfect-sale-target.vue
View file @
0821bb5e
...
...
@@ -4,10 +4,10 @@
* @Author: 无尘
* @Date: 2020-11-12 10:48:40
* @LastEditors: 无尘
* @LastEditTime: 2020-12-
03 17:26:18
* @LastEditTime: 2020-12-
24 16:54:12
-->
<
template
>
<div
class=
"common-app-right"
>
<div
class=
"common-app-right"
v-loading=
"loadSave"
>
<div
class=
"task-set-content border-box"
>
<el-alert
title=
"提示:【导购总计】需大于等于【本店指标】金额。否则无法提交"
...
...
@@ -53,7 +53,7 @@
</el-table>
</div>
<div
class=
"task-set-save m-t-30"
>
<el-button
v-if=
"clerkObj.settingAble == 1"
:disabled=
"disableSetting || (!equalFlag ? true : false)"
:loading=
"loadSave"
type=
"primary"
@
click=
"saveSet"
>
确认
</el-button>
<el-button
v-if=
"clerkObj.settingAble == 1"
:disabled=
"disableSetting || (!equalFlag ? true : false)"
type=
"primary"
@
click=
"saveSet"
>
确认
</el-button>
</div>
</div>
</div>
...
...
@@ -218,6 +218,7 @@ export default {
*/
getData
()
{
const
that
=
this
;
that
.
loadSave
=
true
;
const
para
=
{
enterpriseId
:
that
.
brandId
,
wxEnterpriseId
:
that
.
wxEnterpriseId
,
...
...
@@ -247,7 +248,7 @@ export default {
})
.
catch
(
function
(
error
)
{
});
})
.
finally
(()
=>
this
.
loadSave
=
false
)
;
}
},
watch
:
{
...
...
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