Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
3a54ed0d
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1422
Star
161
Fork
130
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
3a54ed0d
编写于
5月 03, 2023
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ERP门户首页统计整改完成
上级
e9622898
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
53 deletion
+7
-53
erp/src/main/resources/template/js/erpPage/erpPage.js
erp/src/main/resources/template/js/erpPage/erpPage.js
+7
-7
erp/src/main/resources/template/tpl/erpPage/erpPage.html
erp/src/main/resources/template/tpl/erpPage/erpPage.html
+0
-0
web/src/main/resources/template/assets/lib/layui/customer/erpOrderUtil.js
...ources/template/assets/lib/layui/customer/erpOrderUtil.js
+0
-46
未找到文件。
gateway
/src/main/resources/template/js/erpPage/erpPage.js
→
erp
/src/main/resources/template/js/erpPage/erpPage.js
浏览文件 @
3a54ed0d
...
@@ -14,7 +14,7 @@ layui.config({
...
@@ -14,7 +14,7 @@ layui.config({
initFourNumList
();
initFourNumList
();
function
initFourNumList
(){
function
initFourNumList
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppage001
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
erp
BasePath
+
"
erppage001
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
$
(
"
#salesMoney
"
).
html
(
json
.
bean
.
salesMoney
);
$
(
"
#salesMoney
"
).
html
(
json
.
bean
.
salesMoney
);
$
(
"
#retailMoney
"
).
html
(
json
.
bean
.
retailMoney
);
$
(
"
#retailMoney
"
).
html
(
json
.
bean
.
retailMoney
);
$
(
"
#purchaseMoney
"
).
html
(
json
.
bean
.
purchaseMoney
);
$
(
"
#purchaseMoney
"
).
html
(
json
.
bean
.
purchaseMoney
);
...
@@ -25,7 +25,7 @@ layui.config({
...
@@ -25,7 +25,7 @@ layui.config({
// 近六个月审核通过的采购订单
// 近六个月审核通过的采购订单
function
initSixMonthPurchase
(){
function
initSixMonthPurchase
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppage002
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
erp
BasePath
+
"
erppage002
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
renderLayer04Left
(
json
.
rows
);
renderLayer04Left
(
json
.
rows
);
initSixMonthSales
();
initSixMonthSales
();
}});
}});
...
@@ -33,7 +33,7 @@ layui.config({
...
@@ -33,7 +33,7 @@ layui.config({
// 近六个月审核通过的销售订单
// 近六个月审核通过的销售订单
function
initSixMonthSales
(){
function
initSixMonthSales
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppage003
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
erp
BasePath
+
"
erppage003
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
renderLayer04Left2
(
json
.
rows
);
renderLayer04Left2
(
json
.
rows
);
initSixMonthProfit
();
initSixMonthProfit
();
}});
}});
...
@@ -41,7 +41,7 @@ layui.config({
...
@@ -41,7 +41,7 @@ layui.config({
// 近12个月审核通过的利润订单
// 近12个月审核通过的利润订单
function
initSixMonthProfit
(){
function
initSixMonthProfit
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppage004
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
erp
BasePath
+
"
erppage004
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
renderLayer04Left3
(
json
.
rows
);
renderLayer04Left3
(
json
.
rows
);
matchingLanguage
();
matchingLanguage
();
}});
}});
...
@@ -54,7 +54,7 @@ layui.config({
...
@@ -54,7 +54,7 @@ layui.config({
var
numStr
=
new
Array
();
var
numStr
=
new
Array
();
$
.
each
(
rows
,
function
(
i
,
item
)
{
$
.
each
(
rows
,
function
(
i
,
item
)
{
nameStr
.
push
(
item
.
yearMonth
);
nameStr
.
push
(
item
.
yearMonth
);
numStr
.
push
(
i
tem
.
purchaseM
oney
);
numStr
.
push
(
i
sNull
(
item
.
money
)
?
0
:
item
.
m
oney
);
});
});
myChart1
.
setOption
({
myChart1
.
setOption
({
title
:
{
title
:
{
...
@@ -86,7 +86,7 @@ layui.config({
...
@@ -86,7 +86,7 @@ layui.config({
var
numStr
=
new
Array
();
var
numStr
=
new
Array
();
$
.
each
(
rows
,
function
(
i
,
item
)
{
$
.
each
(
rows
,
function
(
i
,
item
)
{
nameStr
.
push
(
item
.
yearMonth
);
nameStr
.
push
(
item
.
yearMonth
);
numStr
.
push
(
i
tem
.
salesM
oney
);
numStr
.
push
(
i
sNull
(
item
.
money
)
?
0
:
item
.
m
oney
);
});
});
myChart2
.
setOption
({
myChart2
.
setOption
({
title
:
{
title
:
{
...
@@ -118,7 +118,7 @@ layui.config({
...
@@ -118,7 +118,7 @@ layui.config({
var
numStr
=
new
Array
();
var
numStr
=
new
Array
();
$
.
each
(
rows
,
function
(
i
,
item
)
{
$
.
each
(
rows
,
function
(
i
,
item
)
{
nameStr
.
push
(
item
.
yearMonth
);
nameStr
.
push
(
item
.
yearMonth
);
numStr
.
push
(
item
.
profitMoney
);
numStr
.
push
(
i
sNull
(
item
.
profitMoney
)
?
0
:
i
tem
.
profitMoney
);
});
});
myChart3
.
setOption
({
myChart3
.
setOption
({
title
:
{
title
:
{
...
...
gateway
/src/main/resources/template/tpl/erpPage/erpPage.html
→
erp
/src/main/resources/template/tpl/erpPage/erpPage.html
浏览文件 @
3a54ed0d
文件已移动
web/src/main/resources/template/assets/lib/layui/customer/erpOrderUtil.js
浏览文件 @
3a54ed0d
...
@@ -71,28 +71,6 @@ var erpOrderUtil = {
...
@@ -71,28 +71,6 @@ var erpOrderUtil = {
return
submitType
;
return
submitType
;
},
},
/**
* 根据根据提交类型以及当前的状态设置按钮
*
* @param submitType 单据提交类型 1需要审核;2不需要审核
* @param state 单据状态
*/
orderEditPageSetBtnBySubmitType
:
function
(
submitType
,
state
)
{
if
(
submitType
==
1
)
{
if
(
state
==
0
||
state
==
3
||
state
==
5
)
{
$
(
"
.formEditBean
"
).
removeClass
(
"
layui-hide
"
);
$
(
"
.formSubOneBean
"
).
removeClass
(
"
layui-hide
"
);
}
else
if
(
state
==
1
)
{
$
(
"
.save
"
).
removeClass
(
"
layui-hide
"
);
}
}
else
if
(
submitType
==
2
)
{
if
(
state
!=
1
)
{
$
(
"
.formEditBean
"
).
removeClass
(
"
layui-hide
"
);
$
(
"
.formSubTwoBean
"
).
removeClass
(
"
layui-hide
"
);
}
}
},
/**
/**
* 删除订单信息
* 删除订单信息
*
*
...
@@ -158,30 +136,6 @@ var erpOrderUtil = {
...
@@ -158,30 +136,6 @@ var erpOrderUtil = {
});
});
},
},
/**
* 获取提交类型名称
*
* @param data
* @returns {string}
*/
getSubmitTypeName
:
function
(
data
)
{
if
(
data
.
submitType
==
1
)
{
return
'
工作流审批
'
;
}
else
if
(
data
.
submitType
==
2
)
{
return
'
自主提交
'
;
}
return
''
;
},
getProcessInstanceIdBySubmitType
:
function
(
data
)
{
if
(
data
.
submitType
==
1
)
{
return
'
<a lay-event="activitiProcessDetails" class="notice-title-click">
'
+
data
.
processInstanceId
+
'
</a>
'
;
}
else
if
(
data
.
submitType
==
2
)
{
return
'
不涉及
'
;
}
return
''
;
},
/**
/**
* 获取所有仓库信息
* 获取所有仓库信息
*
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录