Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
f91aafd2
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1432
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看板
提交
f91aafd2
编写于
6月 19, 2024
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 资产明细修改
上级
6b192c26
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
340 addition
and
11 deletion
+340
-11
admin-assistant/src/main/resources/template/js/assetReportManage/assetReportAdd.js
...resources/template/js/assetReportManage/assetReportAdd.js
+120
-0
admin-assistant/src/main/resources/template/js/assetReportManage/assetReportList.js
...esources/template/js/assetReportManage/assetReportList.js
+46
-3
admin-assistant/src/main/resources/template/js/assetReportManage/assetReportMyUseChoose.js
...s/template/js/assetReportManage/assetReportMyUseChoose.js
+2
-2
admin-assistant/src/main/resources/template/js/assetReportManage/assetReportUnUseChoose.js
...s/template/js/assetReportManage/assetReportUnUseChoose.js
+2
-2
admin-assistant/src/main/resources/template/js/assetReportManage/batchCopy.js
...main/resources/template/js/assetReportManage/batchCopy.js
+58
-0
admin-assistant/src/main/resources/template/js/myHasMation/myAssetManagement.js
...in/resources/template/js/myHasMation/myAssetManagement.js
+2
-2
admin-assistant/src/main/resources/template/tpl/assetReportManage/assetReportAdd.html
...ources/template/tpl/assetReportManage/assetReportAdd.html
+35
-0
admin-assistant/src/main/resources/template/tpl/assetReportManage/assetReportList.html
...urces/template/tpl/assetReportManage/assetReportList.html
+11
-1
admin-assistant/src/main/resources/template/tpl/assetReportManage/batchCopy.html
...n/resources/template/tpl/assetReportManage/batchCopy.html
+64
-0
erp/src/main/resources/template/js/materialCode/materialCodeAdd.js
...ain/resources/template/js/materialCode/materialCodeAdd.js
+0
-1
未找到文件。
admin-assistant/src/main/resources/template/js/assetReportManage/assetReportAdd.js
0 → 100644
浏览文件 @
f91aafd2
// 已经选择的资产集合key:表格的行trId,value:资产信息
var
allChooseAsset
=
{};
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
let
assetId
=
getNotUndefinedVal
(
GetUrlParam
(
"
assetId
"
));
let
assetMap
=
{};
initTableChooseUtil
.
initTable
({
id
:
"
assetList
"
,
cols
:
[
{
id
:
'
assetId
'
,
title
:
'
资产
'
,
formType
:
'
chooseInput
'
,
width
:
'
150
'
,
iconClassName
:
'
chooseAssetBtn
'
,
verify
:
'
required
'
},
{
id
:
'
operNumber
'
,
title
:
'
条形码数量
'
,
formType
:
'
input
'
,
width
:
'
140
'
,
verify
:
'
required|number
'
,
value
:
'
1
'
}
],
deleteRowCallback
:
function
(
trcusid
)
{
delete
allChooseAsset
[
trcusid
];
},
addRowCallback
:
function
(
trcusid
)
{
if
(
!
isNull
(
assetId
))
{
if
(
isNull
(
assetMap
[
assetId
]))
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
admBasePath
+
"
queryAssetById
"
,
params
:
{
"
id
"
:
assetId
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
assetMap
[
assetId
]
=
json
.
bean
},
async
:
false
});
}
let
chooseAssetMation
=
assetMap
[
assetId
]
// 获取表格行号
var
thisRowKey
=
trcusid
.
replace
(
"
tr
"
,
""
);
// 资产名称赋值
$
(
"
#assetId
"
+
thisRowKey
).
val
(
chooseAssetMation
.
name
);
$
(
"
#assetId
"
+
thisRowKey
).
attr
(
initTableChooseUtil
.
chooseInputDataIdKey
,
chooseAssetMation
.
id
);
// 资产赋值
allChooseAsset
[
trcusid
]
=
chooseAssetMation
;
}
},
form
:
form
,
minData
:
1
});
$
(
"
body
"
).
on
(
"
click
"
,
"
.chooseAssetBtn
"
,
function
(
e
)
{
var
trId
=
$
(
this
).
parent
().
parent
().
attr
(
"
trcusid
"
);
adminAssistantUtil
.
assetCheckType
=
false
;
// 选择类型,默认单选,true:多选,false:单选
adminAssistantUtil
.
openAssetChoosePage
(
function
(
checkAssetMation
){
// 获取表格行号
var
thisRowKey
=
trId
.
replace
(
"
tr
"
,
""
);
$
(
"
#assetId
"
+
thisRowKey
.
toString
()).
attr
(
initTableChooseUtil
.
chooseInputDataIdKey
,
checkAssetMation
.
id
);
$
(
"
#assetId
"
+
thisRowKey
.
toString
()).
val
(
checkAssetMation
.
name
);
allChooseAsset
[
trId
]
=
checkAssetMation
;
});
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
result
=
initTableChooseUtil
.
getDataList
(
'
assetList
'
);
if
(
!
result
.
checkResult
)
{
return
false
;
}
var
noError
=
false
;
var
tableData
=
[];
$
.
each
(
result
.
dataList
,
function
(
i
,
item
)
{
// 获取行编号
var
thisRowKey
=
item
[
"
trcusid
"
].
replace
(
"
tr
"
,
""
);
if
(
parseInt
(
item
.
operNumber
)
==
0
)
{
$
(
"
#operNumber
"
+
thisRowKey
).
addClass
(
"
layui-form-danger
"
);
$
(
"
#operNumber
"
+
thisRowKey
).
focus
();
winui
.
window
.
msg
(
'
数量不能为0
'
,
{
icon
:
2
,
time
:
2000
});
noError
=
true
;
return
false
;
}
// 资产对象
var
asset
=
allChooseAsset
[
"
tr
"
+
thisRowKey
];
if
(
inTableDataArrayByAssetarId
(
asset
.
id
,
tableData
))
{
winui
.
window
.
msg
(
'
一张单中不允许出现相同的资产信息.
'
,
{
icon
:
2
,
time
:
2000
});
noError
=
true
;
return
false
;
}
item
[
"
assetId
"
]
=
asset
.
id
;
tableData
.
push
(
item
);
});
if
(
noError
)
{
return
false
;
}
var
params
=
{
list
:
JSON
.
stringify
(
tableData
),
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
admBasePath
+
"
insertAssetReport
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
// 判断选中的资产是否也在数组中
function
inTableDataArrayByAssetarId
(
assetId
,
array
)
{
var
isIn
=
false
;
$
.
each
(
array
,
function
(
i
,
item
)
{
if
(
item
.
assetId
===
assetId
)
{
isIn
=
true
;
return
false
;
}
});
return
isIn
;
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
admin-assistant/src/main/resources/template/js/assetReportManage/assetReportList.js
浏览文件 @
f91aafd2
...
...
@@ -25,6 +25,9 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
assetMation
'
,
title
:
'
资产名称
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
getNotUndefinedVal
(
d
.
assetMation
?.
name
);
}},
{
field
:
'
assetNum
'
,
title
:
'
资产编号
'
,
width
:
160
},
{
field
:
'
unitPrice
'
,
title
:
'
采购单价
'
,
width
:
100
},
{
field
:
'
fromId
'
,
title
:
'
资产来源
'
,
width
:
120
,
templet
:
function
(
d
)
{
...
...
@@ -62,20 +65,60 @@ layui.config({
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
barCode
'
)
{
// 条形码预览
systemCommonUtil
.
showPicImg
(
systemCommonUtil
.
getFilePath
(
data
.
barCodeMation
.
imagePath
));
}
else
if
(
layEvent
===
'
delete
'
)
{
// 删除
delet
(
data
);
}
});
// 删除
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
:
sysMainMation
.
admBasePath
+
"
deleteAssetReportById
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/materialCode/materialCodeAdd.html?assetId=
"
+
assetId
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
materialCodeAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
// 批量复制
$
(
"
body
"
).
on
(
"
click
"
,
"
#batchCopy
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/materialCode/batchCopy.html?assetId=
"
+
assetId
,
title
:
'
批量复制
'
,
pageId
:
"
materialCodeBatchCopy
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
});
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadasset
Table
();
load
Table
();
});
function
load
asset
Table
()
{
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{
assetId
:
assetId
},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
let
params
=
{
assetId
:
assetId
}
return
$
.
extend
(
true
,
params
,
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
assetReportList
'
,
{});
...
...
admin-assistant/src/main/resources/template/js/assetReportManage/assetReportMyUseChoose.js
浏览文件 @
f91aafd2
...
...
@@ -39,7 +39,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
admBasePath
+
'
myhasmation001
'
,
url
:
sysMainMation
.
admBasePath
+
'
queryAssetReportList
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -130,7 +130,7 @@ layui.config({
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
return
$
.
extend
(
true
,
{
state
:
"
myUse
"
},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
assetReportUnUseChoose
'
,
{});
...
...
admin-assistant/src/main/resources/template/js/assetReportManage/assetReportUnUseChoose.js
浏览文件 @
f91aafd2
...
...
@@ -39,7 +39,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
admBasePath
+
'
query
UnUse
AssetReportList
'
,
url
:
sysMainMation
.
admBasePath
+
'
queryAssetReportList
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -128,7 +128,7 @@ layui.config({
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
return
$
.
extend
(
true
,
{
state
:
"
unUse
"
},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
assetReportUnUseChoose
'
,
{});
...
...
admin-assistant/src/main/resources/template/js/assetReportManage/batchCopy.js
0 → 100644
浏览文件 @
f91aafd2
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
textool
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
textool
=
layui
.
textool
,
form
=
layui
.
form
;
var
assetId
=
getNotUndefinedVal
(
GetUrlParam
(
"
assetId
"
));
if
(
!
isNull
(
assetId
))
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
admBasePath
+
"
queryAssetById
"
,
params
:
{
"
id
"
:
assetId
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
// 资产名称赋值
$
(
"
#assetId
"
).
val
(
json
.
bean
.
name
);
$
(
"
#assetId
"
).
attr
(
initTableChooseUtil
.
chooseInputDataIdKey
,
json
.
bean
.
id
);
}});
}
textool
.
init
({
eleId
:
'
barCode
'
,
tools
:
[
'
copy
'
,
'
reset
'
,
'
clear
'
]
});
$
(
"
body
"
).
on
(
"
click
"
,
"
.chooseAssetBtn
"
,
function
(
e
)
{
adminAssistantUtil
.
assetCheckType
=
false
;
// 选择类型,默认单选,true:多选,false:单选
adminAssistantUtil
.
openAssetChoosePage
(
function
(
checkAssetMation
){
// 获取表格行号
$
(
"
#assetId
"
).
attr
(
initTableChooseUtil
.
chooseInputDataIdKey
,
checkAssetMation
.
id
);
$
(
"
#assetId
"
).
val
(
checkAssetMation
.
name
);
});
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(getBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
let
params
=
{
assetId
:
getNotUndefinedVal
(
$
(
"
#assetId
"
).
attr
(
initTableChooseUtil
.
chooseInputDataIdKey
)),
state
:
$
(
"
#state
"
).
val
(),
limit
:
$
(
"
#number
"
).
val
(),
page
:
1
}
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
admBasePath
+
"
queryAssetReportCodeList
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
$
(
"
#barCode
"
).
val
(
json
.
rows
.
join
(
'
\n
'
));
$
(
"
#tips
"
).
html
(
"
共计获取个
"
+
json
.
total
+
"
条形码
"
);
}});
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
admin-assistant/src/main/resources/template/js/myHasMation/myAssetManagement.js
浏览文件 @
f91aafd2
...
...
@@ -15,7 +15,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
admBasePath
+
'
myhasmation001
'
,
url
:
sysMainMation
.
admBasePath
+
'
queryAssetReportList
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -62,7 +62,7 @@ layui.config({
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
return
$
.
extend
(
true
,
{
state
:
"
myUse
"
},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
myAssetManagement
'
,
{});
...
...
admin-assistant/src/main/resources/template/tpl/assetReportManage/assetReportAdd.html
0 → 100644
浏览文件 @
f91aafd2
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基本信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
资产明细
</label>
<div
class=
"layui-input-block"
id=
"assetList"
>
</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/assetReportManage/
'
}).
use
(
'
assetReportAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
admin-assistant/src/main/resources/template/tpl/assetReportManage/assetReportList.html
浏览文件 @
f91aafd2
...
...
@@ -7,13 +7,23 @@
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"winui-tip alert-info"
id=
"showInfo"
>
只有状态为空的条形码可以删除。
</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>
<button
id=
"addBean"
class=
"winui-toolbtn search-table-btn-right"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
<button
id=
"batchCopy"
class=
"winui-toolbtn search-table-btn-right"
><i
class=
"fa fa-copy"
aria-hidden=
"true"
></i>
批量复制
</button>
</div>
</div>
<div
style=
"margin: auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
isNull
(
d
.
state
))
{
}}
<
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>
...
...
admin-assistant/src/main/resources/template/tpl/assetReportManage/batchCopy.html
0 → 100644
浏览文件 @
f91aafd2
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
autocomplete=
"off"
>
<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"
>
资产
</label>
<div
class=
"layui-input-block input-add-icon"
>
<input
type=
"text"
id=
"assetId"
name=
"assetId"
placeholder=
"请选择资产"
class=
"layui-input"
readonly=
"readonly"
/>
<i
class=
"fa fa-plus-circle input-icon chooseAssetBtn"
></i>
</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=
"state"
name=
"state"
lay-filter=
"state"
lay-search=
""
>
<option
value=
""
>
请选择
</option>
<option
value=
"unUse"
>
未使用
</option>
<option
value=
"unPut"
>
未入库
</option>
</select>
</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"
>
<input
type=
"text"
id=
"number"
name=
"number"
win-verify=
"required|number"
placeholder=
"请输入获取编码的数量"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
条形码
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"barCode"
name=
"barCode"
class=
"layui-textarea"
style=
"height: 200px;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
获取结果:
</label>
<div
class=
"layui-input-block ver-center"
id=
"tips"
>
</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=
"getBean"
>
获取
</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/assetReportManage/
'
}).
use
(
'
batchCopy
'
);
</script>
</body>
</html>
\ No newline at end of file
erp/src/main/resources/template/js/materialCode/materialCodeAdd.js
浏览文件 @
f91aafd2
...
...
@@ -29,7 +29,6 @@ layui.config({
},
addRowCallback
:
function
(
trcusid
)
{
if
(
!
isNull
(
materialId
))
{
$
(
"
#materialId
"
).
val
(
materialId
);
if
(
isNull
(
materialMap
[
materialId
]))
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
erpBasePath
+
"
queryMaterialListById
"
,
params
:
{
"
id
"
:
materialId
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
materialMap
[
materialId
]
=
json
.
bean
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录