Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
da38b076
Commit
da38b076
authored
Mar 06, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化我的业绩筛选
parent
acc5b470
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
edit.vue
src/views/ecw/coupon/edit.vue
+6
-0
myAchievement.vue
src/views/ecw/deptTarget/myAchievement.vue
+6
-3
No files found.
src/views/ecw/coupon/edit.vue
View file @
da38b076
...
@@ -471,10 +471,13 @@ export default {
...
@@ -471,10 +471,13 @@ export default {
item
.
combUnit
=
'
prodUnit_
'
+
item
.
prodUnit
item
.
combUnit
=
'
prodUnit_
'
+
item
.
prodUnit
}
else
if
(
item
.
fullCurrencyId
){
}
else
if
(
item
.
fullCurrencyId
){
item
.
combUnit
=
'
fullCurrencyId_
'
+
item
.
fullCurrencyId
item
.
combUnit
=
'
fullCurrencyId_
'
+
item
.
fullCurrencyId
}
else
{
}
}
this
.
fee
[
item
.
type
].
push
({...
item
})
this
.
fee
[
item
.
type
].
push
({...
item
})
})
})
console
.
log
(
JSON
.
stringify
(
this
.
fee
,
null
,
4
))
/* if(this.costType != this.form.costType){
/* if(this.costType != this.form.costType){
console.error(`费用类型冲突,计算出来的类型为${this.costType},接口费用类型为${res.data.costType},类型为${res.data.type}`)
console.error(`费用类型冲突,计算出来的类型为${this.costType},接口费用类型为${res.data.costType},类型为${res.data.type}`)
this.$alert(this.$t('费用类型冲突'))
this.$alert(this.$t('费用类型冲突'))
...
@@ -491,7 +494,9 @@ export default {
...
@@ -491,7 +494,9 @@ export default {
// 对没有默认值的给一个空表单
// 对没有默认值的给一个空表单
[
1
,
2
].
forEach
(
type
=>
{
[
1
,
2
].
forEach
(
type
=>
{
console
.
log
(
`fee
${
type
}
判断是否为空`
,
this
.
fee
[
type
],
this
.
fee
[
type
].
length
)
if
(
!
this
.
fee
[
type
].
length
){
if
(
!
this
.
fee
[
type
].
length
){
console
.
log
(
`fee
${
type
}
给默认值`
,
this
.
fee
[
type
],
this
.
fee
[
type
].
length
)
this
.
fee
[
type
]
=
[{
type
}]
this
.
fee
[
type
]
=
[{
type
}]
}
}
})
})
...
@@ -519,6 +524,7 @@ export default {
...
@@ -519,6 +524,7 @@ export default {
},
},
// 满减活动如果选择的满多少金额减,则在选择满货币后需要同步减的货币,且禁用减的货币修改
// 满减活动如果选择的满多少金额减,则在选择满货币后需要同步减的货币,且禁用减的货币修改
checkReduceCurrency
(
item
){
checkReduceCurrency
(
item
){
console
.
log
(
'
checkReduceCurrency
'
,
{...
item
},
this
.
form
.
type
)
// 金额满减
// 金额满减
if
([
2
,
4
,
5
,
7
].
indexOf
(
this
.
form
.
type
)
>
-
1
){
if
([
2
,
4
,
5
,
7
].
indexOf
(
this
.
form
.
type
)
>
-
1
){
// 只要不是按产品单位满减
// 只要不是按产品单位满减
...
...
src/views/ecw/deptTarget/myAchievement.vue
View file @
da38b076
...
@@ -4,13 +4,13 @@
...
@@ -4,13 +4,13 @@
<!-- 搜索工作栏 -->
<!-- 搜索工作栏 -->
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
:label=
"$t('关键字')"
prop=
"transportType"
>
<el-form-item
:label=
"$t('关键字')"
prop=
"transportType"
>
<el-input
v-model=
"queryParams.key"
:placeholder=
"$t('请输入关键字查找')"
/>
<el-input
v-model=
"queryParams.key"
:placeholder=
"$t('请输入关键字查找')"
clearable
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('运输方式')"
prop=
"transportType"
>
<el-form-item
:label=
"$t('运输方式')"
prop=
"transportType"
>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
v-model=
"queryParams.transportType"
formatter=
"number"
/>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
v-model=
"queryParams.transportType"
formatter=
"number"
clearable
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('唛头')"
prop=
"transportType"
>
<el-form-item
:label=
"$t('唛头')"
prop=
"transportType"
>
<el-input
v-model=
"queryParams.marks"
:placeholder=
"$t('请输入关键字查找')"
/>
<el-input
v-model=
"queryParams.marks"
:placeholder=
"$t('请输入关键字查找')"
clearable
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('资源类型')"
prop=
"customerType"
>
<el-form-item
:label=
"$t('资源类型')"
prop=
"customerType"
>
<!--
<el-select
clearable
v-model=
"queryParams.customerType"
:placeholder=
"$t('请选择资源类型')"
clearable
size=
"small"
>
<!--
<el-select
clearable
v-model=
"queryParams.customerType"
:placeholder=
"$t('请选择资源类型')"
clearable
size=
"small"
>
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
<!--
</el-form-item>
-->
<!--
</el-form-item>
-->
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
<!--
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
<!--
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
-->
>
{{
$t
(
'
导出
'
)
}}
</el-button>
-->
</el-form-item>
</el-form-item>
...
@@ -301,10 +302,12 @@
...
@@ -301,10 +302,12 @@
this
.
queryParams
.
pageNo
=
1
;
this
.
queryParams
.
pageNo
=
1
;
this
.
queryParams
.
beginStartTime
=
this
.
dateFilter
[
0
];
this
.
queryParams
.
beginStartTime
=
this
.
dateFilter
[
0
];
this
.
queryParams
.
endStartTime
=
this
.
dateFilter
[
1
];
this
.
queryParams
.
endStartTime
=
this
.
dateFilter
[
1
];
this
.
getList
();
this
.
getList
();
},
},
/** 重置按钮操作 */
/** 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
dateFilter
=
[]
this
.
dateRangeCreateTime
=
[];
this
.
dateRangeCreateTime
=
[];
this
.
dateRangeStartTime
=
[];
this
.
dateRangeStartTime
=
[];
this
.
dateRangeEndTime
=
[];
this
.
dateRangeEndTime
=
[];
...
...
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