Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
上
上药订单生命周期升级
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
sph
上药订单生命周期升级
Commits
b924673e
Commit
b924673e
authored
Mar 25, 2021
by
琉璃丶c
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
5ed62c9c
cca1925c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
9 deletions
+16
-9
src/components/SearchInConsignor.vue
src/components/SearchInConsignor.vue
+9
-2
src/components/SearchInSupplier.vue
src/components/SearchInSupplier.vue
+6
-6
src/views/myOrder/components/HighSearch.vue
src/views/myOrder/components/HighSearch.vue
+1
-1
No files found.
src/components/SearchInConsignor.vue
View file @
b924673e
...
@@ -201,7 +201,14 @@ export default {
...
@@ -201,7 +201,14 @@ export default {
'
attr
'
:
{
'
attr
'
:
{
'
empid
'
:
this
.
linkInfo
.
userId
'
empid
'
:
this
.
linkInfo
.
userId
},
},
'
filters
'
:
[],
'
filters
'
:
[
{
key
:
'
companyname
'
,
opt
:
'
LIKE
'
,
type
:
'
S
'
,
value
:
this
.
keywords
}
],
'
logic
'
:
'
or
'
,
'
logic
'
:
'
or
'
,
'
sort
'
:
'
desc
'
,
'
sort
'
:
'
desc
'
,
'
orderby
'
:
'
createon
'
,
'
orderby
'
:
'
createon
'
,
...
@@ -211,7 +218,7 @@ export default {
...
@@ -211,7 +218,7 @@ export default {
getConsignorSetList
(
data
).
then
(
rt
=>
{
getConsignorSetList
(
data
).
then
(
rt
=>
{
if
(
rt
.
code
===
200
)
{
if
(
rt
.
code
===
200
)
{
if
(
_this
.
currentPage
===
1
)
{
if
(
_this
.
currentPage
===
1
)
{
// _this.searchNum = getResListNum(rt.msg)
_this
.
searchNum
=
rt
.
data
.
total
this
.
postDataList
=
[]
this
.
postDataList
=
[]
}
}
if
(
this
.
isRefreshing
)
{
if
(
this
.
isRefreshing
)
{
...
...
src/components/SearchInSupplier.vue
View file @
b924673e
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
get-container=
"body"
get-container=
"body"
>
>
<div
class=
"title-layout font-bold font-16"
>
供应商
</div>
<div
class=
"title-layout font-bold font-16"
>
供应商
</div>
<van-search
<
!--
<
van-search
v-model=
"keywords"
v-model=
"keywords"
placeholder=
"请输入编码或名称"
placeholder=
"请输入编码或名称"
show-action
show-action
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
>
>
<i
slot=
"left-icon"
class=
"fa fa-search"
></i>
<i
slot=
"left-icon"
class=
"fa fa-search"
></i>
<div
slot=
"action"
class=
"font14"
@
click=
"onSearch"
>
搜索
</div>
<div
slot=
"action"
class=
"font14"
@
click=
"onSearch"
>
搜索
</div>
</van-search>
</van-search>
-->
<search-result
:result-num=
"searchNum"
></search-result>
<search-result
:result-num=
"searchNum"
></search-result>
<div
class=
"w100 listHeight"
ref=
"scrollRef"
>
<div
class=
"w100 listHeight"
ref=
"scrollRef"
>
<van-pull-refresh
<van-pull-refresh
...
@@ -206,7 +206,7 @@ export default {
...
@@ -206,7 +206,7 @@ export default {
getEmployeeOrgQueryList
(
data
).
then
(
rt
=>
{
getEmployeeOrgQueryList
(
data
).
then
(
rt
=>
{
if
(
rt
.
code
===
200
)
{
if
(
rt
.
code
===
200
)
{
if
(
_this
.
currentPage
===
1
)
{
if
(
_this
.
currentPage
===
1
)
{
// _this.searchNum = rt.entity.total + ''
_this
.
searchNum
=
rt
.
data
.
length
this
.
postDataList
=
[]
this
.
postDataList
=
[]
}
}
if
(
this
.
isRefreshing
)
{
if
(
this
.
isRefreshing
)
{
...
@@ -221,12 +221,12 @@ export default {
...
@@ -221,12 +221,12 @@ export default {
// 重置加载更多提示
// 重置加载更多提示
_this
.
loading
=
false
_this
.
loading
=
false
// 若当前加载的页数没有满足每页的数量代表完全加载
// 若当前加载的页数没有满足每页的数量代表完全加载
if
(
rt
.
data
.
length
<
10
)
{
//
if (rt.data.length
<
10
)
{
_this
.
finished
=
true
_this
.
finished
=
true
}
else
{
//
} else {
// 加载成功后下一页自增1
// 加载成功后下一页自增1
_this
.
currentPage
++
_this
.
currentPage
++
}
//
}
}
else
{
}
else
{
_this
.
$toast
(
rt
.
message
)
_this
.
$toast
(
rt
.
message
)
// _this.$toast('列表获取失败')
// _this.$toast('列表获取失败')
...
...
src/views/myOrder/components/HighSearch.vue
View file @
b924673e
...
@@ -609,7 +609,7 @@ export default {
...
@@ -609,7 +609,7 @@ export default {
border-radius
:
5
PX
;
border-radius
:
5
PX
;
border
:
0
.5px
solid
#eeeeee
;
border
:
0
.5px
solid
#eeeeee
;
// background-color: #EFF5F9;
// background-color: #EFF5F9;
-webkit-appearance
:none
;
//
-webkit-appearance:none;
min-height
:
35
PX
;
min-height
:
35
PX
;
line-height
:
24px
;
line-height
:
24px
;
outline
:
0
;
outline
:
0
;
...
...
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