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
40911097
authored
Dec 14, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化
parent
41fc4af2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
8 deletions
pages/putaway/index.vue
pages/tallyReceive/index.vue
pages/tallyReceive/record.vue
pages/putaway/index.vue
View file @
40911097
...
...
@@ -98,7 +98,7 @@
<view
class=
"btn row rowCenter verCenter"
>
上架
</view>
</navigator>
</view>
<view
class=
"row rowCenter verCenter"
v-if=
"!hasMoreData && page > 1"
style=
"color: #9
19399;font-size: 16px;padding: 10px 0;flex: 0 0 100%;"
>
--已经到底了
--
</view>
<view
class=
"row rowCenter verCenter"
v-if=
"!hasMoreData && page > 1"
style=
"color: #9
99;font-size: 22rpx;padding: 10px 0;flex: 0 0 100%;font-weight: normal;"
>
--
已经到底了
--
</view>
</view>
<!-- 无数据展示 -->
<view
class=
"no-date column rowCenter verCenter"
v-else
>
...
...
pages/tallyReceive/index.vue
View file @
40911097
This diff is collapsed.
Click to expand it.
pages/tallyReceive/record.vue
View file @
40911097
...
...
@@ -131,11 +131,13 @@
<view
class=
"detail-btn row rowCenter verCenter"
@
click=
"showDrawer(item)"
>
详情
</view>
</view>
</view>
<view
class=
"row rowCenter verCenter"
v-if=
"!hasMoreData && page > 1"
style=
"color: #999;font-size: 22rpx;padding: 10px 0;flex: 0 0 100%;font-weight: normal;"
>
--
已经到底了
--
</view>
</view>
<view
class=
"no-date column rowCenter verCenter"
v-else
>
<text
class=
"iconfont icon-a-juxing21"
></text>
<text
class=
"text"
>
查不到当前数据
</text>
</view>
<!-- 底部bar -->
<view
class=
"fix-btn row verCenter"
v-if=
"list.length > 0"
>
<view
class=
"btn1 row rowCenter verCenter"
style=
"width: 127rpx;"
@
click=
"allChnage()"
>
<text
class=
"check-box-icon"
:class=
"{ curr: filter_list.length > 0 && filter_list.length == filter_id.length }"
></text>
...
...
@@ -182,8 +184,8 @@
<text>
货品信息
</text>
</
template
>
</view>
<
template
v-if=
"curr == 0"
>
<!-- 非深圳自营 -->
<
template
v-if=
"curr == 0"
>
<view
class=
"field-item row"
>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
货品编码:
</text>
...
...
@@ -298,8 +300,8 @@
</view>
</view>
</template>
<
template
v-else
>
<!-- 深圳自营 -->
<
template
v-else
>
<view
class=
"field-item row"
>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
v-if=
"detail.sku_id"
>
<text
class=
"label"
>
自营货品ID:
</text>
...
...
@@ -365,7 +367,9 @@
</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>
<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>
...
...
@@ -378,7 +382,7 @@
data
()
{
return
{
page
:
1
,
limit
:
50
,
limit
:
50
,
//分页限制数量
input_flag
:
false
,
index
:
0
,
curr
:
0
,
...
...
@@ -389,7 +393,6 @@
filter_list
:
[],
//筛选已选中的列表
filter_id
:
[],
//入库单列表的入库登记
detail
:
{},
//详情的数据
image_list
:
[],
//图片列表
hasMoreData
:
true
,
//是否分页加载
image_list
:
[],
//图片列表
maxNum
:
10
,
//最大上传图片数量
...
...
@@ -405,7 +408,7 @@
},
changeStockTallyImagesParams
:
{
tally_id
:
''
,
image_ids
:
''
image_ids
:
''
//修改理货照片集合
}
};
},
...
...
@@ -468,6 +471,7 @@
*/
radioChange
(
e
,
type
)
{
let
value
=
e
.
detail
.
value
;
this
.
filter_id
=
[];
//清空统计数据
this
.
resetChange
();
if
(
type
==
1
)
{
this
.
searchParams
.
stock_tally_with_stock_in_stock_in_type_in
=
value
;
...
...
@@ -504,12 +508,20 @@
console
.
log
(
'picker发送选择改变,携带值为'
,
e
.
detail
.
value
);
this
.
index
=
e
.
detail
.
value
;
},
/**
* 容器编辑弹窗
* @param {Object} detail
*/
inputDialogToggle
(
detail
)
{
this
.
$refs
.
inputDialog
.
open
();
},
closeChange
()
{
this
.
$refs
.
inputDialog
.
close
();
},
/**
* 修改容器提交
* @param {Object} e
*/
dialogInputConfirm
(
e
)
{
if
(
!
e
)
{
uni
.
showToast
({
...
...
@@ -741,8 +753,8 @@
});
setTimeout
(()
=>
{
this
.
resetChange
();
this
.
getData
();
this
.
filter_id
=
[];
this
.
getData
();
},
2000
)
},
5000
);
}
else
{
...
...
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