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
b0741ba1
authored
Feb 26, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
7f953817
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
1 deletions
assets/css/stockRecheck/print.scss
pages/stockRecheck/shipOut.vue
util/util.js
assets/css/stockRecheck/print.scss
View file @
b0741ba1
.stockRecheck-print
{
.stockRecheck-print
{
padding
:
15rpx
22rpx
;
padding
:
15rpx
22rpx
;
.radio-search-box
{
height
:
57rpx
;
}
.search-box
{
.search-box
{
height
:
60rpx
;
height
:
60rpx
;
background
:
#ffffff
;
background
:
#ffffff
;
...
...
pages/stockRecheck/shipOut.vue
View file @
b0741ba1
...
@@ -39,6 +39,21 @@
...
@@ -39,6 +39,21 @@
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
</view>
</view>
</view>
</view>
<!-- 全量搜索 -->
<view
class=
"radio-search-box row verCenter bothSide"
>
<view
class=
"row verCente"
>
<radio-group
@
change=
"radioChange"
class=
"row verCenter"
>
<label
class=
"radio row verCenter"
>
<radio
value=
"0"
checked=
"true"
style=
"transform:scale(0.7)"
color=
"#1969F9"
/>
<text
class=
"tt"
>
近7天
</text>
</label>
<label
class=
"radio"
>
<radio
value=
"1"
style=
"transform:scale(0.7)"
color=
"#1969F9"
/>
<text
class=
"tt"
>
近30天
</text>
</label>
</radio-group>
</view>
</view>
<!-- 列表 -->
<!-- 列表 -->
<view
class=
"list"
v-if=
"list.length > 0"
>
<view
class=
"list"
v-if=
"list.length > 0"
>
<view
class=
"box row"
v-for=
"(item, index) in list"
:key=
"index"
>
<view
class=
"box row"
v-for=
"(item, index) in list"
:key=
"index"
>
...
...
util/util.js
View file @
b0741ba1
...
@@ -86,9 +86,20 @@ const getFirstEightChars = (str) => {
...
@@ -86,9 +86,20 @@ const getFirstEightChars = (str) => {
}
}
// 格式化日期为 YYYY-MM-DD
const
formatDate
=
(
date
)
=>
{
const
year
=
date
.
getFullYear
();
const
month
=
(
date
.
getMonth
()
+
1
).
toString
().
padStart
(
2
,
'0'
);
const
day
=
date
.
getDate
().
toString
().
padStart
(
2
,
'0'
);
return
`
${
year
}
-
${
month
}
-
${
day
}
`
;
};
module
.
exports
=
{
module
.
exports
=
{
request
,
request
,
getPlatform
,
getPlatform
,
createArray
,
createArray
,
getFirstEightChars
getFirstEightChars
,
formatDate
}
}
\ No newline at end of file
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