Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
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
3def804f
authored
Dec 17, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
供应链金蝶--新商品归类单--申请人/外部创建人账号(接口)需要显示为实际人以及移动端--理货记录增加筛选
parent
49f647b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
5 deletions
assets/css/tally/record.scss
pages/tally/record.vue
assets/css/tally/record.scss
View file @
3def804f
...
...
@@ -61,7 +61,6 @@
}
}
.total-text
{
margin-top
:
15rpx
;
font-size
:
28rpx
;
color
:
#919399
;
text-align
:
right
;
...
...
pages/tally/record.vue
View file @
3def804f
...
...
@@ -39,7 +39,18 @@
<text
class=
"iconfont icon-a-juxing111"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
</view>
</view>
<view
class=
"total-text"
v-if=
"list.length > 0"
>
共
<text>
{{
total
}}
</text>
条数据
</view>
<view
class=
"row bothSide verCenter"
style=
"padding: 24rpx 0;"
>
<view
class=
"row verCenter"
>
<!-- 添加radio选项 -->
<radio-group
@
change=
"handleTallyTypeChange"
class=
"row verCenter"
>
<label
class=
"radio-item"
v-for=
"(item, index) in tallyTypes"
:key=
"index"
style=
"margin-right: 18rpx;"
>
<radio
:value=
"item.value"
:checked=
"searchParams.tally_type === item.value"
color=
"#1969f9"
style=
"transform:scale(0.7)"
/>
<text>
{{
item
.
label
}}
</text>
</label>
</radio-group>
</view>
<view
class=
"total-text"
v-if=
"list.length > 0"
>
共
<text>
{{
total
}}
</text>
条数据
</view>
</view>
<!-- 列表区 -->
<view
class=
"list"
v-if=
"list.length > 0"
>
<view
class=
"box row"
v-for=
"(item, index) in list"
:key=
"index"
:class=
"
{ curr: filter_list[index] }">
...
...
@@ -50,7 +61,7 @@
</view>
<view
class=
"row verCenter"
>
<text
class=
"text"
>
{{
item
.
box_sn
}}
</text>
<text
class=
"text"
style=
"margin-left: 20px"
>
{{
item
.
tally_status_val
}}
</text>
<text
class=
"text"
style=
"margin-left: 20px"
:style=
"item.tally_status == 1 ? 'color: red' : ''"
>
{{
item
.
tally_status_val
}}
</text>
</view>
</view>
<view
class=
"input-box row verCenter bothSide"
style=
"flex: 0 0 100%;"
>
...
...
@@ -161,8 +172,14 @@
searchParams
:
{
create_time_begin
:
''
,
//起始日期
create_time_end
:
''
,
//结束日期
keyword
:
''
}
keyword
:
''
,
tally_type
:
'0'
},
tallyTypes
:
[
{
label
:
'全部'
,
value
:
'0'
},
{
label
:
'美产'
,
value
:
'1'
},
{
label
:
'商检'
,
value
:
'2'
}
]
};
},
onReachBottom
()
{
...
...
@@ -180,6 +197,14 @@
},
methods
:
{
/**
* 处理类型切换
*/
handleTallyTypeChange
(
e
)
{
this
.
searchParams
.
tally_type
=
e
.
detail
.
value
;
this
.
resetChange
();
this
.
getData
();
},
/**
* 找出false对应的下标
* @param {Object} arr
* @param {Object} target
...
...
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