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
5a85debe
Commit
5a85debe
authored
Jul 03, 2024
by
刘学辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组件补充发料修改
parent
a9d4c74e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
61 additions
and
7 deletions
+61
-7
componentSupplyDetail.js
...p/biz/topsun/sap/componentSupply/componentSupplyDetail.js
+31
-5
componentSupplyDetail.jsp
.../biz/topsun/sap/componentSupply/componentSupplyDetail.jsp
+4
-0
componentSupplyList.js
...app/biz/topsun/sap/componentSupply/componentSupplyList.js
+4
-2
ComponentSupply.java
...ou/topsun/sap/componentSupply/domain/ComponentSupply.java
+16
-0
ComponentSupplyItem.java
...opsun/sap/componentSupply/domain/ComponentSupplyItem.java
+6
-0
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/componentSupply/componentSupplyDetail.js
View file @
5a85debe
...
@@ -65,15 +65,29 @@ function bindEvent(){
...
@@ -65,15 +65,29 @@ function bindEvent(){
}
}
});
});
//
工厂
//
供应商
$
(
'#suppliersName'
).
searchbox
({
$
(
'#suppliersName'
).
searchbox
({
type
:
"system"
,
name
:
"selectSuppliersDatas"
,
getParam
:
function
(
item
)
{
return
{
/// fieldName: "sapMaterialSelect",
//filterValue: $('#werks').val()
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#suppliers'
).
val
(
data
.
partner
);
$
(
'#suppliersName'
).
val
(
data
.
nameOrg1
);
}
});
//工厂
$
(
'#werksName'
).
searchbox
({
type
:
"system"
,
name
:
"dictionary"
,
type
:
"system"
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
getParam
:
function
(
item
)
{
return
{
fieldName
:
"WERKS"
}
return
{
fieldName
:
"WERKS"
}
},
},
onChange
:
function
(
value
,
data
)
{
onChange
:
function
(
value
,
data
)
{
$
(
'#
supplier
s'
).
val
(
data
.
WERKS
);
$
(
'#
werk
s'
).
val
(
data
.
WERKS
);
$
(
'#
supplier
sName'
).
val
(
data
.
NAME1
);
$
(
'#
werk
sName'
).
val
(
data
.
NAME1
);
}
}
});
});
}
}
...
@@ -148,11 +162,23 @@ function loadGrid() {
...
@@ -148,11 +162,23 @@ function loadGrid() {
},
},
{
display
:
"供给物料名称"
,
name
:
"supplyMaterialName"
,
width
:
"200"
,
align
:
"left"
,
type
:
"string"
},
{
display
:
"供给物料名称"
,
name
:
"supplyMaterialName"
,
width
:
"200"
,
align
:
"left"
,
type
:
"string"
},
{
display
:
"补发数量"
,
name
:
"quantity"
,
width
:
1
4
0
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
{
display
:
"补发数量"
,
name
:
"quantity"
,
width
:
1
0
0
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
"text"
,
mask
:
'nnnnnn.nn'
,
required
:
true
}
editor
:
{
type
:
"text"
,
mask
:
'nnnnnn.nn'
,
required
:
true
}
},
},
{
display
:
"提货方式"
,
name
:
"deliveryMethodTextView"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'dictionary'
,
data
:
{
name
:
'deliveryMethod'
},
textField
:
'deliveryMethodTextView'
,
valueField
:
'deliveryMethod'
,
required
:
true
,
render
:
function
(
item
)
{
return
item
.
deliveryMethodTextView
;
}
}
},
{
{
display
:
"说明"
,
name
:
"remark"
,
width
:
4
00
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
display
:
"说明"
,
name
:
"remark"
,
width
:
3
00
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
required
:
false
,
type
:
"text"
}
editor
:
{
required
:
false
,
type
:
"text"
}
}
}
],
],
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/componentSupply/componentSupplyDetail.jsp
View file @
5a85debe
...
@@ -33,9 +33,13 @@
...
@@ -33,9 +33,13 @@
<x:inputC
name=
"departName"
required=
"true"
label=
"部门"
labelCol=
"2"
fieldCol=
"2"
wrapper=
"tree"
/>
<x:inputC
name=
"departName"
required=
"true"
label=
"部门"
labelCol=
"2"
fieldCol=
"2"
wrapper=
"tree"
/>
<x:hidden
name=
"applyPerson"
/>
<x:hidden
name=
"applyPerson"
/>
<x:inputC
name=
"applyPersonName"
required=
"true"
label=
"人员"
labelCol=
"2"
fieldCol=
"2"
wrapper=
"tree"
/>
<x:inputC
name=
"applyPersonName"
required=
"true"
label=
"人员"
labelCol=
"2"
fieldCol=
"2"
wrapper=
"tree"
/>
<x:hidden
name=
"werks"
/>
<x:inputC
name=
"werksName"
required=
"false"
label=
"工厂"
labelCol=
"2"
wrapper=
"select"
fieldCol=
"2"
/>
<x:hidden
name=
"suppliers"
/>
<x:hidden
name=
"suppliers"
/>
<x:inputC
name=
"suppliersName"
required=
"false"
label=
"供应商"
labelCol=
"2"
wrapper=
"select"
fieldCol=
"2"
/>
<x:inputC
name=
"suppliersName"
required=
"false"
label=
"供应商"
labelCol=
"2"
wrapper=
"select"
fieldCol=
"2"
/>
<x:inputC
name=
"needDate"
label=
"需求日期"
readonly=
"false"
wrapper=
"date"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
</div>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
class=
"blank_div clearfix"
></div>
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/componentSupply/componentSupplyList.js
View file @
5a85debe
...
@@ -20,14 +20,16 @@ function loadGrid() {
...
@@ -20,14 +20,16 @@ function loadGrid() {
});
});
gridManager
=
UICtrl
.
grid
(
"#maingrid"
,
{
gridManager
=
UICtrl
.
grid
(
"#maingrid"
,
{
columns
:
[
columns
:
[
{
display
:
"单据编号"
,
name
:
"billCode"
,
width
:
1
5
0
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"单据编号"
,
name
:
"billCode"
,
width
:
1
2
0
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"创建日期"
,
name
:
"fillinDate"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"创建日期"
,
name
:
"fillinDate"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"申请状态"
,
name
:
"statusTextView"
,
width
:
60
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"申请状态"
,
name
:
"statusTextView"
,
width
:
60
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"创建人"
,
name
:
"personMemberName"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"创建人"
,
name
:
"personMemberName"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"申请部门"
,
name
:
"deptName"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"申请部门"
,
name
:
"deptName"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"部门"
,
name
:
"departName"
,
width
:
20
0
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"部门"
,
name
:
"departName"
,
width
:
18
0
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"人员"
,
name
:
"applyPersonName"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"人员"
,
name
:
"applyPersonName"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"工厂"
,
name
:
"werksName"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"供应商"
,
name
:
"suppliersName"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"供应商"
,
name
:
"suppliersName"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"需求日期"
,
name
:
"needDate"
,
width
:
130
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
],
],
dataAction
:
"server"
,
dataAction
:
"server"
,
url
:
web_app
.
name
+
'/componentSupply/slicedComponentSupplyList.ajax'
,
url
:
web_app
.
name
+
'/componentSupply/slicedComponentSupplyList.ajax'
,
...
...
topsun/src/main/java/com/huigou/topsun/sap/componentSupply/domain/ComponentSupply.java
View file @
5a85debe
...
@@ -52,6 +52,22 @@ public class ComponentSupply extends FlowBillAbstractEntity {
...
@@ -52,6 +52,22 @@ public class ComponentSupply extends FlowBillAbstractEntity {
private
String
suppliersName
;
private
String
suppliersName
;
/*
* 工厂名称
*/
@Column
(
name
=
"werks_name"
)
private
String
werksName
;
/*
* 工厂
*/
@Column
(
name
=
"werks"
)
private
String
werks
;
@Column
(
name
=
"need_date"
)
private
Date
needDate
;
@Column
(
name
=
"attbiz_id"
)
@Column
(
name
=
"attbiz_id"
)
private
String
attbizId
;
private
String
attbizId
;
...
...
topsun/src/main/java/com/huigou/topsun/sap/componentSupply/domain/ComponentSupplyItem.java
View file @
5a85debe
...
@@ -54,6 +54,12 @@ public class ComponentSupplyItem extends AbstractEntity {
...
@@ -54,6 +54,12 @@ public class ComponentSupplyItem extends AbstractEntity {
@Column
(
name
=
"quantity"
)
@Column
(
name
=
"quantity"
)
private
BigDecimal
quantity
;
private
BigDecimal
quantity
;
/**
* 提货方式
*/
@Column
(
name
=
"delivery_method"
)
private
String
deliveryMethod
;
/**
/**
* 备注
* 备注
...
...
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