Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
f5595d2c
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1166
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看板
提交
f5595d2c
编写于
7月 23, 2024
作者:
W
WJ-202301081617\Wlos
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:销售申领单转仓库出库
上级
0236aae5
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
94 addition
and
7 deletion
+94
-7
erp/src/main/resources/template/js/depotOut/transList.js
erp/src/main/resources/template/js/depotOut/transList.js
+6
-0
erp/src/main/resources/template/js/inventoryTaskList/complateInventoryChild.js
...s/template/js/inventoryTaskList/complateInventoryChild.js
+1
-5
erp/src/main/resources/template/js/inventoryTaskList/myTaskInventoryList.js
...rces/template/js/inventoryTaskList/myTaskInventoryList.js
+1
-1
erp/src/main/resources/template/js/warehousePersonnel/warehousePersonnel.js
...rces/template/js/warehousePersonnel/warehousePersonnel.js
+2
-1
seal-service/src/main/resources/template/js/sealApply/sealApplyToOut.js
...rc/main/resources/template/js/sealApply/sealApplyToOut.js
+55
-0
seal-service/src/main/resources/template/tpl/sealApply/sealApplyToOut.html
...main/resources/template/tpl/sealApply/sealApplyToOut.html
+29
-0
未找到文件。
erp/src/main/resources/template/js/depotOut/transList.js
浏览文件 @
f5595d2c
...
...
@@ -95,6 +95,9 @@ layui.config({
}
else
if
(
type
==
6
)
{
// 补料出库单
pageUrl
=
'
FP2024070100002
'
;
}
else
if
(
type
==
7
)
{
// 补料出库单
pageUrl
=
'
FP2023091000003
'
;
}
_openNewWindows
({
url
:
systemCommonUtil
.
getUrl
(
pageUrl
+
'
&id=
'
+
data
.
id
,
null
),
...
...
@@ -127,6 +130,9 @@ layui.config({
}
else
if
(
type
==
6
)
{
// 补料出库单
pageUrl
=
'
../../tpl/erpPick/erpPatchPickToOut.html
'
;
}
else
if
(
type
==
7
)
{
// 配件申领出库单
pageUrl
=
'
../../tpl/sealApply/sealApplyToOut.html
'
;
}
_openNewWindows
({
url
:
pageUrl
+
'
?id=
'
+
data
.
id
,
...
...
erp/src/main/resources/template/js/inventoryTaskList/complateInventoryChild.js
浏览文件 @
f5595d2c
...
...
@@ -25,7 +25,7 @@ layui.config({
}
});
//获取的条形码是入库状态的
tableSelect
.
render
({
elem
:
'
#code
'
,
//定义输入框input对象
checkedKey
:
'
id
'
,
//表格的唯一键值,非常重要,影响到选中状态 必填
...
...
@@ -43,10 +43,6 @@ layui.config({
{
field
:
'
codeNum
'
,
title
:
'
条形码
'
,
width
:
250
,
templet
:
function
(
d
)
{
return
'
<a rowId="
'
+
d
.
id
+
'
" class="notice-title-click">
'
+
d
.
codeNum
+
'
</a>
'
;
}},
// { field: 'userName', title: '员工姓名', width: 100 },
// { field: 'userSex', title: '性别', width: 60, rowspan: '2', templet: function (d) {
// return skyeyeClassEnumUtil.getEnumDataNameByCodeAndKey("sexEnum", 'id', d.userSex, 'name');
// }},
]]
},
done
:
function
(
elem
,
data
)
{
...
...
erp/src/main/resources/template/js/inventoryTaskList/myTaskInventoryList.js
浏览文件 @
f5595d2c
...
...
@@ -40,7 +40,7 @@ layui.config({
{
field
:
'
realNumber
'
,
title
:
'
实际盘点数量
'
,
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
140
},
{
field
:
'
profitNum
'
,
title
:
'
盘盈数量
'
,
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
140
},
{
field
:
'
planNumber
'
,
title
:
'
盘点总数量
'
,
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
140
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
9
0
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
15
0
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
inventoryChildState
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
{
field
:
'
type
'
,
title
:
'
类型
'
,
width
:
90
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
...
...
erp/src/main/resources/template/js/warehousePersonnel/warehousePersonnel.js
浏览文件 @
f5595d2c
...
...
@@ -14,13 +14,14 @@ layui.config({
loadWareshop
();
//获取当前登录用户管理的仓库列表
form
.
render
();
function
loadWareshop
()
{
table
.
render
({
id
:
'
warehouseTable
'
,
elem
:
'
#warehouseTable
'
,
method
:
'
get
'
,
url
:
sysMainMation
.
erpBasePath
+
'
queryStaffBelongDepotList
'
,
url
:
sysMainMation
.
erpBasePath
+
'
storehouse009
'
,
even
:
false
,
page
:
false
,
limits
:
getLimits
(),
...
...
seal-service/src/main/resources/template/js/sealApply/sealApplyToOut.js
0 → 100644
浏览文件 @
f5595d2c
// 以下两个参数开启团队权限时有值
var
objectId
=
''
,
objectKey
=
''
;
// 根据以下两个参数判断:工作流的判断是否要根据serviceClassName的判断
var
serviceClassName
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
var
id
=
GetUrlParam
(
"
id
"
);
// 销售出库转仓库出库
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
erpBasePath
+
"
queryOtherWiseOrderTransById
"
,
params
:
{
id
:
id
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
let
data
=
json
.
bean
;
// 仓库出库的【编辑布局】
console
.
log
(
data
)
dsFormUtil
.
initEditPageForStatic
(
'
content
'
,
'
FP2024070100006
'
,
data
,
{
savePreParams
:
function
(
params
)
{
params
.
farmId
=
data
.
farmId
params
.
departmentId
=
data
.
departmentId
params
.
salesman
=
data
.
salesman
},
saveData
:
function
(
params
)
{
// 保存数据
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
erpBasePath
+
"
insertOtherWiseOrderToDepotOut
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
},
loadComponentCallback
:
function
()
{
$
(
"
div[controlType='correspondentAllEnter']
"
).
remove
();
$
(
"
div[controlType='depotOutFromType']
"
).
remove
();
},
tableAddRowCallback
:
function
(
tableId
)
{
$
(
"
#addRow
"
+
tableId
).
remove
();
$
(
"
div[controlType='simpleTable']
"
).
find
(
"
.unitPrice
"
).
prop
(
'
disabled
'
,
true
);
$
(
"
div[controlType='simpleTable']
"
).
find
(
"
.amountOfMoney
"
).
prop
(
'
disabled
'
,
true
);
$
(
"
div[controlType='simpleTable']
"
).
find
(
"
.taxRate
"
).
prop
(
'
disabled
'
,
true
);
$
(
"
div[controlType='simpleTable']
"
).
find
(
"
.taxMoney
"
).
prop
(
'
disabled
'
,
true
);
$
(
"
div[controlType='simpleTable']
"
).
find
(
"
.taxUnitPrice
"
).
prop
(
'
disabled
'
,
true
);
$
(
"
div[controlType='simpleTable']
"
).
find
(
"
.taxLastMoney
"
).
prop
(
'
disabled
'
,
true
);
$
(
"
div[controlType='simpleTable']
"
).
find
(
"
.chooseProductBtn
"
).
prop
(
'
disabled
'
,
true
);
$
(
"
div[controlType='simpleTable']
"
).
find
(
"
.normsId
"
).
prop
(
'
disabled
'
,
true
);
$
(
"
div[controlType='simpleTable']
"
).
find
(
"
.warehouse
"
).
prop
(
'
disabled
'
,
true
);
}
});
}});
});
\ No newline at end of file
seal-service/src/main/resources/template/tpl/sealApply/sealApplyToOut.html
0 → 100644
浏览文件 @
f5595d2c
<!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=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
<div
id=
"content"
></div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
type=
"button"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formSaveDraft"
id=
"formSaveDraft"
>
保存为草稿
</button>
`
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formWriteBean"
id=
"formWriteBean"
>
提交
</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/sealApply/
'
}).
use
(
'
sealApplyToOut
'
);
</script>
</body>
</html>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录