Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
94ca4213
authored
Aug 01, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
移动端-理货记录-支持更改容器
parent
6014f250
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
53 additions
and
0 deletions
assets/css/font.css
assets/css/tallyReceive/index.scss
pages/putaway/index.vue
pages/tallyReceive/record.vue
static/iconfont.ttf
util/api.js
assets/css/font.css
View file @
94ca4213
...
...
@@ -11,6 +11,10 @@
-moz-osx-font-smoothing
:
grayscale
;
}
.icon-bianji
:before
{
content
:
"\e60e"
;
}
.icon-juxing4
:before
{
content
:
"\e79c"
;
}
...
...
assets/css/tallyReceive/index.scss
View file @
94ca4213
...
...
@@ -269,6 +269,9 @@
::v-deep
.uni-drawer__content
{
width
:
85%
!
important
;
}
::v-deep
.uni-popup
{
z-index
:
99999999
;
}
.uni-drawer-tally-receive
{
width
:
100%
;
...
...
@@ -555,6 +558,11 @@
overflow
:
hidden
;
max-width
:
176rpx
;
}
.icon-bianji
{
font-size
:
24rpx
;
color
:
#1969f9
;
margin-left
:
7rpx
;
}
}
}
.pic-list
{
...
...
pages/putaway/index.vue
View file @
94ca4213
...
...
@@ -400,6 +400,8 @@ export default {
}
}
else
if
(
type
==
2
)
{
//全量搜索
this
.
is_batch
=
false
;
this
.
searchParams
.
search_keyword
=
val
;
this
.
input_flag
=
true
;
this
.
getData
();
}
...
...
pages/tallyReceive/record.vue
View file @
94ca4213
...
...
@@ -143,6 +143,7 @@
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
容 器:
</text>
<text
class=
"tt"
>
{{ detail.container_sn }}
</text>
<text
class=
"iconfont icon-bianji"
@
click=
"inputDialogToggle(detail)"
></text>
</view>
</view>
<view
class=
"bor"
></view>
...
...
@@ -245,6 +246,8 @@
<view
class=
"btn row verCenter bothSide"
><view
class=
"btn1 row rowCenter verCenter"
@
click=
"cancelTallyReceive(2, detail.tally_id, detail.stock_in_item_id)"
>
取消理货
</view></view>
</view>
</uni-drawer>
<!-- 修改容器 -->
<uni-popup
ref=
"inputDialog"
type=
"dialog"
><uni-popup-dialog
before-close=
"true"
ref=
"inputClose"
mode=
"input"
:title=
"'当前容器:' + detail.container_sn"
placeholder=
"请输入目的容器"
@
close=
"closeChange"
@
confirm=
"dialogInputConfirm"
></uni-popup-dialog></uni-popup>
</view>
</template>
...
...
@@ -308,6 +311,38 @@ export default {
console
.
log
(
'picker发送选择改变,携带值为'
,
e
.
detail
.
value
);
this
.
index
=
e
.
detail
.
value
;
},
inputDialogToggle
(
detail
)
{
this
.
$refs
.
inputDialog
.
open
();
},
closeChange
()
{
this
.
$refs
.
inputDialog
.
close
();
},
dialogInputConfirm
(
e
)
{
if
(
!
e
)
{
uni
.
showToast
({
title
:
'请输入目的容器'
,
icon
:
'none'
});
return
false
;
}
this
.
request
(
API
.
changeTallyContainer
,
'GET'
,
{
tally_id
:
this
.
detail
.
tally_id
,
container_sn
:
e
},
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
uni
.
showToast
({
title
:
'修改成功'
,
icon
:
'success'
});
setTimeout
(()
=>
{
this
.
detail
.
container_sn
=
e
;
this
.
closeChange
();
},
2000
);
}
else
{
uni
.
showToast
({
title
:
res
.
msg
,
icon
:
'none'
});
}
});
},
/**
* 找出false对应的下标
* @param {Object} arr
...
...
static/iconfont.ttf
View file @
94ca4213
No preview for this file type
util/api.js
View file @
94ca4213
...
...
@@ -39,6 +39,10 @@ const API = {
* */
waitTallyReceiveList
:
API_BASE
+
'/api/stockIn/tallyReceive/waitTallyReceiveList'
,
/**
* 修改理货容器
* */
changeTallyContainer
:
API_BASE
+
'/api/stockIn/tallyReceive/changeTallyContainer'
,
/**
* 识别二维码的数量和型号
* */
identifyQrCodeNumAndSn
:
API_BASE
+
'/api/stockIn/identifyQrCodeNumAndSn'
,
...
...
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