Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
mes
mes-ui
Commits
483560cb
Commit
483560cb
authored
Jan 26, 2024
by
全洪江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建sap数据时增加状态
parent
35f56c97
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
141 additions
and
125 deletions
+141
-125
Project_Default.xml
.idea/inspectionProfiles/Project_Default.xml
+1
-0
sapdata.js
src/api/mes/md/sapdata.js
+2
-2
index.vue
src/components/SapPropertyData/index.vue
+1
-1
index.vue
src/views/mes/md/sapdata/index.vue
+137
-122
No files found.
.idea/inspectionProfiles/Project_Default.xml
View file @
483560cb
...
@@ -2,5 +2,6 @@
...
@@ -2,5 +2,6 @@
<profile
version=
"1.0"
>
<profile
version=
"1.0"
>
<option
name=
"myName"
value=
"Project Default"
/>
<option
name=
"myName"
value=
"Project Default"
/>
<inspection_tool
class=
"Eslint"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"Eslint"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSEqualityComparisonWithCoercion"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
</profile>
</profile>
</component>
</component>
\ No newline at end of file
src/api/mes/md/sapdata.js
View file @
483560cb
...
@@ -44,9 +44,9 @@ export function delSapdata(id) {
...
@@ -44,9 +44,9 @@ export function delSapdata(id) {
}
}
//上传给sap
//上传给sap
export
function
uploadSapdata
(
id
)
{
export
function
uploadSapdata
(
id
,
relationId
)
{
return
request
({
return
request
({
url
:
'/md/sapPropertyData/uploadSapdata/'
+
id
,
url
:
'/md/sapPropertyData/uploadSapdata/'
+
id
+
'/'
+
relationId
,
method
:
'get'
method
:
'get'
})
})
}
}
src/components/SapPropertyData/index.vue
View file @
483560cb
...
@@ -71,7 +71,7 @@ export default {
...
@@ -71,7 +71,7 @@ export default {
if
(
!
Object
.
keys
(
this
.
sapData
).
length
)
return
if
(
!
Object
.
keys
(
this
.
sapData
).
length
)
return
console
.
log
(
this
.
sapData
)
console
.
log
(
this
.
sapData
)
if
(
this
.
loading
)
return
if
(
this
.
loading
)
return
if
(
!
this
.
form
.
type
||
!
this
.
form
.
relationId
)
return
this
.
$message
.
error
(
"对象
为
创建"
)
if
(
!
this
.
form
.
type
||
!
this
.
form
.
relationId
)
return
this
.
$message
.
error
(
"对象
未
创建"
)
this
.
$refs
.
form
.
validate
(
valid
=>
{
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
loading
=
true
this
.
loading
=
true
...
...
src/views/mes/md/sapdata/index.vue
View file @
483560cb
This diff is collapsed.
Click to expand it.
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