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
686ae70d
Commit
686ae70d
authored
Apr 08, 2025
by
1650842865
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料主数据控制1010工厂下,不维护仓库视图;放行条增加选择采购订单;
外发单打印图片显示物料号;采购信息记录增加附件上传功能
parent
8a306b82
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
50 additions
and
12 deletions
+50
-12
materialApplyNext.js
...n/webapp/biz/topsun/sap/nonProdApply/materialApplyNext.js
+13
-1
nonProdApplyNext.js
...in/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.js
+5
-1
sapPermitDetail.js
.../src/main/webapp/biz/topsun/sap/permit/sapPermitDetail.js
+1
-1
purchaseInfoRecordDetail.js
...topsun/sap/purchaseInfoRecord/purchaseInfoRecordDetail.js
+2
-0
purchaseInfoRecordDetail.jsp
...opsun/sap/purchaseInfoRecord/purchaseInfoRecordDetail.jsp
+3
-0
processOuter.ftl
...xt/src/main/webapp/template/print/topsun/processOuter.ftl
+5
-2
processOuter2.ftl
...t/src/main/webapp/template/print/topsun/processOuter2.ftl
+5
-2
EpProductInfoVo.java
.../huigou/topsun/ep/epApplication/EpVo/EpProductInfoVo.java
+4
-0
EpApplicationImpl.java
...uigou/topsun/ep/epApplication/impl/EpApplicationImpl.java
+1
-0
SapDictionaryApplicationImpl.java
...cation/application/impl/SapDictionaryApplicationImpl.java
+11
-5
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/materialApplyNext.js
View file @
686ae70d
...
@@ -145,7 +145,11 @@ function initializate() {
...
@@ -145,7 +145,11 @@ function initializate() {
$
(
"#busiLens"
).
val
(
dictUsage
.
length
);
$
(
"#busiLens"
).
val
(
dictUsage
.
length
);
coRowNum
=
dictUsage
.
length
;
coRowNum
=
dictUsage
.
length
;
for
(
var
x
=
0
;
x
<
$
(
"input[name='businessUsage']"
).
length
;
x
++
)
{
for
(
var
x
=
0
;
x
<
$
(
"input[name='businessUsage']"
).
length
;
x
++
)
{
$
(
"input[name='businessUsage']"
)[
x
].
checked
=
true
;
if
(
"1010"
==
$
(
"#werks"
).
val
()
&&
x
==
5
){
$
(
"input[name='businessUsage']"
)[
x
].
checked
=
false
;
}
else
{
$
(
"input[name='businessUsage']"
)[
x
].
checked
=
true
;
}
}
}
showAllBusiness
();
showAllBusiness
();
}
else
{
}
else
{
...
@@ -392,6 +396,14 @@ function bindEvent() {
...
@@ -392,6 +396,14 @@ function bindEvent() {
$
(
"#lgnum"
).
val
(
"W00"
);
$
(
"#lgnum"
).
val
(
"W00"
);
$
(
"#lgnumName"
).
val
(
"广州宝绅印刷工厂仓库"
);
$
(
"#lgnumName"
).
val
(
"广州宝绅印刷工厂仓库"
);
}
}
if
(
data
.
WERKS
==
"1010"
&&
$
(
"input[name='businessUsage']"
)[
5
].
checked
){
Public
.
tip
(
"广州市宝绅科技有限公司RFID工厂不维护仓库管理视图"
);
$
(
"#businessUsageS"
).
prop
(
"checked"
,
false
);
//return false;
}
else
{
$
(
"#businessUsageS"
).
prop
(
"checked"
,
true
);
}
//选择了工厂和库存地点后,带出存储条件
//选择了工厂和库存地点后,带出存储条件
bindEvent_raube
(
data
.
WERKS
,
$
(
'#lgort'
).
val
());
bindEvent_raube
(
data
.
WERKS
,
$
(
'#lgort'
).
val
());
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.js
View file @
686ae70d
...
@@ -124,7 +124,11 @@ function initializate() {
...
@@ -124,7 +124,11 @@ function initializate() {
$
(
"#busiLens"
).
val
(
dictUsage
.
length
);
$
(
"#busiLens"
).
val
(
dictUsage
.
length
);
coRowNum
=
dictUsage
.
length
;
coRowNum
=
dictUsage
.
length
;
for
(
var
x
=
0
;
x
<
$
(
"input[name='businessUsage']"
).
length
;
x
++
)
{
for
(
var
x
=
0
;
x
<
$
(
"input[name='businessUsage']"
).
length
;
x
++
)
{
$
(
"input[name='businessUsage']"
)[
x
].
checked
=
true
;
if
(
"1010"
==
$
(
"#werks"
).
val
()
&&
x
==
5
){
$
(
"input[name='businessUsage']"
)[
x
].
checked
=
false
;
}
else
{
$
(
"input[name='businessUsage']"
)[
x
].
checked
=
true
;
}
}
}
showAllBusiness
();
showAllBusiness
();
}
else
{
}
else
{
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/permit/sapPermitDetail.js
View file @
686ae70d
...
@@ -78,7 +78,7 @@ function loadGrid() {
...
@@ -78,7 +78,7 @@ function loadGrid() {
TXZ01
:
"belongings"
,
TXZ01
:
"belongings"
,
ZNAME
:
"lifnrName"
,
ZNAME
:
"lifnrName"
,
MEINS
:
"unit"
,
MEINS
:
"unit"
,
M
EINS
:
"unitName"
M
SEHL
:
"unitName"
}
}
}
}
}
}
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/purchaseInfoRecord/purchaseInfoRecordDetail.js
View file @
686ae70d
...
@@ -6,6 +6,7 @@ $(document).ready(function () {
...
@@ -6,6 +6,7 @@ $(document).ready(function () {
});
});
function
initialize
()
{
function
initialize
()
{
UICtrl
.
layout
(
"#layout"
,
{
leftWidth
:
3
});
UICtrl
.
layout
(
"#layout"
,
{
leftWidth
:
3
});
$
(
'#fileList'
).
fileList
({
bizId
:
$
(
"#id"
).
val
()});
}
}
function
bindEvent
()
{
function
bindEvent
()
{
...
@@ -529,6 +530,7 @@ function setId(value) {
...
@@ -529,6 +530,7 @@ function setId(value) {
$
(
"#id"
).
val
(
value
);
$
(
"#id"
).
val
(
value
);
var
_grid
=
UICtrl
.
getGridManager
(
'#maingrid'
);
var
_grid
=
UICtrl
.
getGridManager
(
'#maingrid'
);
_grid
.
options
.
parms
.
sapPurchaseInfoRecordId
=
value
;
_grid
.
options
.
parms
.
sapPurchaseInfoRecordId
=
value
;
$
(
'#fileList'
).
fileList
({
bizId
:
value
});
}
}
function
reloadGrid
()
{
function
reloadGrid
()
{
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/purchaseInfoRecord/purchaseInfoRecordDetail.jsp
View file @
686ae70d
...
@@ -32,6 +32,9 @@
...
@@ -32,6 +32,9 @@
</div>
</div>
</div>
</div>
<div
id=
"maingrid"
></div>
<div
id=
"maingrid"
></div>
<div
style=
"padding-top: 15px;"
>
<x:fileList
bizCode=
"purchaseInfoRecord"
bizId=
"id"
id=
"fileList"
title=
"相关资料"
/>
</div>
</form>
</form>
</div>
</div>
</body>
</body>
\ No newline at end of file
topsun-xt/src/main/webapp/template/print/topsun/processOuter.ftl
View file @
686ae70d
...
@@ -178,16 +178,19 @@
...
@@ -178,16 +178,19 @@
<
#
if
productInfoVoList
??
&&
productInfoVoList
?
size
gt
0
>
<
#
if
productInfoVoList
??
&&
productInfoVoList
?
size
gt
0
>
<table
cellspacing=
"0px"
cellpadding=
"0px"
class=
"tableBorder"
>
<table
cellspacing=
"0px"
cellpadding=
"0px"
class=
"tableBorder"
>
<colgroup>
<colgroup>
<col
width=
'50%'
/>
<col
width=
'8%'
/>
<col
width=
'50%'
/>
<col
width=
'46%'
/>
<col
width=
'46%'
/>
</colgroup>
</colgroup>
<tr>
<tr>
<td
class=
"left"
>
产品编码
</td>
<td
class=
"left"
>
产品正面图片:
</td>
<td
class=
"left"
>
产品正面图片:
</td>
<td
class=
"left"
>
产品背面图片:
</td>
<td
class=
"left"
>
产品背面图片:
</td>
</tr>
</tr>
<
#
list
productInfoVoList
as
detail
>
<
#
list
productInfoVoList
as
detail
>
<tr>
<tr>
<td
class=
"center"
>
${detail.matnr?default("")?html}
</td>
<td
class=
"center"
>
<td
class=
"center"
>
<img
src=
'${detail.frontImg?default("")?html}'
width=
"230px"
/>
<img
src=
'${detail.frontImg?default("")?html}'
width=
"230px"
/>
</td>
</td>
...
...
topsun-xt/src/main/webapp/template/print/topsun/processOuter2.ftl
View file @
686ae70d
...
@@ -175,16 +175,19 @@
...
@@ -175,16 +175,19 @@
<
#
if
productInfoVoList
??
&&
productInfoVoList
?
size
gt
0
>
<
#
if
productInfoVoList
??
&&
productInfoVoList
?
size
gt
0
>
<table
cellspacing=
"0px"
cellpadding=
"0px"
class=
"tableBorder"
>
<table
cellspacing=
"0px"
cellpadding=
"0px"
class=
"tableBorder"
>
<colgroup>
<colgroup>
<col
width=
'50%'
/>
<col
width=
'8%'
/>
<col
width=
'50%'
/>
<col
width=
'46%'
/>
<col
width=
'46%'
/>
</colgroup>
</colgroup>
<tr>
<tr>
<td
class=
"left"
>
产品编码
</td>
<td
class=
"left"
>
产品正面图片:
</td>
<td
class=
"left"
>
产品正面图片:
</td>
<td
class=
"left"
>
产品背面图片:
</td>
<td
class=
"left"
>
产品背面图片:
</td>
</tr>
</tr>
<
#
list
productInfoVoList
as
detail
>
<
#
list
productInfoVoList
as
detail
>
<tr>
<tr>
<td
class=
"center"
>
${detail.matnr?default("")?html}
</td>
<td
class=
"center"
>
<td
class=
"center"
>
<img
src=
'${detail.frontImg?default("")?html}'
width=
"230px"
/>
<img
src=
'${detail.frontImg?default("")?html}'
width=
"230px"
/>
</td>
</td>
...
...
topsun/src/main/java/com/huigou/topsun/ep/epApplication/EpVo/EpProductInfoVo.java
View file @
686ae70d
...
@@ -12,6 +12,10 @@ import java.math.BigDecimal;
...
@@ -12,6 +12,10 @@ import java.math.BigDecimal;
*/
*/
@Data
@Data
public
class
EpProductInfoVo
implements
Serializable
{
public
class
EpProductInfoVo
implements
Serializable
{
/**
* 产品编号
*/
private
String
matnr
;
/**
/**
* 印张规格
* 印张规格
*/
*/
...
...
topsun/src/main/java/com/huigou/topsun/ep/epApplication/impl/EpApplicationImpl.java
View file @
686ae70d
...
@@ -109,6 +109,7 @@ public class EpApplicationImpl implements EpApplication {
...
@@ -109,6 +109,7 @@ public class EpApplicationImpl implements EpApplication {
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
new
RuntimeException
(
"查询生产版本正反面图片出错:"
+
message
);
throw
new
RuntimeException
(
"查询生产版本正反面图片出错:"
+
message
);
}
}
epProductInfoVo
.
setMatnr
(
matnr2
.
replaceFirst
(
"^0*"
,
""
));
return
epProductInfoVo
;
return
epProductInfoVo
;
}
}
...
...
topsun/src/main/java/com/huigou/topsun/sap/sapApplication/application/impl/SapDictionaryApplicationImpl.java
View file @
686ae70d
...
@@ -127,12 +127,18 @@ public class SapDictionaryApplicationImpl implements SapDictionaryApplication {
...
@@ -127,12 +127,18 @@ public class SapDictionaryApplicationImpl implements SapDictionaryApplication {
if
(
length
>=
1
){
if
(
length
>=
1
){
widths
[
u
]=
"100"
;
widths
[
u
]=
"100"
;
}
}
if
(
length
>=
20
)
{
if
(
length
>=
10
){
widths
[
u
]=
"200"
;
widths
[
u
]=
String
.
valueOf
(
length
*
10
);
}
if
(
length
>=
30
)
{
widths
[
u
]=
"250"
;
}
}
// if (length >= 15){
// widths[u]="150";
// }
// if (length >= 20 ) {
// widths[u]="200";
// }
// if (length >= 30 ) {
// widths[u]="250";
// }
u
++;
u
++;
}
}
return
widths
;
return
widths
;
...
...
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