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
be57c773
Commit
be57c773
authored
Dec 19, 2024
by
1650842865
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购信息记录在未保存前,双击查看报错的问题
parent
1238b2bd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
12 deletions
+10
-12
purchaseInfoRecordDetail.js
...topsun/sap/purchaseInfoRecord/purchaseInfoRecordDetail.js
+6
-6
suppliersDataDetail.js
...in/webapp/biz/topsun/sap/suppliers/suppliersDataDetail.js
+1
-1
SapPurchaseInfoRecordController.java
...nfoRecord/controller/SapPurchaseInfoRecordController.java
+2
-1
SapPaymentApplicationImpl.java
...plication/application/impl/SapPaymentApplicationImpl.java
+1
-4
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/purchaseInfoRecord/purchaseInfoRecordDetail.js
View file @
be57c773
...
@@ -34,12 +34,12 @@ function initItemGrid() {
...
@@ -34,12 +34,12 @@ function initItemGrid() {
},
},
deleteHandler
:
function
(){
deleteHandler
:
function
(){
// debugger
// debugger
var
row
=
DataUtil
.
getSelectedRow
(
itemGridManager
);
//
var row = DataUtil.getSelectedRow(itemGridManager);
for
(
var
r
=
0
;
r
<
row
.
length
;
r
++
)
{
//
for (var r=0;r<row.length;r++) {
if
(
itemGridManager
.
rows
[
u
].
id
==
"undefined"
)
{
//
if (itemGridManager.rows[u].id=="undefined") {
itemGridManager
.
deleteRow
(
itemGridManager
.
rows
[
u
]);
//
itemGridManager.deleteRow(itemGridManager.rows[u]);
}
//
}
}
//
}
var
_grid
=
UICtrl
.
getGridManager
(
'#maingrid'
);
var
_grid
=
UICtrl
.
getGridManager
(
'#maingrid'
);
DataUtil
.
delSelectedRows
({
DataUtil
.
delSelectedRows
({
action
:
'sapPurchaseInfoRecordItem/deleteSapPurchaseInfoRecordItem.ajax'
,
action
:
'sapPurchaseInfoRecordItem/deleteSapPurchaseInfoRecordItem.ajax'
,
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/suppliers/suppliersDataDetail.js
View file @
be57c773
...
@@ -291,7 +291,7 @@ function loadSuppliersPayListGrid() {
...
@@ -291,7 +291,7 @@ function loadSuppliersPayListGrid() {
}
}
},
},
{
{
display
:
"统驭科目"
,
name
:
"akontTextView"
,
width
:
14
0
,
minWidth
:
60
,
type
:
"String"
,
align
:
"left"
,
display
:
"统驭科目"
,
name
:
"akontTextView"
,
width
:
25
0
,
minWidth
:
60
,
type
:
"String"
,
align
:
"left"
,
editor
:
{
editor
:
{
type
:
'dictionary'
,
type
:
'dictionary'
,
data
:
{
name
:
'akont'
},
data
:
{
name
:
'akont'
},
...
...
topsun/src/main/java/com/huigou/topsun/sap/purchaseInfoRecord/controller/SapPurchaseInfoRecordController.java
View file @
be57c773
...
@@ -13,6 +13,7 @@ import com.huigou.uasp.annotation.ControllerMapping;
...
@@ -13,6 +13,7 @@ import com.huigou.uasp.annotation.ControllerMapping;
import
com.huigou.uasp.bmp.common.BizBillStatus
;
import
com.huigou.uasp.bmp.common.BizBillStatus
;
import
com.huigou.uasp.bmp.fn.CodeGenerator
;
import
com.huigou.uasp.bmp.fn.CodeGenerator
;
import
com.huigou.uasp.client.CommonController
;
import
com.huigou.uasp.client.CommonController
;
import
com.huigou.util.JSONUtil
;
import
com.huigou.util.SDO
;
import
com.huigou.util.SDO
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
...
@@ -73,7 +74,7 @@ public class SapPurchaseInfoRecordController extends CommonController {
...
@@ -73,7 +74,7 @@ public class SapPurchaseInfoRecordController extends CommonController {
String
id
=
sdo
.
getId
();
String
id
=
sdo
.
getId
();
//String edit=sdo.getString("edit");
//String edit=sdo.getString("edit");
String
rowId
=
sdo
.
getString
(
"rowId"
);
String
rowId
=
sdo
.
getString
(
"rowId"
);
SapPurchaseInfoRecordItem
item
=
(
SapPurchaseInfoRecordItem
)
com
.
alibaba
.
fastjson
.
JSONObject
.
parseObject
(
sdo
.
getString
(
"param"
),
SapPurchaseInfoRecordItem
.
class
);
SapPurchaseInfoRecordItem
item
=
JSONUtil
.
toBean
(
sdo
.
getString
(
"param"
),
SapPurchaseInfoRecordItem
.
class
);
if
(
item
!=
null
){
if
(
item
!=
null
){
item
.
setRowId
(
rowId
);
item
.
setRowId
(
rowId
);
if
(
id
.
equals
(
rowId
)){
if
(
id
.
equals
(
rowId
)){
...
...
topsun/src/main/java/com/huigou/topsun/sap/sapApplication/application/impl/SapPaymentApplicationImpl.java
View file @
be57c773
...
@@ -169,11 +169,8 @@ public class SapPaymentApplicationImpl implements SapPaymentApplication {
...
@@ -169,11 +169,8 @@ public class SapPaymentApplicationImpl implements SapPaymentApplication {
mapList
=
objectMapper
.
readValue
(
com
.
huigou
.
util
.
JSONUtil
.
toString
(
map
.
get
(
"RDATA"
)),
new
TypeReference
<
List
<
Map
<
String
,
String
>>>()
{});
mapList
=
objectMapper
.
readValue
(
com
.
huigou
.
util
.
JSONUtil
.
toString
(
map
.
get
(
"RDATA"
)),
new
TypeReference
<
List
<
Map
<
String
,
String
>>>()
{});
}
}
// else {
// throw new RuntimeException("查询供应商采购订单信息失败:" + sapResult.getMESSAGE());
// }
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
throw
new
RuntimeException
(
"查询供应商采购
订单信息
出错”。"
);
throw
new
RuntimeException
(
"查询供应商采购
发票号
出错”。"
);
}
}
return
mapList
;
return
mapList
;
}
}
...
...
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