Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
bf3580cd
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1434
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看板
提交
bf3580cd
编写于
3月 13, 2023
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
IFS会计科目托管到表单布局
上级
6433a445
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
19 addition
and
648 deletion
+19
-648
ifs/src/main/resources/template/js/ifsAccountSubject/ifsAccountSubjectAdd.js
...ces/template/js/ifsAccountSubject/ifsAccountSubjectAdd.js
+0
-46
ifs/src/main/resources/template/js/ifsAccountSubject/ifsAccountSubjectDetails.js
...template/js/ifsAccountSubject/ifsAccountSubjectDetails.js
+0
-29
ifs/src/main/resources/template/js/ifsAccountSubject/ifsAccountSubjectEdit.js
...es/template/js/ifsAccountSubject/ifsAccountSubjectEdit.js
+0
-64
ifs/src/main/resources/template/js/ifsAccountSubject/ifsAccountSubjectList.js
...es/template/js/ifsAccountSubject/ifsAccountSubjectList.js
+0
-155
ifs/src/main/resources/template/js/ifsAccountSubject/ifsAccountSubjectListChoose.js
...plate/js/ifsAccountSubject/ifsAccountSubjectListChoose.js
+12
-39
ifs/src/main/resources/template/js/ifsSetOfBooks/ifsSetOfBooksListChoose.js
...rces/template/js/ifsSetOfBooks/ifsSetOfBooksListChoose.js
+0
-2
ifs/src/main/resources/template/tpl/ifsAccountSubject/ifsAccountSubjectAdd.html
.../template/tpl/ifsAccountSubject/ifsAccountSubjectAdd.html
+0
-65
ifs/src/main/resources/template/tpl/ifsAccountSubject/ifsAccountSubjectDetails.html
...plate/tpl/ifsAccountSubject/ifsAccountSubjectDetails.html
+0
-63
ifs/src/main/resources/template/tpl/ifsAccountSubject/ifsAccountSubjectEdit.html
...template/tpl/ifsAccountSubject/ifsAccountSubjectEdit.html
+0
-72
ifs/src/main/resources/template/tpl/ifsAccountSubject/ifsAccountSubjectList.html
...template/tpl/ifsAccountSubject/ifsAccountSubjectList.html
+0
-62
ifs/src/main/resources/template/tpl/ifsAccountSubject/ifsAccountSubjectListChoose.html
...te/tpl/ifsAccountSubject/ifsAccountSubjectListChoose.html
+7
-26
web/src/main/resources/template/assets/lib/layui/custom.js
web/src/main/resources/template/assets/lib/layui/custom.js
+0
-1
web/src/main/resources/template/assets/lib/layui/customer/accountSubjectUtil.js
.../template/assets/lib/layui/customer/accountSubjectUtil.js
+0
-15
web/src/main/resources/template/assets/lib/layui/customer/sysIfsUtil.js
...esources/template/assets/lib/layui/customer/sysIfsUtil.js
+0
-9
未找到文件。
ifs/src/main/resources/template/js/ifsAccountSubject/ifsAccountSubjectAdd.js
已删除
100644 → 0
浏览文件 @
6433a445
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
textool
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
textool
=
layui
.
textool
;
var
selTemplate
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
radioTemplate
=
getFileContent
(
'
tpl/template/radio-property.tpl
'
);
$
(
"
#type
"
).
html
(
getDataUseHandlebars
(
selTemplate
,
{
rows
:
accountSubjectUtil
.
accountSubjectType
}));
// 余额方向
$
(
"
#amountDirectionBox
"
).
html
(
getDataUseHandlebars
(
radioTemplate
,
{
rows
:
sysIfsUtil
.
amountDirection
}));
textool
.
init
({
eleId
:
'
remark
'
,
maxlength
:
200
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
name
:
$
(
"
#name
"
).
val
(),
state
:
$
(
"
input[name='state']:checked
"
).
val
(),
amountDirection
:
$
(
"
input[name='radioProperty']:checked
"
).
val
(),
num
:
$
(
"
#num
"
).
val
(),
type
:
$
(
"
#type
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
ifsaccountsubject002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
ifs/src/main/resources/template/js/ifsAccountSubject/ifsAccountSubjectDetails.js
已删除
100644 → 0
浏览文件 @
6433a445
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
,
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
ifsaccountsubject003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#simpleTemplate
"
).
html
(),
ajaxSendAfter
:
function
(
json
)
{
$
(
"
#state
"
).
html
(
json
.
bean
.
state
==
"
1
"
?
"
<span class='state-up'>启用</span>
"
:
"
<span class='state-down'>停用</span>
"
);
$
(
"
#amountDirectionBox
"
).
html
(
sysIfsUtil
.
getAmountDirectionById
(
json
.
bean
.
amountDirection
));
$
(
"
#type
"
).
html
(
getInPoingArr
(
accountSubjectUtil
.
accountSubjectType
,
"
id
"
,
json
.
bean
.
type
,
"
name
"
));
matchingLanguage
();
form
.
render
();
}
});
});
});
\ No newline at end of file
ifs/src/main/resources/template/js/ifsAccountSubject/ifsAccountSubjectEdit.js
已删除
100644 → 0
浏览文件 @
6433a445
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
textool
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
textool
=
layui
.
textool
;
var
selTemplate
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
radioTemplate
=
getFileContent
(
'
tpl/template/radio-property.tpl
'
);
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
ifsaccountsubject003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
textool
.
init
({
eleId
:
'
remark
'
,
maxlength
:
200
});
$
(
"
#type
"
).
html
(
getDataUseHandlebars
(
selTemplate
,
{
rows
:
accountSubjectUtil
.
accountSubjectType
}));
$
(
"
#type
"
).
val
(
json
.
bean
.
type
);
// 余额方向
$
(
"
#amountDirectionBox
"
).
html
(
getDataUseHandlebars
(
radioTemplate
,
{
rows
:
sysIfsUtil
.
amountDirection
}));
$
(
"
input:radio[name=radioProperty][value=
"
+
json
.
bean
.
amountDirection
+
"
]
"
).
attr
(
"
checked
"
,
true
);
$
(
"
input:radio[name=state][value=
"
+
json
.
bean
.
state
+
"
]
"
).
attr
(
"
checked
"
,
true
);
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rowId
:
parent
.
rowId
,
name
:
$
(
"
#name
"
).
val
(),
state
:
$
(
"
input[name='state']:checked
"
).
val
(),
amountDirection
:
$
(
"
input[name='radioProperty']:checked
"
).
val
(),
num
:
$
(
"
#num
"
).
val
(),
type
:
$
(
"
#type
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
ifsaccountsubject004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
ifs/src/main/resources/template/js/ifsAccountSubject/ifsAccountSubjectList.js
已删除
100644 → 0
浏览文件 @
6433a445
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
authBtn
(
'
1638095858826
'
);
var
selTemplate
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
$
(
"
#type
"
).
html
(
getDataUseHandlebars
(
selTemplate
,
{
rows
:
accountSubjectUtil
.
accountSubjectType
}));
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
ifsaccountsubject001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
num
'
,
title
:
'
编号
'
,
align
:
'
left
'
,
width
:
180
},
{
field
:
'
name
'
,
title
:
'
会计科目名称
'
,
align
:
'
left
'
,
width
:
200
,
templet
:
function
(
d
)
{
return
'
<a lay-event="select" class="notice-title-click">
'
+
d
.
name
+
'
</a>
'
;
}},
{
field
:
'
type
'
,
title
:
'
类型
'
,
align
:
'
center
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
getInPoingArr
(
accountSubjectUtil
.
accountSubjectType
,
"
id
"
,
d
.
type
,
"
name
"
);
}},
{
field
:
'
amountDirection
'
,
title
:
'
余额方向
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
sysIfsUtil
.
getAmountDirectionById
(
d
.
amountDirection
);
}},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
1
){
return
"
<span class='state-up'>启用</span>
"
;
}
else
{
return
"
<span class='state-down'>停用</span>
"
;
}
}},
{
field
:
'
remark
'
,
title
:
'
备注
'
,
align
:
'
left
'
,
width
:
200
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
lastUpdateTime
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
200
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
delete
'
)
{
//删除
delet
(
data
);
}
else
if
(
layEvent
===
'
select
'
){
//查看详情
selectDetails
(
data
);
}
});
// 编辑
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/ifsAccountSubject/ifsAccountSubjectEdit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
ifsAccountSubjectEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
});
}
// 删除
function
delet
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
ifsaccountsubject005
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
function
selectDetails
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/ifsAccountSubject/ifsAccountSubjectDetails.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
ifsAccountSubjectDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}
});
}
// 添加
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/ifsAccountSubject/ifsAccountSubjectAdd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
ifsAccountSubjectAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
// 刷新
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
// 搜索
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()})
}
function
getTableParams
()
{
return
{
name
:
$
(
"
#name
"
).
val
(),
state
:
$
(
"
#state
"
).
val
(),
type
:
$
(
"
#type
"
).
val
()
};
}
exports
(
'
ifsAccountSubjectList
'
,
{});
});
ifs/src/main/resources/template/js/ifsAccountSubject/ifsAccountSubjectListChoose.js
浏览文件 @
bf3580cd
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
...
...
@@ -12,17 +11,13 @@ layui.config({
form
=
layui
.
form
,
table
=
layui
.
table
;
// 设置提示信息
$
(
"
#showInfo
"
).
html
(
"
会计科目选择规则:双击指定行即可选中。
"
);
var
selTemplate
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
$
(
"
#type
"
).
html
(
getDataUseHandlebars
(
selTemplate
,
{
rows
:
accountSubjectUtil
.
accountSubjectType
}));
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowable
BasePath
+
'
ifsaccountsubject001
'
,
url
:
sysMainMation
.
ifs
BasePath
+
'
ifsaccountsubject001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -30,20 +25,22 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
type
:
'
radio
'
},
{
field
:
'
num
'
,
title
:
'
编号
'
,
align
:
'
left
'
,
width
:
180
},
{
field
:
'
name
'
,
title
:
'
会计科目名称
'
,
align
:
'
left
'
,
width
:
200
,
templet
:
function
(
d
)
{
return
'
<a lay-event="select" class="notice-title-click">
'
+
d
.
name
+
'
</a>
'
;
}},
{
field
:
'
num
'
,
title
:
'
编号
'
,
align
:
'
left
'
,
width
:
180
},
{
field
:
'
name
'
,
title
:
'
名称
'
,
align
:
'
left
'
,
width
:
200
},
{
field
:
'
type
'
,
title
:
'
类型
'
,
align
:
'
center
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
getInPoingArr
(
accountSubjectUtil
.
accountSubjectType
,
"
id
"
,
d
.
type
,
"
name
"
);
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
accountSubjectType
"
,
'
id
'
,
d
.
type
,
'
name
'
);
}},
{
field
:
'
amountDirection
'
,
title
:
'
余额方向
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
s
ysIfsUtil
.
getAmountDirectionById
(
d
.
amountDirection
);
return
s
kyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
amountDirection
"
,
'
id
'
,
d
.
amountDirection
,
'
name
'
);
}},
{
field
:
'
remark
'
,
title
:
'
备注
'
,
align
:
'
left
'
,
width
:
200
}
{
field
:
'
remark
'
,
title
:
'
备注
'
,
align
:
'
left
'
,
width
:
200
}
]],
done
:
function
(
res
,
curr
,
count
){
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
res
.
searchFilter
,
form
,
"
请输入名称
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
$
(
'
#messageTable
'
).
next
().
find
(
'
.layui-table-body
'
).
find
(
"
table
"
).
find
(
"
tbody
"
).
children
(
"
tr
"
).
on
(
'
dblclick
'
,
function
(){
var
dubClick
=
$
(
'
#messageTable
'
).
next
().
find
(
'
.layui-table-body
'
).
find
(
"
table
"
).
find
(
"
tbody
"
).
find
(
"
.layui-table-hover
"
);
dubClick
.
find
(
"
input[type='radio']
"
).
prop
(
"
checked
"
,
true
);
...
...
@@ -64,37 +61,13 @@ layui.config({
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
(
);
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()}
);
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
name
:
$
(
"
#name
"
).
val
(),
state
:
1
,
// 已启用
type
:
$
(
"
#type
"
).
val
()
};
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
ifsAccountSubjectListChoose
'
,
{});
...
...
ifs/src/main/resources/template/js/ifsSetOfBooks/ifsSetOfBooksListChoose.js
浏览文件 @
bf3580cd
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
ifs/src/main/resources/template/tpl/ifsAccountSubject/ifsAccountSubjectAdd.html
已删除
100644 → 0
浏览文件 @
6433a445
<!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=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
编号
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"num"
name=
"num"
win-verify=
"required"
placeholder=
"请输入编号"
class=
"layui-input"
maxlength=
"100"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
类型
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"type"
name=
"type"
lay-filter=
"type"
lay-search=
""
win-verify=
"required"
>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
会计科目名称
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"name"
name=
"name"
win-verify=
"required"
placeholder=
"请输入会计科目名称"
class=
"layui-input"
maxlength=
"100"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
状态
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
>
<input
type=
"radio"
name=
"state"
value=
"1"
title=
"启用"
checked=
"checked"
/>
<input
type=
"radio"
name=
"state"
value=
"2"
title=
"禁用"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
余额方向
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
win-verify=
"required"
id=
"amountDirectionBox"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
备注
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"remark"
name=
"remark"
placeholder=
"请输入备注信息"
maxlength=
"200"
class=
"layui-textarea"
style=
"height: 100px;"
></textarea>
</div>
</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>
</div>
</div>
</form>
</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/ifsAccountSubject/
'
}).
use
(
'
ifsAccountSubjectAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
ifs/src/main/resources/template/tpl/ifsAccountSubject/ifsAccountSubjectDetails.html
已删除
100644 → 0
浏览文件 @
6433a445
<!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=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"simpleTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
编号
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
num
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
类型
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
type
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
会计科目名称
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
name
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
状态
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
state
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
余额方向
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
amountDirectionBox
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
备注
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
remark
}}
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/ifsAccountSubject/
'
}).
use
(
'
ifsAccountSubjectDetails
'
);
</script>
</body>
</html>
\ No newline at end of file
ifs/src/main/resources/template/tpl/ifsAccountSubject/ifsAccountSubjectEdit.html
已删除
100644 → 0
浏览文件 @
6433a445
<!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=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
编号
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
num
"
name
=
"
num
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入编号
"
class
=
"
layui-input
"
maxlength
=
"
100
"
value
=
"
{{num}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
类型
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
select
id
=
"
type
"
name
=
"
type
"
lay
-
filter
=
"
type
"
lay
-
search
=
""
win
-
verify
=
"
required
"
>
<
/select
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
会计科目名称
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
name
"
name
=
"
name
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入会计科目名称
"
class
=
"
layui-input
"
maxlength
=
"
100
"
value
=
"
{{name}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
状态
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block winui-radio
"
>
<
input
type
=
"
radio
"
name
=
"
state
"
value
=
"
1
"
title
=
"
启用
"
/>
<
input
type
=
"
radio
"
name
=
"
state
"
value
=
"
2
"
title
=
"
禁用
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
余额方向
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block winui-radio
"
win
-
verify
=
"
required
"
id
=
"
amountDirectionBox
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
备注
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
textarea
id
=
"
remark
"
name
=
"
remark
"
placeholder
=
"
请输入备注信息
"
maxlength
=
"
200
"
class
=
"
layui-textarea
"
style
=
"
height: 100px;
"
>
{{
remark
}}
<
/textarea
>
<
/div
>
<
/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
=
"
formEditBean
"
><
language
showName
=
"
com.skyeye.save
"
><
/language></
button
>
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/ifsAccountSubject/
'
}).
use
(
'
ifsAccountSubjectEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
ifs/src/main/resources/template/tpl/ifsAccountSubject/ifsAccountSubjectList.html
已删除
100644 → 0
浏览文件 @
6433a445
<!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
class=
"txtcenter"
style=
"margin:0 auto;padding-top:10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
会计科目名称
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"name"
name=
"name"
placeholder=
"请输入会计科目名称"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
状态
</label>
<div
class=
"layui-input-inline"
>
<select
id=
"state"
name=
"state"
lay-filter=
"state"
lay-search=
""
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
>
启用
</option>
<option
value=
"2"
>
停用
</option>
</select>
</div>
<label
class=
"layui-form-label"
>
类型
</label>
<div
class=
"layui-input-inline"
>
<select
id=
"type"
name=
"type"
lay-filter=
"type"
lay-search=
""
>
</select>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn"
auth=
"1638095858826"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1638095866684
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1638095873453
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
</script>
</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/ifsAccountSubject/
'
}).
use
(
'
ifsAccountSubjectList
'
);
</script>
</body>
</html>
\ No newline at end of file
ifs/src/main/resources/template/tpl/ifsAccountSubject/ifsAccountSubjectListChoose.html
浏览文件 @
bf3580cd
...
...
@@ -7,34 +7,15 @@
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding-top:10px;"
>
<div
class=
"winui-tip alert-info"
id=
"showInfo"
>
</div>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
会计科目名称
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"name"
name=
"name"
placeholder=
"请输入会计科目名称"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
类型
</label>
<div
class=
"layui-input-inline"
>
<select
id=
"type"
name=
"type"
lay-filter=
"type"
lay-search=
""
>
<div
class=
"winui-tip alert-info"
id=
"showInfo"
>
</select>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
</div>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn search-table-btn-right"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
</div>
...
...
web/src/main/resources/template/assets/lib/layui/custom.js
浏览文件 @
bf3580cd
...
...
@@ -16,7 +16,6 @@ var customerJS = {
"
dsFormUtil
"
:
"
../../assets/lib/layui/customer/skyeye/dsFormUtil.js
"
,
// 动态表单工具函数
"
systemModelUtil
"
:
"
../../assets/lib/layui/customer/systemModelUtil.js
"
,
// 系统编辑器模板工具函数
"
ueEditorUtil
"
:
"
../../assets/lib/layui/customer/ueEditorUtil.js
"
,
// ueEditor编辑器工具函数
"
accountSubjectUtil
"
:
"
../../assets/lib/layui/customer/accountSubjectUtil.js
"
,
// 财务会计相关的工具函数
"
sysCustomerUtil
"
:
"
../../assets/lib/layui/customer/sysCustomerUtil.js
"
,
// CRM相关的工具函数
"
sysIfsUtil
"
:
"
../../assets/lib/layui/customer/sysIfsUtil.js
"
,
// 财务相关的工具函数
"
sysFileUtil
"
:
"
../../assets/lib/layui/customer/sysFileUtil.js
"
,
// 系统文件相关处理工具
...
...
web/src/main/resources/template/assets/lib/layui/customer/accountSubjectUtil.js
已删除
100644 → 0
浏览文件 @
6433a445
// 财务会计相关的工具函数
var
accountSubjectUtil
=
{
// 会计科目所属类型JSON串
accountSubjectType
:
[
{
"
id
"
:
"
1
"
,
"
name
"
:
"
资产
"
},
{
"
id
"
:
"
2
"
,
"
name
"
:
"
负债
"
},
{
"
id
"
:
"
3
"
,
"
name
"
:
"
权益
"
},
{
"
id
"
:
"
4
"
,
"
name
"
:
"
成本
"
},
{
"
id
"
:
"
5
"
,
"
name
"
:
"
损益
"
},
{
"
id
"
:
"
6
"
,
"
name
"
:
"
共同
"
},
{
"
id
"
:
"
7
"
,
"
name
"
:
"
其他
"
}
]
}
\ No newline at end of file
web/src/main/resources/template/assets/lib/layui/customer/sysIfsUtil.js
浏览文件 @
bf3580cd
...
...
@@ -59,15 +59,6 @@ var sysIfsUtil = {
}
}
});
},
// 余额方向
amountDirection
:
[
{
"
id
"
:
"
1
"
,
"
name
"
:
"
借
"
},
{
"
id
"
:
"
2
"
,
"
name
"
:
"
贷
"
}
],
getAmountDirectionById
:
function
(
id
)
{
return
getInPoingArr
(
sysIfsUtil
.
amountDirection
,
"
id
"
,
id
,
"
name
"
);
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录