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
171130e2
authored
Sep 12, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
d35db85e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
18 deletions
assets/css/stocktake/operate.scss
pages/index/index.vue
pages/stocktake/list.vue
pages/stocktake/operate.vue
pages/stocktake/record.vue
assets/css/stocktake/operate.scss
View file @
171130e2
...
...
@@ -116,18 +116,18 @@
position
:
absolute
;
top
:
30rpx
;
right
:
30rpx
;
font-size
:
21
rpx
;
font-size
:
19
rpx
;
color
:
#1969f9
;
}
}
.total
{
.t1
{
font-size
:
21
rpx
;
font-size
:
19
rpx
;
color
:
#292b33
;
}
.t2
{
font-size
:
21
rpx
;
font-size
:
19
rpx
;
color
:
#1969f9
;
}
}
...
...
@@ -271,7 +271,6 @@
.uni-input
{
font-size
:
18rpx
;
color
:
#292b33
;
font-weight
:
bold
;
}
.uni-arrow
{
width
:
14rpx
;
...
...
pages/index/index.vue
View file @
171130e2
...
...
@@ -47,7 +47,7 @@
<text
class=
"text"
>
移位
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/stocktake/list"
hover-class=
"none"
>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x(
3
).png"
></image></view>
<view
class=
"box row rowCenter verCenter"
><image
src=
"/static/home/@2x(
10
).png"
></image></view>
<text
class=
"text"
>
盘点
</text>
</navigator>
<navigator
class=
"box-li column rowCenter verCenter"
url=
"/pages/immediatelyStockIn/index"
hover-class=
"none"
>
...
...
pages/stocktake/list.vue
View file @
171130e2
...
...
@@ -33,10 +33,6 @@
<text
class=
"tt"
>
{{
item
.
nums
}}
</text>
</view>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
总 数 量:
</text>
<text
class=
"tt"
>
{{
item
.
total_qty
}}
</text>
</view>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
创建时间:
</text>
<text
class=
"tt"
>
{{
item
.
create_time
}}
</text>
</view>
...
...
pages/stocktake/operate.vue
View file @
171130e2
...
...
@@ -39,7 +39,7 @@
</view>
<view
class=
"total row verCenter"
style=
"margin-top: 15rpx;"
>
<text
class=
"t1"
>
待盘点任务数:
</text>
<text
class=
"t2"
>
{{
total
}}
</text>
<text
class=
"t2"
>
{{
list
.
length
}}
</text>
</view>
<view
class=
"list row bothSide"
v-if=
"list.length > 0"
>
<view
class=
"box"
v-for=
"(item, index) in list"
:key=
"index"
>
...
...
@@ -78,7 +78,7 @@
</view>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
D/C:
</text>
<text
class=
"tt"
>
{{
item
.
sale_nam
e
}}
</text>
<text
class=
"tt"
>
{{
item
.
date_cod
e
}}
</text>
</view>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
产地:
</text>
...
...
@@ -245,7 +245,6 @@ export default {
list
:
[],
page
:
1
,
limit
:
50
,
total
:
0
,
hasMoreData
:
true
,
//是否分页加载
stocktake_sn
:
''
,
detail
:
{},
...
...
@@ -282,7 +281,7 @@ export default {
showDrawer
(
data
)
{
this
.
$refs
.
showRight
.
open
();
this
.
detail
=
data
;
this
.
stocktake_qty
=
data
.
stock_qty
;
this
.
stocktake_qty
=
data
.
stock
take
_qty
;
},
closeDrawer
()
{
this
.
$refs
.
showRight
.
close
();
...
...
@@ -366,13 +365,10 @@ export default {
if
(
res
.
data
.
list
.
length
>
0
)
{
this
.
hasMoreData
=
true
;
this
.
list
=
this
.
list
.
concat
(
res
.
data
.
list
);
this
.
total
=
res
.
data
.
total
;
}
else
{
this
.
hasMoreData
=
false
;
this
.
total
=
0
;
}
}
else
{
this
.
total
=
0
;
uni
.
showToast
({
title
:
res
.
msg
,
icon
:
'none'
...
...
pages/stocktake/record.vue
View file @
171130e2
...
...
@@ -83,7 +83,9 @@
<text
class=
"label"
>
盘点数量:
</text>
<text
class=
"tt"
>
{{
item
.
stocktake_qty
}}
</text>
</view>
<view
class=
"btn row rowCenter verCenter"
@
click=
"showDrawer(item)"
>
修改
</view>
<template
v-if=
"item.stocktake_status == 3"
>
<view
class=
"btn row rowCenter verCenter"
@
click=
"showDrawer(item)"
>
修改
</view>
</
template
>
</view>
</view>
<!-- 无数据展示 -->
...
...
@@ -237,7 +239,7 @@ export default {
showDrawer
(
data
)
{
this
.
$refs
.
showRight
.
open
();
this
.
detail
=
data
;
this
.
stocktake_qty
=
data
.
stock_qty
;
this
.
stocktake_qty
=
data
.
stock
take
_qty
;
},
closeDrawer
()
{
this
.
$refs
.
showRight
.
close
();
...
...
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