Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
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
cc627f15
authored
Mar 23, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
3e453f93
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
pages/declaration/index.vue
pages/declaration/index.vue
View file @
cc627f15
...
...
@@ -20,7 +20,7 @@
<view
class=
"btn-box"
>
<template
v-if=
"andReceipt.car_confirm_time"
>
<view
class=
"btn row rowCenter verCenter curr"
>
查车确认 (关务)
</view>
<view
class=
"is row rowCenter verCenter"
>
<view
class=
"is row rowCenter verCenter"
v-if=
"andReceipt.car_confirm_name"
>
<text
class=
"time"
>
{{
andReceipt
.
car_confirm_time
}}
</text>
<text
class=
"author"
>
{{
andReceipt
.
car_confirm_name
}}
</text>
<text
class=
"status"
>
已确认
</text>
...
...
@@ -75,6 +75,7 @@ export default {
format
:
true
});
return
{
isClick
:
true
,
date
:
currentDate
,
andReceipt
:
{},
timer
:
''
...
...
@@ -148,7 +149,9 @@ export default {
return
false
;
}
}
this
.
request
(
API
.
signTodayCustomsDeclarationAndReceipt
,
'POST'
,
{
type
:
type
,
datetime
:
this
.
date
},
false
).
then
(
res
=>
{
if
(
this
.
isClick
)
{
this
.
request
(
API
.
signTodayCustomsDeclarationAndReceipt
,
'POST'
,
{
type
:
type
,
datetime
:
this
.
date
},
true
).
then
(
res
=>
{
this
.
isClick
=
false
;
if
(
res
.
err_code
===
0
)
{
uni
.
showToast
({
title
:
'操作成功'
,
...
...
@@ -157,7 +160,11 @@ export default {
setTimeout
(()
=>
{
this
.
getTodayCustomsDeclarationAndReceipt
();
},
2000
);
setTimeout
(()
=>
{
this
.
isClick
=
true
;
},
2500
);
}
else
{
this
.
isClick
=
true
;
uni
.
showModal
({
title
:
'提示'
,
content
:
res
.
err_msg
,
...
...
@@ -167,6 +174,7 @@ export default {
});
}
}
}
};
</
script
>
...
...
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