Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
ad84f562
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1411
Star
161
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看板
提交
ad84f562
编写于
6月 13, 2024
作者:
L
LAPTOP-UV1MNL38\18023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:新建质检单、转采购入库、转质检单文件
上级
0e7ea9eb
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
161 addition
and
15 deletion
+161
-15
erp/src/main/resources/template/js/purchaseDeliveryNote/deliveryToPut.js
...sources/template/js/purchaseDeliveryNote/deliveryToPut.js
+52
-0
erp/src/main/resources/template/js/purchaseDeliveryNote/deliveryToQualityInspection.js
...te/js/purchaseDeliveryNote/deliveryToQualityInspection.js
+0
-0
erp/src/main/resources/template/js/purchaseDeliveryNote/purchaseDeliveryNoteList.js
...plate/js/purchaseDeliveryNote/purchaseDeliveryNoteList.js
+34
-1
erp/src/main/resources/template/js/purchaseQualityInspection/purchaseQualityInspectionList.js
...urchaseQualityInspection/purchaseQualityInspectionList.js
+0
-0
erp/src/main/resources/template/tpl/purchaseDeliveryNote/deliveryToPut.html
...rces/template/tpl/purchaseDeliveryNote/deliveryToPut.html
+29
-0
erp/src/main/resources/template/tpl/purchaseDeliveryNote/deliveryToQualityInspection.html
...tpl/purchaseDeliveryNote/deliveryToQualityInspection.html
+10
-0
erp/src/main/resources/template/tpl/purchaseDeliveryNote/purchaseDeliveryNoteList.html
...te/tpl/purchaseDeliveryNote/purchaseDeliveryNoteList.html
+23
-11
erp/src/main/resources/template/tpl/purchaseOrder/purchaseOrderList.html
...sources/template/tpl/purchaseOrder/purchaseOrderList.html
+1
-1
erp/src/main/resources/template/tpl/purchaseQualityInspection/purchaseQualityInspectionList.html
...chaseQualityInspection/purchaseQualityInspectionList.html
+10
-0
web/src/main/resources/template/json/skyeyeClassEnum.json
web/src/main/resources/template/json/skyeyeClassEnum.json
+2
-2
未找到文件。
erp/src/main/resources/template/js/purchaseDeliveryNote/deliveryToPut.js
0 → 100644
浏览文件 @
ad84f562
// 以下两个参数开启团队权限时有值
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
+
"
queryPurchaseDeliveryTransPurchasePutById
"
,
params
:
{
id
:
id
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
let
data
=
json
.
bean
;
// 采购入库的【编辑布局】
dsFormUtil
.
initEditPageForStatic
(
'
content
'
,
'
FP2023042300002
'
,
data
,
{
savePreParams
:
function
(
params
)
{
params
.
holderId
=
data
.
holderId
params
.
holderKey
=
data
.
holderKey
},
saveData
:
function
(
params
)
{
// 保存数据
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
erpBasePath
+
"
deliveryToPurchasePut
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
},
loadComponentCallback
:
function
()
{
$
(
"
div[controlType='supplier']
"
).
remove
();
$
(
"
div[controlType='purchaseOrderFromType']
"
).
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
);
}
});
}});
});
\ No newline at end of file
erp/src/main/resources/template/js/purchaseDeliveryNote/deliveryToQualityInspection.js
0 → 100644
浏览文件 @
ad84f562
erp/src/main/resources/template/js/purchaseDeliveryNote/purchaseDeliveryNoteList.js
浏览文件 @
ad84f562
...
...
@@ -46,6 +46,9 @@ layui.config({
{
field
:
'
qualityInspection
'
,
title
:
'
质检状态
'
,
rowspan
:
'
2
'
,
width
:
90
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
orderQualityInspectionType
"
,
'
id
'
,
d
.
qualityInspection
,
'
name
'
);
}},
{
field
:
'
otherState
'
,
title
:
'
免检商品入库状态
'
,
rowspan
:
'
2
'
,
width
:
150
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
deliveryPutState
"
,
'
id
'
,
d
.
otherState
,
'
name
'
);
}},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
rowspan
:
'
2
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
120
},
...
...
@@ -82,7 +85,11 @@ layui.config({
erpOrderUtil
.
submitOrderMation
(
data
.
id
,
serviceClassName
,
function
()
{
loadTable
();
});
}
else
if
(
layEvent
===
'
processDetails
'
)
{
// 工作流流程详情查看
}
else
if
(
layEvent
===
'
turnPurchase
'
)
{
//转采购入库单
turnPurchase
(
data
);
}
else
if
(
layEvent
===
'
purchaseQualityInspection
'
)
{
//转质检单
purchaseQualityInspection
(
data
);
}
else
if
(
layEvent
===
'
processDetails
'
)
{
// 工作流流程详情查看
activitiUtil
.
activitiDetails
(
data
);
}
else
if
(
layEvent
===
'
revoke
'
)
{
//撤销
erpOrderUtil
.
revokeOrderMation
(
data
.
processInstanceId
,
serviceClassName
,
function
()
{
...
...
@@ -128,6 +135,32 @@ layui.config({
}});
}
// 转采购入库
function
turnPurchase
(
data
)
{
_openNewWindows
({
url
:
"
../../tpl/purchaseDeliveryNote/deliveryToPut.html?id=
"
+
data
.
id
,
title
:
"
转采购入库
"
,
pageId
:
"
deliveryToPut
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
//转质检单
function
purchaseQualityInspection
(
data
){
parent
.
_openNewWindows
({
url
:
"
../../tpl/purchaseDeliveryNote/deliveryToQualityInspection.html?id=
"
+
data
.
id
,
title
:
'
转质检单
'
,
pageId
:
"
deliveryToQualityInspection
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
...
...
erp/src/main/resources/template/js/purchaseQualityInspection/purchaseQualityInspectionList.js
0 → 100644
浏览文件 @
ad84f562
erp/src/main/resources/template/tpl/purchaseDeliveryNote/deliveryToPut.html
0 → 100644
浏览文件 @
ad84f562
<!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/purchaseDeliveryNote/
'
}).
use
(
'
deliveryToPut
'
);
</script>
</body>
</html>
\ No newline at end of file
erp/src/main/resources/template/tpl/purchaseDeliveryNote/deliveryToQualityInspection.html
0 → 100644
浏览文件 @
ad84f562
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Title
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
erp/src/main/resources/template/tpl/purchaseDeliveryNote/purchaseDeliveryNoteList.html
浏览文件 @
ad84f562
...
...
@@ -17,20 +17,32 @@
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
d
.
editRow
==
1
)
{
}}
{{
#
if
(
auth
(
'
1718098162759
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
subApproval
"
>
提交审批
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1718098062750
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1718098105613
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1718098162759
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
subApproval
"
>
提交审批
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1718098062750
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1718098105613
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
editRow
==
2
)
{
}}
{{
#
if
(
auth
(
'
1718098131815
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
revoke
"
>
撤销
<
/a
>
{{
#
if
(
auth
(
'
1718098131815
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
revoke
"
>
撤销
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
state
==
'
pass
'
||
d
.
state
==
'
partiallyCompleted
'
)
{
}}
{{
#
if
(
d
.
otherState
==
2
||
d
.
otherState
==
3
)
{
}}
{{
#
if
(
auth
(
'
1718257557032
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
turnPurchase
"
>
转采购入库
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
qualityInspection
==
2
||
d
.
qualityInspection
==
3
)
{
}}
{{
#
if
(
auth
(
'
1718257115558
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
purchaseQualityInspection
"
>
转质检单
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
}
}}
</script>
</div>
...
...
erp/src/main/resources/template/tpl/purchaseOrder/purchaseOrderList.html
浏览文件 @
ad84f562
...
...
@@ -33,7 +33,7 @@
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
state
==
'
pass
'
||
d
.
state
==
'
partiallyCompleted
'
)
{
}}
{{
#
if
(
d
.
otherState
==
'
1
'
)
{
}}
{{
#
if
(
d
.
otherState
==
1
)
{
}}
{{
#
if
(
auth
(
'
1571812784641
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
turnPurchase
"
>
转采购入库
<
/a
>
{{
#
}
}}
...
...
erp/src/main/resources/template/tpl/purchaseQualityInspection/purchaseQualityInspectionList.html
0 → 100644
浏览文件 @
ad84f562
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Title
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
web/src/main/resources/template/json/skyeyeClassEnum.json
浏览文件 @
ad84f562
...
...
@@ -197,6 +197,6 @@
"carState"
:
{
"name"
:
"TMS-车辆当前状态"
,
"className"
:
"skyeye-tms#com.skyeye.tms.car.classenum.CarState"
},
"supplierContractChildStateEnum"
:
{
"name"
:
"ERP-采购合同是否转采购订单状态"
,
"className"
:
"skyeye-erp#com.skyeye.contract.classenum.SupplierContractChildStateEnum"
},
"orderQualityInspectionType"
:
{
"name"
:
"ERP-采购订单质检状态"
,
"className"
:
"skyeye-erp#com.skyeye.business.classenum.OrderQualityInspectionType"
}
"orderQualityInspectionType"
:
{
"name"
:
"ERP-采购订单质检状态"
,
"className"
:
"skyeye-erp#com.skyeye.business.classenum.OrderQualityInspectionType"
}
,
"deliveryPutState"
:
{
"name"
:
"ERP-采购到货单免检商品入库状态"
,
"className"
:
"skyeye-erp#com.skyeye.purchase.classenum.DeliveryPutState"
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录