Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
6d6719af
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1173
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看板
提交
6d6719af
编写于
11月 12, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除商品类型管理功能
上级
28d7651f
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
23 addition
and
482 deletion
+23
-482
erp-produce/src/main/resources/template/js/erpProduction/erpProductionAdd.js
...n/resources/template/js/erpProduction/erpProductionAdd.js
+2
-2
erp/src/main/resources/template/js/erpstatistics/incomingallstatistics.js
...ources/template/js/erpstatistics/incomingallstatistics.js
+8
-6
erp/src/main/resources/template/js/erpstatistics/salesallstatistics.js
...resources/template/js/erpstatistics/salesallstatistics.js
+8
-6
erp/src/main/resources/template/js/material/materialInventoryWarningList.js
...rces/template/js/material/materialInventoryWarningList.js
+3
-36
erp/src/main/resources/template/js/materialCategory/materialCategoryAdd.js
...urces/template/js/materialCategory/materialCategoryAdd.js
+0
-60
erp/src/main/resources/template/js/materialCategory/materialCategoryEdit.js
...rces/template/js/materialCategory/materialCategoryEdit.js
+0
-49
erp/src/main/resources/template/js/materialCategory/materialCategoryList.js
...rces/template/js/materialCategory/materialCategoryList.js
+0
-131
erp/src/main/resources/template/js/storeHouseInventory/storeHouseInventoryList.js
...emplate/js/storeHouseInventory/storeHouseInventoryList.js
+2
-33
erp/src/main/resources/template/tpl/material/materialInventoryWarningList.html
...s/template/tpl/material/materialInventoryWarningList.html
+0
-5
erp/src/main/resources/template/tpl/materialCategory/materialCategoryAdd.html
...es/template/tpl/materialCategory/materialCategoryAdd.html
+0
-59
erp/src/main/resources/template/tpl/materialCategory/materialCategoryEdit.html
...s/template/tpl/materialCategory/materialCategoryEdit.html
+0
-51
erp/src/main/resources/template/tpl/materialCategory/materialCategoryList.html
...s/template/tpl/materialCategory/materialCategoryList.html
+0
-39
erp/src/main/resources/template/tpl/storeHouseInventory/storeHouseInventoryList.html
...late/tpl/storeHouseInventory/storeHouseInventoryList.html
+0
-5
未找到文件。
erp-produce/src/main/resources/template/js/erpProduction/erpProductionAdd.js
浏览文件 @
6d6719af
...
...
@@ -66,8 +66,8 @@ layui.config({
loadBomChildProList
(
thisRowValue
);
});
//加载bom方案下的子件列表
function
loadBomChildProList
(
bomId
){
//
加载bom方案下的子件列表
function
loadBomChildProList
(
bomId
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
erpbom008
"
,
params
:
{
id
:
bomId
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
childProList
=
[].
concat
(
json
.
rows
);
$
(
"
#tBody
"
).
html
(
getDataUseHandlebars
(
$
(
"
#tableBody
"
).
html
(),
{
rows
:
childProList
}));
...
...
erp/src/main/resources/template/js/erpstatistics/incomingallstatistics.js
浏览文件 @
6d6719af
...
...
@@ -45,12 +45,14 @@ layui.config({
limit
:
8
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
materialName
'
,
title
:
'
商品名称
'
,
align
:
'
left
'
,
width
:
250
},
{
field
:
'
model
'
,
title
:
'
型号
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
typeName
'
,
title
:
'
分类
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
unitName
'
,
title
:
'
单位
'
,
align
:
'
left
'
,
width
:
80
},
{
field
:
'
currentTock
'
,
title
:
'
入库数量
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
currentTockMoney
'
,
title
:
'
入库金额
'
,
align
:
'
left
'
,
width
:
120
}
{
field
:
'
materialName
'
,
title
:
'
商品名称
'
,
align
:
'
left
'
,
width
:
250
},
{
field
:
'
model
'
,
title
:
'
型号
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
typeName
'
,
title
:
'
分类
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
normMation
'
,
title
:
'
规格
'
,
align
:
'
left
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
d
.
normMation
.
name
;
}},
{
field
:
'
currentTock
'
,
title
:
'
入库数量
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
currentTockMoney
'
,
title
:
'
入库金额
'
,
align
:
'
left
'
,
width
:
120
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
...
...
erp/src/main/resources/template/js/erpstatistics/salesallstatistics.js
浏览文件 @
6d6719af
...
...
@@ -44,12 +44,14 @@ layui.config({
limit
:
8
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
materialName
'
,
title
:
'
商品名称
'
,
align
:
'
left
'
,
width
:
250
},
{
field
:
'
model
'
,
title
:
'
型号
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
typeName
'
,
title
:
'
分类
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
unitName
'
,
title
:
'
单位
'
,
align
:
'
left
'
,
width
:
80
},
{
field
:
'
currentTock
'
,
title
:
'
出库数量
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
currentTockMoney
'
,
title
:
'
出库金额
'
,
align
:
'
left
'
,
width
:
120
}
{
field
:
'
materialName
'
,
title
:
'
商品名称
'
,
align
:
'
left
'
,
width
:
250
},
{
field
:
'
model
'
,
title
:
'
型号
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
typeName
'
,
title
:
'
分类
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
normMation
'
,
title
:
'
规格
'
,
align
:
'
left
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
d
.
normMation
.
name
;
}},
{
field
:
'
currentTock
'
,
title
:
'
出库数量
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
currentTockMoney
'
,
title
:
'
出库金额
'
,
align
:
'
left
'
,
width
:
120
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
...
...
erp/src/main/resources/template/js/material/materialInventoryWarningList.js
浏览文件 @
6d6719af
...
...
@@ -6,13 +6,12 @@ layui.config({
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
eleTree
'
,
'
soulTable
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
soulTable
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
,
soulTable
=
layui
.
soulTable
,
eleTree
=
layui
.
eleTree
;
soulTable
=
layui
.
soulTable
;
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
// 加载仓库数据
...
...
@@ -49,14 +48,11 @@ layui.config({
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
150
}
],[
{
field
:
'
safetyTock
'
,
title
:
'
安全存量
'
,
align
:
'
center
'
,
width
:
80
},
{
field
:
'
all
T
ock
'
,
title
:
'
当前库存
'
,
align
:
'
center
'
,
width
:
120
}
{
field
:
'
all
St
ock
'
,
title
:
'
当前库存
'
,
align
:
'
center
'
,
width
:
120
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
soulTable
.
render
(
this
);
if
(
!
loadFirstType
){
initFirstType
();
}
}
});
...
...
@@ -69,34 +65,6 @@ layui.config({
});
form
.
render
();
var
loadFirstType
=
false
;
//初始化商品类型
function
initFirstType
(){
loadFirstType
=
true
;
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
flowableBasePath
+
"
materialcategory009
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
});
$
(
"
.ele5
"
).
hide
();
$
(
"
#categoryId
"
).
on
(
"
click
"
,
function
(
e
)
{
e
.
stopPropagation
();
$
(
"
.ele5
"
).
toggle
();
});
eleTree
.
on
(
"
nodeClick(data5)
"
,
function
(
d
)
{
$
(
"
#categoryId
"
).
val
(
d
.
data
.
currentData
.
name
);
$
(
"
#categoryId
"
).
attr
(
"
categoryId
"
,
d
.
data
.
currentData
.
id
);
$
(
"
.ele5
"
).
hide
();
})
$
(
document
).
on
(
"
click
"
,
function
()
{
$
(
"
.ele5
"
).
hide
();
})
}
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshloadTable
();
...
...
@@ -133,7 +101,6 @@ layui.config({
return
{
materialName
:
$
(
"
#materialName
"
).
val
(),
model
:
$
(
"
#model
"
).
val
(),
categoryId
:
isNull
(
$
(
"
#categoryId
"
).
val
())
?
""
:
$
(
"
#categoryId
"
).
attr
(
"
categoryId
"
),
typeNum
:
$
(
"
#typeNum
"
).
val
()
};
}
...
...
erp/src/main/resources/template/js/materialCategory/materialCategoryAdd.js
已删除
100644 → 0
浏览文件 @
28d7651f
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
fsCommon
'
,
'
fsTree
'
,
'
element
'
,
'
textool
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
fsTree
=
layui
.
fsTree
,
fsCommon
=
layui
.
fsCommon
,
element
=
layui
.
element
,
textool
=
layui
.
textool
;
var
materialCategoryType
;
textool
.
init
({
eleId
:
'
remark
'
,
maxlength
:
200
});
fsTree
.
render
({
id
:
"
materialCategoryType
"
,
url
:
flowableBasePath
+
"
materialcategory008
"
,
checkEnable
:
true
,
loadEnable
:
false
,
//异步加载
chkStyle
:
"
radio
"
,
showLine
:
false
,
showIcon
:
true
,
expandSpeed
:
'
fast
'
},
function
(
id
){
materialCategoryType
=
$
.
fn
.
zTree
.
getZTreeObj
(
id
);
fuzzySearch
(
id
,
'
#name
'
,
null
,
true
);
//初始化模糊搜索方法
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
checkNodes
=
materialCategoryType
.
getCheckedNodes
(
true
);
if
(
checkNodes
.
length
==
0
){
winui
.
window
.
msg
(
'
请选择所属类型
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
var
params
=
{
name
:
$
(
"
#typeName
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
parentId
:
checkNodes
[
0
].
id
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
writeMaterialCategoryMation
"
,
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
erp/src/main/resources/template/js/materialCategory/materialCategoryEdit.js
已删除
100644 → 0
浏览文件 @
28d7651f
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
textool
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
textool
=
layui
.
textool
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
materialcategory004
"
,
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendAfter
:
function
(
json
)
{
textool
.
init
({
eleId
:
'
remark
'
,
maxlength
:
200
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
id
:
parent
.
rowId
,
name
:
$
(
"
#typeName
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
parentId
:
json
.
bean
.
parentId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
writeMaterialCategoryMation
"
,
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
erp/src/main/resources/template/js/materialCategory/materialCategoryList.js
已删除
100644 → 0
浏览文件 @
28d7651f
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
tableTreeDj
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
tableTree
=
layui
.
tableTreeDj
;
authBtn
(
'
1568558491168
'
);
tableTree
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
materialcategory001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
field
:
'
name
'
,
title
:
'
名称
'
,
align
:
'
left
'
,
width
:
200
},
{
field
:
'
sort
'
,
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
align
:
'
center
'
,
width
:
80
},
{
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
();
initTableSearchUtil
.
initAdvancedSearch
(
$
(
"
#messageTable
"
)[
0
],
json
.
searchFilter
,
form
,
"
请输入名称
"
,
function
()
{
tableTree
.
reload
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
},
{
keyId
:
'
id
'
,
keyPid
:
'
parentId
'
,
title
:
'
name
'
,
});
tableTree
.
getTable
().
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
delet
'
)
{
//删除
delet
(
data
);
}
else
if
(
layEvent
===
'
upMove
'
)
{
//上移
upMove
(
data
);
}
else
if
(
layEvent
===
'
downMove
'
)
{
//下移
downMove
(
data
);
}
});
// 添加
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/materialCategory/materialCategoryAdd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
materialCategoryAdd
"
,
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
+
"
materialcategory003
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 编辑
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/materialCategory/materialCategoryEdit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
materialCategoryEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
});
}
// 上移
function
upMove
(
data
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
materialcategory006
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveUpOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 下移
function
downMove
(
data
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
materialcategory007
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveDownOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
tableTree
.
reload
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
materialCategoryList
'
,
{});
});
erp/src/main/resources/template/js/storeHouseInventory/storeHouseInventoryList.js
浏览文件 @
6d6719af
...
...
@@ -10,13 +10,12 @@ layui.config({
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
eleTree
'
,
'
soulTable
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
soulTable
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
,
soulTable
=
layui
.
soulTable
,
eleTree
=
layui
.
eleTree
;
soulTable
=
layui
.
soulTable
;
var
selOption
=
getFileContent
(
'
tpl/template/select-option-must.tpl
'
);
...
...
@@ -80,9 +79,6 @@ layui.config({
done
:
function
(
json
)
{
matchingLanguage
();
soulTable
.
render
(
this
);
if
(
!
loadFirstType
){
initFirstType
();
}
}
});
...
...
@@ -119,32 +115,6 @@ layui.config({
});
}
var
loadFirstType
=
false
;
//初始化商品类型
function
initFirstType
(){
loadFirstType
=
true
;
var
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
flowableBasePath
+
"
materialcategory009
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
});
$
(
"
.ele5
"
).
hide
();
$
(
"
#categoryId
"
).
on
(
"
click
"
,
function
(
e
)
{
e
.
stopPropagation
();
$
(
"
.ele5
"
).
toggle
();
});
eleTree
.
on
(
"
nodeClick(data5)
"
,
function
(
d
)
{
$
(
"
#categoryId
"
).
val
(
d
.
data
.
currentData
.
name
);
$
(
"
#categoryId
"
).
attr
(
"
categoryId
"
,
d
.
data
.
currentData
.
id
);
$
(
"
.ele5
"
).
hide
();
})
$
(
document
).
on
(
"
click
"
,
function
()
{
$
(
"
.ele5
"
).
hide
();
})
}
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
...
...
@@ -193,7 +163,6 @@ layui.config({
function
getTableParams
()
{
return
{
categoryId
:
isNull
(
$
(
"
#categoryId
"
).
val
())
?
""
:
$
(
"
#categoryId
"
).
attr
(
"
categoryId
"
),
typeFrom
:
$
(
"
#typeFrom
"
).
val
(),
enabled
:
$
(
"
#enabled
"
).
val
(),
depotId
:
$
(
"
#depotId
"
).
val
()
...
...
erp/src/main/resources/template/tpl/material/materialInventoryWarningList.html
浏览文件 @
6d6719af
...
...
@@ -28,11 +28,6 @@
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"model"
name=
"model"
placeholder=
"请输入商品型号"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
所属类型
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"categoryId"
name=
"categoryId"
placeholder=
"请选择商品类型"
class=
"layui-input"
readonly=
"readonly"
categoryId=
""
/>
<div
class=
"eleTree ele5"
lay-filter=
"data5"
></div>
</div>
<label
class=
"layui-form-label"
>
商品来源
</label>
<div
class=
"layui-input-inline"
>
<select
lay-filter=
"typeNum"
lay-search=
""
id=
"typeNum"
>
...
...
erp/src/main/resources/template/tpl/materialCategory/materialCategoryAdd.html
已删除
100644 → 0
浏览文件 @
28d7651f
<!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"
/>
<link
href=
"../../assets/lib/layui/lay/modules/ztree/css/zTreeStyle/zTreeStyle.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/lay/modules/contextMenu/jquery.contextMenu.min.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
<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=
"typeName"
name=
"typeName"
win-verify=
"required"
placeholder=
"请输入商品类型名称"
class=
"layui-input"
/>
</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"
>
<div
class=
"layui-inline"
style=
"width: 100%"
>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"name"
name=
"name"
placeholder=
"请输入要搜索的节点"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-inline"
style=
"max-height: 200px; width: 100%"
>
<ul
id=
"materialCategoryType"
class=
"ztree fsTree"
method=
"get"
treeIdKey=
"id"
inputs=
"parentId"
treePIdKey=
"pId"
clickCallbackInputs=
"parentId:$id"
treeName=
"name"
style=
"overflow-y: auto; height: 100%;"
></ul>
</div>
</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"
src=
"../../assets/lib/layui/lay/modules/jquery-min.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/contextMenu/jquery.contextMenu.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ztree/js/jquery.ztree.all.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ztree/js/jquery.ztree.exhide.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ztree/js/fuzzysearch.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/materialCategory/
'
}).
use
(
'
materialCategoryAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
erp/src/main/resources/template/tpl/materialCategory/materialCategoryEdit.html
已删除
100644 → 0
浏览文件 @
28d7651f
<!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=
"beanTemplate"
>
{{
#
bean
}}
<
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
=
"
typeName
"
name
=
"
typeName
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入商品类型名称
"
class
=
"
layui-input
"
value
=
"
{{name}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
所属类型
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
parentName
}}
<
/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/materialCategory/
'
}).
use
(
'
materialCategoryEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
erp/src/main/resources/template/tpl/materialCategory/materialCategoryList.html
已删除
100644 → 0
浏览文件 @
28d7651f
<!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=
"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>
<button
id=
"addBean"
class=
"winui-toolbtn search-table-btn-right"
auth=
"1568558491168"
><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
(
'
1568558491168
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1568558794203
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
delet
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1568558832391
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
upMove
"
>
上移
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1568558841199
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
downMove
"
>
下移
<
/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/materialCategory/
'
}).
use
(
'
materialCategoryList
'
);
</script>
</body>
</html>
\ No newline at end of file
erp/src/main/resources/template/tpl/storeHouseInventory/storeHouseInventoryList.html
浏览文件 @
6d6719af
...
...
@@ -26,11 +26,6 @@
</select>
</div>
<label
class=
"layui-form-label"
>
所属类型
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"categoryId"
name=
"categoryId"
placeholder=
"请选择商品类型"
class=
"layui-input"
readonly=
"readonly"
categoryId=
""
/>
<div
class=
"eleTree ele5"
lay-filter=
"data5"
></div>
</div>
<label
class=
"layui-form-label"
>
商品来源
</label>
<div
class=
"layui-input-inline"
>
<select
lay-filter=
"typeFrom"
lay-search=
""
id=
"typeFrom"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录