Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 a3bae0cd
authored
Jan 14, 2025
by
huyue
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交收入测算
1 parent
d5285f34
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
9 deletions
src/common/format.js
src/components/d2-search/index.vue
src/views/residentManage/dailyPaperManagement/index.vue
src/views/residentManage/measurement/measureTable.vue
src/common/format.js
View file @
a3bae0c
...
@@ -98,6 +98,12 @@ export const rangePickerOptions = {
...
@@ -98,6 +98,12 @@ export const rangePickerOptions = {
}
}
}
}
/** 时间空间-限制只能选昨天之前的时间 */
export
const
yesterdayPicker
=
{
disabledDate
(
date
)
{
return
date
.
getTime
()
>
Date
.
now
()
-
8.64e7
}
}
/**
/**
* 时间控件-限制只能选当前及之后的日期
* 时间控件-限制只能选当前及之后的日期
*/
*/
...
...
src/components/d2-search/index.vue
View file @
a3bae0c
...
@@ -73,13 +73,14 @@
...
@@ -73,13 +73,14 @@
</template>
</template>
<
script
>
<
script
>
import
{
rangePickerOptions
}
from
'@/common/format'
import
{
rangePickerOptions
,
yesterdayPicker
}
from
'@/common/format'
export
default
{
export
default
{
name
:
'D2Search'
,
name
:
'D2Search'
,
data
()
{
data
()
{
return
{
return
{
pickerOption
:
{
pickerOption
:
{
rangePickerOptions
:
rangePickerOptions
rangePickerOptions
:
rangePickerOptions
,
yesterdayPicker
:
yesterdayPicker
}
}
}
}
},
},
...
...
src/views/residentManage/dailyPaperManagement/index.vue
View file @
a3bae0c
...
@@ -380,8 +380,8 @@ export default {
...
@@ -380,8 +380,8 @@ export default {
const
r2
=
await
getRecordPage
(
params2
)
const
r2
=
await
getRecordPage
(
params2
)
console
.
log
(
r2
);
console
.
log
(
r2
);
this
.
tableTotal
=
r2
.
total
;
this
.
tableTotal
=
r2
.
total
;
//
this.activeName = this.tabList[0].key;
this
.
activeName
=
this
.
tabList
[
0
].
key
;
if
(
this
.
activeName
==
0
)
this
.
activeName
=
this
.
tabList
[
0
].
key
//
if (this.activeName == 0) this.activeName = this.tabList[0].key
console
.
log
(
this
.
activeName
,
this
.
activeName
==
0
,
'active'
);
console
.
log
(
this
.
activeName
,
this
.
activeName
==
0
,
'active'
);
this
.
recordData
=
r2
.
list
;
this
.
recordData
=
r2
.
list
;
this
.
changeTable
(
isSort
);
this
.
changeTable
(
isSort
);
...
...
src/views/residentManage/measurement/measureTable.vue
View file @
a3bae0c
...
@@ -81,7 +81,8 @@ export default {
...
@@ -81,7 +81,8 @@ export default {
type
:
'select'
,
type
:
'select'
,
optionId
:
'goodsId'
,
optionId
:
'goodsId'
,
optionLabel
:
'goodsName'
,
optionLabel
:
'goodsName'
,
optionList
:
[]
optionList
:
[],
isClear
:
true
},
},
{
{
label
:
'品牌'
,
label
:
'品牌'
,
...
@@ -110,7 +111,7 @@ export default {
...
@@ -110,7 +111,7 @@ export default {
type
:
'datePicker'
,
type
:
'datePicker'
,
dateType
:
'date'
,
dateType
:
'date'
,
isClear
:
true
,
isClear
:
true
,
pickerOptions
:
'
rangePickerOptions
'
pickerOptions
:
'
yesterdayPicker
'
}
}
],
],
getListApi
:
getIncomePage
,
getListApi
:
getIncomePage
,
...
@@ -157,8 +158,13 @@ export default {
...
@@ -157,8 +158,13 @@ export default {
}
}
},
},
{
{
label
:
'产品名称'
,
prop
:
'showGoodsTypeName'
},
{
label
:
'应触客台数'
,
label
:
'应触客台数'
,
prop
:
'shouldToShopCount'
prop
:
'shouldToShopCount'
,
width
:
'100px'
,
},
},
{
{
label
:
'产值'
,
label
:
'产值'
,
...
@@ -192,7 +198,8 @@ export default {
...
@@ -192,7 +198,8 @@ export default {
},
},
{
{
label
:
'客单价提成系数'
,
label
:
'客单价提成系数'
,
prop
:
'avgCustomerOrderPriceCalculateValue'
prop
:
'avgCustomerOrderPriceCalculateValue'
,
width
:
'150px'
,
},
},
{
{
label
:
'提成金额'
,
label
:
'提成金额'
,
...
@@ -200,7 +207,8 @@ export default {
...
@@ -200,7 +207,8 @@ export default {
},
},
{
{
label
:
'测算收入日期'
,
label
:
'测算收入日期'
,
prop
:
'calculationDay'
prop
:
'calculationDay'
,
width
:
'120px'
,
},
},
]
]
},
},
...
...
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