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
28cecd72
Commit
28cecd72
authored
Jul 25, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复几个bug
parent
a7115d5e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
12 deletions
+24
-12
index.vue
src/components/ProductSelector/index.vue
+2
-1
dict.js
src/utils/dict.js
+1
-1
edit.vue
src/views/ecw/order/edit.vue
+18
-7
index.vue
src/views/ecw/order/index.vue
+2
-2
success.vue
src/views/ecw/order/success.vue
+1
-1
No files found.
src/components/ProductSelector/index.vue
View file @
28cecd72
...
...
@@ -40,7 +40,8 @@ export default {
let
productId
=
val
!==
''
&&
val
!==
null
?
this
.
list
[
val
].
id
:
null
console
.
log
(
'
index val
'
,
val
,
productId
)
this
.
$emit
(
'
input
'
,
productId
)
this
.
$emit
(
'
change
'
,
val
!=
''
&&
val
!==
null
?
this
.
list
[
val
]
:
null
)
this
.
$emit
(
'
change
'
,
val
!==
''
&&
val
!==
null
?
this
.
list
[
val
]
:
null
)
// 0 != '' 是 false
},
value
(
val
){
console
.
log
(
'
初始化内容
'
,
val
)
...
...
src/utils/dict.js
View file @
28cecd72
...
...
@@ -151,7 +151,7 @@ export const DICT_TYPE = {
PAY_TYPE
:
'
pay_type
'
,
RECEIVE_FLAG
:
'
receive_flag
'
,
COMDINED_VALUE_ADDED_FEE
:
'
combined_value_added_fee
'
,
ORDER_SPECIAL_NEEDS
:
'
order_special_needs
'
,
ORDER_SPECIAL_NEEDS
:
'
order_special_needs
'
,
// 订单特殊需求
ORDER_ABNORMAL_STATE
:
'
order_abnormal_state
'
}
...
...
src/views/ecw/order/edit.vue
View file @
28cecd72
...
...
@@ -22,15 +22,15 @@
</el-descriptions-item>
</el-descriptions>
<el-descriptions
:column=
"3"
border
>
<el-descriptions-item
label=
"*
发
货人"
>
<el-form-item
label=
""
label-width=
"0"
style=
"margin-bottom: 0"
prop=
"consigneeContactsId"
required
error=
"
发
货人不能为空"
>
<el-descriptions-item
label=
"*
收
货人"
>
<el-form-item
label=
""
label-width=
"0"
style=
"margin-bottom: 0"
prop=
"consigneeContactsId"
required
error=
"
收
货人不能为空"
>
<customer-contact-selector
v-model=
"form.consigneeContactsId"
@
change=
"consigneeContact = $event"
/>
</el-form-item>
</el-descriptions-item>
<el-descriptions-item
label=
"电话"
>
{{
consigneeContact
.
phoneNew
||
'
无
'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"
发
货人公司"
>
<el-descriptions-item
label=
"
收
货人公司"
>
{{
consigneeContact
.
customerName
||
'
无
'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"Email"
>
...
...
@@ -100,12 +100,12 @@
</el-table-column>
<el-table-column
label=
"中文品名"
width=
"160px"
>
<
template
slot-scope=
"{row}"
>
<product-selector
v-model=
"row.prodId"
@
change=
"
row.goodsType = $event ? $event.typeId : null
"
:disabled=
"!form.lineId"
/>
<product-selector
v-model=
"row.prodId"
@
change=
"
onProductChange(row, $event)
"
:disabled=
"!form.lineId"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"英文品名"
width=
"160px"
>
<
template
slot-scope=
"{row}"
>
<product-selector
v-model=
"row.prodId"
@
change=
"
row.goodsType =$event ? $event.typeId : null
"
:disabled=
"!form.lineId"
/>
<product-selector
v-model=
"row.prodId"
@
change=
"
onProductChange(row, $event)
"
:disabled=
"!form.lineId"
/>
</
template
>
</el-table-column>
<!-- <el-table-column label="商品类型" width="160px">
...
...
@@ -364,7 +364,7 @@
</el-form-item>
<el-form-item
label=
"特殊要求"
>
<dict-selector
v-model=
"form.packageType"
form-type=
"checkbox"
:type=
"DICT_TYPE.
ECW_PACKAGE_TYPE
"
multiple
/>
<dict-selector
v-model=
"form.packageType"
form-type=
"checkbox"
:type=
"DICT_TYPE.
ORDER_SPECIAL_NEEDS
"
multiple
/>
</el-form-item>
<el-form-item
label=
"特殊要求备注"
>
<el-input
v-model=
"form.packageRemarks"
></el-input>
...
...
@@ -514,6 +514,9 @@ export default {
'
form.objectiveId
'
(){
this
.
getOpenedRouterList
()
},
'
form.transportId
'
(){
this
.
getOpenedRouterList
},
// 发货联系人发生变化获取发货客户
consignorContact
(){
this
.
getConsignor
()
...
...
@@ -557,6 +560,11 @@ export default {
}
else
this
.
addProduct
()
},
methods
:
{
onProductChange
(
row
,
product
){
console
.
log
(
product
)
row
.
goodsType
=
product
?
product
.
typeId
:
null
row
.
prodAttrArr
=
!
product
?
[]
:
product
.
attrId
.
split
(
'
,
'
).
filter
(
item
=>
item
!==
''
).
map
(
item
=>
+
item
)
},
onAreaChange
(
type
,
val
){
this
.
$set
(
this
.
form
,
type
,
val
)
},
...
...
@@ -627,6 +635,9 @@ export default {
if
(
this
.
form
.
objectiveId
){
params
.
destCityId
=
this
.
form
.
objectiveId
}
if
(
this
.
form
.
transportId
){
params
.
transportType
=
this
.
form
.
transportId
}
getOpenedRouterList
(
params
).
then
(
res
=>
this
.
routerList
=
res
.
data
)
},
// 计算体积
...
...
@@ -699,7 +710,7 @@ export default {
// 添加的提交
createOrder
(
data
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
$router
.
replace
(
'
success?orderId=
'
+
response
.
data
.
id
)
this
.
$router
.
replace
(
'
success?orderId=
'
+
response
.
data
)
});
});
},
...
...
src/views/ecw/order/index.vue
View file @
28cecd72
...
...
@@ -19,7 +19,7 @@
</el-form-item>
<el-form-item
label=
"日期筛选"
>
<dict-selector
:type=
"DICT_TYPE.ECW_BEGINTIME_TYPE_ENDTIME"
v-model=
"dateFilterType"
style=
"width: 150px; margin-right: 5px"
/>
<el-date-picker
v-model=
"dateFilter"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
></el-date-picker>
<el-date-picker
v-model=
"dateFilter"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd
HH:mm:ss
"
></el-date-picker>
</el-form-item>
<el-form-item
label=
"始发地"
prop=
"startWarehouseId"
>
...
...
@@ -157,7 +157,7 @@
<el-button
type=
"text"
size=
"mini"
@
click=
"orderId = scope.row.orderId;isShow = true"
>
特需
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(`/order/associated-order/$
{scope.row.orderId}`)" >关联
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(`/order/mutex-order/$
{scope.row.orderId}`)" >互斥
</el-button>
<el-popover
style=
"margin-left: 10px;"
placement=
"bottom"
...
...
src/views/ecw/order/success.vue
View file @
28cecd72
...
...
@@ -16,7 +16,7 @@
</span>
</div>
<div
class=
"line"
>
仓库地址:{{order.logisticsInfoDto.startAddressZh}}
</div>
<div
class=
"line"
>
仓库电话:
<!--TODO-->
</div>
<div
class=
"line"
>
仓库电话:
{{order.logisticsInfoDto.startTell}}
</div>
<div
class=
"line"
></div>
<div
class=
"line"
>
您的订单已提交,谢谢您选择捷道物流!
</div>
</el-col>
...
...
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