Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
c05cebdf
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1194
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看板
提交
c05cebdf
编写于
1月 09, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
erp单据信息修改
上级
f486730b
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
48 addition
and
69 deletion
+48
-69
common/src/main/resources/template/js/sysfdsettings/sysfdsettingslist.js
.../resources/template/js/sysfdsettings/sysfdsettingslist.js
+0
-45
common/src/main/resources/template/tpl/sysfdsettings/sysfdsettingsTemplate.tpl
...rces/template/tpl/sysfdsettings/sysfdsettingsTemplate.tpl
+0
-5
common/src/main/resources/template/tpl/sysfdsettings/sysfdsettingslist.html
...sources/template/tpl/sysfdsettings/sysfdsettingslist.html
+0
-19
erp/src/main/resources/template/tpl/purchaseorder/purchaseorderadd.html
...esources/template/tpl/purchaseorder/purchaseorderadd.html
+3
-0
erp/src/main/resources/template/tpl/purchaseorder/purchaseorderedit.html
...sources/template/tpl/purchaseorder/purchaseorderedit.html
+3
-0
erp/src/main/resources/template/tpl/purchaseput/purchaseputadd.html
...in/resources/template/tpl/purchaseput/purchaseputadd.html
+3
-0
erp/src/main/resources/template/tpl/purchaseput/purchaseputedit.html
...n/resources/template/tpl/purchaseput/purchaseputedit.html
+3
-0
erp/src/main/resources/template/tpl/purchasereturns/purchasereturnsadd.html
...rces/template/tpl/purchasereturns/purchasereturnsadd.html
+3
-0
erp/src/main/resources/template/tpl/purchasereturns/purchasereturnsedit.html
...ces/template/tpl/purchasereturns/purchasereturnsedit.html
+3
-0
erp/src/main/resources/template/tpl/retailoutlet/retailoutletadd.html
.../resources/template/tpl/retailoutlet/retailoutletadd.html
+3
-0
erp/src/main/resources/template/tpl/retailoutlet/retailoutletedit.html
...resources/template/tpl/retailoutlet/retailoutletedit.html
+3
-0
erp/src/main/resources/template/tpl/retailreturns/retailreturnsadd.html
...esources/template/tpl/retailreturns/retailreturnsadd.html
+3
-0
erp/src/main/resources/template/tpl/retailreturns/retailreturnsedit.html
...sources/template/tpl/retailreturns/retailreturnsedit.html
+3
-0
erp/src/main/resources/template/tpl/salesorder/salesorderadd.html
...main/resources/template/tpl/salesorder/salesorderadd.html
+3
-0
erp/src/main/resources/template/tpl/salesorder/salesorderedit.html
...ain/resources/template/tpl/salesorder/salesorderedit.html
+3
-0
erp/src/main/resources/template/tpl/salesoutlet/salesoutletadd.html
...in/resources/template/tpl/salesoutlet/salesoutletadd.html
+3
-0
erp/src/main/resources/template/tpl/salesoutlet/salesoutletedit.html
...n/resources/template/tpl/salesoutlet/salesoutletedit.html
+3
-0
erp/src/main/resources/template/tpl/salesreturns/salesreturnsadd.html
.../resources/template/tpl/salesreturns/salesreturnsadd.html
+3
-0
erp/src/main/resources/template/tpl/salesreturns/salesreturnsedit.html
...resources/template/tpl/salesreturns/salesreturnsedit.html
+3
-0
未找到文件。
common/src/main/resources/template/js/sysfdsettings/sysfdsettingslist.js
浏览文件 @
c05cebdf
...
...
@@ -51,9 +51,6 @@ layui.config({
// 加载ERP以及生产订单的审核设置
loadErpExamineBasicDesign
(
json
);
// 加载动态表单关联信息
loadCustomWithDsFormList
(
json
);
// 加载事件
loadEvent
();
...
...
@@ -138,23 +135,6 @@ layui.config({
}
}
/**
* 加载动态表单关联信息
*
* @param json
*/
function
loadCustomWithDsFormList
(
json
)
{
if
(
!
isNull
(
json
.
bean
.
customWithDsFormList
))
{
var
customWithDsFormList
=
JSON
.
parse
(
json
.
bean
.
customWithDsFormList
);
$
(
"
#customWithDsFormListBox
"
).
append
(
getDataUseHandlebars
(
$
(
"
#customWithDsFormListTemplate
"
).
html
(),
{
bean
:
customWithDsFormList
}));
$
.
each
(
customWithDsFormList
,
function
(
key
,
values
){
$
.
each
(
values
,
function
(
i
,
item
){
dsFormUtil
.
initDsFormChooseBtn
(
"
daFormChoose
"
+
item
.
code
,
item
.
dsFormList
);
});
});
}
}
function
loadEvent
()
{
form
.
on
(
'
select(abnormal)
'
,
function
(
data
)
{
var
id
=
data
.
elem
.
id
;
...
...
@@ -247,8 +227,6 @@ layui.config({
params
.
abnormalMation
=
getAbnormalMation
();
// 获取ERP(生产)审核标识信息
params
.
erpExamineBasicDesign
=
getErpExamineBasicDesign
();
// 获取动态表单关联项
params
.
customWithDsFormList
=
getCustomWithDsFormList
();
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
sysfdsettings002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
...
...
@@ -301,29 +279,6 @@ layui.config({
return
JSON
.
stringify
(
tableData
);
}
/**
* 获取动态表单关联项
*
* @returns {any[]}
*/
function
getCustomWithDsFormList
(){
var
tableData
=
{};
$
.
each
(
$
(
"
#customWithDsFormListBox .customWithDsFormBoxItem
"
),
function
(
i
,
item
)
{
var
key
=
$
(
item
).
find
(
"
.hr-title
"
).
html
();
var
values
=
new
Array
();
$
.
each
(
$
(
item
).
find
(
"
.customWithDsFormItem
"
),
function
(
j
,
bean
)
{
var
row
=
{
title
:
$
(
bean
).
attr
(
"
title
"
),
code
:
$
(
bean
).
attr
(
"
code
"
),
dsFormList
:
dsFormUtil
.
getJSONDsFormListByBoxId
(
$
(
bean
).
find
(
"
.layui-input-block
"
).
attr
(
"
id
"
))
};
values
.
push
(
row
);
});
tableData
[
key
]
=
values
;
});
return
JSON
.
stringify
(
tableData
);
}
function
getAbnormalMoney
(
rowNum
){
if
(
isNull
(
$
(
"
#abnormalMoney
"
+
rowNum
).
val
())){
return
"
0
"
;
...
...
common/src/main/resources/template/tpl/sysfdsettings/sysfdsettingsTemplate.tpl
浏览文件 @
c05cebdf
...
...
@@ -6,7 +6,6 @@
<li>
CRM
</li>
<li>
考勤制度
</li>
<li>
ERP(生产)审核制度
</li>
<li>
动态表单关联
</li>
</ul>
<div
class=
"layui-tab-content"
>
...
...
@@ -204,10 +203,6 @@
</div>
<div
class=
"layui-tab-item"
id=
"customWithDsFormListBox"
>
</div>
</div>
</div>
...
...
common/src/main/resources/template/tpl/sysfdsettings/sysfdsettingslist.html
浏览文件 @
c05cebdf
...
...
@@ -71,25 +71,6 @@
{{
/
each
}}
</script>
<!-- 动态表单关联信息 -->
<script
type=
"text/x-handlebars-template"
id=
"customWithDsFormListTemplate"
>
{{
#
each
bean
}}
<
div
class
=
"
customWithDsFormBoxItem
"
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
{{@
key
}}
<
/span><hr
>
<
/div
>
{{
#
each
this
}}
<
div
class
=
"
layui-form-item layui-col-xs6 customWithDsFormItem
"
title
=
"
{{title}}
"
code
=
"
{{code}}
"
>
<
label
class
=
"
layui-form-label
"
>
{{
title
}}
:
<
/label
>
<
div
class
=
"
layui-input-block
"
id
=
"
daFormChoose{{code}}
"
>
<
/div
>
<
/div
>
{{
/
each
}}
<
/div
>
{{
/
each
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
...
...
erp/src/main/resources/template/tpl/purchaseorder/purchaseorderadd.html
浏览文件 @
c05cebdf
...
...
@@ -10,6 +10,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
供应商
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/purchaseorder/purchaseorderedit.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
供应商
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/purchaseput/purchaseputadd.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
供应商
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/purchaseput/purchaseputedit.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
供应商
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/purchasereturns/purchasereturnsadd.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
供应商
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/purchasereturns/purchasereturnsedit.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
供应商
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/retailoutlet/retailoutletadd.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs3"
>
<label
class=
"layui-form-label"
>
会员
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/retailoutlet/retailoutletedit.html
浏览文件 @
c05cebdf
...
...
@@ -33,6 +33,9 @@
<!-- beanTemplate -->
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
基本信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
<
label
class
=
"
layui-form-label
"
>
会员
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
...
...
erp/src/main/resources/template/tpl/retailreturns/retailreturnsadd.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs3"
>
<label
class=
"layui-form-label"
>
会员
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/retailreturns/retailreturnsedit.html
浏览文件 @
c05cebdf
...
...
@@ -33,6 +33,9 @@
<!-- beanTemplate -->
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
基本信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
<
label
class
=
"
layui-form-label
"
>
会员
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
...
...
erp/src/main/resources/template/tpl/salesorder/salesorderadd.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
客户
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/salesorder/salesorderedit.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
客户
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/salesoutlet/salesoutletadd.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
客户
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/salesoutlet/salesoutletedit.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
客户
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/salesreturns/salesreturnsadd.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
客户
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
erp/src/main/resources/template/tpl/salesreturns/salesreturnsedit.html
浏览文件 @
c05cebdf
...
...
@@ -9,6 +9,9 @@
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
客户
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录