Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pda-scan
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
ximai
mes-pda-scan
Commits
e778e5a4
Commit
e778e5a4
authored
Jan 09, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口对接
parent
99cc9a96
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
Main.vue
pages/dhd/Main.vue
+2
-2
lhmx.vue
pages/saleck/components/lhmx.vue
+7
-7
No files found.
pages/dhd/Main.vue
View file @
e778e5a4
...
...
@@ -115,7 +115,7 @@ import BottomBtn from "@/components/BottomBtn/index.vue";
"purchaseSerial"
:
arr
[
3
],
"purchaseType"
:
arr
[
1
]
})
if
(
!
data
.
success
)
return
//
if (!data.success) return
const
index
=
this
.
goodsList
.
findIndex
(
v
=>
v
.
joinlabel
===
arr
.
slice
(
0
,
5
).
join
(
'-'
))
if
(
index
>
-
1
)
{
this
.
goodsList
[
index
][
'arrivalQuantity'
]
=
Number
(
this
.
goodsList
[
index
][
'arrivalQuantity'
])
+
Number
(
arr
[
5
])
...
...
@@ -150,7 +150,7 @@ import BottomBtn from "@/components/BottomBtn/index.vue";
if
(
!
this
.
goodsList
.
length
)
return
;
if
(
!
this
.
daohuoForm
.
warehouse
)
return
this
.
$u
.
toast
(
i18n
.
t
(
'请选择到货仓'
));
this
.
loading
=
true
;
this
.
$u
.
api
.
confirm
Stock
({
this
.
$u
.
api
.
confirm
Arrival
({
warehouse
:
this
.
daohuoForm
.
warehouse
,
details
:
this
.
goodsList
.
map
(
v
=>
({
arrivalQuantity
:
v
.
arrivalQuantity
,
materialNo
:
v
.
materialNo
,
purchaseNo
:
v
.
purchaseNo
,
purchaseSerial
:
v
.
purchaseSerial
,
purchaseType
:
v
.
purchaseType
,
supplierNo
:
v
.
supplierNo
}))
})
...
...
pages/saleck/components/lhmx.vue
View file @
e778e5a4
<
template
>
<view>
<view
class=
"page"
>
<view
class=
"listItemTitle"
>
<view
@
click=
"handleDetail(null)"
>
<view
class=
"item"
>
{{
$t
(
'交货单:{0
}
'
,
[
applyNo
])
}}
<
/view
>
...
...
@@ -35,10 +35,6 @@
<
/view
>
<
/view
>
<
u
-
modal
:
show
=
"show"
title
=
""
>
<
uni
-
easyinput
v
-
model
=
"wxparams"
:
placeholder
=
"$t('请扫描盘点条码')"
>
<
/uni-easyinput
>
<
/u-modal
>
<
BottomBtn
:
btnArr
=
"btnArr"
@
getBtnHandle
=
"getBtnHandle"
><
/BottomBtn
>
<
/view
>
<
/template
>
...
...
@@ -199,8 +195,8 @@ export default {
<
/script
>
<
style
lang
=
"scss"
scoped
>
page
{
background
:
#
f
8f8f8
;
.
page
{
background
:
#
f
ff
;
}
.
headerTitle
{
padding
:
20
rpx
;
...
...
@@ -263,6 +259,8 @@ page {
}
.
listBottom
{
background
:
#
f3f3f5
;
height
:
calc
(
100
vh
-
290
rpx
);
overflow
:
auto
;
.
bottomTitle
{
height
:
80
rpx
;
position
:
relative
;
...
...
@@ -283,6 +281,8 @@ page {
}
.
bottomBox
{
padding
:
20
rpx
;
min
-
height
:
calc
(
100
%
-
520
rpx
);
overflow
:
auto
;
.
bottomItem
{
background
:
#
fff
;
border
:
1
px
solid
#
d4d7dc
;
...
...
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