Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-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-customer-new-master
Commits
c2024bf8
Commit
c2024bf8
authored
Nov 21, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复制订单
parent
61c3c02f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
30 deletions
+36
-30
order.vue
src/pages/order/order.vue
+33
-28
order.js
src/static/lang/zh/order.js
+3
-2
No files found.
src/pages/order/order.vue
View file @
c2024bf8
...
...
@@ -102,17 +102,17 @@
<view
v-if=
'item.status==5&&item.status!=88'
@
click=
"returnOrder(index)"
>
{{
$lang
.
lang
.
order
.
exit
}}
</view>
<view
v-if=
'item.abnormalState!=0&&item.status!=88'
@
click=
"toException(item.orderId)"
>
{{
$lang
.
lang
.
order
.
toDeal
}}
</view>
</view>
<view
class=
"order-btn"
v-if=
"item.status!=88&&item.customsType==2"
>
<view
@
click=
"
openFile(item.orderId,item.orderNo)"
>
{{
$lang
.
lang
.
notices
.
upCustome
}}
</view>
<view
class=
"order-btn"
>
<view
@
click=
"
copy(item.orderId)"
>
{{
$lang
.
lang
.
order
.
copy
}}
</view>
</view>
</view>
</view>
<!--
<view
class=
"order-btn"
>
退仓
</view>
-->
</view>
</view>
</view>
<view
class=
"bom"
>
<view
class=
""
@
click=
"toCreatOrders"
>
<image
src=
"../../static/img/carFa.png"
mode=
""
></image>
...
...
@@ -145,7 +145,7 @@
</view>
</view>
</view>
<view
class=
"apply-btn"
>
<view
class=
"apply-btn"
>
<view
@
click=
"sumbitApply"
>
{{
$lang
.
lang
.
order
.
isExit
}}
</view>
<view
@
click=
"closeApply"
>
{{
$lang
.
lang
.
order
.
consider
}}
</view>
</view>
...
...
@@ -178,7 +178,7 @@
<text>
{{
transItem
}}
</text>
</view>
</view>
<view
class=
"screen_list"
>
<view>
<text>
{{
$lang
.
lang
.
order
.
time
}}
</text>
...
...
@@ -396,14 +396,14 @@
<view
class=
"lending_btns"
>
<view
@
click=
"$refs.lendingLog.close()"
>
{{
$lang
.
lang
.
order
.
confirm
}}
</view>
<view
@
click=
"$refs.lendingLog.close()"
>
{{
$lang
.
lang
.
order
.
cancel
}}
</view>
<view
@
click=
"$refs.lendingLog.close()"
>
{{
$lang
.
lang
.
order
.
cancel
}}
</view>
</view>
</view>
</uni-popup>
<uni-popup
ref=
"choiceTransport"
type=
"center"
:mask-click=
"false"
>
<view
class=
"ad-conten type-1"
>
<image
@
click=
"closeTransport"
class=
"ad-bg1"
src=
"../../static/img/colse1.png"
></image>
<view
class=
"transport-title"
>
<span>
{{
$lang
.
lang
.
notices
.
transport
}}
</span>
</view>
...
...
@@ -428,7 +428,7 @@
</view>
<view
class=
"lending_btns"
>
<view
@
click=
"$refs.controlLog.close()"
>
{{
$lang
.
lang
.
order
.
confirm
}}
</view>
<view
@
click=
"$refs.controlLog.close()"
>
{{
$lang
.
lang
.
order
.
cancel
}}
</view>
<view
@
click=
"$refs.controlLog.close()"
>
{{
$lang
.
lang
.
order
.
cancel
}}
</view>
</view>
</view>
</uni-popup>
...
...
@@ -565,7 +565,7 @@
this
.
userInfo
=
res
.
data
this
.
isHavePassword
=
this
.
userInfo
.
isHavePassword
}
})
},
//放贷弹窗
...
...
@@ -714,7 +714,7 @@
this
.
page
=
1
this
.
getControl
()
},
2000
)
this
.
$refs
.
transfer
.
close
()
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
operation
,
...
...
@@ -728,8 +728,8 @@
}
})
},
transferFromShow
(){
transferFromShow
(){
this
.
$refs
.
lending
.
close
()
this
.
$refs
.
transfer
.
open
()
},
...
...
@@ -744,7 +744,7 @@
//查看放贷记录
seeLending
(
id
,
index
){
this
.
lendingdata
=
{}
this
.
selectOrder
=
this
.
data
[
index
]
this
.
selectOrder
=
this
.
data
[
index
]
this
.
getLendingData
(
id
)
},
ismobileLend
(){
...
...
@@ -765,8 +765,8 @@
addLending
(){
this
.
lendingFrom
.
orderId
=
this
.
selectOrder
.
orderId
this
.
lendingFrom
.
orderNo
=
this
.
selectOrder
.
orderNo
this
.
$request
.
post
(
'
/app-api/order/order-cargo-control-pick/create
'
,
this
.
lendingFrom
).
then
(
res
=>
{
if
(
res
.
code
==
0
){
...
...
@@ -855,7 +855,7 @@
this
.
config
[
e
.
target
.
dataset
.
config
].
index
=
e
.
detail
.
value
this
.
lendingFrom
[
e
.
target
.
dataset
.
key
]
=
this
.
config
[
e
.
target
.
dataset
.
config
].
value
[
e
.
detail
.
value
]
}
},
//放贷
tolending
(
index
,
type
){
...
...
@@ -875,7 +875,7 @@
setTimeout
(()
=>
{
this
.
$refs
.
lending
.
open
()
},
500
)
},
//获取区号
getCountrySn
(){
...
...
@@ -904,7 +904,7 @@
}
else
{
that
.
config
.
countrySn
.
indexs
=
index
}
}
})
},
...
...
@@ -1068,7 +1068,7 @@
let
year
=
date
.
getFullYear
();
let
month
=
date
.
getMonth
()
+
1
;
let
day
=
date
.
getDate
();
month
=
month
>
9
?
month
:
'
0
'
+
month
;
day
=
day
>
9
?
day
:
'
0
'
+
day
;
return
`
${
year
}
-
${
month
}
-
${
day
}
`
;
...
...
@@ -1093,7 +1093,7 @@
this
.
pages
=
res
.
data
.
pages
}
this
.
nvs
[
0
].
nums
=
res
.
data
.
total
}
else
{
this
.
data
=
this
.
data
.
concat
(
res
.
data
.
list
)
}
...
...
@@ -1130,7 +1130,7 @@
setTimeout
(()
=>
{
this
.
changeIndex
(
this
.
selectIndex
)
},
2000
)
}
else
{
uni
.
showToast
({
title
:
res
.
msg
,
...
...
@@ -1158,7 +1158,7 @@
})
},
delOrder
(
id
){
let
that
=
this
uni
.
showModal
({
title
:
this
.
$lang
.
lang
.
notices
.
notice
,
...
...
@@ -1241,7 +1241,7 @@
}
})
}
},
fail
:
(
Error
)
=>
{
console
.
log
(
Error
)
...
...
@@ -1279,7 +1279,7 @@
}
this
.
$refs
.
controlLog
.
open
()
})
},
//放货方式
doubleClear
:
function
(
evt
)
{
...
...
@@ -1301,14 +1301,19 @@
open
(){
// this.$refs.declaration.open()
},
orderConfig
()
{
/*
orderConfig () {
let that = this
that.$request.getConfig('transport_type').then(res => {
if(res.code==0&&res.data&&res.data.list.length > 0){
that.transType = res.data.list
}
})
},
},*/
copy
(
orderId
){
this
.
$request
.
post
(
"
/app-api/my/order/copy/
"
+
orderId
).
then
(
res
=>
{
this
.
toEditOrder
(
res
.
data
)
})
}
},
}
...
...
@@ -1316,4 +1321,4 @@
<
style
>
@import
url("../../static/css/order.css")
;
</
style
>
\ No newline at end of file
</
style
>
src/static/lang/zh/order.js
View file @
c2024bf8
...
...
@@ -79,5 +79,6 @@ export default {
"
member
"
:
"
会员
"
,
"
manager
"
:
"
管理员
"
,
"
lendingType
"
:
"
校验方式
"
,
"
lendSussess
"
:
"
放货成功
"
}
\ No newline at end of file
"
lendSussess
"
:
"
放货成功
"
,
"
copy
"
:
"
复制
"
}
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