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
8979b3d8
Commit
8979b3d8
authored
Mar 28, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
0c9bb730
efe530f1
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
50 additions
and
17 deletions
+50
-17
edit.vue
src/views/ecw/coupon/edit.vue
+2
-1
cargoControl.vue
src/views/ecw/order/cargoControl.vue
+12
-7
cargoControlDetail.vue
src/views/ecw/order/cargoControlDetail.vue
+8
-4
PrintWarehouseReceipt.vue
src/views/ecw/order/components/PrintWarehouseReceipt.vue
+7
-3
index.vue
src/views/ecw/order/special/index.vue
+5
-1
edit.vue
src/views/ecw/productPrice/edit.vue
+16
-1
No files found.
src/views/ecw/coupon/edit.vue
View file @
8979b3d8
...
@@ -662,7 +662,7 @@ export default {
...
@@ -662,7 +662,7 @@ export default {
}
}
})
})
this
.
$set
(
this
.
form
,
'
suitableProdType
'
,
this
.
isAllProduct
?
0
:
1
)
let
data
=
Object
.
assign
({},
this
.
form
,
{
discountDetailedVOs
})
let
data
=
Object
.
assign
({},
this
.
form
,
{
discountDetailedVOs
})
...
@@ -681,6 +681,7 @@ export default {
...
@@ -681,6 +681,7 @@ export default {
if
(
this
.
form
.
type
!=
1
&&
!
this
.
isAllProduct
&&
!
this
.
form
.
prodIds
){
if
(
this
.
form
.
type
!=
1
&&
!
this
.
isAllProduct
&&
!
this
.
form
.
prodIds
){
return
this
.
$message
.
error
(
'
请选择商品
'
)
return
this
.
$message
.
error
(
'
请选择商品
'
)
}
}
this
.
$set
(
this
.
form
,
'
suitableProdType
'
,
this
.
isAllProduct
?
0
:
1
)
// 修改的提交
// 修改的提交
if
(
data
.
couponId
!=
null
)
{
if
(
data
.
couponId
!=
null
)
{
...
...
src/views/ecw/order/cargoControl.vue
View file @
8979b3d8
...
@@ -35,12 +35,12 @@
...
@@ -35,12 +35,12 @@
<el-form-item
:label=
"$t('提单号')"
prop=
"tidanNo"
>
<el-form-item
:label=
"$t('提单号')"
prop=
"tidanNo"
>
<el-input
v-model=
"queryParams.tidanNo"
:placeholder=
"$t('提单号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.tidanNo"
:placeholder=
"$t('提单号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('发货人')"
prop=
"consignor
Id
"
>
<el-form-item
:label=
"$t('发货人')"
prop=
"consignor
Key
"
>
<el-input
v-model=
"queryParams.consignor
Id
"
:placeholder=
"$t('发货人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.consignor
Key
"
:placeholder=
"$t('发货人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('收货人')"
prop=
"consignee
Id
"
>
<el-form-item
:label=
"$t('收货人')"
prop=
"consignee
Key
"
>
<el-input
v-model=
"queryParams.consignee
Id
"
:placeholder=
"$t('收货人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.consignee
Key
"
:placeholder=
"$t('收货人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('报关方式')"
prop=
"customsType"
>
<el-form-item
:label=
"$t('报关方式')"
prop=
"customsType"
>
...
@@ -246,15 +246,20 @@ export default {
...
@@ -246,15 +246,20 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
// 执行查询
// 执行查询
getCargoControlOrderPage
(
this
.
combinedQueryParams
).
then
(
response
=>
{
getCargoControlOrderPage
(
this
.
combinedQueryParams
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
list
;
this
.
list
=
[]
this
.
total
=
response
.
data
.
total
;
// 直接更细数据,可能因为elTable的部分渲染产生bug,比如权限控制异常
this
.
$nextTick
(
()
=>
{
this
.
list
=
response
.
data
.
list
;
this
.
total
=
response
.
data
.
total
;
})
this
.
loading
=
false
;
this
.
loading
=
false
;
});
});
},
},
/** 搜索按钮操作 */
/** 搜索按钮操作 */
handleQuery
()
{
handleQuery
()
{
this
.
queryParams
.
page
No
=
1
;
this
.
queryParams
.
page
=
1
;
this
.
getList
();
this
.
getList
();
},
},
/** 重置按钮操作 */
/** 重置按钮操作 */
...
...
src/views/ecw/order/cargoControlDetail.vue
View file @
8979b3d8
...
@@ -42,7 +42,11 @@
...
@@ -42,7 +42,11 @@
<template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('收货人')"
prop=
"consigneeName"
/>
<el-table-column
:label=
"$t('收货人')"
prop=
"consigneeName"
/>
<el-table-column
:label=
"$t('收货人电话')"
prop=
"consigneePhone"
/>
<el-table-column
:label=
"$t('收货人电话')"
prop=
"consigneePhone"
>
<
template
slot-scope=
"{row}"
>
+
{{
row
.
consigneeCountryCode
}}
{{
row
.
consigneePhone
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('控货箱数')"
prop=
"controlNum"
></el-table-column>
<el-table-column
:label=
"$t('控货箱数')"
prop=
"controlNum"
></el-table-column>
<el-table-column
:label=
"$t('放货箱数')"
prop=
"pickNum"
></el-table-column>
<el-table-column
:label=
"$t('放货箱数')"
prop=
"pickNum"
></el-table-column>
<el-table-column
:label=
"$t('体积') + '(m³)'"
prop=
"pickVolume"
></el-table-column>
<el-table-column
:label=
"$t('体积') + '(m³)'"
prop=
"pickVolume"
></el-table-column>
...
@@ -67,7 +71,7 @@
...
@@ -67,7 +71,7 @@
<el-button
v-if=
"scope.row.status == 3"
type=
"danger"
size=
"mini"
@
click=
"fallbackIndex=scope.$index"
>
{{
$t
(
'
反复核
'
)
}}
</el-button>
<el-button
v-if=
"scope.row.status == 3"
type=
"danger"
size=
"mini"
@
click=
"fallbackIndex=scope.$index"
>
{{
$t
(
'
反复核
'
)
}}
</el-button>
<el-button
v-if=
"scope.row.status == 3"
type=
"success"
size=
"mini"
@
click=
"cargoControlPickId=scope.row.id"
>
{{
$t
(
'
调货
'
)
}}
</el-button>
<el-button
v-if=
"scope.row.status == 3"
type=
"success"
size=
"mini"
@
click=
"cargoControlPickId=scope.row.id"
>
{{
$t
(
'
调货
'
)
}}
</el-button>
<el-button
v-if=
"[2,4, 5, 6].indexOf(scope.row.status) > -1"
type=
"primary"
size=
"mini"
@
click=
"showApprovalDetail(scope.row.
i
d)"
>
{{
$t
(
'
审核详情
'
)
}}
</el-button>
<el-button
v-if=
"[2,4, 5, 6].indexOf(scope.row.status) > -1"
type=
"primary"
size=
"mini"
@
click=
"showApprovalDetail(scope.row.
formI
d)"
>
{{
$t
(
'
审核详情
'
)
}}
</el-button>
<el-button
v-if=
"[2,4, 5, 6].indexOf(scope.row.status) > -1"
type=
"danger"
size=
"mini"
@
click=
"cancelApproval(scope.row.id)"
>
{{
$t
(
'
取消审核
'
)
}}
</el-button>
<el-button
v-if=
"[2,4, 5, 6].indexOf(scope.row.status) > -1"
type=
"danger"
size=
"mini"
@
click=
"cancelApproval(scope.row.id)"
>
{{
$t
(
'
取消审核
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -181,8 +185,8 @@ export default {
...
@@ -181,8 +185,8 @@ export default {
this
.
loadData
()
this
.
loadData
()
},
},
// 查看审核详情
// 查看审核详情
showApprovalDetail
(
i
d
){
showApprovalDetail
(
formI
d
){
this
.
$router
.
push
(
'
/bpm/process-instance/detail?id=
'
+
this
.
getApproval
(
id
,
'
formId
'
)
)
this
.
$router
.
push
(
'
/bpm/process-instance/detail?id=
'
+
formId
)
},
},
// 取消审核
// 取消审核
cancelApproval
(
id
){
cancelApproval
(
id
){
...
...
src/views/ecw/order/components/PrintWarehouseReceipt.vue
View file @
8979b3d8
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<p
style=
"padding-bottom:10px;font-size:16px;"
>
<p
style=
"padding-bottom:10px;font-size:16px;"
>
{{
$t
(
'
订单号
'
)
}}
:
{{
detail
.
orderNo
}}
{{
$t
(
'
订单号
'
)
}}
:
{{
detail
.
orderNo
}}
{{
$t
(
'
发货人电话
'
)
}}
:
{{
detail
.
consignorVO
.
countryCode
}}
{{
detail
.
consignorVO
.
phone
}}
{{
$t
(
'
发货人电话
'
)
}}
:
{{
detail
.
consignorVO
.
countryCode
}}
{{
detail
.
consignorVO
.
phone
}}
{{
$t
(
'
提货地点
'
)
}}
:
{{
objective
.
titleZh
}}
{{
$t
(
'
提货地点
'
)
}}
:
{{
$l
(
objective
,
'
title
'
)
}}
<img
:src=
"qrcode"
style=
"margin-left: 10px;width:17mm;vertical-align:middle"
/>
<img
:src=
"qrcode"
style=
"margin-left: 10px;width:17mm;vertical-align:middle"
/>
</p>
</p>
<div
id=
"table1"
width=
"205mm"
>
<div
id=
"table1"
width=
"205mm"
>
...
@@ -100,10 +100,14 @@ export default {
...
@@ -100,10 +100,14 @@ export default {
return
t
return
t
},
},
objective
(){
objective
(){
if
(
this
.
detail
&&
this
.
detail
.
orderObjectiveVO
&&
this
.
detail
.
orderObjectiveVO
.
objective
){
return
{
titleZh
:
this
.
detail
.
logisticsInfoDto
.
destTitleZh
,
titleEn
:
this
.
detail
.
logisticsInfoDto
.
destTitleEn
}
/* if(this.detail && this.detail.orderObjectiveVO && this.detail.orderObjectiveVO.objective){
return JSON.parse(this.detail.orderObjectiveVO.objective)
return JSON.parse(this.detail.orderObjectiveVO.objective)
}
}
return
{}
return {}
*/
},
},
items
(){
items
(){
let
arr
=
[]
let
arr
=
[]
...
...
src/views/ecw/order/special/index.vue
View file @
8979b3d8
...
@@ -31,7 +31,11 @@
...
@@ -31,7 +31,11 @@
:label=
"$t('入库货物属性')"
>
:label=
"$t('入库货物属性')"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<template
v-if=
"row.warehouseInInfoVO"
>
<template
v-if=
"row.warehouseInInfoVO"
>
{{
$t
(
'
品牌
'
)
}}
:
<dict-tag
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.feeType"
/><br>
{{
$t
(
'
品牌
'
)
}}
:
<!-- 23-03-27 根据需求方要求,按照详情页一样的规则显示 -->
<template
v-if=
"row.brandName"
>
{{
row
.
brandName
}}
</
template
>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.brandType"
/>
<!-- <dict-tag :type="DICT_TYPE.ECW_IS_BRAND" :value="row.feeType" /> -->
<br>
{{$t('箱数')}}:{{ row.warehouseInInfoVO.cartonsNum }}
<br>
{{$t('箱数')}}:{{ row.warehouseInInfoVO.cartonsNum }}
<br>
{{$t('体积')}}:{{ row.warehouseInInfoVO.volume }}m³
<br>
{{$t('体积')}}:{{ row.warehouseInInfoVO.volume }}m³
<br>
{{$t('重量')}}:{{ row.warehouseInInfoVO.weight }}Kg
{{$t('重量')}}:{{ row.warehouseInInfoVO.weight }}Kg
...
...
src/views/ecw/productPrice/edit.vue
View file @
8979b3d8
...
@@ -700,7 +700,8 @@ export default {
...
@@ -700,7 +700,8 @@ export default {
this
.
$set
(
this
.
form
,
'
clearancePriceUnit
'
,
priceUnit
)
this
.
$set
(
this
.
form
,
'
clearancePriceUnit
'
,
priceUnit
)
this
.
$set
(
this
.
form
,
'
allPriceUnit
'
,
priceUnit
)
this
.
$set
(
this
.
form
,
'
allPriceUnit
'
,
priceUnit
)
}
,
}
,
submitForm
()
{
// force 为是否强制提交,在价格过期的时候需要确认后强制提交
submitForm
(
force
=
false
)
{
this
.
$refs
[
"
form
"
].
validate
(
valid
=>
{
this
.
$refs
[
"
form
"
].
validate
(
valid
=>
{
if
(
!
valid
)
{
if
(
!
valid
)
{
return
;
return
;
...
@@ -747,6 +748,20 @@ export default {
...
@@ -747,6 +748,20 @@ export default {
}
}
}
}
// 设置了有效期,且已过期则给提示
if
(
this
.
form
.
validateEndDate
&&
force
!==
true
){
let
validateEndDate
=
new
Date
(
this
.
form
.
validateEndDate
)
if
(
validateEndDate
.
getTime
()
<
Date
.
now
()){
return
this
.
$confirm
(
'
您设置的线路价格已过期,确定提交吗?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确认提交
'
,
cancelButtonText
:
'
取消提交
'
,
type
:
'
warning
'
}
).
then
(
res
=>
{
this
.
submitForm
(
true
)
}
)
}
}
// 修改单条路线
// 修改单条路线
if
(
this
.
$route
.
query
.
action
==
'
update
'
)
{
if
(
this
.
$route
.
query
.
action
==
'
update
'
)
{
this
.
loading
=
true
this
.
loading
=
true
...
...
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