Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
linshenxs-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈超
linshenxs-shop
Commits
f53e72b8
Commit
f53e72b8
authored
Jul 28, 2022
by
10_noah@other.ren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
立即发货 修改
parent
4bc758aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
29 deletions
+20
-29
src/views/businessOrder/index.vue
+20
-29
No files found.
src/views/businessOrder/index.vue
View file @
f53e72b8
...
...
@@ -83,9 +83,9 @@
<el-select
v-model=
"form.expressCompany"
size=
"30px"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:key=
"item.value
Str
"
:label=
"item.label"
:value=
"item.value"
>
:value=
"item.value
Str
"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -149,7 +149,7 @@
},
computed
:
{
initDropDownBox
(){
this
.
$axios
.
get
(
"/
general/mallExpressCompany
/dropDownBox/courierCompany"
).
then
(
e
=>
{
this
.
$axios
.
get
(
"/
admin/mallOrder
/dropDownBox/courierCompany"
).
then
(
e
=>
{
this
.
options
=
Object
.
values
(
e
.
data
)
})
},
...
...
@@ -221,34 +221,25 @@
},
// 立即发货-对话框
shipsImmediately
(
row
){
// this.form.orderNo=row.orderNo
this
.
form
.
id
=
row
.
id
this
.
$axios
.
get
(
"/admin/merchantMallOrder/isNeedMailed"
,{
params
:{
orderNo
:
row
.
orderNo
},
}).
then
(
response
=>
{
console
.
log
(
JSON
.
stringify
(
response
.
data
.
data
))
if
(
response
.
data
.
data
===
true
){
console
.
log
(
"需邮寄,填写信息"
)
this
.
dialogVisibleShipsImmediately
=
true
}
else
{
console
.
log
(
"无需邮寄,二次确认即可"
)
this
.
$confirm
(
'是否确认发货?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
data
=>
{
shipsImmediatelyApi
(
this
.
form
).
then
(
r
=>
{
this
.
$message
.
success
(
'发货成功'
)
this
.
getList
(
this
.
page
)
}).
catch
(
e
=>
{
console
.
log
(
'错误'
,
e
.
message
)
})
this
.
form
.
waybillNo
=
''
;
this
.
form
.
expressCompany
=
''
;
if
(
row
[
'isLogistics'
]
==
1
){
this
.
dialogVisibleShipsImmediately
=
true
}
else
{
this
.
$confirm
(
'是否确认发货?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
data
=>
{
shipsImmediatelyApi
(
this
.
form
).
then
(
r
=>
{
this
.
$message
.
success
(
'发货成功'
)
this
.
getList
(
this
.
page
)
}).
catch
(
e
=>
{
console
.
log
(
'错误'
,
e
.
message
)
})
}
},
error
=>
{
console
.
log
(
'错误'
,
error
.
message
)
})
})
}
},
// 确认发货-提交按钮
confirmDelivery
(){
...
...
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