Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
鲁鑫
topsun-bpm
Commits
75ac4ca3
Commit
75ac4ca3
authored
Dec 04, 2023
by
wanghang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
指导单
parent
5486dfcd
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
542 additions
and
297 deletions
+542
-297
proofingApply.jsp
...-xt/src/main/webapp/biz/topsun/proofing/proofingApply.jsp
+1
-0
proofingMake.js
...un-xt/src/main/webapp/biz/topsun/proofing/proofingMake.js
+2
-4
proofingMakeList.js
...t/src/main/webapp/biz/topsun/proofing/proofingMakeList.js
+2
-2
workInstrcutionApply.jsp
.../main/webapp/biz/topsun/proofing/workInstrcutionApply.jsp
+9
-8
workInstruction.js
...xt/src/main/webapp/biz/topsun/proofing/workInstruction.js
+45
-0
workInstruction.jsp
...t/src/main/webapp/biz/topsun/proofing/workInstruction.jsp
+118
-116
workInstructionApply.js
...c/main/webapp/biz/topsun/proofing/workInstructionApply.js
+11
-2
WorkInstrcutionApplyApplication.java
...proofing/application/WorkInstrcutionApplyApplication.java
+0
-10
WorkInstructionApplication.java
...psun/proofing/application/WorkInstructionApplication.java
+4
-0
WorkInstructionApplyApplication.java
...proofing/application/WorkInstructionApplyApplication.java
+10
-0
WorkInstructionPdPublishedConfApplication.java
...pplication/WorkInstructionPdPublishedConfApplication.java
+11
-0
WorkInstructionApplicationImpl.java
...fing/application/impl/WorkInstructionApplicationImpl.java
+12
-0
WorkInstructionApplyApplicationImpl.java
...application/impl/WorkInstructionApplyApplicationImpl.java
+20
-0
WorkInstructionPdPublishedConfApplicationImpl.java
...n/impl/WorkInstructionPdPublishedConfApplicationImpl.java
+23
-0
ProofingApplyController.java
...u/topsun/proofing/controller/ProofingApplyController.java
+3
-5
ProofingMakeController.java
...ou/topsun/proofing/controller/ProofingMakeController.java
+11
-16
WorkInstructionApplyController.java
...n/proofing/controller/WorkInstructionApplyController.java
+13
-17
WorkInstructionController.java
...topsun/proofing/controller/WorkInstructionController.java
+27
-5
WorkInstruction.java
.../huigou/topsun/proofing/domain/model/WorkInstruction.java
+9
-4
WorkInstructionApply.java
...ou/topsun/proofing/domain/model/WorkInstructionApply.java
+5
-5
WorkInstructionPdPublishedConf.java
...proofing/domain/model/WorkInstructionPdPublishedConf.java
+140
-0
WorkInstructionApplyVo.java
...gou/topsun/proofing/domain/vo/WorkInstructionApplyVo.java
+2
-5
WorkInstructionApplyRepository.java
...n/proofing/repository/WorkInstructionApplyRepository.java
+11
-0
WorkInstructionPdPublishedConfRepository.java
.../repository/WorkInstructionPdPublishedConfRepository.java
+9
-0
WorkInstructionRepository.java
...topsun/proofing/repository/WorkInstructionRepository.java
+0
-1
ProofingMakeServiceImpl.java
...topsun/proofing/service/impl/ProofingMakeServiceImpl.java
+0
-88
easy-search-product.xml
...sources/config/content/easysearch/easy-search-product.xml
+41
-8
easy-search-proofing.xml
...ources/config/content/easysearch/easy-search-proofing.xml
+3
-1
No files found.
topsun-xt/src/main/webapp/biz/topsun/proofing/proofingApply.jsp
View file @
75ac4ca3
...
...
@@ -29,6 +29,7 @@
<div
class=
"hg-form-cols"
>
<x:inputC
name=
"proofingApplyNo"
readonly=
"true"
label=
"申请单号"
maxLength=
"32"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"productId"
wrapper=
"select"
label=
"产品编号"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"customerId"
label=
"品牌客户编号"
readonly=
"true"
labelCol=
"1"
fieldCol=
"2"
/>
...
...
topsun-xt/src/main/webapp/biz/topsun/proofing/proofingMake.js
View file @
75ac4ca3
...
...
@@ -27,8 +27,6 @@ function initialize(){
}
$
(
"#formButton"
).
hide
();
}
}
//绑定selectC
...
...
@@ -59,9 +57,9 @@ function saveForm(){
let
productId
=
$
(
"#productId"
).
val
();
let
proofingMakeNo
=
$
(
"#proofingMakeNo"
).
val
();
UICtrl
.
addTabItem
({
tabid
:
'workInstr
cu
tionApply'
+
proofingMakeNo
,
tabid
:
'workInstr
uc
tionApply'
+
proofingMakeNo
,
text
:
"作业指导申请书"
,
url
:
web_app
.
name
+
'/workInstr
cutionApply/forwardWorkInstrcu
tionApply.do?productId='
+
productId
url
:
web_app
.
name
+
'/workInstr
uctionApply/forwardWorkInstruc
tionApply.do?productId='
+
productId
});
}
...
...
topsun-xt/src/main/webapp/biz/topsun/proofing/proofingMakeList.js
View file @
75ac4ca3
...
...
@@ -142,7 +142,7 @@ function loadTechnologyListGrid() {
{
display
:
"标准色号"
,
name
:
"materialNumber"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
],
dataAction
:
"server"
,
url
:
web_app
.
name
+
'/proofingMake/slicedQueryProofing
Make
.ajax'
,
url
:
web_app
.
name
+
'/proofingMake/slicedQueryProofing
List
.ajax'
,
pageSize
:
10
,
usePager
:
true
,
toolbar
:
toolbarOptions
,
...
...
@@ -239,7 +239,7 @@ function deleteHandler() {
function
doView
(
proofingMakeId
)
{
UICtrl
.
addTabItem
({
tabid
:
'showProofingMake'
,
tabid
:
'showProofingMake'
+
proofingMakeId
,
text
:
"制造单详情"
,
url
:
web_app
.
name
+
'/proofingMake/forwardDetailsProofingMake.job?id='
+
proofingMakeId
});
...
...
topsun-xt/src/main/webapp/biz/topsun/proofing/workInstrcutionApply.jsp
View file @
75ac4ca3
...
...
@@ -4,7 +4,7 @@
<x:base
include=
"grid,date,layout,combox,tree,comboDialog,attachment"
/>
<x:script
src=
'/system/opm/js/OpmUtil.js'
/>
<x:script
src=
'/biz/topsun/common/purchaseCommon.js'
/>
<x:script
src=
'/biz/topsun/proofing/workInstr
cu
tionApply.js'
/>
<x:script
src=
'/biz/topsun/proofing/workInstr
uc
tionApply.js'
/>
<div
class=
"container-fluid"
style=
"padding: 10px;"
>
<form
class=
"hg-form"
method=
"post"
action=
""
id=
"submitForm"
>
<x:billTitle
title=
"作业指导申请书"
needStatus=
"false"
needPerson=
"true"
/>
...
...
@@ -12,7 +12,8 @@
<div
style=
"margin: 10px;"
>
<div
class=
"hg-form-cols"
>
<x:hidden
name=
"proofingApplyId"
/>
<x:inputC
name=
"workInstrcutionApplyId"
readonly=
"true"
label=
"指导书编号"
labelCol=
"2"
fieldCol=
"2"
/>
<x:hidden
name=
"proofingMakeId"
/>
<x:inputC
name=
"workInstructionApplyId"
readonly=
"true"
label=
"指导书编号"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"productId"
label=
"产品编号"
wrapper=
"select"
labelCol=
"2"
fieldCol=
"2"
/>
...
...
@@ -33,17 +34,17 @@
<x:inputC
name=
"storeName"
label=
"仓库"
maxLength=
"32"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"sizeGroup"
label=
"尺码组"
maxLength=
"32"
labelCol=
"2"
fieldCol=
"2"
/>
<x:
inputC
name=
"isDisable"
label=
"是否禁用
"
labelCol=
"2"
fieldCol=
"2"
/>
<x:
selectC
name=
"isDisable"
label=
"是否禁用"
dictionary=
"yesorno
"
labelCol=
"2"
fieldCol=
"2"
/>
<x:
inputC
name=
"isNewSpecification"
label=
"是否创建新规格书"
maxLength=
"32
"
labelCol=
"2"
fieldCol=
"2"
/>
<x:
selectC
name=
"isNewSpecification"
label=
"是否创建新规格书"
dictionary=
"yesorno
"
labelCol=
"2"
fieldCol=
"2"
/>
<x:
inputC
name=
"isShoePattern"
label=
"是否要鞋图
"
labelCol=
"2"
fieldCol=
"2"
/>
<x:
selectC
name=
"isShoePattern"
label=
"是否要鞋图"
dictionary=
"yesorno
"
labelCol=
"2"
fieldCol=
"2"
/>
<x:
inputC
name=
"isAttachedSample"
label=
"是否附样品"
maxLength=
"32
"
labelCol=
"2"
<x:
selectC
name=
"isAttachedSample"
label=
"是否附样品"
dictionary=
"yesorno
"
labelCol=
"2"
fieldCol=
"2"
/>
<x:
inputC
name=
"isOnlyCode"
label=
"是否唯一码产品"
maxLength=
"32
"
labelCol=
"2"
<x:
selectC
name=
"isOnlyCode"
label=
"是否唯一码产品"
dictionary=
"yesorno
"
labelCol=
"2"
fieldCol=
"2"
/>
<x:
inputC
name=
"isBodyColor"
label=
"是否不考虑形体配色"
maxLength=
"32
"
labelCol=
"2"
<x:
selectC
name=
"isBodyColor"
label=
"是否不考虑形体配色"
dictionary=
"yesorno
"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
</div>
...
...
topsun-xt/src/main/webapp/biz/topsun/proofing/workInstruction.js
View file @
75ac4ca3
$
(
document
).
ready
(
function
()
{
bindQueryEvent
();
});
//绑定selectC
function
bindQueryEvent
()
{
debugger
$
(
'#productId'
).
searchbox
({
type
:
"product"
,
name
:
"productDetail"
,
onChange
:
function
(
value
,
data
)
{
debugger
$
(
'#submitForm'
).
formSet
(
data
);
}
});
}
function
saveForm
(){
var
_self
=
this
;
$
(
'#submitForm'
).
ajaxSubmit
({
url
:
web_app
.
name
+
'/workInstruction/saveWorkInstruction.ajax'
,
param
:{},
success
:
function
(
data
)
{
if
(
data
==
"1"
){
Public
.
successTip
(
"保存成功!"
);
}
_self
.
close
();
}
});
let
productId
=
$
(
"#productId"
).
val
();
let
proofingMakeNo
=
$
(
"#proofingMakeNo"
).
val
();
UICtrl
.
addTabItem
({
tabid
:
'workInstructionApply'
+
proofingMakeNo
,
text
:
"作业指导申请书"
,
url
:
web_app
.
name
+
'/workInstructionApply/forwardWorkInstructionApply.do?productId='
+
productId
});
}
function
resetForm
(
obj
)
{
$
(
obj
).
formClean
();
}
topsun-xt/src/main/webapp/biz/topsun/proofing/workInstruction.jsp
View file @
75ac4ca3
...
...
@@ -4,240 +4,242 @@
<x:base
include=
"grid,date,layout,combox,tree,comboDialog,attachment"
/>
<x:script
src=
'/system/opm/js/OpmUtil.js'
/>
<x:script
src=
'/biz/topsun/common/purchaseCommon.js'
/>
<x:script
src=
'/biz/topsun/proofing/workInstr
cutionApply
.js'
/>
<x:script
src=
'/biz/topsun/proofing/workInstr
uction
.js'
/>
<div
class=
"container-fluid"
style=
"padding: 10px;"
>
<form
class=
"hg-form"
method=
"post"
action=
""
id=
"submitForm"
>
<x:billTitle
title=
"作业指导书"
needStatus=
"false"
needPerson=
"true"
/>
<div><h3>
基本信息
</h3></div>
<div
style=
"margin: 10px;"
>
<x:title
title=
"基本信息"
name=
"group"
/>
<div
class=
"hg-form-cols"
>
<x:hidden
name=
"workInstructionApplyId"
/>
<x:inputC
name=
"productId"
label=
"产品编号"
wrapper=
"select"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"product
Id"
label=
"产品编号"
wrapper=
"select"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"product
Name"
label=
"产品名称"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"specificationNo"
label=
"产品名称"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"productType"
label=
"产品类别"
labelCol=
"2"
<x:inputC
name=
"productCategoryName"
label=
"产品类别"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"brandName"
label=
"单位"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"brandName"
label=
"单位"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"proofingApplySampleEnName"
label=
"尺码组"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"proofingApplySampleEnName"
label=
"尺码组"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"proofingApplySampleVersion"
label=
"唯一码产品"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"proofingApplySampleVersion"
label=
"唯一码产品"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"productName"
label=
"不考虑形体配色"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"productName"
label=
"不考虑形体配色"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:
inputC
name=
"productEnglishName"
label=
"是否禁用"
maxLength=
"32"
labelCol=
"2
"
<x:
selectC
name=
"productEnglishName"
label=
"是否禁用"
dictionary=
"yesorno"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:
inputC
name=
"storeName"
label=
"是否建立BON表"
maxLength=
"32"
labelCol=
"2
"
<x:
selectC
name=
"isBuildBom"
label=
"是否建立BON表"
dictionary=
"yesorno"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
sizeGroup"
label=
"确认日期"
maxLength=
"32"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isDisable"
label=
"确认人"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
confirmDate"
label=
"确认日期"
maxLength=
"32"
wrapper=
"date"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
comfirmPerson"
label=
"确认人"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"is
NewSpecification"
label=
"是否免检"
maxLength=
"32"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"is
FreeInspection"
label=
"是否免检"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"is
ShoePattern"
label=
"不要质量loss%"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"is
NoQualityLoss"
label=
"不要质量loss%"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isAttachedSample"
label=
"样品单号"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
sampleOrderNo"
label=
"样品单号"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isOnlyCode"
label=
"库存编码"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
stockNo"
label=
"库存编码"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"库存名称"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
stockName"
label=
"库存名称"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"存档编号"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
fileNo"
label=
"存档编号"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"品牌"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"品牌"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
</div>
<x:title
title=
"可选属性"
name=
"group"
/>
<div
class=
"hg-form-cols"
>
<x:inputC
name=
"storeName"
label=
"制造工厂"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"storeName"
label=
"制造工厂"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"sizeGroup"
label=
"客户名称"
maxLength=
"32"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"isDisable"
label=
"版面"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"sizeGroup"
label=
"客户名称"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isDisable"
label=
"版面"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isNewSpecification"
label=
"材料代号"
maxLength=
"32"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"isNewSpecification"
label=
"材料代号"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isShoePattern"
label=
"产品代号"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"isShoePattern"
label=
"产品代号"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isAttachedSample"
label=
"型体配色"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isAttachedSample"
label=
"型体配色"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isOnlyCode"
label=
"客户料号"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isOnlyCode"
label=
"客户料号"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"版本号"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"版本号"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:
inputC
name=
"isBodyColor"
label=
"是否创建新作业指导书"
maxLength=
"32"
labelCol=
"2
"
<x:
selectC
name=
"isBodyColor"
label=
"是否创建新作业指导书"
dictionary=
"yesorno"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"规格书编号"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"规格书编号"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
</div>
<x:title
title=
"产品外观"
name=
"group"
/>
<div
class=
"hg-form-cols"
>
<x:inputC
name=
"
storeName"
label=
"长度"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
productLength"
label=
"长度"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
sizeGroup"
label=
"宽度"
maxLength=
"32"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isDisable"
label=
"高度"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
productWidth"
label=
"宽度"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
productHeight"
label=
"高度"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isNewSpecification"
label=
"厚度"
maxLength=
"32"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
productThick"
label=
"厚度"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isShoePattern"
label=
"成品克重"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
productWeight"
label=
"成品克重"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isAttachedSample"
label=
"直角"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
productAngleType"
label=
"直角"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isOnlyCode"
label=
"异形"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isOnlyCode"
label=
"异形"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"圆角"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"圆角"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"孔径"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
productAperture"
label=
"孔径"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"单层厚"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
productSingleLayer"
label=
"单层厚"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"单重"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
productSingleWeight"
label=
"单重"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"层数"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
productLayerNum"
label=
"层数"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:
inputC
name=
"isBodyColor"
label=
"是否防雾"
maxLength=
"32"
labelCol=
"2
"
<x:
selectC
name=
"productMould"
label=
"是否防雾"
dictionary=
"yesorno"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:
inputC
name=
"isBodyColor"
label=
"是否写码"
maxLength=
"32"
labelCol=
"2
"
<x:
selectC
name=
"productCoding"
label=
"是否写码"
dictionary=
"yesorno"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"体系认证"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
productSysCertification"
label=
"体系认证"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"仓库"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
storeName"
label=
"仓库"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"单位"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
productBuyUnit"
label=
"单位"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"采购换算值"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"采购换算值"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"系数"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"系数"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
</div>
<x:title
title=
"排版参数"
name=
"group"
/>
<div
class=
"hg-form-cols"
>
<x:inputC
name=
"
storeName"
label=
"模数"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
modulus"
label=
"模数"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
sizeGroup"
label=
"列"
maxLength=
"32"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isDisable"
label=
"行"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
columnNum"
label=
"列"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
rowNum"
label=
"行"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isNewSpecification"
label=
"搭版数"
maxLength=
"32"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
contactNum"
label=
"搭版数"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isShoePattern"
label=
"列双刀位"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
columnDoubleBlade"
label=
"列双刀位"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isAttachedSample"
label=
"行双刀位"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
rowDoubleBlade"
label=
"行双刀位"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isOnlyCode"
label=
"派工倍数"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
dispatchMultiple"
label=
"派工倍数"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"印章长度"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
sheetLength"
label=
"印章长度"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"印章宽度"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
sheetWidth"
label=
"印章宽度"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"产品印章设置"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
productSheetConf"
label=
"产品印章设置"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"正面颜色"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"正面颜色"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"反面颜色"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"反面颜色"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"产品承印物"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"产品承印物"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"啤版编号"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
beerPlateNo"
label=
"啤版编号"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"烫金版编号"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
goldPlateNo"
label=
"烫金版编号"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"模切版编号"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
dieCutPlateNo"
label=
"模切版编号"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"铜版及树脂编号"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
copperpResinLateNo"
label=
"铜版及树脂编号"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"网版编号"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
netPlateNo"
label=
"网版编号"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"工艺制成"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"工艺制成"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"storeName"
label=
"产品性质"
maxLength=
"32"
labelCol=
"2"
<x:inputC
name=
"storeName"
label=
"产品性质"
maxLength=
"32"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"sizeGroup"
label=
"工艺要求"
maxLength=
"32"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isDisable"
label=
"包装方式"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"sizeGroup"
label=
"工艺要求"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
packageStyle"
label=
"包装方式"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isNewSpecification"
label=
"物性测试"
maxLength=
"32"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
physicalTest"
label=
"物性测试"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isShoePattern"
label=
"化性测试"
labelCol=
"2
"
fieldCol=
"2"
/>
<x:inputC
name=
"
chemistryTest"
label=
"化性测试"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isAttachedSample"
label=
"产品材质"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isAttachedSample"
label=
"产品材质"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isOnlyCode"
label=
"塑料袋结构"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isOnlyCode"
label=
"塑料袋结构"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"铜版编号"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
copperpNo"
label=
"铜版编号"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"色卡号"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
colorNoCard"
label=
"色卡号"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"膜具编号"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
plateNo"
label=
"膜具编号"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"表面处理"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
surfaceTreatment"
label=
"表面处理"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"产品描述"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"产品描述"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"产品正面(删除图片)"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"产品正面(删除图片)"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"产品背面(删除图片)"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"产品背面(删除图片)"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"风险描述(序号、内容、等级)"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
riskDescription"
label=
"风险描述(序号、内容、等级)"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:
inputC
name=
"isBodyColor"
label=
"是否附样图"
maxLength=
"32"
labelCol=
"2
"
<x:
selectC
name=
"haveDrawing"
label=
"是否附样图"
dictionary=
"yesorno"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:
inputC
name=
"isBodyColor"
label=
"是否要鞋图"
maxLength=
"32"
labelCol=
"2
"
<x:
selectC
name=
"isBodyColor"
label=
"是否要鞋图"
dictionary=
"yesorno"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"啤版模数"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"啤版模数"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"模切板模数"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"模切板模数"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"分切方向"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
cutDirection"
label=
"分切方向"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
<x:inputC
name=
"
isBodyColor"
label=
"海关商品编码"
maxLength=
"32"
labelCol=
"2
"
<x:inputC
name=
"
customsCommodityCode"
label=
"海关商品编码"
maxLength=
"32"
labelCol=
"1
"
fieldCol=
"2"
/>
</div>
<x:title
title=
"客户loss"
name=
"group"
/>
<div
class=
"hg-form-cols"
>
<x:inputC
name=
"storeName"
label=
"客户"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"storeName"
label=
"客户"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"sizeGroup"
label=
"新增分段"
maxLength=
"32"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"isDisable"
label=
"数量上限"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"sizeGroup"
label=
"新增分段"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isDisable"
label=
"数量上限"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isNewSpecification"
label=
"Loos%"
maxLength=
"32"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"isNewSpecification"
label=
"Loos%"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isShoePattern"
label=
"冗余量"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"isShoePattern"
label=
"冗余量"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isAttachedSample"
label=
"备注"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isAttachedSample"
label=
"备注"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isOnlyCode"
label=
"删除分段"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isOnlyCode"
label=
"删除分段"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
</div>
<x:title
title=
"物料信息"
name=
"group"
/>
<div
class=
"hg-form-cols"
>
<x:inputC
name=
"storeName"
label=
"BOM单号"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"storeName"
label=
"BOM单号"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"sizeGroup"
label=
"版本号"
maxLength=
"32"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"isDisable"
label=
"数量"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"sizeGroup"
label=
"版本号"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isDisable"
label=
"数量"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isNewSpecification"
label=
"录入人"
maxLength=
"32"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"isNewSpecification"
label=
"录入人"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isShoePattern"
label=
"录入日期"
labelCol=
"
2
"
fieldCol=
"2"
/>
<x:inputC
name=
"isShoePattern"
label=
"录入日期"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isAttachedSample"
label=
"修改人"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isAttachedSample"
label=
"修改人"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isOnlyCode"
label=
"修改日期"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isOnlyCode"
label=
"修改日期"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"状态(启用、禁用)"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"状态(启用、禁用)"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"审核状态"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"审核状态"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"审核人"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"审核人"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"审核时间"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"审核时间"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"备注"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"备注"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"印章长度"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"印章长度"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"印章宽度"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"印章宽度"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"满排个数"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"满排个数"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
<x:inputC
name=
"isBodyColor"
label=
"损耗"
maxLength=
"32"
labelCol=
"
2
"
<x:inputC
name=
"isBodyColor"
label=
"损耗"
maxLength=
"32"
labelCol=
"
1
"
fieldCol=
"2"
/>
</div>
</div>
...
...
topsun-xt/src/main/webapp/biz/topsun/proofing/workInstr
cu
tionApply.js
→
topsun-xt/src/main/webapp/biz/topsun/proofing/workInstr
uc
tionApply.js
View file @
75ac4ca3
...
...
@@ -14,18 +14,27 @@ function bindQueryEvent() {
function
saveForm
(){
debugger
var
_self
=
this
;
$
(
'#submitForm'
).
ajaxSubmit
({
url
:
web_app
.
name
+
'/workInstr
cutionApply/saveWorkInstrcu
tionApply.ajax'
,
url
:
web_app
.
name
+
'/workInstr
uctionApply/saveWorkInstruc
tionApply.ajax'
,
param
:{},
success
:
function
(
data
)
{
if
(
data
==
"1"
){
if
(
data
!==
null
){
Public
.
successTip
(
"保存成功!"
);
addTabWorkInstruction
(
data
.
workInstructionApplyId
);
}
_self
.
close
();
}
});
}
function
addTabWorkInstruction
(
workInstructionApplyId
){
UICtrl
.
addTabItem
({
tabid
:
'workInstruction'
+
workInstructionApplyId
,
text
:
"作业指导申请书"
,
url
:
web_app
.
name
+
'/workInstruction/forwardWorkInstruction.do?workInstructionApplyId='
+
workInstructionApplyId
});
}
...
...
topsun/src/main/java/com/huigou/topsun/proofing/application/WorkInstrcutionApplyApplication.java
deleted
100644 → 0
View file @
5486dfcd
package
com
.
huigou
.
topsun
.
proofing
.
application
;
import
com.huigou.topsun.proofing.domain.model.WorkInstrcutionApply
;
public
interface
WorkInstrcutionApplyApplication
{
void
saveWorkInstrcutionApply
(
WorkInstrcutionApply
workInstrcutionApply
);
}
topsun/src/main/java/com/huigou/topsun/proofing/application/WorkInstructionApplication.java
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
application
;
import
com.huigou.topsun.proofing.domain.model.WorkInstruction
;
import
com.huigou.topsun.proofing.repository.WorkInstructionRepository
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.data.jpa.repository.JpaRepository
;
public
interface
WorkInstructionApplication
{
String
saveWorkInstruction
(
WorkInstruction
workInstruction
);
}
topsun/src/main/java/com/huigou/topsun/proofing/application/WorkInstructionApplyApplication.java
0 → 100644
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
application
;
import
com.huigou.topsun.proofing.domain.model.WorkInstructionApply
;
public
interface
WorkInstructionApplyApplication
{
void
saveWorkInstructionApply
(
WorkInstructionApply
workInstructionApply
);
}
topsun/src/main/java/com/huigou/topsun/proofing/application/WorkInstructionPdPublishedConfApplication.java
0 → 100644
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
application
;
import
com.huigou.topsun.proofing.domain.model.WorkInstructionPdPublishedConf
;
import
org.springframework.stereotype.Service
;
import
java.io.Serializable
;
public
interface
WorkInstructionPdPublishedConfApplication
{
void
saveWorkInstructionPdPublishedConf
(
WorkInstructionPdPublishedConf
workInstructionPdPublishedConf
);
}
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/proofing/application/impl/WorkInstructionApplicationImpl.java
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
application
.
impl
;
import
com.huigou.topsun.proofing.application.WorkInstructionApplication
;
import
com.huigou.topsun.proofing.domain.model.WorkInstruction
;
import
com.huigou.topsun.proofing.repository.WorkInstructionRepository
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
@Service
public
class
WorkInstructionApplicationImpl
implements
WorkInstructionApplication
{
@Autowired
WorkInstructionRepository
workInstructionRepository
;
@Override
public
String
saveWorkInstruction
(
WorkInstruction
workInstruction
)
{
workInstructionRepository
.
save
(
workInstruction
);
return
workInstruction
.
getWorkInstructionId
();
}
}
topsun/src/main/java/com/huigou/topsun/proofing/application/impl/WorkInstr
cu
tionApplyApplicationImpl.java
→
topsun/src/main/java/com/huigou/topsun/proofing/application/impl/WorkInstr
uc
tionApplyApplicationImpl.java
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
application
.
impl
;
import
com.huigou.topsun.proofing.application.WorkInstrcutionApplyApplication
;
import
com.huigou.topsun.proofing.domain.model.WorkInstrcutionApply
;
import
com.huigou.topsun.proofing.repository.WorkInstrcutionApplyRepository
;
import
com.huigou.topsun.proofing.application.WorkInstructionApplyApplication
;
import
com.huigou.topsun.proofing.domain.model.WorkInstructionApply
;
import
com.huigou.topsun.proofing.repository.WorkInstructionApplyRepository
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
@Service
public
class
WorkInstr
cutionApplyApplicationImpl
implements
WorkInstrcu
tionApplyApplication
{
public
class
WorkInstr
uctionApplyApplicationImpl
implements
WorkInstruc
tionApplyApplication
{
@Autowired
WorkInstr
cutionApplyRepository
workInstrcu
tionApplyRepository
;
WorkInstr
uctionApplyRepository
workInstruc
tionApplyRepository
;
@Override
public
void
saveWorkInstr
cutionApply
(
WorkInstrcutionApply
workInstrcu
tionApply
)
{
workInstr
cutionApplyRepository
.
save
(
workInstrcu
tionApply
);
public
void
saveWorkInstr
uctionApply
(
WorkInstructionApply
workInstruc
tionApply
)
{
workInstr
uctionApplyRepository
.
save
(
workInstruc
tionApply
);
}
}
topsun/src/main/java/com/huigou/topsun/proofing/application/impl/WorkInstructionPdPublishedConfApplicationImpl.java
0 → 100644
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
application
.
impl
;
import
com.huigou.topsun.proofing.application.WorkInstructionApplication
;
import
com.huigou.topsun.proofing.application.WorkInstructionPdPublishedConfApplication
;
import
com.huigou.topsun.proofing.domain.model.WorkInstruction
;
import
com.huigou.topsun.proofing.domain.model.WorkInstructionPdPublishedConf
;
import
com.huigou.topsun.proofing.repository.WorkInstructionPdPublishedConfRepository
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
@Service
public
class
WorkInstructionPdPublishedConfApplicationImpl
implements
WorkInstructionPdPublishedConfApplication
{
@Autowired
WorkInstructionPdPublishedConfRepository
workInstructionPdPublishedConfRepository
;
@Override
public
void
saveWorkInstructionPdPublishedConf
(
WorkInstructionPdPublishedConf
workInstructionPdPublishedConf
)
{
workInstructionPdPublishedConfRepository
.
save
(
workInstructionPdPublishedConf
);
}
}
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/proofing/controller/ProofingApplyController.java
View file @
75ac4ca3
...
...
@@ -60,15 +60,13 @@ public class ProofingApplyController extends CommonController {
* @return
*/
public
String
forwardProofingApply
(){
this
.
putAttribute
(
"processDefinitionKey"
,
ProofingApplyApplication
.
PROCESS_DEFINITION_KEY
);
this
.
putAttribute
(
"procUnitId"
,
"Apply"
);
this
.
putAttribute
(
"procUnitId"
,
"Apply"
);
//定义流程环节的id
ProofingApply
proofingApply
=
new
ProofingApply
();
proofingApply
.
setStatusId
(
BizBillStatus
.
APPLYING
.
getId
());
Operator
operator
=
getOperator
();
Operator
operator
=
getOperator
();
//获取当前操作员的详情信息
proofingApply
.
setDefaultValues
(
new
OrgUnit
(
operator
.
getFullId
(),
operator
.
getFullName
()));
proofingApply
.
setProofingApplyNo
(
proofingApply
.
getBillCode
());
proofingApply
.
setProofingApplyNo
(
proofingApply
.
getBillCode
());
//将生成的单号赋予实体类对应字段
return
forward
(
"proofingApply"
,
proofingApply
);
}
...
...
topsun/src/main/java/com/huigou/topsun/proofing/controller/ProofingMakeController.java
View file @
75ac4ca3
...
...
@@ -32,7 +32,6 @@ public class ProofingMakeController extends CommonController {
protected
String
getPagePath
()
{
return
"/biz/topsun/proofing/"
;
}
@Autowired
ProofingMakeApplication
proofingMakeApplication
;
@Autowired
...
...
@@ -41,6 +40,15 @@ public class ProofingMakeController extends CommonController {
ProductLookedApplication
productLookedApplication
;
/**
* 跳转打样制造查询页
* @return
*/
public
String
forwardProofingMakeList
(){
return
forward
(
"proofingMakeList"
);
}
/**
* 打样制作表单页
* @return
...
...
@@ -53,16 +61,10 @@ public class ProofingMakeController extends CommonController {
}
/**
*
打样制作查询页
*
分页查询打样制造表
* @return
*/
public
String
forwardProofingMakeList
(){
return
forward
(
"proofingMakeList"
);
}
@LogInfo
(
logType
=
LogType
.
BIZ
,
subType
=
""
,
operaionType
=
OperationType
.
QUERY
,
description
=
"分页查询打样制造表"
)
public
String
slicedQueryProofingMake
()
{
public
String
slicedQueryProofingList
()
{
SDO
sdo
=
this
.
getSDO
();
ProofingMakeQueryRequest
queryRequest
=
sdo
.
toQueryRequest
(
ProofingMakeQueryRequest
.
class
);
Map
<
String
,
Object
>
map
=
proofingMakeApplication
.
slicedProofingMakeQuery
(
queryRequest
);
...
...
@@ -89,17 +91,10 @@ public class ProofingMakeController extends CommonController {
SDO
sdo
=
this
.
getSDO
();
ProofingMake
proofingMake
=
sdo
.
toObject
(
ProofingMake
.
class
);
proofingMakeApplication
.
saveProofingMake
(
proofingMake
);
return
success
(
proofingMake
);
}
// public String deleteProofingMakeByProofingMakeId(){
// SDO sdo = this.getSDO();
// String proofingMakeId = sdo.getString("ids");
// proofingMakeApplication.deleteProofingMakeVo(proofingMakeId);
// return success();
// }
/**
* 根据单号回显相关数据
...
...
topsun/src/main/java/com/huigou/topsun/proofing/controller/WorkInstr
cu
tionApplyController.java
→
topsun/src/main/java/com/huigou/topsun/proofing/controller/WorkInstr
uc
tionApplyController.java
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
controller
;
import
com.huigou.topsun.product.application.ProductApplication
;
import
com.huigou.topsun.proofing.application.WorkInstr
cu
tionApplyApplication
;
import
com.huigou.topsun.proofing.domain.model.WorkInstr
cu
tionApply
;
import
com.huigou.topsun.proofing.application.WorkInstr
uc
tionApplyApplication
;
import
com.huigou.topsun.proofing.domain.model.WorkInstr
uc
tionApply
;
import
com.huigou.uasp.annotation.ControllerMapping
;
import
com.huigou.uasp.client.CommonController
;
import
com.huigou.util.SDO
;
...
...
@@ -13,8 +13,8 @@ import java.util.UUID;
@Controller
@ControllerMapping
(
"/workInstr
cu
tionApply"
)
public
class
WorkInstr
cu
tionApplyController
extends
CommonController
{
@ControllerMapping
(
"/workInstr
uc
tionApply"
)
public
class
WorkInstr
uc
tionApplyController
extends
CommonController
{
protected
String
getPagePath
()
{
return
"/biz/topsun/proofing/"
;
...
...
@@ -23,7 +23,7 @@ public class WorkInstrcutionApplyController extends CommonController {
@Autowired
ProductApplication
productApplication
;
@Autowired
WorkInstr
cutionApplyApplication
workInstrcu
tionApplyApplication
;
WorkInstr
uctionApplyApplication
workInstruc
tionApplyApplication
;
/**
...
...
@@ -31,28 +31,24 @@ public class WorkInstrcutionApplyController extends CommonController {
* 如果有productId参数,就说明从打样制造单发送的请求,携带该参数跳转
* @return
*/
public
String
forwardWorkInstrcutionApply
(){
public
String
forwardWorkInstructionApply
(){
SDO
sdo
=
this
.
getSDO
();
String
productId
=
sdo
.
getString
(
"productId"
);
String
workInstructionApplyId
=
UUID
.
randomUUID
().
toString
().
replace
(
"-"
,
""
);
this
.
putAttribute
(
"workInstructionApplyId"
,
workInstructionApplyId
);
if
(
productId
!=
null
&&!
""
.
equals
(
productId
))
this
.
putAttribute
(
"productId"
,
productId
);
return
forward
(
"workInstr
cu
tionApply"
);
return
forward
(
"workInstr
uc
tionApply"
);
}
public
String
queryWorkInstrcutionApply
()
{
SDO
sdo
=
this
.
getSDO
();
String
productId
=
sdo
.
getString
(
"productId"
);
return
toResult
(
null
);
}
/**
* 添加指导申请书
*/
public
String
saveWorkInstr
cu
tionApply
(){
public
String
saveWorkInstr
uc
tionApply
(){
SDO
sdo
=
this
.
getSDO
();
WorkInstr
cutionApply
workInstrcutionApply
=
sdo
.
toObject
(
WorkInstrcu
tionApply
.
class
);
workInstr
cutionApplyApplication
.
saveWorkInstrcutionApply
(
workInstrcu
tionApply
);
return
toResult
(
workInstr
cu
tionApply
);
WorkInstr
uctionApply
workInstructionApply
=
sdo
.
toObject
(
WorkInstruc
tionApply
.
class
);
workInstr
uctionApplyApplication
.
saveWorkInstructionApply
(
workInstruc
tionApply
);
return
toResult
(
workInstr
uc
tionApply
);
}
}
...
...
topsun/src/main/java/com/huigou/topsun/proofing/controller/WorkInstructionController.java
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
controller
;
import
com.huigou.topsun.product.application.ProductApplication
;
import
com.huigou.topsun.proofing.application.WorkInstrcutionApplyApplication
;
import
com.huigou.topsun.proofing.domain.model.WorkInstrcutionApply
;
import
com.huigou.topsun.proofing.application.WorkInstructionApplication
;
import
com.huigou.topsun.proofing.application.WorkInstructionPdPublishedConfApplication
;
import
com.huigou.topsun.proofing.domain.model.WorkInstruction
;
import
com.huigou.topsun.proofing.domain.model.WorkInstructionPdPublishedConf
;
import
com.huigou.uasp.annotation.ControllerMapping
;
import
com.huigou.uasp.client.CommonController
;
import
com.huigou.util.SDO
;
...
...
@@ -18,17 +19,38 @@ public class WorkInstructionController extends CommonController {
return
"/biz/topsun/proofing/"
;
}
@Autowired
WorkInstructionApplication
workInstructionApplication
;
@Autowired
WorkInstructionPdPublishedConfApplication
workInstructionPdPublishedConfApplication
;
/**
* 跳转作业指导
申请
书
* 跳转作业指导书
* 如果有productId参数,就说明从打样制造单发送的请求,携带该参数跳转
* @return
*/
public
String
forwardWorkInstruction
(){
SDO
sdo
=
this
.
getSDO
();
String
workInstructionApplyId
=
sdo
.
getString
(
"workInstructionApplyId"
);
if
(
workInstructionApplyId
!=
null
&&!
""
.
equals
(
workInstructionApplyId
))
this
.
putAttribute
(
"workInstructionApplyId"
,
workInstructionApplyId
);
return
forward
(
"workInstruction"
);
}
/**
* 编辑作业指导书
* @return
*/
public
String
saveWorkInstruction
(){
SDO
sdo
=
this
.
getSDO
();
WorkInstruction
workInstruction
=
sdo
.
toObject
(
WorkInstruction
.
class
);
WorkInstructionPdPublishedConf
workInstructionPdPublishedConf
=
sdo
.
toObject
(
WorkInstructionPdPublishedConf
.
class
);
String
workInstructionId
=
workInstructionApplication
.
saveWorkInstruction
(
workInstruction
);
workInstructionPdPublishedConf
.
setWorkInstructionId
(
workInstructionId
);
workInstructionPdPublishedConfApplication
.
saveWorkInstructionPdPublishedConf
(
workInstructionPdPublishedConf
);
return
success
();
}
}
topsun/src/main/java/com/huigou/topsun/proofing/domain/model/WorkInstruction.java
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
domain
.
model
;
import
lombok.Data
;
import
org.hibernate.annotations.GenericGenerator
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.util.Date
;
...
...
@@ -21,6 +19,13 @@ public class WorkInstruction implements Serializable {
* 作业指导书
*/
@Id
@GeneratedValue
(
generator
=
"system-uuid"
)
@GenericGenerator
(
name
=
"system-uuid"
,
strategy
=
"guid"
)
@Column
(
name
=
"work_instruction_id"
)
private
String
workInstructionId
;
...
...
topsun/src/main/java/com/huigou/topsun/proofing/domain/model/WorkInstr
cu
tionApply.java
→
topsun/src/main/java/com/huigou/topsun/proofing/domain/model/WorkInstr
uc
tionApply.java
View file @
75ac4ca3
...
...
@@ -7,18 +7,18 @@ import lombok.Data;
/**
* 作业指导申请书
* @TableName work_instr
cu
tion_apply
* @TableName work_instr
uc
tion_apply
*/
@Table
(
name
=
"work_instr
cu
tion_apply"
)
@Table
(
name
=
"work_instr
uc
tion_apply"
)
@Entity
@Data
public
class
WorkInstr
cu
tionApply
implements
Serializable
{
public
class
WorkInstr
uc
tionApply
implements
Serializable
{
/**
* 作业指导申请书id
*/
@Id
@Column
(
name
=
"work_instr
cu
tion_apply_id"
)
private
String
workInstr
cu
tionApplyId
;
@Column
(
name
=
"work_instr
uc
tion_apply_id"
)
private
String
workInstr
uc
tionApplyId
;
/**
* 打样制作单id
...
...
topsun/src/main/java/com/huigou/topsun/proofing/domain/model/WorkInstructionPdPublishedConf.java
0 → 100644
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
domain
.
model
;
import
lombok.Data
;
import
org.hibernate.annotations.GenericGenerator
;
import
javax.persistence.*
;
import
java.io.Serializable
;
/**
* 作业指导书排版参数
* @TableName work_instruction_pd_published_conf
*/
@Table
(
name
=
"work_instruction_pd_published_conf"
)
@Data
@Entity
public
class
WorkInstructionPdPublishedConf
implements
Serializable
{
/**
* 作业指导书排版参数id
*/
@Id
@GeneratedValue
(
generator
=
"system-uuid"
)
@GenericGenerator
(
name
=
"system-uuid"
,
strategy
=
"guid"
)
@Column
(
name
=
"work_instruction_pd_published_conf_id"
)
private
String
workInstructionPdPublishedConfId
;
/**
* 作业指导书id
*/
@Column
(
name
=
"work_instruction_id"
)
private
String
workInstructionId
;
/**
* 产品排版参数id
*/
@Column
(
name
=
"pd_published_conf_id"
)
private
String
pdPublishedConfId
;
/**
* 啤版编号
*/
@Column
(
name
=
"beer_plate_no"
)
private
String
beerPlateNo
;
/**
* 烫金版编号
*/
@Column
(
name
=
"gold_plate_no"
)
private
String
goldPlateNo
;
/**
* 模切版编号
*/
@Column
(
name
=
"die_cut_plate_no"
)
private
String
dieCutPlateNo
;
/**
* 铜版及树脂版编号
*/
@Column
(
name
=
"copperp_resin_late_no"
)
private
String
copperpResinLateNo
;
/**
* 网版编号
*/
@Column
(
name
=
"net_plate_no"
)
private
String
netPlateNo
;
/**
* 包装方式
*/
@Column
(
name
=
"package_style"
)
private
String
packageStyle
;
/**
* 物性测试
*/
@Column
(
name
=
"physical_test"
)
private
String
physicalTest
;
/**
* 化性测试
*/
@Column
(
name
=
"chemistry_test"
)
private
String
chemistryTest
;
/**
* 铜版编号
*/
@Column
(
name
=
"copperp_no"
)
private
String
copperpNo
;
/**
* 色号卡
*/
@Column
(
name
=
"color_no_card"
)
private
String
colorNoCard
;
/**
* 模具编号
*/
@Column
(
name
=
"plate_no"
)
private
String
plateNo
;
/**
* 表面处理
*/
@Column
(
name
=
"surface_treatment"
)
private
String
surfaceTreatment
;
/**
* 风险描述(序号、内容、等级)
*/
@Column
(
name
=
"risk_description"
)
private
String
riskDescription
;
/**
* 是否附样图
*/
@Column
(
name
=
"have_drawing"
)
private
String
haveDrawing
;
/**
* 分切方向
*/
@Column
(
name
=
"cut_direction"
)
private
String
cutDirection
;
/**
* 海关商品编码
*/
@Column
(
name
=
"customs_commodity_code"
)
private
String
customsCommodityCode
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/proofing/domain/vo/WorkInstr
cu
tionApplyVo.java
→
topsun/src/main/java/com/huigou/topsun/proofing/domain/vo/WorkInstr
uc
tionApplyVo.java
View file @
75ac4ca3
...
...
@@ -2,9 +2,6 @@ package com.huigou.topsun.proofing.domain.vo;
import
lombok.Data
;
import
javax.persistence.Column
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
java.io.Serializable
;
/**
...
...
@@ -12,11 +9,11 @@ import java.io.Serializable;
*
*/
@Data
public
class
WorkInstr
cu
tionApplyVo
implements
Serializable
{
public
class
WorkInstr
uc
tionApplyVo
implements
Serializable
{
/**
* 作业指导申请书id
*/
private
String
workInstr
cu
tionApplyId
;
private
String
workInstr
uc
tionApplyId
;
/**
* 打样制作单id
...
...
topsun/src/main/java/com/huigou/topsun/proofing/repository/WorkInstr
cu
tionApplyRepository.java
→
topsun/src/main/java/com/huigou/topsun/proofing/repository/WorkInstr
uc
tionApplyRepository.java
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
repository
;
import
com.huigou.topsun.proofing.domain.model.WorkInstr
cu
tionApply
;
import
com.huigou.topsun.proofing.domain.model.WorkInstr
uc
tionApply
;
import
org.springframework.data.jpa.repository.JpaRepository
;
public
interface
WorkInstr
cutionApplyRepository
extends
JpaRepository
<
WorkInstrcu
tionApply
,
String
>
{
public
interface
WorkInstr
uctionApplyRepository
extends
JpaRepository
<
WorkInstruc
tionApply
,
String
>
{
}
topsun/src/main/java/com/huigou/topsun/proofing/repository/WorkInstructionPdPublishedConfRepository.java
0 → 100644
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
repository
;
import
com.huigou.topsun.proofing.domain.model.WorkInstructionPdPublishedConf
;
import
org.springframework.data.jpa.repository.JpaRepository
;
public
interface
WorkInstructionPdPublishedConfRepository
extends
JpaRepository
<
WorkInstructionPdPublishedConf
,
String
>
{
}
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/proofing/repository/WorkInstructionRepository.java
View file @
75ac4ca3
package
com
.
huigou
.
topsun
.
proofing
.
repository
;
import
com.huigou.topsun.proofing.domain.model.WorkInstrcutionApply
;
import
com.huigou.topsun.proofing.domain.model.WorkInstruction
;
import
org.springframework.data.jpa.repository.JpaRepository
;
...
...
topsun/src/main/java/com/huigou/topsun/proofing/service/impl/ProofingMakeServiceImpl.java
deleted
100644 → 0
View file @
5486dfcd
package
com
.
huigou
.
topsun
.
proofing
.
service
.
impl
;
import
com.huigou.topsun.product.domain.ProductLooked
;
import
com.huigou.topsun.product.domain.ProductPublishedConf
;
import
com.huigou.topsun.product.repository.ProductLookedRepository
;
import
com.huigou.topsun.product.repository.ProductPublishedConfRepository
;
import
com.huigou.topsun.proofing.domain.model.ProofingApply
;
import
com.huigou.topsun.proofing.domain.model.ProofingMake
;
import
com.huigou.topsun.proofing.domain.vo.ProofingMakeVo
;
import
com.huigou.topsun.proofing.repository.ProofingApplyRepository
;
import
com.huigou.topsun.proofing.repository.ProofingMakeRepository
;
import
com.huigou.topsun.proofing.service.ProofingMakeService
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Propagation
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.stream.Collectors
;
@Service
public
class
ProofingMakeServiceImpl
implements
ProofingMakeService
{
@Autowired
ProofingMakeRepository
proofingMakeRepository
;
@Autowired
ProofingApplyRepository
proofingApplyRepository
;
@Autowired
ProductLookedRepository
productLookedRepository
;
@Autowired
ProductPublishedConfRepository
productPublishedConfRepository
;
public
List
<
ProofingMakeVo
>
getProofingMakeVoList
(){
List
<
ProofingMake
>
makeAll
=
proofingMakeRepository
.
findAll
();
List
<
ProofingMakeVo
>
makeVoList
=
new
ArrayList
<>();
for
(
ProofingMake
proofingMake
:
makeAll
)
{
ProofingApply
proofingApply
=
proofingApplyRepository
.
findByProofingApplyId
(
proofingMake
.
getProofingApplyId
());
ProofingMakeVo
proofingMakeVo
=
getProofingMakeVo
(
proofingMake
,
proofingApply
);
makeVoList
.
add
(
proofingMakeVo
);
}
return
makeVoList
;
}
@Override
public
ProofingMakeVo
getProofingMakeVoById
(
String
proofingMakeId
)
{
ProofingMake
proofingMake
=
proofingMakeRepository
.
findOne
(
proofingMakeId
);
ProofingApply
proofingApply
=
proofingApplyRepository
.
findByProofingApplyId
(
proofingMake
.
getProofingApplyId
());
ProductLooked
productLooked
=
productLookedRepository
.
findByProductId
(
proofingApply
.
getProductId
());
ProductPublishedConf
productPublishedConf
=
productPublishedConfRepository
.
getProductPublishedConfByProductId
(
proofingApply
.
getProductId
());
return
this
.
getProofingMakeVo
(
proofingApply
,
proofingMake
,
productLooked
,
productPublishedConf
);
}
/**
* 分解ProofingMake
* @param proofingMake
*/
@Override
public
void
saveProofingMakeVo
(
ProofingMake
proofingMake
)
{
proofingMakeRepository
.
save
(
proofingMake
);
}
@Override
public
void
deleteProofingMakeVo
(
String
proofingMakeId
)
{
proofingMakeRepository
.
delete
(
proofingMakeId
);
}
/**
* 生成ProofingMakeVo类
* @return 填充过数据后的ProofingMakeVo
*/
public
ProofingMakeVo
getProofingMakeVo
(
Object
...
objs
){
ProofingMakeVo
proofingMakeVo
=
new
ProofingMakeVo
();
for
(
Object
obj
:
objs
)
{
if
(
obj
!=
null
){
BeanUtils
.
copyProperties
(
obj
,
proofingMakeVo
);
}
}
return
proofingMakeVo
;
}
}
topsun/src/main/resources/config/content/easysearch/easy-search-product.xml
View file @
75ac4ca3
...
...
@@ -24,12 +24,45 @@
<field
name=
"产品id"
title=
"产品id"
code=
"productId"
width=
"200"
/>
</easy-search>
<!-- <easy-search name="productType" desc="产品状态" >-->
<!-- <sql>select pc.* from-->
<!-- product_category pc</sql>-->
<!-- <field name="productCategoryName" title="产品名称" code="productCategoryName" type="hidden" width="300"/>-->
<!-- <field name="productCategoryStatus" title="产品状态" code="productCategoryStatus" width="200"/>-->
<!-- <field name="productCategoryCode" title="产品编码" code="productCategoryCode" type="hidden" width="300"/>-->
<!-- <field name="productCategoryId" code="productCategoryId" type='hidden' />-->
<!-- </easy-search>-->
<easy-search
name=
"productDetail"
desc=
"产品详情"
>
<sql>
SELECT
p.product_name, pc.product_category_name,pl.*,
ppc.modulus,ppc.row_num,ppc.column_num,ppc.contact_num,ppc.row_double_blade,ppc.column_double_blade,ppc.dispatch_multiple,ppc.sheet_length,ppc.sheet_width,ppc.product_sheet_conf
FROM product p
LEFT JOIN product_category pc ON pc.product_category_id = p.product_category_id
LEFT JOIN product_detail pd ON pd.product_id = p.product_id
LEFT JOIN product_looked pl ON pl.product_id = p.product_id
LEFT JOIN product_published_conf ppc ON ppc.product_id = p.product_id
</sql>
<field
name=
"产品id"
title=
"产品id"
code=
"productId"
width=
"200"
/>
<field
name=
"产品name"
title=
"产品name"
code=
"productName"
width=
"200"
/>
<field
name=
"长;单位cm"
title=
"长;单位cm"
code=
"productLength"
width=
"200"
/>
<field
name=
"宽;单位cm"
title=
"宽;单位cm"
code=
"productWidth"
width=
"200"
/>
<field
name=
"高;单位cm"
title=
"高;单位cm"
code=
"productHeight"
width=
"200"
/>
<field
name=
"厚度;单位mm"
title=
"厚度;单位mm"
code=
"productThick"
width=
"200"
/>
<field
name=
"成品克重;单位g"
title=
"成品克重;单位g"
code=
"productWeight"
width=
"200"
/>
<field
name=
"角型"
title=
"角型"
code=
"productAngleType"
width=
"200"
/>
<field
name=
"孔径"
title=
"孔径"
code=
"productAperture"
width=
"200"
/>
<field
name=
"单层厚"
title=
"单层厚"
code=
"productSingleLayer"
width=
"200"
/>
<field
name=
"单重"
title=
"单重"
code=
"productSingleWeight"
width=
"200"
/>
<field
name=
"层数"
title=
"层数"
code=
"productLayerNum"
width=
"200"
/>
<field
name=
"是否防霉"
title=
"是否防霉(is_open)"
code=
"productMould"
width=
"200"
/>
<field
name=
"是否写码"
title=
"是否写码(is_open)"
code=
"productCoding"
width=
"200"
/>
<field
name=
"体系认证"
title=
"体系认证"
code=
"productSysCertification"
width=
"200"
/>
<field
name=
"仓库"
title=
"仓库"
code=
"storeName"
width=
"200"
/>
<field
name=
"采购单位"
title=
"采购单位"
code=
"productBuyUnit"
width=
"200"
/>
<field
name=
"模数"
title=
"模数"
code=
"modulus"
width=
"200"
/>
<field
name=
"行数"
title=
"行数"
code=
"rowNum"
width=
"200"
/>
<field
name=
"列数"
title=
"列数"
code=
"columnNum"
width=
"200"
/>
<field
name=
"搭版数"
title=
"搭版数"
code=
"contactNum"
width=
"200"
/>
<field
name=
"行双刀位(单位mm)"
title=
"行双刀位(单位mm)"
code=
"rowDoubleBlade"
width=
"200"
/>
<field
name=
"列双刀位(单位mm)"
title=
"列双刀位(单位mm)"
code=
"columnDoubleBlade"
width=
"200"
/>
<field
name=
"派工倍数"
title=
"派工倍数"
code=
"dispatchMultiple"
width=
"200"
/>
<field
name=
"印张长度(单位cm)"
title=
"印张长度(单位cm)"
code=
"sheetLength"
width=
"200"
/>
<field
name=
"印张宽度(单位cm)"
title=
"印张宽度(单位cm)"
code=
"sheetWidth"
width=
"200"
/>
<field
name=
"产品印张设置"
title=
"产品印张设置"
code=
"productSheetConf"
width=
"200"
/>
</easy-search>
</easy-search-mappings>
\ No newline at end of file
topsun/src/main/resources/config/content/easysearch/easy-search-proofing.xml
View file @
75ac4ca3
...
...
@@ -11,6 +11,7 @@
<sql>
SELECT
pm.proofing_make_no,
pm.proofing_make_id,
pa.proofing_apply_no,
p.product_id,
p.product_name,
...
...
@@ -31,13 +32,14 @@
</sql>
<field
name=
"产品编号"
title=
"产品编号"
code=
"productId"
width=
"200"
/>
<field
name=
"制作单号"
title=
"制作单号"
code=
"proofingMakeNo"
width=
"200"
/>
<field
name=
"制作id"
title=
"制作id"
code=
"proofingMakeId"
width=
"200"
type=
"hidden"
/>
<field
name=
"申请单号"
title=
"申请单号"
code=
"proofingApplyNo"
width=
"200"
/>
<field
name=
"类型"
title=
"类型"
code=
"productType"
width=
"200"
type=
"hidden"
/>
<field
name=
"品牌"
title=
"品牌"
code=
"brandName"
width=
"200"
type=
"hidden"
/>
<field
name=
"名称"
title=
"名称"
code=
"productName"
width=
"200"
type=
"hidden"
/>
<field
name=
"英文名称"
title=
"英文名称"
code=
"productEnglishName"
width=
"200"
type=
"hidden"
/>
<field
name=
"仓库"
title=
"仓库"
code=
"productId"
width=
"200"
type=
"hidden"
/>
</easy-search>
</easy-search-mappings>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment