Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-web-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
1
Merge Requests
1
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-web-master
Commits
b94a8fe7
Commit
b94a8fe7
authored
Mar 07, 2025
by
Smile
Committed by
wux
Mar 10, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug312 APP/WEB控货订单下载提单添加限制条件
parent
c2e367b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
order.js
src/api/order.js
+6
-0
orderdetail.vue
src/views/jiedao/profile/orderdetail.vue
+16
-2
No files found.
src/api/order.js
View file @
b94a8fe7
...
...
@@ -6,6 +6,12 @@ export function getOrder(query) {
method
:
'
get
'
})
}
export
function
getOrderShowLadingStateStatus
(
query
)
{
return
request
({
url
:
'
/app-api/my/order/getOrderShowLadingStateStatus/
'
+
query
,
method
:
'
get
'
})
}
// 获得订单编辑详情
export
function
getOrderDetail
(
orderId
)
{
...
...
src/views/jiedao/profile/orderdetail.vue
View file @
b94a8fe7
...
...
@@ -303,7 +303,7 @@
<el-tab-pane
:label=
"$t('orderdetail.activeThree')"
name=
"three"
>
<el-button
type=
"text"
:disabled=
"order.inWarehouseState == 0 && order.shipmentState == 0"
@
click=
"showWarehouseReceipt=true"
>
{{ $t('orderdetail.showWarehouseReceipt') }}
</el-button>
<el-button
type=
"text"
:disabled=
"!order
.tidanNo || order.ladingState==false
"
@
click.native=
"showLadingBill=true"
>
{{ $t('orderdetail.showLadingBill') }}
</el-button>
<el-button
type=
"text"
:disabled=
"!order
ShowLadingStateStatus||(!order.tidanNo || order.ladingState==false)
"
@
click.native=
"showLadingBill=true"
>
{{ $t('orderdetail.showLadingBill') }}
</el-button>
<el-button
type=
"text"
@
click.native=
"declarationOrderId=order.orderId"
>
{{ $t('common.seeDeclaration') }}
</el-button>
<!-- <el-button :disabled="true" type="text">{{$t('orderdetail.装箱单未上传')}}</el-button> -->
</el-tab-pane>
...
...
@@ -332,7 +332,7 @@
</template>
<
script
>
import
{
getOrder
,
getOfferCheck
}
from
'
@/api/order
'
import
{
getOrder
,
getOfferCheck
,
getOrderShowLadingStateStatus
}
from
'
@/api/order
'
import
{
getDictDatas
,
DICT_TYPE
,
getDictData
}
from
'
@/utils/dict
'
import
PrintWarehouseReceipt
from
'
./components/PrintWarehouseReceipt
'
import
PrintLadingBill
from
'
./components/PrintLadingBill
'
...
...
@@ -359,6 +359,7 @@ export default {
// 遮罩层
loading
:
false
,
order
:
{},
orderShowLadingStateStatus
:
false
,
activeName
:
'
first
'
,
orderId
:
17
,
tableData
:
[],
...
...
@@ -465,6 +466,14 @@ export default {
}
},
methods
:
{
getOrderShowLadingStateStatus
(
id
){
let
that
=
this
getOrderShowLadingStateStatus
(
id
).
then
(
res
=>
{
if
(
res
.
code
==
0
){
that
.
orderShowLadingStateStatus
=
res
.
data
;
}
})
},
getSummary
()
{
// 货值汇总
let
worth
=
new
Decimal
(
0
)
...
...
@@ -518,6 +527,11 @@ export default {
if
(
!
that
.
order
.
consigneeVO
){
that
.
order
.
consigneeVO
=
{}
}
if
(
that
.
order
.
isCargoControl
){
that
.
getOrderShowLadingStateStatus
(
that
.
order
.
orderId
);
}
else
{
that
.
orderShowLadingStateStatus
=
true
;
}
that
.
documentsDidables
=
(
that
.
order
.
customsType
==
2
)
this
.
show
=
true
that
.
getObjectCity
(
that
.
order
.
initialLogisticsInfoDto
.
destCityId
)
...
...
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