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
9c77abcb
Commit
9c77abcb
authored
Feb 11, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
8015f169
3d4621a5
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
46 additions
and
35 deletions
+46
-35
.env.development
.env.development
+1
-6
index.vue
src/views/ecw/box/ladingBill/index.vue
+12
-5
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+2
-2
detail.vue
src/views/ecw/order/detail.vue
+3
-3
edit.vue
src/views/ecw/order/edit.vue
+25
-16
index.vue
src/views/ecw/order/index.vue
+1
-1
index.vue
src/views/ecw/order/warehousing/index.vue
+2
-2
No files found.
.env.development
View file @
9c77abcb
...
...
@@ -5,12 +5,7 @@ ENV = 'development'
VUE_APP_TITLE = 捷道管理系统
# 捷道管理系统/开发环境
#VUE_APP_BASE_API = 'https://jd.admtest.jdshangmen.com'
#VUE_APP_BASE_API = 'https://api.jd.jdshangmen.com'
#VUE_APP_BASE_API = 'http://localhost:48080'
VUE_APP_BASE_API = 'https://api2.groupage.cn'
# VUE_APP_BASE_API = '/api'
VUE_APP_BASE_API = 'https://api.jd.jdshangmen.com'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
...
...
src/views/ecw/box/ladingBill/index.vue
View file @
9c77abcb
...
...
@@ -15,9 +15,9 @@
<section
class=
"table-goodList"
>
<div
v-for=
"(item, index) in scope.row.orderItemList"
:key=
"index"
class=
"goodList-div"
>
<p>
{{
$t
(
'
品名
'
)
}}
:
{{
$l
(
item
,
'
prodTitle
'
)
}}
</p>
<p>
{{
$t
(
'
品牌
'
)
}}
:【
<
span
v-if=
"item.feeType === 0"
>
{{
$t
(
'
无品牌
'
)
}}
</span>
<dict-tag
v-else
:type=
"DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE"
:value=
"item.feeType"
/>
{{
$t
(
'
】
'
)
}}
</p>
<p>
{{
$t
(
'
品牌
'
)
}}
:【
<template
v-if=
"item.brandName"
>
{{
item
.
brandName
}}
</
template
>
<
dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"item.feeType"
/>
{{ $t('】') }}
</p>
<p>
{{$t('其他')}}:{{getTotlContent(item)}}
</p>
</div>
</section>
...
...
@@ -77,7 +77,7 @@
</el-col>
</el-row>
<el-dialog
:title=
"dialogCfg.title"
:visible.sync=
"dialogCfg.visible"
:width=
"dialogCfg.width"
:fullscreen=
"dialogCfg.fullscreen"
append-to-body
class=
"shippingSea-dialog"
>
<el-dialog
:title=
"dialogCfg.title"
:visible.sync=
"dialogCfg.visible"
:width=
"dialogCfg.width"
:fullscreen=
"dialogCfg.fullscreen"
append-to-body
class=
"shippingSea-dialog"
@
closed=
"dialogclosed"
>
<makeLadingBill
v-if=
"['makeBill','queryBill','resetBill'].includes(dialogCfg.type)"
:currData=
"currData"
:currRow=
"currRow"
:dialogCfg=
"dialogCfg"
@
closeDialog=
"closeDialog"
:selfNo=
"shipmentObj.selfNo"
/>
<previewBill
v-if=
"dialogCfg.type === 'previewBill'"
:contentHtml=
"currData.billContent"
:currRow=
"currRow"
:type=
"dialogCfg.type"
/>
</el-dialog>
...
...
@@ -126,6 +126,7 @@ export default {
},
// 模板内容
billContent
:
""
,
handleType
:
""
,
};
},
created
()
{
...
...
@@ -163,7 +164,13 @@ export default {
this
.
$emit
(
"
closeDialog
"
);
}
},
dialogclosed
()
{
if
(
this
.
handleType
===
"
resetBill
"
)
{
this
.
getBillList
();
}
},
handleCommand
(
type
,
row
)
{
this
.
handleType
=
type
;
switch
(
type
)
{
case
"
previewBill
"
:
this
.
getBill
(
row
);
...
...
@@ -241,7 +248,7 @@ export default {
computed
:
{
/* 总计 */
getSumData
()
{
return
`
${
this
.
billData
.
totalNum
??
0
}
$
{
this
.
$t
(
'
箱
'
)}
$
{
return
`
${
this
.
billData
.
totalNum
??
0
}
$
{
this
.
$t
(
"
箱
"
)}
$
{
this
.
billData
.
totalVolume
??
0
}
m
³
$
{
this
.
billData
.
totalWeight
??
0
}
kg
`;
},
...
...
src/views/ecw/financial/creatCollection.vue
View file @
9c77abcb
...
...
@@ -396,9 +396,9 @@
<
/el-card
>
<
/el-form
>
<
div
slot
=
"
footer
"
style
=
"
margin: 20px 0
"
>
<
el
-
button
v
-
if
=
"
id==0||form.state==0
"
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
submitForm(1)
"
>
{{
$t
(
'
保存
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
id==0||form.state==0
"
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
submitForm(1)
"
>
{{
$t
(
'
保存
草稿
'
)
}}
<
/el-button
>
<
el
-
button
v
-
else
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
$store.dispatch('tagsView/delCurrentView')
"
>
{{
$t
(
'
返回
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
submitForm(0)
"
>
{{
id
&&
form
.
state
!=
0
?
$t
(
'
修改
'
)
:
$t
(
'
新增
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
:
loading
=
"
saveBtnLoading
"
@
click
=
"
submitForm(0)
"
>
{{
id
&&
form
.
state
!=
0
?
$t
(
'
修改
'
)
:
$t
(
'
新增
收款单
'
)
}}
<
/el-button
>
<
/div
>
<
el
-
dialog
:
visible
.
sync
=
"
open
"
...
...
src/views/ecw/order/detail.vue
View file @
9c77abcb
...
...
@@ -164,17 +164,17 @@
</el-table-column>
<el-table-column
prop=
"volume"
:label=
"$t('体积') + '(m³)'"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
order
.
inWarehouseState
>
1
&&
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
volume
:
row
.
volume
}}
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
volume
:
row
.
volume
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"weight"
:label=
"$t('重量') + '(kg)'"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
order
.
inWarehouseState
>
1
&&
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
weight
:
row
.
weight
}}
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
weight
:
row
.
weight
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"warehouseInInfoVO.quantityAll"
:label=
"$t('数量') + '(个)'"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
(
order
.
inWarehouseState
>
1
&&
row
.
warehouseInInfoVO
)
?
row
.
warehouseInInfoVO
.
quantityAll
:
row
.
quantity
}}
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
quantityAll
:
row
.
quantity
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('费用类型')"
>
...
...
src/views/ecw/order/edit.vue
View file @
9c77abcb
...
...
@@ -2,11 +2,20 @@
<div
class=
"app-container"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-position=
"left"
inline
>
<el-card
v-if=
"form.applyStatus == 1"
class=
"mb-10"
>
<div
slot=
"header"
class=
"card-title"
>
{{
$t
(
'
以下信息修改审核中
'
)
}}
</div>
<el-table
:data=
"form.applyInfoList"
>
<el-table-column
label=
"字段"
prop=
"name"
></el-table-column>
<el-table-column
label=
"旧内容"
prop=
"orgValue"
></el-table-column>
<el-table-column
label=
"新内容"
prop=
"newValue"
></el-table-column>
</el-table>
</el-card>
<el-card>
<div
slot=
"header"
class=
"card-title"
>
{{
editMode
?
$t
(
'
编辑订单
'
)
+
'
-
'
+
form
.
orderNo
:
$t
(
'
新建订单
'
)
}}
</div>
<!--默认显示类型(selectedRouter==null),如果选择路线后没开通则隐藏-->
<el-form-item
:label=
"$t('订单类型')"
v-if=
"routeOtherServices.indexOf('1') > -1 || routeOtherServices.indexOf('4') > -1"
>
<el-checkbox-group
v-model=
"form.type"
:disabled=
"inWarehouse"
>
<el-checkbox-group
v-model=
"form.type"
:disabled
2
=
"inWarehouse"
>
<el-checkbox
label=
"1"
v-if=
"routeOtherServices.indexOf('1') > -1"
>
{{
$t
(
'
集运服务
'
)
}}
</el-checkbox>
<el-checkbox
label=
"2"
v-if=
"routeOtherServices.indexOf('4') > -1"
>
{{
$t
(
'
海外仓
'
)
}}
</el-checkbox>
</el-checkbox-group>
...
...
@@ -16,9 +25,9 @@
<el-form-item
:label=
"$t('发货人')"
prop=
"consignorContactsId"
>
<!--
<customer-contact-selector
v-model=
"form.consignorContactsId"
@
change=
"consignorContact = $event"
type=
"1"
/>
-->
<div
class=
"contact"
>
<el-input
v-model=
"form.consignorName"
placeholder=
""
:disabled=
"inWarehouse"
/>
<img
v-if=
"!inWarehouse"
src=
"@/assets/images/phonebook.png"
class=
"phonebook"
@
click=
"contactChooseType='consignor'"
/>
<img
v-if=
"!inWarehouse"
src=
"@/assets/images/new_customer.png"
class=
"phonebook"
@
click=
"quickCreateType='0'"
/>
<el-input
v-model=
"form.consignorName"
placeholder=
""
:disabled
2
=
"inWarehouse"
/>
<img
src=
"@/assets/images/phonebook.png"
class=
"phonebook"
@
click=
"contactChooseType='consignor'"
/>
<img
src=
"@/assets/images/new_customer.png"
class=
"phonebook"
@
click=
"quickCreateType='0'"
/>
</div>
</el-form-item>
<el-form-item
:label=
"$t('发货人电话')"
prop=
"consignorPhone"
>
...
...
@@ -26,19 +35,19 @@
<el-input
v-model=
"form.consignorPhone"
class=
"w-200"
disabled
/>
</el-form-item>
<el-form-item
:label=
"$t('发货人公司')"
prop=
"consignorPhone"
>
<el-input
v-model=
"form.consignorCompany"
:disabled=
"inWarehouse"
/>
<el-input
v-model=
"form.consignorCompany"
:disabled
2
=
"inWarehouse"
/>
</el-form-item>
<el-form-item
label=
"Email"
prop=
"consignorPhone"
>
<el-input
v-model=
"form.consignorEmail"
:disabled=
"inWarehouse"
/>
<el-input
v-model=
"form.consignorEmail"
:disabled
2
=
"inWarehouse"
/>
</el-form-item>
</div>
<div
class=
"form-section"
>
<el-form-item
:label=
"$t('收货人')"
prop=
"consigneeContactsId"
>
<!--
<customer-contact-selector
v-model=
"form.consignorContactsId"
@
change=
"consignorContact = $event"
type=
"1"
/>
-->
<div
class=
"contact"
>
<el-input
v-model=
"form.consigneeName"
placeholder=
""
:disabled=
"inWarehouse"
/>
<img
v-if=
"!inWarehouse"
src=
"@/assets/images/phonebook.png"
class=
"phonebook"
@
click=
"contactChooseType='consignee'"
/>
<img
v-if=
"!inWarehouse"
src=
"@/assets/images/new_customer.png"
class=
"phonebook"
@
click=
"quickCreateType='1'"
/>
<el-input
v-model=
"form.consigneeName"
placeholder=
""
:disabled
2
=
"inWarehouse"
/>
<img
src=
"@/assets/images/phonebook.png"
class=
"phonebook"
@
click=
"contactChooseType='consignee'"
/>
<img
src=
"@/assets/images/new_customer.png"
class=
"phonebook"
@
click=
"quickCreateType='1'"
/>
</div>
</el-form-item>
<el-form-item
:label=
"$t('收货人电话')"
prop=
"consigneePhone"
>
...
...
@@ -46,20 +55,20 @@
<el-input
v-model=
"form.consigneePhone"
class=
"w-200"
disabled
/>
</el-form-item>
<el-form-item
:label=
"$t('收货人公司')"
prop=
"consigneePhone"
>
<el-input
v-model=
"form.consigneeCompany"
:disabled=
"inWarehouse"
/>
<el-input
v-model=
"form.consigneeCompany"
:disabled
2
=
"inWarehouse"
/>
</el-form-item>
<el-form-item
label=
"Email"
prop=
"consigneePhone"
>
<el-input
v-model=
"form.consigneeEmail"
:disabled=
"inWarehouse"
/>
<el-input
v-model=
"form.consigneeEmail"
:disabled
2
=
"inWarehouse"
/>
</el-form-item>
</div>
<div
class=
"form-section"
>
<el-form-item
:label=
"$t('运输方式')"
prop=
"transportId"
>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
v-model=
"form.transportId"
:disabled=
"inWarehouse"
/>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
v-model=
"form.transportId"
:disabled
2
=
"inWarehouse"
/>
</el-form-item>
<el-form-item
:label=
"$t('出货渠道')"
prop=
"channelId"
v-if=
"getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, form.transportId).cssClass == 'channel'"
>
<selector
:disabled=
"inWarehouse || getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, form.transportId).cssClass != 'channel'"
:disabled
2
=
"inWarehouse || getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, form.transportId).cssClass != 'channel'"
v-model=
"form.channelId"
:options=
"channelList"
value-field=
"channelId"
...
...
@@ -69,12 +78,12 @@
</div>
<div
class=
"form-section"
>
<el-form-item
:label=
"$t('始发城市')"
prop=
"departureId"
>
<el-select
v-model=
"form.departureId"
:placeholder=
"$t('请选择始发地')"
:disabled=
"inWarehouse"
>
<el-select
v-model=
"form.departureId"
:placeholder=
"$t('请选择始发地')"
:disabled
2
=
"inWarehouse"
>
<el-option
v-for=
"item in exportCityList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('目的城市')"
prop=
"objectiveId"
>
<el-select
v-model=
"form.objectiveId"
:placeholder=
"$t('请选择目的地')"
:disabled=
"inWarehouse"
>
<el-select
v-model=
"form.objectiveId"
:placeholder=
"$t('请选择目的地')"
:disabled
2
=
"inWarehouse"
>
<el-option
v-for=
"item in importCityList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -83,7 +92,7 @@
<el-form-item
:label=
"$t('选择线路')"
prop=
"lineId"
>
<el-input
:value=
"selectedRouter ? $l(selectedRouter, 'startTitle') + ' > ' + $l(selectedRouter, 'destTitle') : ''"
disabled
:placeholder=
"$t('请在右侧选择线路')"
></el-input>
</el-form-item>
<select
size=
"5"
v-model=
"form.lineId"
style=
"min-width: 300px; border:1px solid #DCDFE6; border-radius:4px"
:disabled=
"inWarehouse"
>
<select
size=
"5"
v-model=
"form.lineId"
style=
"min-width: 300px; border:1px solid #DCDFE6; border-radius:4px"
:disabled
2
=
"inWarehouse"
>
<option
v-for=
"item in routerList"
:value=
"item.id"
:key=
"item.id"
>
{{
$l
(
item
,
'
startTitle
'
)
}}
>>
{{
$l
(
item
,
'
destTitle
'
)
}}
</option>
</select>
</div>
...
...
src/views/ecw/order/index.vue
View file @
9c77abcb
...
...
@@ -295,7 +295,7 @@
include(scope.row.inWarehouseState, [202, 207, 202, 209, 210, 202, 211, 212, 202, 213, 214, 215, 216, 204, 205]) &&
scope.row.status != 11 && exclude(scope.row.shipmentState, [314,315,317,318])
"
>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing-update?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:update']"
:disabled=
"scope.row.parentOrderId"
>
{{
$t
(
'
入仓修改
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing-update?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:update']"
:disabled
2
=
"scope.row.parentOrderId"
>
{{
$t
(
'
入仓修改
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 退仓 -->
...
...
src/views/ecw/order/warehousing/index.vue
View file @
9c77abcb
...
...
@@ -83,10 +83,10 @@
<
template
v-slot=
"{ row, column, $index }"
>
<el-button
v-if=
"isEdit"
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(row)"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<template
v-else-if=
"wareItem(row.orderItemId) && wareItem(row.orderItemId).orderWarehouseInBackItemDoList && wareItem(row.orderItemId).orderWarehouseInBackItemDoList.length > 0"
>
<template
v-if=
"!order.parentOrderId"
>
<!--
<template
v-if=
"!order.parentOrderId"
>
--
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(row)"
>
{{
$t
(
'
追加
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousingReturn(row)"
>
{{
$t
(
'
退仓
'
)
}}
</el-button>
</
template
>
<!--
</
template
>
--
>
</template>
<el-button
v-else
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(row)"
>
{{$t('入仓')}}
</el-button>
</template>
...
...
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