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
23a3665a
Commit
23a3665a
authored
May 18, 2024
by
刘学辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
放行条调整和流程配置
parent
3465a1d4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
12 deletions
+31
-12
common.js
huigou-xt/src/main/webapp/javaScript/common.js
+1
-1
ApprovalHandlerDetailConfig.js
...em/configtool/approvalRule/ApprovalHandlerDetailConfig.js
+1
-1
sapPermitDetail.js
.../src/main/webapp/biz/topsun/sap/permit/sapPermitDetail.js
+22
-7
suppliersDataDetail.js
...in/webapp/biz/topsun/sap/suppliers/suppliersDataDetail.js
+1
-1
fxt.ftl
topsun-xt/src/main/webapp/template/fxt.ftl
+1
-1
SapPermitItem.java
...va/com/huigou/topsun/sap/permit/domain/SapPermitItem.java
+5
-1
No files found.
huigou-xt/src/main/webapp/javaScript/common.js
View file @
23a3665a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
Public
.
isReadOnly
=
false
;
//判断当前页面是否只读(查看模式)
Public
.
isReadOnly
=
false
;
//判断当前页面是否只读(查看模式)
Public
.
manageTypeParmName
=
'sys_Manage_Type'
;
//系统业务管理权限参数名称
Public
.
manageTypeParmName
=
'sys_Manage_Type'
;
//系统业务管理权限参数名称
/**只读方法匹配正则表达式**/
/**只读方法匹配正则表达式**/
Public
.
readOnlyAttributes
=
[
'save*'
,
'update*'
,
'delete*'
,
'add*'
,
'insert*'
,
'edit*'
,
'remove*'
,
'batchUpdate*'
];
Public
.
readOnlyAttributes
=
[
'save*'
,
'update*'
,
'delete*'
,
'add*'
,
'insert*'
,
'edit*'
,
'remove*'
,
'batchUpdate*'
,
'copy*'
];
//页面初始化方法
//页面初始化方法
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
//从参数中读取只读参数
//从参数中读取只读参数
...
...
huigou-xt/src/main/webapp/system/configtool/approvalRule/ApprovalHandlerDetailConfig.js
View file @
23a3665a
...
@@ -202,7 +202,7 @@ function initAddUIElementPermissionHandler() {
...
@@ -202,7 +202,7 @@ function initAddUIElementPermissionHandler() {
type
:
'opm'
,
type
:
'opm'
,
name
:
'uiElement'
,
name
:
'uiElement'
,
dataIndex
:
'id'
,
dataIndex
:
'id'
,
width
:
40
0
,
width
:
65
0
,
lock
:
false
,
lock
:
false
,
checkbox
:
true
,
checkbox
:
true
,
onChoose
:
function
()
{
onChoose
:
function
()
{
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/permit/sapPermitDetail.js
View file @
23a3665a
...
@@ -6,7 +6,7 @@ $(document).ready(function () {
...
@@ -6,7 +6,7 @@ $(document).ready(function () {
bindEvent
();
bindEvent
();
});
});
function
initialize
(){
function
initialize
(){
//if (typeof(getSubProcUnitId) =='function'&&"10" === getSubProcUnitId()) {
UICtrl
.
layout
(
"#layout"
,
{
leftWidth
:
3
});
UICtrl
.
layout
(
"#layout"
,
{
leftWidth
:
3
});
}
}
...
@@ -61,7 +61,7 @@ function bindEvent(){
...
@@ -61,7 +61,7 @@ function bindEvent(){
function
loadGrid
()
{
function
loadGrid
()
{
var
toolbarOptions
=
null
;
var
toolbarOptions
=
null
;
if
(
$
(
"#statusId"
).
val
()
==
0
){
//
if ($("#statusId").val()==0){
toolbarOptions
=
UICtrl
.
getDefaultToolbarOptions
({
toolbarOptions
=
UICtrl
.
getDefaultToolbarOptions
({
addHandler
:
function
()
{
addHandler
:
function
()
{
UICtrl
.
addGridRow
(
gridManager
);
UICtrl
.
addGridRow
(
gridManager
);
...
@@ -82,7 +82,7 @@ function loadGrid() {
...
@@ -82,7 +82,7 @@ function loadGrid() {
// impExcelDataHandler:{id:'impExcelData',img:'fa-table',text:'导入数据',click:impExcelDataHandler},
// impExcelDataHandler:{id:'impExcelData',img:'fa-table',text:'导入数据',click:impExcelDataHandler},
});
});
}
//
}
gridManager
=
UICtrl
.
grid
(
"#maingrid"
,
{
gridManager
=
UICtrl
.
grid
(
"#maingrid"
,
{
columns
:
[
columns
:
[
{
display
:
"携出物品名称"
,
name
:
"belongings"
,
width
:
380
,
minWidth
:
200
,
type
:
"string"
,
align
:
"left"
,
{
display
:
"携出物品名称"
,
name
:
"belongings"
,
width
:
380
,
minWidth
:
200
,
type
:
"string"
,
align
:
"left"
,
...
@@ -90,10 +90,11 @@ function loadGrid() {
...
@@ -90,10 +90,11 @@ function loadGrid() {
},
},
{
display
:
"数量"
,
name
:
"quantity"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
{
display
:
"数量"
,
name
:
"quantity"
,
width
:
140
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
"text"
,
mask
:
'nnnn'
,
required
:
true
}
editor
:
{
type
:
"text"
,
mask
:
'nnnn
nn.nn
'
,
required
:
true
}
},
},
{
display
:
"单位"
,
name
:
"unitTextView"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
{
display
:
"unit"
,
name
:
"unit"
,
width
:
"140"
,
align
:
"left"
,
type
:
"string"
,
hide
:
true
},
editor
:
{
{
display
:
"单位"
,
name
:
"unitName"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
/*editor: {
type: 'dictionary',
type: 'dictionary',
data: {name: 'sapPermitUnit'},
data: {name: 'sapPermitUnit'},
textField: 'unitTextView',
textField: 'unitTextView',
...
@@ -102,6 +103,20 @@ function loadGrid() {
...
@@ -102,6 +103,20 @@ function loadGrid() {
render: function (item) {
render: function (item) {
return item.unitTextView;
return item.unitTextView;
},required: true
},required: true
}*/
editor
:
{
required
:
true
,
type
:
"select"
,
data
:
{
type
:
'system'
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
fieldName
:
"MEINS"
}
},
back
:
{
MSEHI
:
"unit"
,
MSEHL
:
"unitName"
,
}
}
}
}
},
},
{
{
...
@@ -193,7 +208,7 @@ function copyHandler() {
...
@@ -193,7 +208,7 @@ function copyHandler() {
var
row
=
rows
[
i
];
var
row
=
rows
[
i
];
gridManager
.
addRows
({
gridManager
.
addRows
({
belongings
:
row
.
belongings
,
belongings
:
row
.
belongings
,
unit
TextView
:
row
.
unitTextView
,
unit
Name
:
row
.
unitName
,
unit
:
row
.
unit
,
unit
:
row
.
unit
,
quantity
:
row
.
quantity
,
quantity
:
row
.
quantity
,
remark
:
row
.
remark
remark
:
row
.
remark
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/suppliers/suppliersDataDetail.js
View file @
23a3665a
...
@@ -24,7 +24,7 @@ function initialize(){
...
@@ -24,7 +24,7 @@ function initialize(){
UICtrl
.
setDisable
(
$
(
"#submitForm"
));
UICtrl
.
setDisable
(
$
(
"#submitForm"
));
canEdit
=
false
;
canEdit
=
false
;
}
}
}
}
/**
/**
* 流程引擎回调设置打样的id
* 流程引擎回调设置打样的id
...
...
topsun-xt/src/main/webapp/template/fxt.ftl
View file @
23a3665a
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
</td>
</td>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:30pt"
>
<td
style=
"border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; vertical-align:top; width:30pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;text-align: center;width:80pt"
>
<p
style=
"margin:5pt; orphans:0; widows:0;text-align: center;width:80pt"
>
<span
style=
"font-family:SimSun;"
>
${(list.unit)!''}
</span>
<span
style=
"font-family:SimSun;"
>
${(list.unit
Name
)!''}
</span>
</p>
</p>
</td>
</td>
...
...
topsun/src/main/java/com/huigou/topsun/sap/permit/domain/SapPermitItem.java
View file @
23a3665a
...
@@ -41,7 +41,11 @@ public class SapPermitItem extends AbstractEntity {
...
@@ -41,7 +41,11 @@ public class SapPermitItem extends AbstractEntity {
*/
*/
@Column
(
name
=
"unit"
)
@Column
(
name
=
"unit"
)
private
String
unit
;
private
String
unit
;
/**
* 单位名称
*/
@Column
(
name
=
"unit_name"
)
private
String
unitName
;
/**
/**
* 备注
* 备注
...
...
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