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
25f7fc1e
authored
Feb 26, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
b0741ba1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
102 additions
and
11 deletions
assets/css/stockRecheck/print.scss
pages/stockRecheck/shipOut.vue
assets/css/stockRecheck/print.scss
View file @
25f7fc1e
...
...
@@ -81,10 +81,42 @@
color
:
#1969f9
;
}
}
.pick_img_list
{
flex-wrap
:
wrap
;
.default
{
width
:
120rpx
;
height
:
120rpx
;
background
:
#f5f5f7
;
border-radius
:
10rpx
;
margin-right
:
15rpx
;
.iconfont
{
font-size
:
60rpx
;
color
:
#c6c7cc
;
}
}
.img_list
{
position
:
relative
;
width
:
120rpx
;
height
:
120rpx
;
background
:
#f5f5f7
;
border-radius
:
10rpx
;
margin-right
:
15rpx
;
margin-bottom
:
15rpx
;
image
{
width
:
120rpx
;
height
:
120rpx
;
}
.iconfont
{
position
:
absolute
;
right
:
0
;
top
:
0
;
font-size
:
30rpx
;
color
:
#ff3700
;
z-index
:
9
;
}
}
}
.btn
{
position
:
absolute
;
right
:
17rpx
;
bottom
:
12rpx
;
width
:
68rpx
;
height
:
30rpx
;
background
:
#1969f9
;
...
...
pages/stockRecheck/shipOut.vue
View file @
25f7fc1e
...
...
@@ -39,16 +39,16 @@
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
</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"
/>
<radio
value=
"
7
"
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"
/>
<radio
value=
"
30
"
style=
"transform:scale(0.7)"
color=
"#1969F9"
/>
<text
class=
"tt"
>
近30天
</text>
</label>
</radio-group>
...
...
@@ -62,7 +62,7 @@
<text
class=
"tt"
>
{{
item
.
stock_out_sn
}}
</text>
</view>
<view
class=
"input-box row verCenter"
>
<text
class=
"label"
>
状态:
</text>
<text
class=
"label"
>
{{
item
.
stock_out_type_val
}}
</text>
<text
class=
"tt"
>
{{
item
.
stock_out_status_val
}}
</text>
</view>
<view
class=
"bor"
style=
"flex: 0 0 100%;"
></view>
...
...
@@ -79,6 +79,22 @@
<text
class=
"text"
style=
"color: #f00;"
>
{{
item
.
upstream_remark
}}
</text>
</view>
<view
class=
"input-box row verCenter"
>
<text
class=
"label"
>
交货方式:
</text>
<text
class=
"text"
>
{{
item
.
shipping_type
}}
</text>
</view>
<view
class=
"input-box row verCenter"
>
<text
class=
"label"
>
物流公司:
</text>
<text
class=
"text"
>
{{
item
.
shipping_name
}}
</text>
</view>
<view
class=
"input-box row verCenter"
>
<text
class=
"label"
>
物流模式:
</text>
<text
class=
"text"
>
{{
item
.
shipping_mode
}}
</text>
</view>
<view
class=
"input-box row verCenter"
>
<text
class=
"label"
>
物流单号:
</text>
<text
class=
"text"
>
{{
item
.
shipping_code
}}
</text>
</view>
<view
class=
"input-box row verCenter"
>
<text
class=
"label"
>
销 售 员:
</text>
<text
class=
"text"
>
{{
item
.
sale_name
}}
</text>
</view>
...
...
@@ -90,15 +106,29 @@
<text
class=
"label"
>
收货客户:
</text>
<text
class=
"text"
>
{{
item
.
customer_name
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;"
>
<view
class=
"input-box row verCenter"
>
<text
class=
"label"
>
操 作 人:
</text>
<text
class=
"text"
>
{{
item
.
create_name
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
完成
时间:
</text>
<view
class=
"input-box row verCenter"
>
<text
class=
"label"
>
出库
时间:
</text>
<text
class=
"text"
>
{{
item
.
finish_time
}}
</text>
</view>
<view
class=
"btn row rowCenter verCenter"
@
click=
"showDrawer(item.stock_out_sn)"
>
选择
</view>
<view
class=
"input-box row"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
签收图片:
</text>
<view
class=
"pick_img_list row"
>
<!--
<template
v-if=
"item.stock_out_status_val.length > 0"
>
<view
class=
"img_list"
v-for=
"(v, i) in item.recheck_img_list"
:key=
"i"
>
<image
:src=
"v.small_image_url"
mode=
"aspectFill"
@
click=
"previewChange(item.recheck_img_list, i)"
></image>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"deletePic(index,i)"
></text>
</view>
</
template
>
-->
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange(index)"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
</view>
</view>
<view
class=
"row"
style=
"justify-content: flex-end;width: 100%;"
>
<view
class=
"btn row rowCenter verCenter"
@
click=
"showDrawer(item.stock_out_sn)"
>
修改物流
</view>
</view>
</view>
</view>
<!-- 无数据展示 -->
...
...
@@ -320,6 +350,7 @@
index
:
0
,
array
:
[
'出库单号'
],
detail
:
{},
maxNum
:
10
,
//最大上传图片数量
real_shipping_type_index
:
-
1
,
real_shipping_id_index
:
-
1
,
real_shipping_mode_index
:
-
1
,
...
...
@@ -372,6 +403,10 @@
});
}
},
onLoad
()
{
// 默认设置为近7天
this
.
setDateRange
(
'7'
);
},
onShow
()
{
this
.
getData
();
},
...
...
@@ -425,6 +460,30 @@
this
.
getData
();
},
/**
* 设置日期范围的公共方法
*/
setDateRange
(
value
)
{
const
today
=
new
Date
();
const
days
=
parseInt
(
value
);
// 设置结束时间为今天
this
.
searchParams
.
create_end_time
=
formatDate
(
today
);
// 设置开始时间为指定天数前
const
startDate
=
new
Date
();
startDate
.
setDate
(
today
.
getDate
()
-
(
days
-
1
));
// 减(days-1)天,包含今天共days天
this
.
searchParams
.
create_start_time
=
formatDate
(
startDate
);
},
/**
* 修改单选按钮变化处理函数
*/
radioChange
(
e
)
{
this
.
resetChange
();
const
value
=
e
.
detail
.
value
;
this
.
setDateRange
(
value
);
this
.
getData
();
},
/**
* 根据所选的交货方式,显示对应的物流公司
* @param {Object} value
*/
...
...
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