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
b780621d
Commit
b780621d
authored
Nov 06, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增换货
parent
dca143ff
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
555 additions
and
0 deletions
+555
-0
pages.json
pages.json
+14
-0
index.vue
pages/index/index.vue
+5
-0
exchangeGoods.vue
pages/salesOutbound/exchangeGoods.vue
+126
-0
exchangeGoodsList.vue
pages/salesOutbound/exchangeGoodsList.vue
+410
-0
No files found.
pages.json
View file @
b780621d
...
...
@@ -138,6 +138,20 @@
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/salesOutbound/exchangeGoods"
,
"style"
:
{
"navigationBarTitleText"
:
"销售出库"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/salesOutbound/exchangeGoodsList"
,
"style"
:
{
"navigationBarTitleText"
:
"销售出库"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/salesOutbound/salesOutbound"
,
"style"
:
{
...
...
pages/index/index.vue
View file @
b780621d
...
...
@@ -135,6 +135,11 @@
text
:
'成本中心发料'
,
url
:
'/pages/costCenter/costCenter'
},
{
src
:
require
(
'@/static/images/xsjh.png'
),
text
:
'换货'
,
url
:
'/pages/salesOutbound/exchangeGoods'
},
]
}]
};
...
...
pages/salesOutbound/exchangeGoods.vue
0 → 100644
View file @
b780621d
<
template
>
<view>
<StickyNavBar>
<NavBar
title=
"换货"
></NavBar>
<view
class=
"btn"
>
<uni-easyinput
prefixIcon=
"search"
:disabled=
"isDisabled"
v-model=
"wxparams"
:focus=
"isFocus"
placeholder=
"请扫描单号"
@
confirm=
"handleConfirm"
></uni-easyinput>
</view>
</StickyNavBar>
<view
class=
"cardBox"
>
<text
class=
"cardBoxTip"
>
步骤一 扫描单号
</text>
<u-image
class=
'cardBoxImg'
:src=
"bgSrc"
width=
"560rpx"
height=
"400rpx"
></u-image>
<view
class=
"cardBoxTip2"
>
摄像头对准
</view>
<view
class=
"cardBoxTip3"
>
换货单号二维码
</view>
<view
class=
"cardBoxTip2"
>
<text
class=
"tipLeft"
>
点击扫描或
</text>
<text
class=
"tipRight"
>
点选单号
</text>
</view>
</view>
<!--
<BottomBtn
:btnArr=
"btnArr"
@
getBtnHandle=
"getBtnHandle"
></BottomBtn>
-->
</view>
</
template
>
<
script
>
import
StickyNavBar
from
'@/components/StickyNavBar/index.vue'
;
import
ContentLoadingMore
from
'@/components/ContentLoadingMore/index.vue'
;
import
BottomBtn
from
'@/components/BottomBtn/index.vue'
;
export
default
{
components
:
{
StickyNavBar
,
ContentLoadingMore
,
BottomBtn
},
data
()
{
return
{
bgSrc
:
require
(
'@/static/images/qrcode.png'
),
wxparams
:
''
,
isFocus
:
false
,
isDisabled
:
false
};
},
created
()
{
},
methods
:
{
getBtnHandle
(
row
)
{
this
[
row
.
way
]();
},
handleConfirm
(
e
)
{
this
.
isFocus
=
false
;
e
&&
this
.
getPlnr
(
e
);
},
getPlnr
(
VBELN
)
{
this
.
$u
.
api
.
sapApi
.
sapSchDn
({
VBELN
})
.
then
((
res
)
=>
{
if
(
res
&&
res
.
BKDT
.
length
)
{
uni
.
navigateTo
({
url
:
`/pages/salesOutbound/exchangeGoodsList?order=
${
VBELN
}
`
});
}
else
{
// 删除本地缓存的单号
this
.
$u
.
toast
(
res
.
MSG
[
0
].
MESSAGE
);
}
this
.
loading
=
false
;
});
}
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
page
{
background
:
#f8f8f8
;
}
.btn
{
padding
:
20rpx
;
background
:
#fff
;
.topSearch
{
margin-bottom
:
20rpx
;
}
}
.cardBox
{
min-height
:
calc
(
100vh
-
400rpx
);
padding
:
0rpx
20rpx
;
margin-top
:
20rpx
;
}
/
deep
/
.u-sticky
{
top
:
0
!
important
;
background
:
#fff
;
}
.cardBoxTip
{
color
:
#000
;
font-size
:
28rpx
;
}
.cardBoxTip2
{
color
:
#000
;
font-size
:
28rpx
;
text-align
:
center
;
}
.cardBoxTip3
{
color
:
#3f9dcc
;
font-size
:
28rpx
;
text-align
:
center
;
}
.tipRight
{
color
:
#ff9900
;
}
</
style
>
\ No newline at end of file
pages/salesOutbound/exchangeGoodsList.vue
0 → 100644
View file @
b780621d
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