Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
b21c9a2e
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1431
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看板
提交
b21c9a2e
编写于
6月 05, 2024
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 表格组件修改
上级
876533e9
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
20 addition
and
3 deletion
+20
-3
common/src/main/resources/template/js/dsFormPage/editPageContentIsTable.js
...esources/template/js/dsFormPage/editPageContentIsTable.js
+1
-0
erp/src/main/resources/template/js/materialCode/materialCodeReportList.js
...ources/template/js/materialCode/materialCodeReportList.js
+4
-2
web/src/main/resources/template/assets/lib/layui/customer/tableUtil/initTableChooseUtil.js
...ssets/lib/layui/customer/tableUtil/initTableChooseUtil.js
+7
-1
web/src/main/resources/template/assets/lib/winui/css/customer/skyeye-base.css
...es/template/assets/lib/winui/css/customer/skyeye-base.css
+8
-0
未找到文件。
common/src/main/resources/template/js/dsFormPage/editPageContentIsTable.js
浏览文件 @
b21c9a2e
...
...
@@ -42,6 +42,7 @@ layui.config({
var
showType
=
[
{
id
:
"
input
"
,
name
:
"
输入框
"
},
{
id
:
"
textarea
"
,
name
:
"
文本框
"
},
{
id
:
"
chooseInput
"
,
name
:
"
选择输入框
"
},
{
id
:
"
select
"
,
name
:
"
下拉框
"
},
{
id
:
"
detail
"
,
name
:
"
文本
"
}
...
...
erp/src/main/resources/template/js/materialCode/materialCodeReportList.js
浏览文件 @
b21c9a2e
...
...
@@ -13,7 +13,8 @@ layui.config({
var
materialId
=
getNotUndefinedVal
(
GetUrlParam
(
"
materialId
"
));
var
normsId
=
getNotUndefinedVal
(
GetUrlParam
(
"
normsId
"
));
var
depotId
=
getNotUndefinedVal
(
GetUrlParam
(
"
depotId
"
));
var
objectId
=
getNotUndefinedVal
(
GetUrlParam
(
"
objectId
"
));
var
fromObjectId
=
getNotUndefinedVal
(
GetUrlParam
(
"
fromObjectId
"
));
var
toObjectId
=
getNotUndefinedVal
(
GetUrlParam
(
"
toObjectId
"
));
// 产品规格明细列表
table
.
render
({
...
...
@@ -109,7 +110,8 @@ layui.config({
materialId
:
materialId
,
normsId
:
normsId
,
depotId
:
depotId
,
objectId
:
objectId
fromObjectId
:
fromObjectId
,
toObjectId
:
toObjectId
}
return
$
.
extend
(
true
,
params
,
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
...
...
web/src/main/resources/template/assets/lib/layui/customer/tableUtil/initTableChooseUtil.js
浏览文件 @
b21c9a2e
...
...
@@ -113,9 +113,11 @@ var initTableChooseUtil = {
var
verify
=
isNull
(
item
.
verify
)
?
""
:
item
.
verify
;
if
(
item
.
formType
==
'
input
'
)
{
tbodyStr
+=
'
<td><input type="text" class="layui-input
'
+
className
+
'
" value="
'
+
value
+
'
" id="
'
+
tdId
+
'
" win-verify="
'
+
verify
+
'
"/></td>
'
;
}
else
if
(
item
.
formType
==
'
textarea
'
)
{
tbodyStr
+=
'
<td><textarea style="height: 100px;" class="layui-textarea
'
+
className
+
'
" value="
'
+
value
+
'
" id="
'
+
tdId
+
'
" win-verify="
'
+
verify
+
'
"></textarea></td>
'
;
}
else
if
(
item
.
formType
==
'
chooseInput
'
)
{
tbodyStr
+=
'
<td><input type="text" class="layui-input
'
+
className
+
'
" value="
'
+
value
+
'
" id="
'
+
tdId
+
'
" win-verify="
'
+
verify
+
'
" readonly="readonly"/>
'
+
'
<i class="fa fa-plus-circle input-icon
'
+
item
.
iconClassName
+
'
" style="top: 12px;
"></i></td>
'
;
'
<i class="fa fa-plus-circle input-icon
add-icon
'
+
item
.
iconClassName
+
'
"></i></td>
'
;
}
else
if
(
item
.
formType
==
'
select
'
)
{
var
modelHtml
=
isNull
(
item
.
modelHtml
)
?
""
:
item
.
modelHtml
;
tbodyStr
+=
'
<td><select id="
'
+
tdId
+
'
" lay-filter="
'
+
item
.
layFilter
+
'
" lay-search win-verify="
'
+
verify
+
'
" class="
'
+
className
+
'
">
'
+
modelHtml
+
'
</select></td>
'
;
...
...
@@ -195,6 +197,8 @@ var initTableChooseUtil = {
var
value
=
""
;
if
(
bean
.
formType
==
'
input
'
)
{
value
=
$
(
"
#
"
+
tdId
).
val
();
}
if
(
bean
.
formType
==
'
textarea
'
)
{
value
=
$
(
"
#
"
+
tdId
).
val
();
}
else
if
(
bean
.
formType
==
'
select
'
)
{
value
=
$
(
"
#
"
+
tdId
).
val
();
}
else
if
(
bean
.
formType
==
'
detail
'
)
{
...
...
@@ -286,6 +290,8 @@ var initTableChooseUtil = {
var
formType
=
bean
.
formType
;
if
(
formType
==
'
input
'
)
{
$
(
"
#
"
+
tdId
).
val
(
value
);
}
else
if
(
formType
==
'
textarea
'
)
{
$
(
"
#
"
+
tdId
).
val
(
value
);
}
else
if
(
formType
==
'
chooseInput
'
)
{
$
(
"
#
"
+
tdId
).
attr
(
initTableChooseUtil
.
chooseInputDataIdKey
,
value
);
var
key
=
dsFormUtil
.
getKeyIdToMation
(
bean
.
id
);
...
...
web/src/main/resources/template/assets/lib/winui/css/customer/skyeye-base.css
浏览文件 @
b21c9a2e
...
...
@@ -232,4 +232,12 @@ select option {
.margin-top-10
{
margin-top
:
10px
}
.add-icon
{
height
:
calc
(
100%
-
16px
)
!important
;
display
:
flex
!important
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录