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
b1e33200
Commit
b1e33200
authored
Feb 24, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单优惠提单模板设置等bug
parent
22ab0f26
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
9 deletions
+21
-9
permission.js
src/store/modules/permission.js
+2
-1
index.vue
src/views/ecw/coupon/index.vue
+4
-1
detail.vue
src/views/ecw/offer/detail.vue
+2
-2
index.vue
src/views/ecw/offer/index.vue
+4
-1
PrintTag.vue
src/views/ecw/order/components/PrintTag.vue
+7
-1
index.vue
src/views/ecw/order/index.vue
+0
-1
index.vue
src/views/ecw/warehouse/index.vue
+2
-2
No files found.
src/store/modules/permission.js
View file @
b1e33200
...
...
@@ -64,7 +64,8 @@ function filterAsyncRouter(asyncRouterMap, lastRouter = false, type = false) {
// debugger
if
(
route
.
parentId
===
0
)
{
route
.
component
=
Layout
}
else
{
}
else
{
route
.
component
=
ParentView
}
}
else
{
// 根节点
...
...
src/views/ecw/coupon/index.vue
View file @
b1e33200
...
...
@@ -204,7 +204,7 @@
import
{
createCoupon
,
updateCoupon
,
deleteCoupon
,
getCoupon
,
getCouponPage
,
exportCouponExcel
}
from
"
@/api/ecw/coupon
"
;
export
default
{
name
:
"
Coupon
"
,
name
:
"
EcwCouponIndex
"
,
components
:
{
}
,
data
()
{
...
...
@@ -266,6 +266,9 @@ export default {
created
()
{
this
.
getList
();
}
,
activated
(){
this
.
getList
()
}
,
methods
:
{
/** 查询列表 */
getList
()
{
...
...
src/views/ecw/offer/detail.vue
View file @
b1e33200
...
...
@@ -22,7 +22,7 @@
{{
consignorData
.
contactsName
||
$t
(
'
无
'
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('手机号')+':'"
>
{{
consignorData
?(
checkCode
(
consignorData
.
areaCode
)
+
consignorData
.
phoneNew
)
||
$t
(
'
无
'
):
$t
(
'
无
'
)
}}
{{
consignorData
&&
consignorData
.
phoneNew
?
(
checkCode
(
consignorData
.
areaCode
)
+
consignorData
.
phoneNew
)
||
$t
(
'
无
'
):
$t
(
'
无
'
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('联系地址')+':'"
>
{{
consignorData
.
address
||
$t
(
'
无
'
)
}}
...
...
@@ -44,7 +44,7 @@
{{
consigneeData
.
contactsName
||
$t
(
'
无
'
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('手机号')+':'"
>
{{
consigneeData
?(
checkCode
(
consigneeData
.
areaCode
)
+
consigneeData
.
phoneNew
)
||
$t
(
'
无
'
):
$t
(
'
无
'
)
}}
{{
consigneeData
&&
consigneeData
.
phoneNew
?(
checkCode
(
consigneeData
.
areaCode
)
+
consigneeData
.
phoneNew
)
||
$t
(
'
无
'
):
$t
(
'
无
'
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('联系地址')+':'"
>
{{
consigneeData
.
address
||
$t
(
'
无
'
)
}}
...
...
src/views/ecw/offer/index.vue
View file @
b1e33200
...
...
@@ -148,7 +148,7 @@ import { getCurrencyList } from '@/api/ecw/currency';
import
{
getTradeCityList
}
from
'
@/api/ecw/region
'
import
UserSelector
from
'
@/components/UserSelector
'
export
default
{
name
:
"
Offer
"
,
name
:
"
EcwOfferIndex
"
,
components
:
{
UserSelector
}
,
...
...
@@ -189,6 +189,9 @@ export default {
return
this
.
tradeCityList
.
filter
(
item
=>
item
.
type
==
1
)
}
,
}
,
activated
(){
this
.
getList
()
}
,
created
()
{
getTradeCityList
().
then
(
res
=>
this
.
tradeCityList
=
res
.
data
)
...
...
src/views/ecw/order/components/PrintTag.vue
View file @
b1e33200
...
...
@@ -22,7 +22,7 @@
<div
v-if=
"step=='preview'"
style=
"height:250px; overflow-y:hidden"
>
<div
class=
"order-print-tag-item"
v-for=
"(item, index) in
tags.filter(tag => tag.num >= form.start && tag.num
<
=
form
.
end
)
"
v-for=
"(item, index) in
printTags
"
style=
"width: 80mm; margin: 0 auto;"
:id=
"'order-print-tag' + item.num"
:style=
"
{display: index == 0 ? 'block':'none' }"
:key="item.num">
...
...
@@ -92,6 +92,9 @@ export default {
}
}
,
computed
:{
printTags
(){
return
this
.
tags
.
filter
(
tag
=>
tag
.
num
>=
this
.
form
.
start
&&
tag
.
num
<=
this
.
form
.
end
)
}
,
detail
(){
return
this
.
tags
.
length
?
this
.
tags
[
0
]
:
null
}
,
...
...
@@ -124,6 +127,9 @@ export default {
if
(
this
.
form
.
end
>
this
.
tags
[
this
.
tags
.
length
-
1
].
num
){
return
this
.
$message
.
error
(
this
.
$t
(
'
结束标签不对
'
))
}
if
(
!
this
.
printTags
.
length
){
return
this
.
$message
.
error
(
this
.
$t
(
'
指定区域无可打印标签
'
))
}
this
.
$refs
[
"
form
"
].
validate
(
valid
=>
{
if
(
!
valid
)
{
return
;
...
...
src/views/ecw/order/index.vue
View file @
b1e33200
...
...
@@ -353,7 +353,6 @@
<!-- 打印标签 -->
<
template
v-if=
"
exclude(scope.row.status, [0]) &&
exclude(scope.row.shipmentState, [320,322,323]) &&
exclude(scope.row.abnormalState, [5,6,7,8])
"
>
<el-dropdown-item
@
click.native=
"printTagOrderId=scope.row.orderId"
>
{{
$t
(
'
打印标签
'
)
}}
</el-dropdown-item>
...
...
src/views/ecw/warehouse/index.vue
View file @
b1e33200
...
...
@@ -314,7 +314,7 @@
</el-form-item>
<el-form-item
:label=
"$t('抬头')"
prop=
"titleZh"
>
<el-link
type=
"primary"
@
click.native=
"setTpl('sea')"
>
{{ $t('海运模板') }}
</el-link>
|
<el-link
type=
"primary"
@
click.native=
"setTpl('air')"
>
{{ $t('空运模板') }}
</el-link>
<ueditor
v-model=
"ladingform.titleZh"
:min-height=
"192"
style=
"width:960px"
/>
<ueditor
v-
if=
"templateOpen"
v-
model=
"ladingform.titleZh"
:min-height=
"192"
style=
"width:960px"
/>
</el-form-item>
<el-card
class=
"box-card"
>
...
...
@@ -366,7 +366,7 @@
<el-form-item
:label=
"$t('条款')"
prop=
"contentZh"
>
<el-link
type=
"primary"
@
click.native=
"setAgreementTpl('agreementSea')"
>
{{ $t('海运模板') }}
</el-link>
|
<el-link
type=
"primary"
@
click.native=
"setAgreementTpl('agreementAir')"
>
{{ $t('空运模板') }}
</el-link>
<ueditor
v-model=
"ladingform.contentZh"
:min-height=
"192"
style=
"width:960px"
/>
<ueditor
v-
if=
"templateOpen"
v-
model=
"ladingform.contentZh"
:min-height=
"192"
style=
"width:960px"
/>
</el-form-item>
<el-form-item
v-if=
"showFlag"
>
...
...
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