Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shld-databoard-ui
Project
Project
Details
Activity
Releases
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
潘自豪 Rambo Pan
shld-databoard-ui
Commits
4169eb02
Commit
4169eb02
authored
Sep 21, 2023
by
潘自豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
营业额明细
parent
a435bee0
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
577 additions
and
170 deletions
+577
-170
apiList.js
src/module/api/apiList.js
+17
-2
turnover-detail.vue
src/module/databoard/databoard/turnover-detail.vue
+187
-167
turnoverDetail.js
src/module/databoard/databoard/turnoverDetail.js
+363
-0
numUtil.js
src/module/utils/numUtil.js
+10
-1
No files found.
src/module/api/apiList.js
View file @
4169eb02
...
@@ -21,7 +21,7 @@ export const userLogin = (username, pass, captchaSign, verificationcode, captcha
...
@@ -21,7 +21,7 @@ export const userLogin = (username, pass, captchaSign, verificationcode, captcha
},
'POST'
);
},
'POST'
);
//首页营业额率值 -汇总
//首页营业额率值 -汇总
export
const
getBusinessConditionDatas
=
(
cur_day
)
=>
fetch
(
'/api/query/*/action/get_business_condition_datas'
,
{
export
const
getBusinessConditionDatas
=
(
cur_day
)
=>
fetch
(
'/api/query/*/action/get_business_condition_datas'
,
{
aux
:
{
aux
:
{
cur_day
:
cur_day
cur_day
:
cur_day
}
}
...
@@ -30,7 +30,7 @@ export const getBusinessConditionDatas = (cur_day) => fetch('/api/query/*/action
...
@@ -30,7 +30,7 @@ export const getBusinessConditionDatas = (cur_day) => fetch('/api/query/*/action
//明细页营业额汇月 -汇总
//明细页营业额汇月 -汇总
export
const
getBusinessConditionDataByMonth
=
(
cur_day
)
=>
fetch
(
'/api/query/*/action/get_business_condition_datas_by_month'
,
{
export
const
getBusinessConditionDataByMonth
=
(
cur_day
)
=>
fetch
(
'/api/query/*/action/get_business_condition_datas_by_month'
,
{
aux
:
{
aux
:
{
cur_day
:
cur_day
S
cur_day
:
cur_day
}
}
},
'POST'
);
},
'POST'
);
...
@@ -53,3 +53,18 @@ export const arMonthlyBar = () => fetch("/api/query/dash_board/action/get_ar_mon
...
@@ -53,3 +53,18 @@ export const arMonthlyBar = () => fetch("/api/query/dash_board/action/get_ar_mon
export
const
arCompanyMonthlyBar
=
(
company
)
=>
fetch
(
"/api/query/dash_board/action/get_ar_company_monthly_bar"
,
{
aux
:
{
company
:
company
}},
"POST"
)
export
const
arCompanyMonthlyBar
=
(
company
)
=>
fetch
(
"/api/query/dash_board/action/get_ar_company_monthly_bar"
,
{
aux
:
{
company
:
company
}},
"POST"
)
// 开票月份 应收账款(结算单位)
// 开票月份 应收账款(结算单位)
export
const
arMonthlyCompanyBar
=
(
month
)
=>
fetch
(
"/api/query/dash_board/action/get_ar_monthly_company_bar"
,
{
aux
:
{
month
:
month
}},
"POST"
)
export
const
arMonthlyCompanyBar
=
(
month
)
=>
fetch
(
"/api/query/dash_board/action/get_ar_monthly_company_bar"
,
{
aux
:
{
month
:
month
}},
"POST"
)
//明细页营业额汇月 -汇总
export
const
getAllTypeBusinessConditionDatas
=
(
cur_day
)
=>
fetch
(
'/api/query/*/action/get_all_type_business_condition_datas'
,
{
aux
:
{
cur_day
:
cur_day
}
},
'POST'
);
//明细页各种运输类型营业额明细
export
const
getAllTypeBusinessConditionDetailByDay
=
(
cur_day
)
=>
fetch
(
'/api/query/*/action/get_all_type_business_condition_detail_by_day'
,
{
aux
:
{
cur_day
:
cur_day
}
},
'POST'
);
src/module/databoard/databoard/turnover-detail.vue
View file @
4169eb02
This diff is collapsed.
Click to expand it.
src/module/databoard/databoard/turnoverDetail.js
0 → 100644
View file @
4169eb02
This diff is collapsed.
Click to expand it.
src/module/utils/numUtil.js
View file @
4169eb02
...
@@ -18,10 +18,19 @@ export const conver_num_rate = function (amont) {
...
@@ -18,10 +18,19 @@ export const conver_num_rate = function (amont) {
if
(
amont
>
0
)
{
if
(
amont
>
0
)
{
return
"+"
+
amont
+
"%"
return
"+"
+
amont
+
"%"
}
else
{
}
else
{
return
"-"
+
amont
+
"%"
return
amont
+
"%"
}
}
};
};
/**
* 保留两位小数
* @param amont
* @returns {string|*}
*/
export
const
conver_num_retain
=
function
(
amont
)
{
return
formater
(
amont
)
}
//数字金额显示
//数字金额显示
function
formater
(
data
)
{
function
formater
(
data
)
{
...
...
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