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
55fb5475
authored
Apr 09, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
查询相似三方送检任务数
parent
2fdbb64d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
4 deletions
pages/arrivalRegister/index.vue
pages/preCheck/thirdPartyInspectionStatus.vue
util/api.js
pages/arrivalRegister/index.vue
View file @
55fb5475
...
...
@@ -74,6 +74,10 @@
<text
class=
"t1"
>
该搜索内容有相似预检单任务,
</text>
<navigator
class=
"t2"
:url=
"'/pages/preCheck/list?mobile_search='+searchParams.mobile_register_all_search"
>
点击查看
</navigator>
</view>
<view
class=
"preCheck row verCenter"
v-if=
"isHasShippingCodeInspectionOrder"
>
<text
class=
"t1"
>
该搜索内容有相似三方送检单任务,
</text>
<navigator
class=
"t2"
:url=
"'/pages/preCheck/thirdPartyInspectionStatus?batch_search_value='+searchParams.mobile_register_all_search"
>
点击查看
</navigator>
</view>
<!-- 列表数据 -->
<view
class=
"list row bothSide"
v-if=
"list.length > 0"
>
<view
class=
"box"
v-for=
"(item, index) in list"
:key=
"index"
:class=
"{ curr: filter_list[index] }"
>
...
...
@@ -580,7 +584,8 @@
grossWeightSizeIndex
:
0
,
otherAttrList
:
[],
//其他属性
swiperCurr
:
0
,
preCheckList
:
[]
//预检单列表
preCheckList
:
[],
//预检单列表
isHasShippingCodeInspectionOrder
:
false
};
},
onReachBottom
()
{
...
...
@@ -877,6 +882,24 @@
});
},
/**
* 查询相似三方送检任务数
*/
getisHasShippingCodeInspectionOrder
(
back_shipment_number
)
{
this
.
request
(
API
.
isHasShippingCodeInspectionOrder
,
'GET'
,
{
back_shipment_number
:
back_shipment_number
},
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
var
count
=
res
.
data
.
count
||
0
;
if
(
count
>
0
)
{
this
.
isHasShippingCodeInspectionOrder
=
true
;
}
}
else
{
uni
.
showToast
({
title
:
res
.
msg
,
icon
:
'error'
});
}
});
},
/**
* 获取仓库
*/
getWareHouselist
()
{
...
...
@@ -945,10 +968,11 @@
getData
()
{
this
.
request
(
API
.
stockInMobileRegisterList
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
is_register
:
0
,
...
this
.
searchParams
},
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
//全量搜索的时候
出
发查询预检单
//全量搜索的时候
触
发查询预检单
if
(
this
.
index
==
0
)
{
if
(
this
.
searchParams
.
mobile_register_all_search
)
{
this
.
getStockPreCheckList
(
this
.
searchParams
.
mobile_register_all_search
);
this
.
getisHasShippingCodeInspectionOrder
(
this
.
searchParams
.
mobile_register_all_search
);
}
else
{
this
.
preCheckList
=
[];
}
...
...
pages/preCheck/thirdPartyInspectionStatus.vue
View file @
55fb5475
...
...
@@ -246,7 +246,7 @@
this
.
getData
();
},
onLoad
(
options
)
{
this
.
searchParams
.
batch_search_value
=
options
.
batch_search_value
;
},
onShow
()
{
if
(
this
.
noexebshowFalg
)
{
...
...
util/api.js
View file @
55fb5475
...
...
@@ -418,7 +418,11 @@ const API = {
/**
* 删除和新增签约图片
* */
signUserPic
:
API_BASE
+
'/api/stockout/signUserPic'
signUserPic
:
API_BASE
+
'/api/stockout/signUserPic'
,
/**
* 查询相似三方送检任务数
* */
isHasShippingCodeInspectionOrder
:
API_BASE
+
'/api/inspectionOrder/isHasShippingCodeInspectionOrder'
}
...
...
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