Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
246b3949
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1433
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看板
提交
246b3949
编写于
7月 17, 2024
作者:
L
LAPTOP-UV1MNL38\18023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:修改生成计划单列表
上级
15ad0613
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
120 addition
and
5 deletion
+120
-5
erp-produce/src/main/resources/template/js/erpProduction/erpProductionList.js
.../resources/template/js/erpProduction/erpProductionList.js
+31
-1
erp-produce/src/main/resources/template/js/wholeOut/productionPlanToOutsourcing.js
...urces/template/js/wholeOut/productionPlanToOutsourcing.js
+54
-0
erp-produce/src/main/resources/template/tpl/erpProduction/erpProductionList.html
...sources/template/tpl/erpProduction/erpProductionList.html
+4
-4
erp-produce/src/main/resources/template/tpl/wholeOut/productionPlanToOutsourcing.html
...es/template/tpl/wholeOut/productionPlanToOutsourcing.html
+31
-0
未找到文件。
erp-produce/src/main/resources/template/js/erpProduction/erpProductionList.js
浏览文件 @
246b3949
...
...
@@ -78,7 +78,11 @@ layui.config({
edit
(
data
);
}
else
if
(
layEvent
===
'
details
'
)
{
//详情
details
(
data
);
}
else
if
(
layEvent
===
'
subApproval
'
)
{
//提交审核
}
else
if
(
layEvent
===
'
turnEntireOrderToOutsourcing
'
)
{
//转整单委外
turnEntireOrderToOutsourcing
(
data
);
}
else
if
(
layEvent
===
'
turnConversionProcessingOrder
'
)
{
//转加工单
turnConversionProcessingOrder
(
data
);
}
else
if
(
layEvent
===
'
subApproval
'
)
{
//提交审核
subApproval
(
data
);
}
else
if
(
layEvent
===
'
processDetails
'
)
{
// 工作流流程详情查看
activitiUtil
.
activitiDetails
(
data
);
...
...
@@ -87,6 +91,32 @@ layui.config({
}
});
// 转整单委外
function
turnEntireOrderToOutsourcing
(
data
)
{
_openNewWindows
({
url
:
"
../../tpl/wholeOut/productionPlanToOutsourcing.html?id=
"
+
data
.
id
,
title
:
"
转整单委外
"
,
pageId
:
"
productionPlanToOutsourcing
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 转加工单
function
turnConversionProcessingOrder
(
data
)
{
_openNewWindows
({
url
:
"
../../tpl/wholeOut/productionPlanToOutsourcing.html?id=
"
+
data
.
id
,
title
:
"
转加工单
"
,
pageId
:
"
turnConversionProcessingOrder
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
...
...
erp-produce/src/main/resources/template/js/wholeOut/productionPlanToOutsourcing.js
0 → 100644
浏览文件 @
246b3949
// 以下两个参数开启团队权限时有值
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
+
"
queryPatchOutLetTransById
"
,
params
:
{
id
:
id
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
let
data
=
json
.
bean
;
// 仓库出库的【编辑布局】
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
+
"
insertPatchOutLetToTurnDepot
"
,
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
erp-produce/src/main/resources/template/tpl/erpProduction/erpProductionList.html
浏览文件 @
246b3949
...
...
@@ -35,13 +35,13 @@
{{
#
if
(
d
.
state
==
'
pass
'
||
d
.
state
==
'
partiallyCompleted
'
)
{
}}
{{
#
if
(
d
.
machinOrderState
==
2
||
d
.
machinOrderState
==
3
)
{
}}
{{
#
if
(
auth
(
'
172079
6297124
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
turn
Purchase
"
>
转加工单
<
/a
>
{{
#
if
(
auth
(
'
172079
5842911
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
turn
ConversionProcessingOrder
"
>
转加工单
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
outState
==
2
||
d
.
outState
==
3
)
{
}}
{{
#
if
(
auth
(
'
172
0835673573
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
t
ransferToWaybill
"
>
转整单委外单
<
/a
>
{{
#
if
(
auth
(
'
172
1215714124
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
t
urnEntireOrderToOutsourcing
"
>
转整单委外
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
}
}}
...
...
erp-produce/src/main/resources/template/tpl/wholeOut/productionPlanToOutsourcing.html
0 → 100644
浏览文件 @
246b3949
<!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/wholeOut/
'
}).
use
(
'
productionPlanToOutsourcing
'
);
</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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录