Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xgdlapp
Project
Project
Details
Activity
Releases
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
李苏
xgdlapp
Commits
273c48ff
Commit
273c48ff
authored
Mar 07, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提示调整
parent
6ff68cc5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
dlapi.js
api/dlapi.js
+2
-0
index.vue
pages/dl_outin/index.vue
+12
-0
No files found.
api/dlapi.js
View file @
273c48ff
...
...
@@ -16,10 +16,12 @@ function filterSpace(data){
}
function
filter
(
e
)
{
if
(
e
.
data
.
success
)
{
tip
.
tips
=
''
return
e
.
data
.
data
}
else
{
tip
.
toast
(
e
.
data
.
message
||
"操作失败"
)
tip
.
tips
=
e
.
data
.
message
||
"操作失败"
}
}
...
...
pages/dl_outin/index.vue
View file @
273c48ff
...
...
@@ -42,6 +42,10 @@
<br>
批号:
{{
apiShow
.
ph
}}
</view>
<view
v-show=
"tips"
style=
"color: red;width: 100%;height: 20px;line-height: 20px;text-align: center;margin-top: 10px;"
>
{{
tips
}}
</view>
</view>
<!-- 移入库位 -->
<!--
<view
class=
"padding-xs bg-white"
v-show=
"index!=null&&code!=''"
>
-->
...
...
@@ -55,9 +59,11 @@
<
script
>
import
{
apiGetjhList
,
apijhPptzdByKw
,
apiYckw
,
apiYrkw
}
from
'@/api/dlapi.js'
;
import
tip
from
'@/common/util/tip.js'
export
default
{
data
()
{
return
{
tips
:
''
,
index
:
null
,
app
:
this
,
current
:
0
,
...
...
@@ -158,8 +164,14 @@
}
else
{
this
.
code
=
''
this
.
apiCode
=
''
this
.
tips
=
tip
.
tips
setTimeout
(()
=>
{
this
.
tips
=
''
},
5000
)
}
}).
finally
(
res
=>
{
})
}).
catch
(
res
=>
{
...
...
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