Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
49f1a936
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1433
Star
162
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看板
提交
49f1a936
编写于
10月 07, 2023
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除多余代码
上级
7c81f4a2
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
2 addition
and
264 deletion
+2
-264
erp/src/main/resources/template/js/erpstatistics/customerreconciliation.js
...urces/template/js/erpstatistics/customerreconciliation.js
+1
-1
erp/src/main/resources/template/js/material/materialInventoryWarningList.js
...rces/template/js/material/materialInventoryWarningList.js
+1
-0
erp/src/main/resources/template/js/material/materialStockList.js
.../main/resources/template/js/material/materialStockList.js
+0
-90
erp/src/main/resources/template/tpl/material/materialStockList.html
...in/resources/template/tpl/material/materialStockList.html
+0
-19
ifs/src/main/resources/template/js/account/accountItem.js
ifs/src/main/resources/template/js/account/accountItem.js
+0
-88
ifs/src/main/resources/template/tpl/account/accountItem.html
ifs/src/main/resources/template/tpl/account/accountItem.html
+0
-19
web/src/main/resources/template/assets/lib/layui/customer/erpOrderUtil.js
...ources/template/assets/lib/layui/customer/erpOrderUtil.js
+0
-47
未找到文件。
erp/src/main/resources/template/js/erpstatistics/customerreconciliation.js
浏览文件 @
49f1a936
...
...
@@ -24,7 +24,7 @@ layui.config({
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
oddNumber
'
,
title
:
'
单据编号
'
,
align
:
'
left
'
,
width
:
250
,
templet
:
function
(
d
)
{
var
str
=
d
.
oddNumber
;
if
(
!
isNull
(
d
.
parentOrderId
)){
if
(
!
isNull
(
d
.
parentOrderId
))
{
str
+=
'
<span class="state-new">[转]</span>
'
;
}
return
str
;
...
...
erp/src/main/resources/template/js/material/materialInventoryWarningList.js
浏览文件 @
49f1a936
...
...
@@ -11,6 +11,7 @@ layui.config({
table
=
layui
.
table
,
soulTable
=
layui
.
soulTable
;
// 库存预警
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
...
...
erp/src/main/resources/template/js/material/materialStockList.js
已删除
100644 → 0
浏览文件 @
7c81f4a2
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
table
=
layui
.
table
;
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
material012
'
,
where
:
{
mUnitId
:
parent
.
mUnitId
},
even
:
true
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
limit
:
8
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
defaultNumber
'
,
title
:
'
单据编号
'
,
align
:
'
left
'
,
width
:
250
,
templet
:
function
(
d
)
{
var
str
=
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
defaultNumber
+
'
</a>
'
;
if
(
!
isNull
(
d
.
linkNumber
)){
str
+=
'
<span class="state-new">[转]</span>
'
;
if
(
d
.
status
==
2
){
str
+=
'
<span class="state-up"> [正常]</span>
'
;
}
else
{
str
+=
'
<span class="state-down"> [预警]</span>
'
;
}
}
return
str
;
}},
{
field
:
'
subTypeName
'
,
title
:
'
单据类型
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
unitPrice
'
,
title
:
'
单价(元)
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
operNumber
'
,
title
:
'
数量
'
,
align
:
'
left
'
,
width
:
80
,
templet
:
function
(
d
)
{
if
(
d
.
subType
==
12
){
//拆分单
if
(
d
.
mType
==
2
){
//普通子件
return
d
.
operNumber
;
}
else
{
return
"
-
"
+
d
.
operNumber
;
}
}
else
if
(
d
.
subType
==
13
){
//组装单
if
(
d
.
mType
==
1
){
//普通子件
return
d
.
operNumber
;
}
else
{
return
"
-
"
+
d
.
operNumber
;
}
}
else
{
if
(
d
.
type
==
2
){
return
d
.
operNumber
;
}
else
{
return
"
-
"
+
d
.
operNumber
;
}
}
}},
{
field
:
'
taxLastMoney
'
,
title
:
'
含税合计(元)
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
operTime
'
,
title
:
'
单据日期
'
,
align
:
'
center
'
,
width
:
140
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
details
'
)
{
//详情
details
(
data
);
}
});
// 详情
function
details
(
data
)
{
rowId
=
data
.
id
;
var
url
=
erpOrderUtil
.
getErpDetailUrl
(
data
);
_openNewWindows
({
url
:
url
,
title
:
"
单据详情
"
,
pageId
:
"
orderMationDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
exports
(
'
materialStockList
'
,
{});
});
erp/src/main/resources/template/tpl/material/materialStockList.html
已删除
100644 → 0
浏览文件 @
7c81f4a2
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/material/
'
}).
use
(
'
materialStockList
'
);
</script>
</body>
</html>
\ No newline at end of file
ifs/src/main/resources/template/js/account/accountItem.js
已删除
100644 → 0
浏览文件 @
7c81f4a2
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
table
=
layui
.
table
;
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
ifsBasePath
+
'
account008
'
,
where
:
{
rowId
:
parent
.
rowId
},
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
defaultNumber
'
,
title
:
'
单据编号
'
,
align
:
'
left
'
,
width
:
250
,
templet
:
function
(
d
)
{
var
str
=
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
defaultNumber
+
'
</a>
'
;
if
(
!
isNull
(
d
.
linkNumber
)){
str
+=
'
<span class="state-new">[转]</span>
'
;
if
(
d
.
status
==
2
){
str
+=
'
<span class="state-up"> [正常]</span>
'
;
}
else
{
str
+=
'
<span class="state-down"> [预警]</span>
'
;
}
}
return
str
;
}},
{
field
:
'
subTypeName
'
,
title
:
'
单据类型
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
type
'
,
title
:
'
类型
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
if
(
d
.
type
==
1
){
return
"
<span class='state-down'>出库</span>
"
;
}
else
if
(
d
.
type
==
2
){
return
"
<span class='state-up'>入库</span>
"
;
}
else
if
(
d
.
type
==
3
){
return
"
<span class='state-up'>其他</span>
"
;
}
else
{
return
"
<span class='state-error'>参数错误</span>
"
;
}
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
payType
'
,
title
:
'
付款类型
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
if
(
d
.
payType
==
1
){
return
"
<span class='state-up'>现金</span>
"
;
}
else
if
(
d
.
payType
==
2
){
return
"
<span class='state-down'>记账</span>
"
;
}
else
{
return
"
<span class='state-error'>其他</span>
"
;
}
}},
{
field
:
'
operTime
'
,
title
:
'
单据日期
'
,
align
:
'
center
'
,
width
:
180
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
details
'
)
{
//详情
details
(
data
);
}
});
// 详情
function
details
(
data
)
{
rowId
=
data
.
id
;
var
url
=
erpOrderUtil
.
getErpDetailUrl
({
subType
:
data
.
subType
});
_openNewWindows
({
url
:
url
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
warehousingdetailschildpage
"
,
area
:
[
'
100vw
'
,
'
100vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
exports
(
'
accountItem
'
,
{});
});
ifs/src/main/resources/template/tpl/account/accountItem.html
已删除
100644 → 0
浏览文件 @
7c81f4a2
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/account/
'
}).
use
(
'
accountItem
'
);
</script>
</body>
</html>
\ No newline at end of file
web/src/main/resources/template/assets/lib/layui/customer/erpOrderUtil.js
浏览文件 @
49f1a936
// erp工具函数
var
erpOrderUtil
=
{
/**
* erp单据详情获取url地址
* @param {} data
* @return {}
*/
getErpDetailUrl
:
function
(
data
)
{
var
url
=
""
;
if
(
data
.
subType
==
1
)
{
//采购入库---入库
url
=
"
../../tpl/purchasePut/purchasePutDetails.html
"
;
}
else
if
(
data
.
subType
==
4
)
{
//其他入库---入库
url
=
"
../../tpl/otherWarehous/otherWarehousDetails.html
"
;
}
else
if
(
data
.
subType
==
2
)
{
//销售退货---入库
url
=
"
../../tpl/salesReturns/salesReturnsDetails.html
"
;
}
else
if
(
data
.
subType
==
6
)
{
//采购退货---出库
url
=
"
../../tpl/purchaseReturns/purchaseReturnsDetails.html
"
;
}
else
if
(
data
.
subType
==
9
)
{
//其他出库---出库
url
=
"
../../tpl/otherOutlets/otherOutletsDetails.html
"
;
}
else
if
(
data
.
subType
==
5
)
{
//销售出库---出库
url
=
"
../../tpl/salesOutlet/salesOutletDetails.html
"
;
}
else
if
(
data
.
subType
==
8
)
{
//零售出库---出库
url
=
"
../../tpl/retailOutlet/retailOutletDetails.html
"
;
}
else
if
(
data
.
subType
==
3
)
{
//零售退货---入库
url
=
"
../../tpl/retailReturns/retailReturnsDetails.html
"
;
}
else
if
(
data
.
subType
==
12
)
{
//拆分单---其他,一进一出
url
=
"
../../tpl/splitDoc/splitDocDetails.html
"
;
}
else
if
(
data
.
subType
==
13
)
{
//组装单---其他,一进一出
url
=
"
../../tpl/assemblySheet/assemblySheetDetails.html
"
;
}
else
if
(
data
.
subType
==
14
)
{
//调拨单---其他,一进一出
url
=
"
../../tpl/allocation/allocationDetails.html
"
;
}
else
if
(
data
.
subType
==
15
)
{
//验收入库单
url
=
""
;
}
else
if
(
data
.
subType
==
16
)
{
//加工单
url
=
"
../../tpl/erpMachin/erpMachinDetails.html
"
;
}
else
if
(
data
.
subType
==
17
)
{
//工序验收单
url
=
""
;
}
else
if
(
data
.
subType
==
18
)
{
//生产计划单
url
=
"
../../tpl/erpProduction/erpProductionDetail.html
"
;
}
else
if
(
data
.
subType
==
19
)
{
//领料单
url
=
"
../../tpl/erpPick/erpRequisitionDetails.html
"
;
}
else
if
(
data
.
subType
==
20
)
{
//补料单
url
=
"
../../tpl/erpPick/erpPatchDetails.html
"
;
}
else
if
(
data
.
subType
==
21
)
{
//退料单
url
=
"
../../tpl/erpPick/erpReturnDetails.html
"
;
}
return
url
;
},
/**
* 删除订单信息
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录