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
b25b7223
Commit
b25b7223
authored
Mar 01, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
固定资产接口
parent
29ed012a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
69 additions
and
7 deletions
+69
-7
sapFixedAssetsDetail.js
...webapp/biz/topsun/sap/fixedAssets/sapFixedAssetsDetail.js
+33
-0
sapFixedAssetsDetail.jsp
...ebapp/biz/topsun/sap/fixedAssets/sapFixedAssetsDetail.jsp
+5
-5
SapFixedAssetsApplicationImpl.java
...ssets/application/impl/SapFixedAssetsApplicationImpl.java
+2
-1
SapFixedAssets.java
.../huigou/topsun/sap/fixedAssets/domain/SapFixedAssets.java
+14
-0
SapFixedAssetsReturnJson.json
...psun/sap/fixedAssets/domain/SapFixedAssetsReturnJson.json
+14
-0
SapFixedAssetsReturnVo.java
...sun/sap/fixedAssets/domain/vo/SapFixedAssetsReturnVo.java
+1
-1
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/fixedAssets/sapFixedAssetsDetail.js
View file @
b25b7223
...
@@ -16,6 +16,39 @@ function bindQueryEvent() {
...
@@ -16,6 +16,39 @@ function bindQueryEvent() {
$
(
'#kostl'
).
val
(
data
.
kostl
);
$
(
'#kostl'
).
val
(
data
.
kostl
);
}
}
});
});
$
(
'#kostlv'
).
searchbox
({
type
:
"costCenter"
,
name
:
"costCenterCode"
,
onChange
:
function
(
value
,
data
)
{
$
(
'#kostlv'
).
val
(
data
.
kostl
);
}
});
$
(
'#anlkl'
).
searchbox
({
type
:
"system"
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
paramValue
:
"ANLKL"
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#anlkl'
).
val
(
data
.
ANLKL
);
}
});
$
(
'#bukrs'
).
searchbox
({
type
:
"system"
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
paramValue
:
"BUKRS"
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#bukrs'
).
val
(
data
.
BUKRS
);
}
});
$
(
'#meins'
).
searchbox
({
type
:
"system"
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
paramValue
:
"MEINS"
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#meins'
).
val
(
data
.
MSEHI
);
}
});
}
}
function
getFixedAssetsDetail
(
fixedAssetsAction
)
{
function
getFixedAssetsDetail
(
fixedAssetsAction
)
{
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/fixedAssets/sapFixedAssetsDetail.jsp
View file @
b25b7223
...
@@ -32,15 +32,15 @@
...
@@ -32,15 +32,15 @@
<x:hidden
name=
"personMemberName"
/>
<x:hidden
name=
"personMemberName"
/>
<x:hidden
name=
"statusId"
/>
<x:hidden
name=
"statusId"
/>
<div
class=
"hg-form-row"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"anln1"
required=
"true"
label=
"主资产号"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"anln1"
required=
"
false"
readonly=
"
true"
label=
"主资产号"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"anlkl"
required=
"true"
label=
"资产分类"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"anlkl"
required=
"true"
label=
"资产分类"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
wrapper=
"select"
/>
<x:inputC
name=
"bukrs"
required=
"true"
label=
"公司代码"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"bukrs"
required=
"true"
label=
"公司代码"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
wrapper=
"select"
/>
<x:inputC
name=
"txt50"
required=
"true"
label=
"文本"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"txt50"
required=
"true"
label=
"文本"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"invnr"
required=
"false"
label=
"存货号"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"invnr"
required=
"false"
label=
"存货号"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"menge"
required=
"true"
label=
"数量"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"menge"
required=
"true"
label=
"数量"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"meins"
required=
"true"
label=
"基本计量单位"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"meins"
required=
"true"
label=
"基本计量单位"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
wrapper=
"select"
/>
<x:inputC
name=
"kostl"
required=
"true"
label=
"成本中心"
labelCol=
"2"
wrapper=
"select"
fieldCol=
"4"
/>
<x:inputC
name=
"kostl"
required=
"true"
label=
"成本中心"
labelCol=
"2"
wrapper=
"select"
fieldCol=
"4"
/>
<x:inputC
name=
"kostlv"
required=
"true"
label=
"责任成本中心"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"kostlv"
required=
"true"
label=
"责任成本中心"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
wrapper=
"select"
/>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
class=
"blank_div clearfix"
></div>
</form>
</form>
...
...
topsun/src/main/java/com/huigou/topsun/sap/fixedAssets/application/impl/SapFixedAssetsApplicationImpl.java
View file @
b25b7223
...
@@ -101,6 +101,7 @@ public class SapFixedAssetsApplicationImpl extends FlowBroker implements SapFixe
...
@@ -101,6 +101,7 @@ public class SapFixedAssetsApplicationImpl extends FlowBroker implements SapFixe
}
}
fixedAssets
.
setType
(
assets
.
getType
());
fixedAssets
.
setType
(
assets
.
getType
());
fixedAssets
.
setMessage
(
assets
.
getMessage
());
fixedAssets
.
setMessage
(
assets
.
getMessage
());
fixedAssets
.
setAnln1
(
assets
.
getMessageV1
());
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
new
RuntimeException
(
e
);
throw
new
RuntimeException
(
e
);
}
}
...
@@ -113,7 +114,7 @@ public class SapFixedAssetsApplicationImpl extends FlowBroker implements SapFixe
...
@@ -113,7 +114,7 @@ public class SapFixedAssetsApplicationImpl extends FlowBroker implements SapFixe
private
List
<
SapFixedAssetsReturnVo
>
getReturnVo
(
SapFixedAssets
fixedAssets
)
{
private
List
<
SapFixedAssetsReturnVo
>
getReturnVo
(
SapFixedAssets
fixedAssets
)
{
SapFixedAssetsReturnVo
sapFixedAssetsReturnVo
=
new
SapFixedAssetsReturnVo
();
SapFixedAssetsReturnVo
sapFixedAssetsReturnVo
=
new
SapFixedAssetsReturnVo
();
BeanUtils
.
copyProperties
(
fixedAssets
,
sapFixedAssetsReturnVo
);
BeanUtils
.
copyProperties
(
fixedAssets
,
sapFixedAssetsReturnVo
);
sapFixedAssetsReturnVo
.
setAnln1
(
"0"
);
List
<
SapFixedAssetsReturnVo
>
sapFixedAssetsReturnVos
=
new
ArrayList
<>();
List
<
SapFixedAssetsReturnVo
>
sapFixedAssetsReturnVos
=
new
ArrayList
<>();
sapFixedAssetsReturnVos
.
add
(
sapFixedAssetsReturnVo
);
sapFixedAssetsReturnVos
.
add
(
sapFixedAssetsReturnVo
);
return
sapFixedAssetsReturnVos
;
return
sapFixedAssetsReturnVos
;
...
...
topsun/src/main/java/com/huigou/topsun/sap/fixedAssets/domain/SapFixedAssets.java
View file @
b25b7223
...
@@ -100,6 +100,12 @@ public class SapFixedAssets extends FlowBillAbstractEntity {
...
@@ -100,6 +100,12 @@ public class SapFixedAssets extends FlowBillAbstractEntity {
@Column
(
name
=
"MESSAGE"
)
@Column
(
name
=
"MESSAGE"
)
private
String
message
;
private
String
message
;
/**
* 消息文本
*/
@Column
(
name
=
"MESSAGE_V1"
)
private
String
messageV1
;
@Override
@Override
protected
String
getCodeRuleId
()
{
protected
String
getCodeRuleId
()
{
return
"sapFixedAssets"
;
return
"sapFixedAssets"
;
...
@@ -225,4 +231,12 @@ public class SapFixedAssets extends FlowBillAbstractEntity {
...
@@ -225,4 +231,12 @@ public class SapFixedAssets extends FlowBillAbstractEntity {
public
void
setMessage
(
String
message
)
{
public
void
setMessage
(
String
message
)
{
this
.
message
=
message
;
this
.
message
=
message
;
}
}
public
String
getMessageV1
()
{
return
messageV1
;
}
public
void
setMessageV1
(
String
messageV1
)
{
this
.
messageV1
=
messageV1
;
}
}
}
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/sap/fixedAssets/domain/SapFixedAssetsReturnJson.json
View file @
b25b7223
...
@@ -10,4 +10,18 @@
...
@@ -10,4 +10,18 @@
"MEINS"
:
"1"
,
"MEINS"
:
"1"
,
"KOSTL"
:
"666666"
,
"KOSTL"
:
"666666"
,
"KOSTLV"
:
"1"
"KOSTLV"
:
"1"
},
{
"ZBPMN"
:
"ZC2024-00023"
,
"ZFLG"
:
1
,
"ANLN1"
:
"01"
,
"ANLKL"
:
"Z201"
,
"BUKRS"
:
"1000"
,
"TXT50"
:
"BSNG"
,
"INVNR"
:
""
,
"MENGE"
:
11.00
,
"MEINS"
:
"个"
,
"KOSTL"
:
"3000G69000"
,
"KOSTLV"
:
"3000G69000"
}
}
\ No newline at end of file
topsun/src/main/java/com/huigou/topsun/sap/fixedAssets/domain/vo/SapFixedAssetsReturnVo.java
View file @
b25b7223
...
@@ -92,7 +92,7 @@ public class SapFixedAssetsReturnVo implements Serializable {
...
@@ -92,7 +92,7 @@ public class SapFixedAssetsReturnVo implements Serializable {
this
.
zfibpmnr
=
zfibpmnr
;
this
.
zfibpmnr
=
zfibpmnr
;
}
}
public
Integer
getZflg
()
{
public
Integer
getZf
if
lg
()
{
return
zfiflg
;
return
zfiflg
;
}
}
...
...
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