Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
5153c691
Commit
5153c691
authored
Apr 20, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
放货时间修改
parent
6ce19e71
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
release.vue
src/views/ecw/order/release.vue
+13
-4
No files found.
src/views/ecw/order/release.vue
View file @
5153c691
...
...
@@ -22,7 +22,7 @@
<dict-selector
:type=
"DICT_TYPE.ECW_HARVEST_METHOD"
v-model=
"form.pickType"
form-type=
"radio"
formatter=
"number"
></dict-selector>
</el-form-item>
<el-form-item
:label=
"$t('提货时间')"
v-if=
"form.pickType == 1"
>
<el-date-picker
v-model=
"
form.pick
Time"
placeholder=
""
type=
"datetime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
v-model=
"
pickup
Time"
placeholder=
""
type=
"datetime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
<template
v-if=
"form.pickType == 2"
>
...
...
@@ -39,10 +39,10 @@
<el-input
v-model=
"form.trackingNumber"
placeholder=
""
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('送货时间')"
>
<el-date-picker
type=
"datetime"
@
change=
"deliverFn"
v-model=
"form.deliverTime"
placeholder=
""
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
type=
"datetime"
v-model=
"form.deliverTime"
placeholder=
""
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
<el-form-item
:label=
"$t('签收时间')"
>
<el-date-picker
type=
"datetime"
v-model=
"
form.pick
Time"
placeholder=
""
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
type=
"datetime"
v-model=
"
signing
Time"
placeholder=
""
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</
template
>
...
...
@@ -69,6 +69,8 @@ export default {
data
(){
return
{
order
:
null
,
signingTime
:
null
,
//签收时间
pickupTime
:
null
,
//提货时间
form
:
{
pickTime
:
null
,
deliverTime
:
null
,
...
...
@@ -91,9 +93,16 @@ export default {
this
.
order
=
res
.
data
this
.
$set
(
this
.
form
,
'
pickType
'
,
this
.
order
.
consigneeVO
.
harvestMethod
)
});
this
.
form
.
pickTime
=
new
Date
().
format
(
'
yyyy-MM-dd hh:mm:ss
'
);
// this.form.pickTime = new Date().format('yyyy-MM-dd hh:mm:ss');
this
.
pickupTime
=
new
Date
().
format
(
'
yyyy-MM-dd hh:mm:ss
'
);
this
.
signingTime
=
new
Date
().
format
(
'
yyyy-MM-dd hh:mm:ss
'
);
},
submit
(){
if
(
this
.
form
.
pickType
===
1
){
this
.
form
.
pickTime
=
this
.
pickupTime
;
}
else
{
this
.
form
.
pickTime
=
this
.
signingTime
;
}
create
(
Object
.
assign
({
orderId
:
this
.
order
.
orderNo
},
this
.
form
)).
then
(
res
=>
{
return
this
.
$alert
(
res
.
message
||
this
.
$t
(
'
操作成功
'
))
}).
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