Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
9ad09c8e
Commit
9ad09c8e
authored
2 years ago
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
041387aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
3 deletions
+29
-3
GroupRateQuery.vue
src/components/FinancialModule/GroupRateQuery.vue
+0
-2
index.js
src/plug/index.js
+29
-1
No files found.
src/components/FinancialModule/GroupRateQuery.vue
View file @
9ad09c8e
...
@@ -534,8 +534,6 @@ export default {
...
@@ -534,8 +534,6 @@ export default {
mounted
(){
mounted
(){
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
userId
=
userInfo
.
EmployeeId
;
this
.
msg
.
EmployeeId
=
userInfo
.
EmployeeId
;
this
.
financeinfo_post_GetList
()
this
.
financeinfo_post_GetList
()
this
.
getCompanyList
();
this
.
getCompanyList
();
this
.
getPageList
();
this
.
getPageList
();
...
...
This diff is collapsed.
Click to expand it.
src/plug/index.js
View file @
9ad09c8e
...
@@ -130,7 +130,8 @@ export default {
...
@@ -130,7 +130,8 @@ export default {
mallUrl
=
"http://192.168.20.13:8088"
;
mallUrl
=
"http://192.168.20.13:8088"
;
lxymallUrl
=
"http://192.168.20.13:8088"
;
lxymallUrl
=
"http://192.168.20.13:8088"
;
// crmUrl = "http://192.168.10.36:8098"
// crmUrl = "http://192.168.10.36:8098"
crmUrl
=
"http://192.168.10.11:8098"
// crmUrl = "http://192.168.10.11:8098"
crmUrl
=
"http://crm.oytour.com"
if
(
locationName
.
indexOf
(
'testerp.oytour'
)
!==
-
1
)
{
if
(
locationName
.
indexOf
(
'testerp.oytour'
)
!==
-
1
)
{
domainUrl
=
"http://testapi.oytour.com"
;
domainUrl
=
"http://testapi.oytour.com"
;
mallUrl
=
"https://mallapi.oytour.com"
;
mallUrl
=
"https://mallapi.oytour.com"
;
...
@@ -1212,6 +1213,33 @@ export default {
...
@@ -1212,6 +1213,33 @@ export default {
}
}
this
.
$forceUpdate
();
this
.
$forceUpdate
();
}
}
// 计算当前日期的前后日期
Vue
.
prototype
.
getBeforeDate
=
function
(
num
,
time
)
{
let
n
=
num
;
let
d
=
''
;
if
(
time
)
{
d
=
new
Date
(
time
);
}
else
{
d
=
new
Date
();
}
let
year
=
d
.
getFullYear
();
let
mon
=
d
.
getMonth
()
+
1
;
let
day
=
d
.
getDate
();
if
(
day
<=
n
)
{
if
(
mon
>
1
)
{
mon
=
mon
-
1
;
}
else
{
year
=
year
-
1
;
mon
=
12
;
}
}
d
.
setDate
(
d
.
getDate
()
-
n
);
year
=
d
.
getFullYear
();
mon
=
d
.
getMonth
()
+
1
;
day
=
d
.
getDate
();
let
s
=
year
+
"-"
+
(
mon
<
10
?
(
'0'
+
mon
)
:
mon
)
+
"-"
+
(
day
<
10
?
(
'0'
+
day
)
:
day
);
return
s
;
},
//价钱格式化,三位数逗号分隔,保留两位小数 duanjun
//价钱格式化,三位数逗号分隔,保留两位小数 duanjun
Vue
.
prototype
.
moneyFormat
=
function
(
value
)
{
Vue
.
prototype
.
moneyFormat
=
function
(
value
)
{
...
...
This diff is collapsed.
Click to expand it.
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