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
cab7174f
Commit
cab7174f
authored
Mar 29, 2023
by
zhoumaotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
e13418ab
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
dlapi.js
api/dlapi.js
+1
-1
index.vue
pages/dl_tray_adjust/index.vue
+3
-3
index.vue
pages/dl_tray_clear/index.vue
+2
-2
No files found.
api/dlapi.js
View file @
cab7174f
...
@@ -50,7 +50,7 @@ export function getTryinfo(params) {
...
@@ -50,7 +50,7 @@ export function getTryinfo(params) {
}
}
/* 托盘调整 */
/* 托盘调整 */
export
function
adjustTry
(
params
)
{
export
function
adjustTry
(
params
)
{
return
http
.
post
(
'/xgwcs/tp/adjustTpByCode
'
,
filterSpace
(
params
)
||
{}).
then
(
e
=>
{
return
http
.
post
(
'/xgwcs/tp/adjustTpByCode'
,
filterSpace
(
params
)
||
{}).
then
(
e
=>
{
return
filter
(
e
)
return
filter
(
e
)
})
})
}
}
...
...
pages/dl_tray_adjust/index.vue
View file @
cab7174f
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
// api保存调整
// api保存调整
apiadjustTry
(){
apiadjustTry
(){
let
data
=
{
let
data
=
{
"code"
:
this
.
ys
tpcode
,
"code"
:
this
.
tpcode
,
"data"
:
this
.
wlinfor
"data"
:
this
.
wlinfor
}
}
adjustTry
(
data
).
then
(
e
=>
{
adjustTry
(
data
).
then
(
e
=>
{
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
if
(
this
.
ystpcode
)
{
if
(
this
.
ystpcode
)
{
uni
.
showModal
({
uni
.
showModal
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'是否
保存并调整
'
,
content
:
'是否
调整该托盘
'
,
cancelText
:
"否"
,
// 取消按钮的文字
cancelText
:
"否"
,
// 取消按钮的文字
confirmText
:
"是"
,
// 确认按钮的文字
confirmText
:
"是"
,
// 确认按钮的文字
success
:
function
(
res
)
{
success
:
function
(
res
)
{
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
}
}
getTryinfo
(
data
).
then
(
data
=>
{
getTryinfo
(
data
).
then
(
data
=>
{
if
(
data
&&
data
.
records
)
{
if
(
data
&&
data
.
records
)
{
this
.
ystpcode
=
data
.
tpcode
this
.
ystpcode
=
data
.
records
[
0
].
tpcode
||
''
this
.
wlinfor
=
data
.
records
this
.
wlinfor
=
data
.
records
}
else
{
}
else
{
this
.
tpcode
=
""
this
.
tpcode
=
""
...
...
pages/dl_tray_clear/index.vue
View file @
cab7174f
<
template
>
<
template
>
<view
class=
"bg-white"
>
<view
class=
"bg-white"
>
<cu-custom
bgColor=
"bg-gradual-blue"
:isBack=
"true"
><block
slot=
"content"
>
托盘调整
</block>
<cu-custom
bgColor=
"bg-gradual-blue"
:isBack=
"true"
><block
slot=
"content"
>
清空托盘
</block>
<block
slot=
"backText"
>
返回
</block></cu-custom>
<block
slot=
"backText"
>
返回
</block></cu-custom>
<view
class=
"cu-form-group"
>
<view
class=
"cu-form-group"
>
<view
class=
"title "
>
托盘号
</view>
<view
class=
"title "
>
托盘号
</view>
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
}
}
getTryinfo
(
data
).
then
(
data
=>
{
getTryinfo
(
data
).
then
(
data
=>
{
if
(
data
&&
data
.
records
)
{
if
(
data
&&
data
.
records
)
{
this
.
ystpcode
=
data
.
tpcode
this
.
ystpcode
=
data
.
records
[
0
].
tpcode
||
''
this
.
wlinfor
=
data
.
records
this
.
wlinfor
=
data
.
records
}
else
{
}
else
{
this
.
tpcode
=
""
this
.
tpcode
=
""
...
...
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