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
7ecab383
Commit
7ecab383
authored
Aug 28, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单的bug
parent
50a79f7a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
7 deletions
+17
-7
edit.vue
src/views/ecw/order/edit.vue
+14
-4
Preferential.vue
src/views/ecw/order/special/Preferential.vue
+1
-1
index.vue
src/views/ecw/order/special/index.vue
+2
-2
No files found.
src/views/ecw/order/edit.vue
View file @
7ecab383
...
...
@@ -884,8 +884,8 @@ export default {
this
.
$set
(
this
.
form
,
'
channelId
'
,
null
)
}
if
(
transportId
==
3
){
console
.
log
(
'
form.transportId
'
,
this
.
form
.
transportId
,
this
.
initing
)
if
(
!
this
.
initing
&&
transportId
==
3
){
// 如果是专线空运默认目的港清关选择我司
this
.
$set
(
this
.
form
,
'
portDestCustomsClear
'
,
1
)
}
...
...
@@ -1105,7 +1105,7 @@ export default {
// 如果已完成入仓,则需要监听必填内容,发生更改后需要填写审批表单
this
.
$nextTick
(()
=>
{
console
.
log
(
'
nextTick 订单渲染完成
'
)
console
.
log
(
'
nextTick 订单渲染完成
'
)
res
.
data
.
orderItemVOList
.
forEach
(
item
=>
{
item
.
prodAttrArr
=
item
.
prodAttrIds
?.
split
(
'
,
'
).
filter
(
item
=>
item
!=
''
).
map
(
attrId
=>
+
attrId
)
||
[]
this
.
form
.
orderItemVOList
.
push
({...
item
})
...
...
@@ -1119,6 +1119,15 @@ export default {
})
})
}
// 在初始化结束后transportId还会发生一次变化导致目的港清关被重置,所以需要延迟一下。暂不清楚原因
setTimeout
(()
=>
{
console
.
log
(
'
transportId
'
,
this
.
form
.
transportId
)
console
.
log
(
'
portDestCustomsClear
'
,
this
.
form
.
portDestCustomsClear
,
res
.
data
.
portDestCustomsClear
)
if
(
res
.
data
.
portDestCustomsClear
){
this
.
$set
(
this
.
form
,
'
portDestCustomsClear
'
,
res
.
data
.
portDestCustomsClear
)
}
},
100
)
this
.
initing
=
false
})
...
...
@@ -1425,7 +1434,7 @@ export default {
offParams
.
consignorPhone
=
that
.
form
.
consignorPhone
}
getOfferSelect
(
offParams
).
then
((
res
)
=>
{
that
.
offerData
=
res
.
data
that
.
offerData
=
res
.
data
||
[]
if
(
!
that
.
form
.
offerId
&&
that
.
form
.
orderId
)
{
that
.
getOfferNumber
(
that
.
form
.
orderId
)
}
...
...
@@ -1434,6 +1443,7 @@ export default {
getOfferNumber
(
id
)
{
const
that
=
this
getOfferCheck
({
orderId
:
id
}).
then
(
response
=>
{
if
(
!
response
.
data
)
return
if
(
that
.
offerData
.
length
==
0
){
that
.
offerData
.
push
(
response
.
data
)
}
...
...
src/views/ecw/order/special/Preferential.vue
View file @
7ecab383
...
...
@@ -90,7 +90,7 @@ export default {
return
{
4
:
this
.
$t
(
'
重货标准优惠申请
'
),
5
:
this
.
$t
(
'
泡货标准优惠申请
'
),
29
:
this
.
$t
(
'
泡货
优惠申请
'
)
29
:
this
.
$t
(
'
泡货
申请优惠
'
)
}[
this
.
applyType
]
// return this.applyType == 4 ? this.$t('重货优惠申请') : this.$t('泡货优惠申请')
},
...
...
src/views/ecw/order/special/index.vue
View file @
7ecab383
...
...
@@ -113,9 +113,9 @@
1.海运整柜、海运拼柜显示重货优惠 1,2
2.空运专线、海空联运显示泡货优惠 3,4
-->
<el-button
v-hasPermi=
"['ecw:order:heavy']"
type=
"primary"
@
click=
"showPreferentialType=4"
v-if=
"order.transportId === 1 || order.transportId === 2"
>
{{$t('
申请重货
优惠')}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:heavy']"
type=
"primary"
@
click=
"showPreferentialType=4"
v-if=
"order.transportId === 1 || order.transportId === 2"
>
{{$t('
重货申请
优惠')}}
</el-button>
<
template
v-else
>
<el-button
v-hasPermi=
"['ecw:order:bulky2']"
type=
"primary"
@
click=
"showPreferentialType=29"
>
{{
$t
(
'
申请泡货
优惠
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:bulky2']"
type=
"primary"
@
click=
"showPreferentialType=29"
>
{{
$t
(
'
泡货申请
优惠
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:bulky']"
type=
"primary"
@
click=
"showPreferentialType=5"
>
{{
$t
(
'
申请泡货标准优惠
'
)
}}
</el-button>
</
template
>
<el-button
type=
"primary"
@
click=
"$tab.closePage()"
>
{{$t('关闭窗口')}}
</el-button>
...
...
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