Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
eee51e66
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1168
Star
154
Fork
127
代码
文件
提交
分支
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看板
提交
eee51e66
编写于
1月 16, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
明细账列表修改
上级
fa9d318b
变更
31
隐藏空白更改
内联
并排
Showing
31 changed file
with
278 addition
and
118 deletion
+278
-118
README.md
README.md
+2
-1
admin-assistant/src/main/resources/template/js/assetArticlesPurchase/assetArticlesPurchaseList.js
...ate/js/assetArticlesPurchase/assetArticlesPurchaseList.js
+1
-13
erp/src/main/resources/template/js/otheroutlets/otheroutletsdetails.js
...resources/template/js/otheroutlets/otheroutletsdetails.js
+1
-1
erp/src/main/resources/template/js/otheroutlets/otheroutletslist.js
...in/resources/template/js/otheroutlets/otheroutletslist.js
+1
-1
erp/src/main/resources/template/js/otherwarehous/otherwarehousdetails.js
...sources/template/js/otherwarehous/otherwarehousdetails.js
+1
-1
erp/src/main/resources/template/js/otherwarehous/otherwarehouslist.js
.../resources/template/js/otherwarehous/otherwarehouslist.js
+1
-1
erp/src/main/resources/template/js/purchaseorder/purchaseOrderDetails.js
...sources/template/js/purchaseorder/purchaseOrderDetails.js
+1
-1
erp/src/main/resources/template/js/purchaseorder/purchaseorderlist.js
.../resources/template/js/purchaseorder/purchaseorderlist.js
+1
-1
erp/src/main/resources/template/js/purchaseput/purchaseputdetails.js
...n/resources/template/js/purchaseput/purchaseputdetails.js
+1
-1
erp/src/main/resources/template/js/purchaseput/purchaseputlist.js
...main/resources/template/js/purchaseput/purchaseputlist.js
+1
-1
erp/src/main/resources/template/js/purchasereturns/purchasereturnsdetails.js
...ces/template/js/purchasereturns/purchasereturnsdetails.js
+1
-1
erp/src/main/resources/template/js/purchasereturns/purchasereturnslist.js
...ources/template/js/purchasereturns/purchasereturnslist.js
+1
-1
erp/src/main/resources/template/js/retailoutlet/retailoutletdetails.js
...resources/template/js/retailoutlet/retailoutletdetails.js
+1
-1
erp/src/main/resources/template/js/retailoutlet/retailoutletlist.js
...in/resources/template/js/retailoutlet/retailoutletlist.js
+1
-1
erp/src/main/resources/template/js/retailreturns/retailReturnsDetails.js
...sources/template/js/retailreturns/retailReturnsDetails.js
+1
-1
erp/src/main/resources/template/js/retailreturns/retailreturnslist.js
.../resources/template/js/retailreturns/retailreturnslist.js
+1
-1
erp/src/main/resources/template/js/salesorder/salesorderdetails.js
...ain/resources/template/js/salesorder/salesorderdetails.js
+1
-1
erp/src/main/resources/template/js/salesorder/salesorderlist.js
...c/main/resources/template/js/salesorder/salesorderlist.js
+1
-1
erp/src/main/resources/template/js/salesoutlet/salesoutletdetails.js
...n/resources/template/js/salesoutlet/salesoutletdetails.js
+1
-1
erp/src/main/resources/template/js/salesoutlet/salesoutletlist.js
...main/resources/template/js/salesoutlet/salesoutletlist.js
+1
-1
erp/src/main/resources/template/js/salesreturns/salesReturnsDetails.js
...resources/template/js/salesreturns/salesReturnsDetails.js
+1
-1
erp/src/main/resources/template/js/salesreturns/salesreturnslist.js
...in/resources/template/js/salesreturns/salesreturnslist.js
+1
-1
ifs/src/main/resources/template/js/income/incomeAdd.js
ifs/src/main/resources/template/js/income/incomeAdd.js
+64
-24
ifs/src/main/resources/template/js/income/incomeList.js
ifs/src/main/resources/template/js/income/incomeList.js
+84
-13
ifs/src/main/resources/template/tpl/income/incomeAdd.html
ifs/src/main/resources/template/tpl/income/incomeAdd.html
+4
-2
ifs/src/main/resources/template/tpl/income/incomeList.html
ifs/src/main/resources/template/tpl/income/incomeList.html
+32
-5
web/src/main/resources/template/assets/lib/layui/customer/activitiUtil.js
...ources/template/assets/lib/layui/customer/activitiUtil.js
+61
-1
web/src/main/resources/template/assets/lib/layui/customer/erpOrderUtil.js
...ources/template/assets/lib/layui/customer/erpOrderUtil.js
+0
-30
web/src/main/resources/template/assets/lib/layui/customer/voucher/voucherUtil.js
...template/assets/lib/layui/customer/voucher/voucherUtil.js
+4
-2
web/src/main/resources/template/json/activitiNameKey.json
web/src/main/resources/template/json/activitiNameKey.json
+3
-1
web/src/main/resources/template/json/sysOrderType.json
web/src/main/resources/template/json/sysOrderType.json
+3
-6
未找到文件。
README.md
浏览文件 @
eee51e66
...
...
@@ -5,7 +5,8 @@
智能办公OA系统[SpringBoot2-快速开发平台],适用于医院,学校,中小型企业等机构的管理。包含文件在线操作、工作日志、多班次考勤、CRM、ERP进销存、项目管理、EHR、拖拽式生成问卷、日程、笔记、工作计划、行政办公、薪资模块、动态表单、知识库、公告模块、企业论坛、云售后模块、生产模块、系统模块化同步模块等多种复杂业务功能。
[
近期更新内容
](
https://mp.weixin.qq.com/s/vdh7-hTAST0IefZdxBEozA
)
-
[
近期更新内容
](
https://mp.weixin.qq.com/s/MrA4tX-5wtn4-mB_RZWbxw
)
-
[
上期更新内容
](
https://mp.weixin.qq.com/s/vdh7-hTAST0IefZdxBEozA
)
# 开源版请下载`master`分支
# 开源版请下载`master`分支
...
...
admin-assistant/src/main/resources/template/js/assetArticlesPurchase/assetArticlesPurchaseList.js
浏览文件 @
eee51e66
...
...
@@ -42,19 +42,7 @@ layui.config({
return
'
<a lay-event="caigouProcessDetails" class="notice-title-click">
'
+
d
.
processInstanceId
+
'
</a>
'
;
}},
{
field
:
'
stateName
'
,
title
:
'
状态
'
,
width
:
90
,
templet
:
function
(
d
){
if
(
d
.
state
==
'
0
'
){
return
"
<span>
"
+
d
.
stateName
+
"
</span>
"
;
}
else
if
(
d
.
state
==
'
1
'
){
return
"
<span class='state-new'>
"
+
d
.
stateName
+
"
</span>
"
;
}
else
if
(
d
.
state
==
'
2
'
){
return
"
<span class='state-up'>
"
+
d
.
stateName
+
"
</span>
"
;
}
else
if
(
d
.
state
==
'
3
'
){
return
"
<span class='state-down'>
"
+
d
.
stateName
+
"
</span>
"
;
}
else
if
(
d
.
state
==
'
4
'
){
return
"
<span class='state-down'>
"
+
d
.
stateName
+
"
</span>
"
;
}
else
if
(
d
.
state
==
'
5
'
){
return
"
<span class='state-error'>
"
+
d
.
stateName
+
"
</span>
"
;
}
return
activitiUtil
.
showStateName2
(
d
.
state
,
1
);
}},
{
field
:
'
createTime
'
,
title
:
'
创建时间
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
257
,
toolbar
:
'
#caigouTableBar
'
}
...
...
erp/src/main/resources/template/js/otheroutlets/otheroutletsdetails.js
浏览文件 @
eee51e66
...
...
@@ -25,7 +25,7 @@ layui.config({
winui
.
window
.
msg
(
data
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
$
(
"
#statusName
"
).
html
(
erpOrder
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#statusName
"
).
html
(
activiti
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
// 加载动态表单
dsFormUtil
.
loadPageShowDetailsByObjectId
(
"
dsFormShow
"
,
json
.
bean
.
id
);
...
...
erp/src/main/resources/template/js/otheroutlets/otheroutletslist.js
浏览文件 @
eee51e66
...
...
@@ -38,7 +38,7 @@ layui.config({
{
field
:
'
supplierName
'
,
title
:
'
客户
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
150
},
{
title
:
'
审批模式
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
80
,
templet
:
function
(
d
){
return
erpOrder
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
return
activiti
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
{
field
:
'
operPersonName
'
,
title
:
'
操作人
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
100
},
...
...
erp/src/main/resources/template/js/otherwarehous/otherwarehousdetails.js
浏览文件 @
eee51e66
...
...
@@ -25,7 +25,7 @@ layui.config({
winui
.
window
.
msg
(
data
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
$
(
"
#statusName
"
).
html
(
erpOrder
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#statusName
"
).
html
(
activiti
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
// 加载动态表单
dsFormUtil
.
loadPageShowDetailsByObjectId
(
"
dsFormShow
"
,
json
.
bean
.
id
);
...
...
erp/src/main/resources/template/js/otherwarehous/otherwarehouslist.js
浏览文件 @
eee51e66
...
...
@@ -38,7 +38,7 @@ layui.config({
{
field
:
'
supplierName
'
,
title
:
'
供应商
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
150
},
{
title
:
'
审批模式
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
80
,
templet
:
function
(
d
){
return
erpOrder
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
return
activiti
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
{
field
:
'
operPersonName
'
,
title
:
'
操作人
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
100
},
...
...
erp/src/main/resources/template/js/purchaseorder/purchaseOrderDetails.js
浏览文件 @
eee51e66
...
...
@@ -24,7 +24,7 @@ layui.config({
winui
.
window
.
msg
(
data
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
$
(
"
#statusName
"
).
html
(
erpOrder
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#statusName
"
).
html
(
activiti
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#contentIframe
"
).
attr
(
"
src
"
,
"
../../tpl/erpcommon/erpOrderFlowLine.html?rowId=
"
+
json
.
bean
.
id
+
"
&type=4
"
);
...
...
erp/src/main/resources/template/js/purchaseorder/purchaseorderlist.js
浏览文件 @
eee51e66
...
...
@@ -46,7 +46,7 @@ layui.config({
{
field
:
'
supplierName
'
,
title
:
'
供应商
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
150
},
{
title
:
'
审批模式
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
80
,
templet
:
function
(
d
){
return
erpOrder
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
return
activiti
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
operPersonName
'
,
title
:
'
操作人
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
100
},
...
...
erp/src/main/resources/template/js/purchaseput/purchaseputdetails.js
浏览文件 @
eee51e66
...
...
@@ -25,7 +25,7 @@ layui.config({
}
},
async
:
false
});
$
(
"
#statusName
"
).
html
(
erpOrder
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#statusName
"
).
html
(
activiti
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
var
str
=
'
无
'
;
var
defaultNumber
=
json
.
bean
.
defaultNumber
;
...
...
erp/src/main/resources/template/js/purchaseput/purchaseputlist.js
浏览文件 @
eee51e66
...
...
@@ -49,7 +49,7 @@ layui.config({
{
field
:
'
supplierName
'
,
title
:
'
供应商
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
150
},
{
title
:
'
审批模式
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
80
,
templet
:
function
(
d
){
return
erpOrder
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
return
activiti
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
{
field
:
'
taxMoney
'
,
title
:
'
含税合计
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
...
...
erp/src/main/resources/template/js/purchasereturns/purchasereturnsdetails.js
浏览文件 @
eee51e66
...
...
@@ -25,7 +25,7 @@ layui.config({
winui
.
window
.
msg
(
data
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
$
(
"
#statusName
"
).
html
(
erpOrder
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#statusName
"
).
html
(
activiti
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
// 加载动态表单
dsFormUtil
.
loadPageShowDetailsByObjectId
(
"
dsFormShow
"
,
json
.
bean
.
id
);
...
...
erp/src/main/resources/template/js/purchasereturns/purchasereturnslist.js
浏览文件 @
eee51e66
...
...
@@ -39,7 +39,7 @@ layui.config({
{
field
:
'
supplierName
'
,
title
:
'
供应商
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
150
},
{
title
:
'
审批模式
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
80
,
templet
:
function
(
d
){
return
erpOrder
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
return
activiti
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
{
field
:
'
taxMoney
'
,
title
:
'
含税合计
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
...
...
erp/src/main/resources/template/js/retailoutlet/retailoutletdetails.js
浏览文件 @
eee51e66
...
...
@@ -25,7 +25,7 @@ layui.config({
winui
.
window
.
msg
(
data
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
$
(
"
#statusName
"
).
html
(
erpOrder
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#statusName
"
).
html
(
activiti
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
// 加载动态表单
dsFormUtil
.
loadPageShowDetailsByObjectId
(
"
dsFormShow
"
,
json
.
bean
.
id
);
...
...
erp/src/main/resources/template/js/retailoutlet/retailoutletlist.js
浏览文件 @
eee51e66
...
...
@@ -38,7 +38,7 @@ layui.config({
{
field
:
'
supplierName
'
,
title
:
'
会员
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
150
},
{
title
:
'
审批模式
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
80
,
templet
:
function
(
d
){
return
erpOrder
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
return
activiti
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
{
field
:
'
changeAmount
'
,
title
:
'
收款
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
...
...
erp/src/main/resources/template/js/retailreturns/retailReturnsDetails.js
浏览文件 @
eee51e66
...
...
@@ -24,7 +24,7 @@ layui.config({
winui
.
window
.
msg
(
data
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
$
(
"
#statusName
"
).
html
(
erpOrder
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#statusName
"
).
html
(
activiti
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
// 加载动态表单
dsFormUtil
.
loadPageShowDetailsByObjectId
(
"
dsFormShow
"
,
json
.
bean
.
id
);
...
...
erp/src/main/resources/template/js/retailreturns/retailreturnslist.js
浏览文件 @
eee51e66
...
...
@@ -38,7 +38,7 @@ layui.config({
{
field
:
'
supplierName
'
,
title
:
'
会员
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
150
},
{
title
:
'
审批模式
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
80
,
templet
:
function
(
d
){
return
erpOrder
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
return
activiti
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
{
field
:
'
changeAmount
'
,
title
:
'
退款
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
...
...
erp/src/main/resources/template/js/salesorder/salesorderdetails.js
浏览文件 @
eee51e66
...
...
@@ -28,7 +28,7 @@ layui.config({
winui
.
window
.
msg
(
data
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
$
(
"
#statusName
"
).
html
(
erpOrder
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#statusName
"
).
html
(
activiti
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#contentIframe
"
).
attr
(
"
src
"
,
"
../../tpl/erpcommon/erpOrderFlowLine.html?rowId=
"
+
json
.
bean
.
id
+
"
&type=1
"
);
...
...
erp/src/main/resources/template/js/salesorder/salesorderlist.js
浏览文件 @
eee51e66
...
...
@@ -38,7 +38,7 @@ layui.config({
{
field
:
'
supplierName
'
,
title
:
'
客户
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
150
},
{
title
:
'
审批模式
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
80
,
templet
:
function
(
d
){
return
erpOrder
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
return
activiti
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
{
field
:
'
operPersonName
'
,
title
:
'
操作人
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
100
},
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletdetails.js
浏览文件 @
eee51e66
...
...
@@ -24,7 +24,7 @@ layui.config({
winui
.
window
.
msg
(
data
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
$
(
"
#statusName
"
).
html
(
erpOrder
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#statusName
"
).
html
(
activiti
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
var
str
=
'
无
'
;
var
defaultNumber
=
json
.
bean
.
defaultNumber
;
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletlist.js
浏览文件 @
eee51e66
...
...
@@ -42,7 +42,7 @@ layui.config({
{
field
:
'
supplierName
'
,
title
:
'
客户
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
150
},
{
title
:
'
审批模式
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
80
,
templet
:
function
(
d
){
return
erpOrder
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
return
activiti
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
{
field
:
'
taxMoney
'
,
title
:
'
含税合计
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
...
...
erp/src/main/resources/template/js/salesreturns/salesReturnsDetails.js
浏览文件 @
eee51e66
...
...
@@ -25,7 +25,7 @@ layui.config({
winui
.
window
.
msg
(
data
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
$
(
"
#statusName
"
).
html
(
erpOrder
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
$
(
"
#statusName
"
).
html
(
activiti
Util
.
showStateName
(
json
.
bean
.
state
,
json
.
bean
.
submitType
));
// 加载动态表单
dsFormUtil
.
loadPageShowDetailsByObjectId
(
"
dsFormShow
"
,
json
.
bean
.
id
);
...
...
erp/src/main/resources/template/js/salesreturns/salesreturnslist.js
浏览文件 @
eee51e66
...
...
@@ -47,7 +47,7 @@ layui.config({
{
field
:
'
supplierName
'
,
title
:
'
客户
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
150
},
{
title
:
'
审批模式
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
80
,
templet
:
function
(
d
){
return
erpOrder
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
return
activiti
Util
.
showStateName
(
d
.
state
,
d
.
submitType
);
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
{
field
:
'
taxMoney
'
,
title
:
'
含税合计
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
120
},
...
...
ifs/src/main/resources/template/js/income/incomeAdd.js
浏览文件 @
eee51e66
...
...
@@ -12,10 +12,12 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
laydate
=
layui
.
laydate
;
layedit
=
layui
.
layedit
,
form
=
layui
.
form
;
// 获取单据提交类型
var
submitType
=
erpOrderUtil
.
getSubmitTypeByOrderType
(
systemOrderType
[
"
incomeOrder
"
][
"
orderType
"
]);
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
handsPersonList
=
new
Array
();
//经手人员
...
...
@@ -38,35 +40,73 @@ layui.config({
matchingLanguage
();
form
.
render
();
// 保存为草稿
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
result
=
voucherUtil
.
getData
();
console
.
log
(
result
);
if
(
result
.
length
<
2
){
return
false
;
}
var
params
=
{
organId
:
sysCustomerUtil
.
customerMation
.
id
,
handsPersonId
:
handsPersonList
[
0
].
id
,
operTime
:
$
(
"
#operTime
"
).
val
(),
accountId
:
$
(
"
#accountId
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
changeAmount
:
$
(
"
#changeAmount
"
).
val
(),
initemStr
:
JSON
.
stringify
(
result
)
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
income002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
saveData
(
"
1
"
,
""
);
}
return
false
;
});
// 走工作流的提交审批
form
.
on
(
'
submit(formSubOneBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
sysActivitiModel
[
"
incomeOrder
"
][
"
key
"
],
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
return
false
;
});
// 不走工作流的提交
form
.
on
(
'
submit(formSubTwoBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
saveData
(
"
2
"
,
""
);
}
return
false
;
});
function
saveData
(
subType
,
approvalId
){
var
result
=
voucherUtil
.
getData
();
if
(
result
.
length
<
2
){
return
false
;
}
var
params
=
{
organType
:
$
(
"
#correspondentUnitType
"
).
val
(),
organId
:
getOrganId
(),
type
:
dsFormUtil
.
dsFormObjectRelationChoose
.
id
,
handsPersonId
:
handsPersonList
[
0
].
id
,
operTime
:
$
(
"
#operTime
"
).
val
(),
accountId
:
$
(
"
#accountId
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
setOfBooksId
:
sysIfsUtil
.
ifsSetOfBooksMation
.
id
,
initemStr
:
JSON
.
stringify
(
result
),
submitType
:
submitType
,
subType
:
subType
,
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
income002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
function
getOrganId
(){
var
correspondentUnitType
=
$
(
"
#correspondentUnitType
"
).
val
();
if
(
correspondentUnitType
==
1
){
// 供应商
return
sysSupplierUtil
.
supplierMation
.
id
;
}
else
if
(
correspondentUnitType
==
2
){
// 客户
return
sysCustomerUtilcustomerMation
;
}
}
// 往来单位变化监听
form
.
on
(
'
select(correspondentUnitType)
'
,
function
(
data
){
$
(
"
#customName
"
).
val
(
""
);
...
...
ifs/src/main/resources/template/js/income/incomeList.js
浏览文件 @
eee51e66
...
...
@@ -34,15 +34,29 @@ layui.config({
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
billNo
'
,
title
:
'
单据编号
'
,
align
:
'
left
'
,
width
:
200
,
templet
:
function
(
d
){
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
billNo
+
'
</a>
'
;
}},
{
field
:
'
customerName
'
,
title
:
'
往来单位
'
,
align
:
'
left
'
,
width
:
150
},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
hansPersonName
'
,
title
:
'
经手人
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
billTime
'
,
title
:
'
单据日期
'
,
align
:
'
center
'
,
width
:
140
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
200
,
toolbar
:
'
#tableBar
'
}
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
rowspan
:
'
2
'
,
type
:
'
numbers
'
},
{
field
:
'
billNo
'
,
title
:
'
单据编号
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
200
,
templet
:
function
(
d
){
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
billNo
+
'
</a>
'
;
}},
{
title
:
'
审批模式
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
left
'
,
rowspan
:
'
2
'
,
width
:
80
,
templet
:
function
(
d
){
return
activitiUtil
.
showStateName2
(
d
.
state
,
d
.
submitType
);
}},
{
field
:
'
organTypeName
'
,
title
:
'
往来单类型
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
supplierName
'
,
title
:
'
往来单位
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
150
},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
handsPersonName
'
,
title
:
'
经手人
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
operTime
'
,
title
:
'
单据日期
'
,
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
140
},
{
field
:
'
userName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
rowspan
:
'
2
'
,
width
:
110
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
200
,
toolbar
:
'
#tableBar
'
}
],[
{
field
:
'
submitType
'
,
title
:
'
提交模式
'
,
align
:
'
left
'
,
width
:
120
,
templet
:
function
(
d
){
return
erpOrderUtil
.
getSubmitTypeName
(
d
);
}},
{
field
:
'
processInstanceId
'
,
title
:
'
流程实例id
'
,
align
:
'
left
'
,
width
:
120
,
templet
:
function
(
d
){
return
erpOrderUtil
.
getProcessInstanceIdBySubmitType
(
d
);
}}
]],
done
:
function
(){
matchingLanguage
();
...
...
@@ -59,6 +73,14 @@ layui.config({
details
(
data
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
submitToSave
'
)
{
//提交
subExamine
(
data
,
'
submitToSave
'
);
}
else
if
(
layEvent
===
'
subExamine
'
)
{
//提交审核
subExamine
(
data
,
'
subExamine
'
);
}
else
if
(
layEvent
===
'
activitiProcessDetails
'
)
{
// 工作流流程详情查看
activitiUtil
.
activitiDetails
(
data
);
}
else
if
(
layEvent
===
'
revoke
'
)
{
//撤销
revorke
(
data
);
}
});
...
...
@@ -80,13 +102,13 @@ layui.config({
if
(
treeNode
==
undefined
)
{
orderType
=
""
;
}
else
{
if
(
treeNode
.
isParent
!=
0
){
if
(
treeNode
.
i
d
!=
0
&&
treeNode
.
i
sParent
!=
0
){
return
;
}
// 订单类型
orderType
=
treeNode
.
id
;
orderType
=
treeNode
.
id
==
0
?
""
:
treeNode
.
id
;
}
load
Table
();
refresh
Table
();
}
/********* tree 处理 end *************/
...
...
@@ -134,6 +156,55 @@ layui.config({
}});
}
// 撤销用品采购
function
revorke
(
data
){
layer
.
confirm
(
'
确认撤销该申请吗?
'
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
""
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadCaigouTable
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
}
// 提交数据
function
subExamine
(
data
,
type
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
if
(
type
==
'
submitToSave
'
){
// 直接提交
var
params
=
{
rowId
:
data
.
id
,
approvalId
:
""
};
subToData
(
params
);
}
else
{
// 工作流提交
activitiUtil
.
startProcess
(
sysActivitiModel
[
"
incomeOrder
"
][
"
key
"
],
function
(
approvalId
)
{
var
params
=
{
rowId
:
data
.
id
,
approvalId
:
approvalId
};
subToData
(
params
);
});
}
});
}
function
subToData
(
params
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
""
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadCaigouTable
();
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
// 添加
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
(){
_openNewWindows
({
...
...
@@ -191,7 +262,7 @@ layui.config({
}
return
{
billNo
:
$
(
"
#billNo
"
).
val
(),
orderT
ype
:
orderType
,
t
ype
:
orderType
,
startTime
:
startTime
,
endTime
:
endTime
};
...
...
ifs/src/main/resources/template/tpl/income/incomeAdd.html
浏览文件 @
eee51e66
...
...
@@ -83,8 +83,10 @@
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
><language
showName=
"com.skyeye.save"
></language></button>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
>
保存为草稿
</button>
<button
class=
"winui-btn submitTypeIsOne"
lay-submit
lay-filter=
"formSubOneBean"
>
提交审批
</button>
<button
class=
"winui-btn submitTypeIsTwo"
lay-submit
lay-filter=
"formSubTwoBean"
>
提交
</button>
</div>
</div>
</form>
...
...
ifs/src/main/resources/template/tpl/income/incomeList.html
浏览文件 @
eee51e66
...
...
@@ -46,11 +46,38 @@
</div>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1571638030608
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1571638039187
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
<!--
单据提交类型
1
.
走工作流提交
2
.
直接提交
-->
{{
#
if
(
d
.
submitType
==
1
){
}}
{{
#
if
(
d
.
editRow
==
'
1
'
){
}}
{{
#
if
(
auth
(
''
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
subExamine
"
>
提交审核
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1571638039187
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
editRow
==
'
1
'
||
d
.
editRow
==
'
2
'
){
}}
{{
#
if
(
auth
(
'
1571638030608
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
editRow
==
'
2
'
){
}}
{{
#
if
(
auth
(
''
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
revoke
"
>
撤销
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
}
else
if
(
d
.
submitType
==
2
)
{
}}
{{
#
if
(
d
.
state
==
0
){
}}
{{
#
if
(
auth
(
'
1571638030608
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1571638039187
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
''
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
submitToSave
"
>
提交
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
}
}}
</script>
...
...
web/src/main/resources/template/assets/lib/layui/customer/activitiUtil.js
浏览文件 @
eee51e66
...
...
@@ -312,6 +312,66 @@ var activitiUtil = {
});
});
}
},
showStateName
:
function
(
state
,
submitType
){
if
(
submitType
==
1
){
if
(
state
==
'
0
'
){
return
"
<span class='state-down'>未审核</span>
"
;
}
else
if
(
state
==
'
1
'
){
return
"
<span class='state-up'>审核中</span>
"
;
}
else
if
(
state
==
'
2
'
){
return
"
<span class='state-new'>审核通过</span>
"
;
}
else
if
(
state
==
'
3
'
){
return
"
<span class='state-down'>拒绝通过</span>
"
;
}
else
if
(
state
==
'
4
'
){
return
"
<span class='state-new'>已完成</span>
"
;
}
else
if
(
state
==
'
5
'
){
return
"
<span class='state-error'>撤销</span>
"
;
}
else
{
return
"
参数错误
"
;
}
}
else
if
(
submitType
==
2
){
if
(
state
==
'
0
'
){
return
"
<span class='state-down'>未提交</span>
"
;
}
else
if
(
state
==
'
2
'
){
return
"
<span class='state-new'>已提交</span>
"
;
}
else
if
(
state
==
'
4
'
){
return
"
<span class='state-new'>已完成</span>
"
;
}
else
{
return
"
参数错误
"
;
}
}
},
showStateName2
:
function
(
state
,
submitType
){
if
(
submitType
==
1
){
if
(
state
==
'
0
'
){
return
"
<span>草稿</span>
"
;
}
else
if
(
state
==
'
1
'
){
return
"
<span class='state-up'>审核中</span>
"
;
}
else
if
(
state
==
'
2
'
){
return
"
<span class='state-new'>审核通过</span>
"
;
}
else
if
(
state
==
'
3
'
){
return
"
<span class='state-down'>拒绝通过</span>
"
;
}
else
if
(
state
==
'
4
'
){
return
"
<span class='state-down'>作废</span>
"
;
}
else
if
(
state
==
'
5
'
){
return
"
<span class='state-error'>撤销</span>
"
;
}
else
{
return
"
参数错误
"
;
}
}
else
if
(
submitType
==
2
){
if
(
state
==
'
0
'
){
return
"
<span>草稿</span>
"
;
}
else
if
(
state
==
'
2
'
){
return
"
<span class='state-new'>已提交</span>
"
;
}
else
if
(
state
==
'
4
'
){
return
"
<span class='state-new'>作废</span>
"
;
}
else
{
return
"
参数错误
"
;
}
}
},
};
\ No newline at end of file
web/src/main/resources/template/assets/lib/layui/customer/erpOrderUtil.js
浏览文件 @
eee51e66
...
...
@@ -201,36 +201,6 @@ var erpOrderUtil = {
return
''
;
},
showStateName
:
function
(
state
,
submitType
){
if
(
submitType
==
1
){
if
(
state
==
'
0
'
){
return
"
<span class='state-down'>未审核</span>
"
;
}
else
if
(
state
==
'
1
'
){
return
"
<span class='state-up'>审核中</span>
"
;
}
else
if
(
state
==
'
2
'
){
return
"
<span class='state-new'>审核通过</span>
"
;
}
else
if
(
state
==
'
3
'
){
return
"
<span class='state-down'>拒绝通过</span>
"
;
}
else
if
(
state
==
'
4
'
){
return
"
<span class='state-new'>已完成</span>
"
;
}
else
if
(
state
==
'
5
'
){
return
"
<span class='state-error'>撤销</span>
"
;
}
else
{
return
"
参数错误
"
;
}
}
else
if
(
submitType
==
2
){
if
(
state
==
'
0
'
){
return
"
<span class='state-down'>未提交</span>
"
;
}
else
if
(
state
==
'
2
'
){
return
"
<span class='state-new'>已提交</span>
"
;
}
else
if
(
state
==
'
4
'
){
return
"
<span class='state-new'>已完成</span>
"
;
}
else
{
return
"
参数错误
"
;
}
}
},
/**
* 获取所有仓库信息
*
...
...
web/src/main/resources/template/assets/lib/layui/customer/voucher/voucherUtil.js
浏览文件 @
eee51e66
...
...
@@ -194,12 +194,14 @@ var voucherUtil = {
winui
.
window
.
msg
(
"
借方金额和贷方金额最少填写一项.
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
var
eachAmount
=
isNull
(
debiteMoney
)
?
creditMoney
:
debiteMoney
;
var
directionType
=
isNull
(
debiteMoney
)
?
2
:
1
;
result
.
push
({
remark
:
_this
.
find
(
"
.col_summary
"
).
find
(
"
textarea
"
).
val
(),
voucherId
:
_this
.
find
(
"
.col_voucher
"
).
find
(
"
.cell_val
"
).
attr
(
"
dataId
"
),
subjectId
:
subjectId
,
debiteMoney
:
debiteMoney
,
creditMoney
:
creditMoney
eachAmount
:
eachAmount
,
directionType
:
directionType
});
});
return
result
;
...
...
web/src/main/resources/template/json/activitiNameKey.json
浏览文件 @
eee51e66
...
...
@@ -30,5 +30,7 @@
"assetManageReturn"
:
{
"name"
:
"资产归还"
,
"key"
:
"../../tpl/assetManageReturn/assetManageReturnAdd.html"
,
"complate"
:
true
},
"assetManagePurchase"
:
{
"name"
:
"资产采购"
,
"key"
:
"../../tpl/assetManagePurchase/assetManagePurchaseAdd.html"
,
"complate"
:
true
},
"assetArticlesUse"
:
{
"name"
:
"用品领用"
,
"key"
:
"../../tpl/assetArticlesUse/assetArticlesUseAdd.html"
,
"complate"
:
true
},
"assetArticlesPurchase"
:
{
"name"
:
"用品采购"
,
"key"
:
"../../tpl/assetArticlesPurchase/assetArticlesPurchaseAdd.html"
,
"complate"
:
true
}
"assetArticlesPurchase"
:
{
"name"
:
"用品采购"
,
"key"
:
"../../tpl/assetArticlesPurchase/assetArticlesPurchaseAdd.html"
,
"complate"
:
true
},
"incomeOrder"
:
{
"name"
:
"财务明细账"
,
"key"
:
"../../tpl/income/incomeAdd.html"
,
"complate"
:
true
}
}
\ No newline at end of file
web/src/main/resources/template/json/sysOrderType.json
浏览文件 @
eee51e66
...
...
@@ -20,10 +20,7 @@
"pickPicking"
:
{
"title"
:
"领料单"
,
"code"
:
"LLDD"
,
"orderType"
:
19
},
"pickReplenishment"
:
{
"title"
:
"补料单"
,
"code"
:
"BLDD"
,
"orderType"
:
20
},
"pickReturn"
:
{
"title"
:
"退料单"
,
"code"
:
"TLDD"
,
"orderType"
:
21
},
"expenditureOrder"
:
{
"title"
:
"支出订单"
,
"code"
:
"CWZCDD"
,
"orderType"
:
22
},
"incomeOrder"
:
{
"title"
:
"收入订单"
,
"code"
:
"CWSRDD"
,
"orderType"
:
23
},
"receivablesOrder"
:
{
"title"
:
"收款订单"
,
"code"
:
"CWSKDD"
,
"orderType"
:
24
},
"paymentOrder"
:
{
"title"
:
"付款订单"
,
"code"
:
"CWFKDD"
,
"orderType"
:
25
},
"transferOrder"
:
{
"title"
:
"转账订单"
,
"code"
:
"CWZZDD"
,
"orderType"
:
26
},
"advanceOrder"
:
{
"title"
:
"收预付款"
,
"code"
:
"CWYFDD"
,
"orderType"
:
27
}
"incomeOrder"
:
{
"title"
:
"财务明细账"
,
"code"
:
"CWMXZ"
,
"orderType"
:
22
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录