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
2515d196
authored
Feb 27, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
出库单--签收图片,支持移动端上传,以及提供接口供销售发货通知单查看
parent
752ac4b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
15 deletions
pages/stockRecheck/shipOut.vue
pages/stockRecheck/shipOut.vue
View file @
2515d196
...
...
@@ -42,7 +42,7 @@
<!-- 时间筛选 -->
<view
class=
"radio-search-box row verCenter bothSide"
>
<view
class=
"row verCente"
>
<radio-group
@
change=
"radioChange"
class=
"row verCenter"
>
<radio-group
@
change=
"radioChange
('date', $event)
"
class=
"row verCenter"
>
<label
class=
"radio row verCenter"
>
<radio
value=
"7"
checked=
"true"
style=
"transform:scale(0.7)"
color=
"#1969F9"
/>
<text
class=
"tt"
>
近7天
</text>
...
...
@@ -120,7 +120,7 @@
<template
v-if=
"item.sign_pic_ids.length > 0"
>
<view
class=
"img_list"
v-for=
"(v, i) in item.sign_pic_ids"
:key=
"i"
>
<image
:src=
"v.small_image_url"
mode=
"aspectFill"
@
click=
"previewChange(item.sign_pic_ids, i)"
></image>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"deletePic(index,i)"
></text>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"deletePic(index,i)"
v-if=
"v.id_del"
></text>
</view>
</
template
>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange(index)"
v-if=
"item.sign_pic_ids.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
...
...
@@ -172,10 +172,6 @@
<view
class=
"bor"
></view>
<view
class=
"item-tit row verCenter bothSide"
style=
"margin-bottom: 0;"
>
<text>
交货信息
</text>
<view
class=
"text"
>
<text
class=
"label"
>
包 裹 数:
</text>
<text
class=
"tt"
>
{{ detail.stock_out_info.box_num }}
</text>
</view>
</view>
<!-- 交货信息start -->
<view
class=
"row bothSide verCenter"
>
...
...
@@ -251,6 +247,26 @@
</view>
</view>
</view>
<view
class=
"row"
style=
"align-items: flex-end;"
>
<view
class=
"form-input"
style=
"width: 39%;"
>
<view
class=
"input-title"
>
<text
class=
"input-title-t2"
>
包裹数:
</text>
</view>
<view
class=
"input-box"
><input
type=
"text"
class=
"uni-input"
placeholder-style=
"color:#919399"
placeholder=
"请输入"
v-model=
"formParams.box_num"
:disabled=
"formParams.select_box_type == 1"
:style=
"formParams.select_box_type == 1 ? 'background-color: #f6f6f6;border: 1px solid #eee;' : ''"
/></view>
</view>
<view
class=
"row"
>
<radio-group
@
change=
"radioChange('box', $event)"
class=
"row verCenter"
>
<label
class=
"radio row verCenter"
>
<radio
value=
"1"
:checked=
"formParams.select_box_type == 1"
style=
"transform:scale(0.7)"
color=
"#1969F9"
/>
<text
class=
"tt"
style=
"font-size: 18rpx;color: #292b33"
>
按复核包裹数
</text>
</label>
<label
class=
"radio"
>
<radio
value=
"2"
:checked=
"formParams.select_box_type == 2"
style=
"transform:scale(0.7)"
color=
"#1969F9"
/>
<text
class=
"tt"
style=
"font-size: 18rpx;color: #292b33"
>
手动填写包裹数
</text>
</label>
</radio-group>
</view>
</view>
<view
class=
"print row verCenter"
v-if=
"detail.stock_out_info"
>
<text
class=
"check-box-icon"
:class=
"{ curr: detail.stock_out_info.is_receipt == 1 }"
></text>
<text
class=
"tt"
>
签回单
</text>
...
...
@@ -386,7 +402,9 @@
province
:
''
,
city
:
''
,
district
:
''
,
address
:
''
address
:
''
,
box_num
:
''
,
//包裹数
select_box_type
:
''
//箱信息类型
},
signUserPicParams
:
{
type
:
1
,
//1上传 2删除
...
...
@@ -482,12 +500,22 @@
},
/**
* 修改单选按钮变化处理函数
* @param {String} type - 单选框类型:date-日期筛选 box-包裹数选择
* @param {Object} e - 事件对象
*/
radioChange
(
e
)
{
this
.
resetChange
();
radioChange
(
type
,
e
)
{
const
value
=
e
.
detail
.
value
;
this
.
setDateRange
(
value
);
this
.
getData
();
if
(
type
===
'box'
)
{
// 包裹数单选框的处理
this
.
formParams
.
select_box_type
=
parseInt
(
value
);
}
else
if
(
type
===
'date'
)
{
// 时间筛选单选框的处理
this
.
resetChange
();
this
.
setDateRange
(
value
);
this
.
getData
();
}
},
/**
* 根据所选的交货方式,显示对应的物流公司
...
...
@@ -744,6 +772,8 @@
this
.
formParams
.
city
=
res
.
data
.
stock_out_address
.
city
;
this
.
formParams
.
district
=
res
.
data
.
stock_out_address
.
district
;
this
.
formParams
.
address
=
res
.
data
.
stock_out_address
.
address
;
this
.
formParams
.
box_num
=
res
.
data
.
stock_out_info
.
box_num
;
//包裹数
this
.
formParams
.
select_box_type
=
res
.
data
.
stock_out_address
.
select_box_type
;
//箱信息类型
},
500
)
}
else
{
uni
.
showToast
({
...
...
@@ -781,9 +811,7 @@
}
}
this
.
request
(
API
.
updateDeliveryInfo
,
'POST'
,
{
this
.
request
(
API
.
updateDeliveryInfo
,
'POST'
,
{
stock_out_id
:
stock_out_id
,
real_shipping_type
:
this
.
formParams
.
real_shipping_type
,
real_shipping_id
:
this
.
formParams
.
real_shipping_id
,
...
...
@@ -795,7 +823,9 @@
province
:
this
.
formParams
.
province
,
city
:
this
.
formParams
.
city
,
district
:
this
.
formParams
.
district
,
address
:
this
.
formParams
.
address
address
:
this
.
formParams
.
address
,
box_num
:
this
.
formParams
.
box_num
,
select_box_type
:
this
.
formParams
.
select_box_type
},
true
).
then
(
res
=>
{
...
...
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