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
aa035483
Commit
aa035483
authored
Sep 15, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
97dd5e64
9c0c5629
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
217 additions
and
142 deletions
+217
-142
order.js
src/api/ecw/order.js
+10
-1
orderException.js
src/api/ecw/orderException.js
+9
-0
index.vue
src/components/customerComplaints/index.vue
+5
-6
index.js
src/router/index.js
+7
-1
edit.vue
src/views/ecw/customer/edit.vue
+14
-2
index.vue
src/views/ecw/customer/index.vue
+12
-6
index.vue
src/views/ecw/customerComplaint/index.vue
+10
-3
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+28
-21
singleApply.vue
src/views/ecw/order/singleApply.vue
+10
-6
commission.vue
src/views/ecw/order/special/commission.vue
+70
-52
index.vue
src/views/ecw/order/special/index.vue
+6
-1
light.vue
src/views/ecw/order/special/light.vue
+14
-20
weight.vue
src/views/ecw/order/special/weight.vue
+11
-17
splitApply.vue
src/views/ecw/order/splitApply.vue
+11
-6
No files found.
src/api/ecw/order.js
View file @
aa035483
...
@@ -352,6 +352,15 @@ export function createOrderSpecial(data) {
...
@@ -352,6 +352,15 @@ export function createOrderSpecial(data) {
})
})
}
}
// 特价申请
export
function
cancelOrderSpecial
(
orderApprovalId
,
data
)
{
return
request
({
url
:
'
/ecw/order/cancel/approval/
'
+
orderApprovalId
,
method
:
'
get
'
,
params
:
data
})
}
// 获得订单特价申请详情
// 获得订单特价申请详情
export
function
getOrderSpecial
(
offerProdId
,
type
=
1
)
{
export
function
getOrderSpecial
(
offerProdId
,
type
=
1
)
{
return
request
({
return
request
({
...
@@ -393,4 +402,4 @@ export function exportPackingList(){
...
@@ -393,4 +402,4 @@ export function exportPackingList(){
method
:
'
get
'
,
method
:
'
get
'
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
\ No newline at end of file
src/api/ecw/orderException.js
View file @
aa035483
...
@@ -83,3 +83,12 @@ export function getOrderItemById(id) {
...
@@ -83,3 +83,12 @@ export function getOrderItemById(id) {
method
:
'
get
'
method
:
'
get
'
})
})
}
}
// 根据订ID获取所有费用及比例
export
function
getOrderFeeById
(
query
)
{
return
request
({
url
:
'
/ecw/order-exception/getOrderFeeById
'
,
method
:
'
get
'
,
params
:
query
})
}
\ No newline at end of file
src/components/customerComplaints/index.vue
View file @
aa035483
...
@@ -29,10 +29,7 @@
...
@@ -29,10 +29,7 @@
<el-input
v-model=
"form.content"
type=
"textarea"
placeholder=
"请输入内容"
/>
<el-input
v-model=
"form.content"
type=
"textarea"
placeholder=
"请输入内容"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"处理状态"
prop=
"status"
>
<el-form-item
label=
"处理状态"
prop=
"status"
>
<el-select
v-model=
"form.status"
placeholder=
"请选择处理状态"
>
<span>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_COMPLAINT_STATUS
,
1
)
}}
</span>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_COMPLAINT_STATUS)"
:key=
"dict.value"
:label=
"dict.label"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -90,7 +87,7 @@
...
@@ -90,7 +87,7 @@
import
{
createCustomerComplaint
,
updateCustomerComplaint
,
deleteCustomerComplaint
,
getCustomerComplaint
,
getCustomerComplaintPage
,
exportCustomerComplaintExcel
}
from
"
@/api/ecw/customerComplaint
"
;
import
{
createCustomerComplaint
,
updateCustomerComplaint
,
deleteCustomerComplaint
,
getCustomerComplaint
,
getCustomerComplaintPage
,
exportCustomerComplaintExcel
}
from
"
@/api/ecw/customerComplaint
"
;
import
{
getCustomerSelect
}
from
'
@/api/ecw/customer
'
import
{
getCustomerSelect
}
from
'
@/api/ecw/customer
'
import
DictSelector
from
'
@/components/DictSelector
'
import
DictSelector
from
'
@/components/DictSelector
'
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
DICT_TYPE
,
getDictDatas
,
getDictDataLabel
}
from
'
@/utils/dict
'
export
default
{
export
default
{
name
:
"
customerComplaints
"
,
name
:
"
customerComplaints
"
,
...
@@ -107,6 +104,8 @@ export default {
...
@@ -107,6 +104,8 @@ export default {
data
()
{
data
()
{
return
{
return
{
DICT_TYPE
,
DICT_TYPE
,
getDictDatas
,
getDictDataLabel
,
// 遮罩层
// 遮罩层
loading
:
true
,
loading
:
true
,
// 导出遮罩层
// 导出遮罩层
...
@@ -172,7 +171,7 @@ export default {
...
@@ -172,7 +171,7 @@ export default {
orderId
:
undefined
,
orderId
:
undefined
,
ladingbillId
:
undefined
,
ladingbillId
:
undefined
,
content
:
undefined
,
content
:
undefined
,
status
:
undefined
,
status
:
1
,
ascertainReason
:
undefined
,
ascertainReason
:
undefined
,
plan
:
undefined
,
plan
:
undefined
,
result
:
undefined
,
result
:
undefined
,
...
...
src/router/index.js
View file @
aa035483
...
@@ -303,7 +303,13 @@ export const constantRoutes = [
...
@@ -303,7 +303,13 @@ export const constantRoutes = [
name
:
'
discount
'
,
name
:
'
discount
'
,
meta
:
{
title
:
'
订单优惠申请
'
,
icon
:
''
,
activeMenu
:
'
/order/index
'
}
meta
:
{
title
:
'
订单优惠申请
'
,
icon
:
''
,
activeMenu
:
'
/order/index
'
}
},
},
{
path
:
'
speciallight/:orderId(
\\
d+)
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/order/special/light
'
),
props
:
true
,
name
:
'
special-light
'
,
meta
:
{
title
:
'
申请泡货优惠
'
,
icon
:
''
,
activeMenu
:
'
/order/index
'
}
},
{
{
path
:
'
specialWeight/:orderId(
\\
d+)
'
,
path
:
'
specialWeight/:orderId(
\\
d+)
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/order/special/weight
'
),
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/order/special/weight
'
),
...
...
src/views/ecw/customer/edit.vue
View file @
aa035483
...
@@ -469,7 +469,7 @@ export default {
...
@@ -469,7 +469,7 @@ export default {
productList
:
[],
productList
:
[],
showZhong
:
false
,
showZhong
:
false
,
showZhong1
:
false
,
showZhong1
:
false
,
showPao
:
fals
e
,
showPao
:
tru
e
,
showPao1
:
false
,
showPao1
:
false
,
warehouseList
:
[],
// 仓库列表
warehouseList
:
[],
// 仓库列表
importCityList
:
[],
// 进口地址
importCityList
:
[],
// 进口地址
...
@@ -498,6 +498,10 @@ export default {
...
@@ -498,6 +498,10 @@ export default {
if
(
!
valid
)
{
if
(
!
valid
)
{
return
;
return
;
}
}
if
(
this
.
form
.
customerContacts
.
length
===
0
){
this
.
$modal
.
msgError
(
"
至少填写一个联系人信息
"
);
return
}
// 修改的提交
// 修改的提交
if
(
this
.
form
.
id
!=
null
)
{
if
(
this
.
form
.
id
!=
null
)
{
this
.
form
.
customerContacts
.
forEach
(
e
=>
{
this
.
form
.
customerContacts
.
forEach
(
e
=>
{
...
@@ -508,6 +512,10 @@ export default {
...
@@ -508,6 +512,10 @@ export default {
this
.
$modal
.
msgSuccess
(
"
修改成功
"
);
this
.
$modal
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
open
=
false
;
// this.getList();
// this.getList();
const
obj
=
{
path
:
"
/customer/customer
"
};
this
.
$tab
.
closeOpenPage
(
obj
);
}).
catch
(
e
=>
{
this
.
$modal
.
msgError
(
e
.
msg
||
'
添加客户失败,请联系管理员
'
)
});
});
return
;
return
;
}
}
...
@@ -516,6 +524,10 @@ export default {
...
@@ -516,6 +524,10 @@ export default {
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
open
=
false
;
// this.getList();
// this.getList();
const
obj
=
{
path
:
"
/customer/customer
"
};
this
.
$tab
.
closeOpenPage
(
obj
);
}).
catch
(
e
=>
{
this
.
$modal
.
msgError
(
e
.
msg
||
'
添加客户失败,请联系管理员
'
)
});
});
});
});
},
},
...
@@ -586,7 +598,7 @@ export default {
...
@@ -586,7 +598,7 @@ export default {
// "customerId": 0,
// "customerId": 0,
"
department
"
:
""
,
"
department
"
:
""
,
"
email
"
:
""
,
"
email
"
:
""
,
"
isDefault
"
:
undefined
,
"
isDefault
"
:
this
.
form
.
customerContacts
.
length
===
0
?
1
:
0
,
"
name
"
:
""
,
"
name
"
:
""
,
"
phoneNew
"
:
""
,
"
phoneNew
"
:
""
,
"
position
"
:
""
,
"
position
"
:
""
,
...
...
src/views/ecw/customer/index.vue
View file @
aa035483
...
@@ -68,11 +68,7 @@
...
@@ -68,11 +68,7 @@
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_LEVEL"
:value=
"scope.row.level"
/>
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_LEVEL"
:value=
"scope.row.level"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"国家"
align=
"center"
prop=
"country"
>
<el-table-column
label=
"国家"
align=
"center"
prop=
"country"
:formatter=
"countryFormatter"
></el-table-column>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.COUNTRY"
:value=
"scope.row.country"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"客户经理"
align=
"center"
prop=
"customerService"
:formatter=
"customerServiceFn"
>
<el-table-column
label=
"客户经理"
align=
"center"
prop=
"customerService"
:formatter=
"customerServiceFn"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"客户状态"
align=
"center"
prop=
"status"
>
<el-table-column
label=
"客户状态"
align=
"center"
prop=
"status"
>
...
@@ -470,6 +466,7 @@ import {getNodeList} from "@/api/ecw/node"
...
@@ -470,6 +466,7 @@ import {getNodeList} from "@/api/ecw/node"
import
CustomerFollowList
from
"
@/components/CustomerFollowList
"
import
CustomerFollowList
from
"
@/components/CustomerFollowList
"
import
customerComplaints
from
"
@/components/customerComplaints
"
import
customerComplaints
from
"
@/components/customerComplaints
"
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
getCountryListAll
}
from
'
@/api/ecw/country
'
export
default
{
export
default
{
name
:
"
Customer
"
,
name
:
"
Customer
"
,
...
@@ -527,7 +524,9 @@ export default {
...
@@ -527,7 +524,9 @@ export default {
nodeList
:
[],
nodeList
:
[],
showLine
:
false
,
showLine
:
false
,
customerId
:
undefined
,
customerId
:
undefined
,
customerServiceList
:[]
customerServiceList
:[],
countryList
:
[]
};
};
},
},
created
()
{
created
()
{
...
@@ -539,8 +538,15 @@ export default {
...
@@ -539,8 +538,15 @@ export default {
console
.
log
(
r
,
'
客服
'
);
console
.
log
(
r
,
'
客服
'
);
this
.
customerServiceList
=
r
.
data
;
this
.
customerServiceList
=
r
.
data
;
})
})
getCountryListAll
().
then
(
r
=>
{
this
.
countryList
=
r
.
data
})
},
},
methods
:
{
methods
:
{
countryFormatter
(
row
,
column
,
cellValue
)
{
const
country
=
this
.
countryList
.
find
((
e
)
=>
e
.
id
===
cellValue
)
return
country
?.
nameZh
},
customerServiceFn
(
val
){
customerServiceFn
(
val
){
if
(
this
.
customerServiceList
.
length
>
0
){
if
(
this
.
customerServiceList
.
length
>
0
){
let
index
=
this
.
customerServiceList
.
findIndex
(
item
=>
item
.
id
===
val
.
customerService
);
let
index
=
this
.
customerServiceList
.
findIndex
(
item
=>
item
.
id
===
val
.
customerService
);
...
...
src/views/ecw/customerComplaint/index.vue
View file @
aa035483
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
<el-dialog
:title=
"title"
:visible.sync=
"open"
width=
"900px"
append-to-body
>
<el-dialog
:title=
"title"
:visible.sync=
"open"
width=
"900px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"客户名称"
prop=
"customerId"
>
<el-form-item
label=
"客户名称"
prop=
"customerId"
>
<el-select
v-model=
"form.customerId"
placeholder=
"请选择客户名称"
:disabled=
"!!customerId"
>
<el-select
v-model=
"form.customerId"
placeholder=
"请选择客户名称"
:disabled=
"!!customerId"
filterable
>
<el-option
<el-option
v-for=
"item in customerSelect"
v-for=
"item in customerSelect"
:key=
"item.id"
:key=
"item.id"
...
@@ -121,7 +121,8 @@
...
@@ -121,7 +121,8 @@
<el-input
v-model=
"form.content"
type=
"textarea"
placeholder=
"请输入内容"
/>
<el-input
v-model=
"form.content"
type=
"textarea"
placeholder=
"请输入内容"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"处理状态"
prop=
"status"
>
<el-form-item
label=
"处理状态"
prop=
"status"
>
<el-select
v-model=
"form.status"
placeholder=
"请选择处理状态"
>
<span
v-if=
"!form.id"
>
{{ getDictDataLabel(DICT_TYPE.CUSTOMER_COMPLAINT_STATUS, 1) }}
</span>
<el-select
v-else
v-model=
"form.status"
placeholder=
"请选择处理状态"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_COMPLAINT_STATUS)"
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_COMPLAINT_STATUS)"
:key=
"dict.value"
:label=
"dict.label"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"dict.label"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-select>
...
@@ -184,7 +185,7 @@ import { createCustomerComplaint, updateCustomerComplaint, deleteCustomerComplai
...
@@ -184,7 +185,7 @@ import { createCustomerComplaint, updateCustomerComplaint, deleteCustomerComplai
import
{
getCustomerSelect
}
from
'
@/api/ecw/customer
'
import
{
getCustomerSelect
}
from
'
@/api/ecw/customer
'
import
CustomerFollow
from
"
../../../components/CustomerFollow
"
import
CustomerFollow
from
"
../../../components/CustomerFollow
"
import
DictSelector
from
'
@/components/DictSelector
'
import
DictSelector
from
'
@/components/DictSelector
'
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
DICT_TYPE
,
getDictDataLabel
,
getDictDatas
}
from
'
@/utils/dict
'
export
default
{
export
default
{
name
:
"
CustomerComplaint
"
,
name
:
"
CustomerComplaint
"
,
...
@@ -202,6 +203,8 @@ export default {
...
@@ -202,6 +203,8 @@ export default {
data
()
{
data
()
{
return
{
return
{
DICT_TYPE
,
DICT_TYPE
,
getDictDatas
,
getDictDataLabel
,
// 遮罩层
// 遮罩层
loading
:
true
,
loading
:
true
,
// 导出遮罩层
// 导出遮罩层
...
@@ -234,6 +237,8 @@ export default {
...
@@ -234,6 +237,8 @@ export default {
// 表单校验
// 表单校验
rules
:
{
rules
:
{
customerId
:
[{
required
:
true
,
message
:
"
客户名称不能为空
"
,
trigger
:
"
change
"
}],
customerId
:
[{
required
:
true
,
message
:
"
客户名称不能为空
"
,
trigger
:
"
change
"
}],
type
:
[{
required
:
true
,
message
:
"
投诉类型不能为空
"
,
trigger
:
"
change
"
}],
content
:
[{
required
:
true
,
message
:
"
投诉内容不能为空
"
,
trigger
:
"
blur
"
}],
},
},
myFollowCustomerList
:
[],
myFollowCustomerList
:
[],
...
@@ -308,6 +313,8 @@ export default {
...
@@ -308,6 +313,8 @@ export default {
this
.
reset
();
this
.
reset
();
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"
添加客户投诉
"
;
this
.
title
=
"
添加客户投诉
"
;
// 新增客诉默认状态为待处理
this
.
form
.
status
=
1
;
},
},
/** 修改按钮操作 */
/** 修改按钮操作 */
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
...
...
src/views/ecw/order/prepayDeal.vue
View file @
aa035483
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<el-card>
<el-card>
<div
slot=
"header"
class=
"header"
>
<div
slot=
"header"
class=
"header"
>
<div
class=
"card-title"
>
查看
</div>
<div
class=
"card-title"
>
查看
</div>
<el-button
type=
"primary"
icon=
"el-icon-arrow-left"
@
click=
"$
router.back(
)"
>
返回
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-arrow-left"
@
click=
"$
store.dispatch('tagsView/delCurrentView'
)"
>
返回
</el-button>
</div>
</div>
<el-form
:model=
"orderData"
ref=
"queryForm"
size=
"small"
:inline=
"true"
label-width=
"120px"
class=
"card"
>
<el-form
:model=
"orderData"
ref=
"queryForm"
size=
"small"
:inline=
"true"
label-width=
"120px"
class=
"card"
>
<el-row>
<el-row>
...
@@ -32,12 +32,12 @@
...
@@ -32,12 +32,12 @@
<div
v-if=
"orderExceptionData.orderExceptionType!='order_doc_exception'&&orderExceptionData.orderExceptionType!='order_consignor_exception'&&orderExceptionData.orderExceptionType!='order_other_exception'"
>
<div
v-if=
"orderExceptionData.orderExceptionType!='order_doc_exception'&&orderExceptionData.orderExceptionType!='order_consignor_exception'&&orderExceptionData.orderExceptionType!='order_other_exception'"
>
<el-row>
<el-row>
<el-form-item
label=
"填单参数:"
>
<el-form-item
label=
"填单参数:"
>
{{
(
shopData
.
num
||
0
)
+
'
箱
'
+
(
shopData
.
volume
||
0
)
+
'
m³
'
+
(
shopData
.
weight
||
0
)
+
'
kg
'
}}
{{
(
shopData
.
num
||
0
)
+
'
箱
'
+
(
shopData
.
volume
||
0
)
+
'
m³
'
+
(
shopData
.
weight
||
0
)
+
'
kg
'
+
(
shopData
.
quantity
||
0
)
+
'
个
'
}}
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
"入仓参数:"
>
<el-form-item
label=
"入仓参数:"
>
{{
(
shopData
.
warehouseInInfoVO
?
shopData
.
warehouseInInfoVO
.
cartonsNum
:
0
)
+
'
箱
'
+
(
shopData
.
warehouseInInfoVO
?
shopData
.
warehouseInInfoVO
.
volume
:
0
)
+
'
m³
'
+
(
shopData
.
warehouseInInfoVO
?
shopData
.
warehouseInInfoVO
.
weight
:
0
)
+
'
kg
'
}}
{{
(
shopData
.
warehouseInInfoVO
?
shopData
.
warehouseInInfoVO
.
cartonsNum
:
0
)
+
'
箱
'
+
(
shopData
.
warehouseInInfoVO
?
shopData
.
warehouseInInfoVO
.
volume
:
0
)
+
'
m³
'
+
(
shopData
.
warehouseInInfoVO
?
shopData
.
warehouseInInfoVO
.
weight
:
0
)
+
'
kg
'
+
(
shopData
.
warehouseInInfoVO
?
shopData
.
warehouseInInfoVO
.
quantityAll
:
0
)
+
'
个
'
}}
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row
:span=
"12"
>
<el-row
:span=
"12"
>
...
@@ -47,8 +47,8 @@
...
@@ -47,8 +47,8 @@
<el-button
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
type=
"primary"
plain
icon=
"el-icon-plus"
style=
"margin-left: 200px;"
@
click=
"handleAdd"
>
新增收款单
</el-button>
<el-button
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
type=
"primary"
plain
icon=
"el-icon-plus"
style=
"margin-left: 200px;"
@
click=
"handleAdd"
>
新增收款单
</el-button>
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
"
入仓
参数:"
>
<el-form-item
label=
"
收费
参数:"
>
<span>
{{
order
.
entryNum
||
0
}}
箱
{{
order
.
entryWeight
||
0
}}
Kg
{{
order
.
entryVolume
||
0
}}
m³
</span>
<span>
{{
order
Data
.
entryNum
||
0
}}
箱
{{
orderData
.
entryVolume
||
0
}}
m³
{{
orderData
.
entryWeight
||
0
}}
Kg
{{
orderData
.
entryQuantity
||
0
}}
个
</span>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<!--
<el-row
:span=
"12"
>
<!--
<el-row
:span=
"12"
>
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
<el-button
v-if=
"orderExceptionData.orderExceptionStatus==3"
type=
"primary"
plain
icon=
"el-icon-plus"
style=
"margin-left: 200px;"
@
click=
"handleAdd"
>
新增收款单
</el-button>
<el-button
v-if=
"orderExceptionData.orderExceptionStatus==3"
type=
"primary"
plain
icon=
"el-icon-plus"
style=
"margin-left: 200px;"
@
click=
"handleAdd"
>
新增收款单
</el-button>
</el-row>
-->
</el-row>
-->
</div>
</div>
</el-form>
{{
order
.
entryNum
}}
箱
{{
order
.
entryWeight
}}
Kg
{{
order
.
entryVolume
}}
m³
</el-form>
<el-table
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
v-loading=
"loading"
border
:data=
"preException"
>
<el-table
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
v-loading=
"loading"
border
:data=
"preException"
>
<el-table-column
label=
"品名"
align=
"center"
>
<el-table-column
label=
"品名"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
@@ -127,52 +127,52 @@
...
@@ -127,52 +127,52 @@
<el-form
:model=
"handlerParams"
ref=
"queryForms"
size=
"small"
:inline=
"true"
label-width=
"120px"
class=
"card"
>
<el-form
:model=
"handlerParams"
ref=
"queryForms"
size=
"small"
:inline=
"true"
label-width=
"120px"
class=
"card"
>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-form-item
label=
"订单总金额:"
>
<el-form-item
label=
"订单总金额:"
>
{{order
Data.totalMoney
}}
{{order
Fee.totalAmount||0
}}
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-form-item
label=
"应付预付金额:"
>
<el-form-item
label=
"应付预付金额:"
>
{{order
Data.totalMoney
}}
{{order
Fee.totalPaymentAmount
}}
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"已核销预付金额:"
>
<el-form-item
label=
"已核销预付金额:"
>
{{order
Data.totalMoney
}}
{{order
Fee.writeOffAmount
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"已核销预付金额占总金额比例:"
label-width=
"200px"
>
<el-form-item
label=
"已核销预付金额占总金额比例:"
label-width=
"200px"
>
{{order
Data.totalMoney
}}
{{order
Fee.writeOffAmountScale
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"预付商品货值:"
>
<el-form-item
label=
"预付商品货值:"
>
{{order
Data.totalMoney
}}
{{order
Fee.paymentGoodsWorth
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"预付商品货值占佣金额比例:"
label-width=
"200px"
>
<el-form-item
label=
"预付商品货值占佣金额比例:"
label-width=
"200px"
>
{{order
Data.totalMoney
}}
{{order
Fee.paymentGoodsWorthScale
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-form-item
label=
"预付商品方数:"
>
<el-form-item
label=
"预付商品方数:"
>
{{order
Data.totalMoney
}}
{{order
Fee.paymentGoodsVolume
}}
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-row
v-if=
"orderExceptionData.orderExceptionType=='order_pay_exception'"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"订单总方数:"
>
<el-form-item
label=
"订单总方数:"
>
{{order
Data.totalMoney
}}
{{order
Fee.totalVolume
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"预付商品方数占总方数比例:"
label-width=
"200px"
>
<el-form-item
label=
"预付商品方数占总方数比例:"
label-width=
"200px"
>
{{order
Data.totalMoney
}}
{{order
Fee.paymentGoodsVolumeScale
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div>
<div>
<el-button
type=
"primary"
@
click=
"submitForm"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
>
提交
</el-button>
<el-button
plain
type=
"primary"
@
click=
"$
router.back(
)"
>
取消
</el-button>
<el-button
plain
type=
"primary"
@
click=
"$
store.dispatch('tagsView/delCurrentView'
)"
>
取消
</el-button>
</div>
</div>
<el-button
v-if=
"orderExceptionData.orderExceptionStatus=='order_pay_exception'"
type=
"primary"
@
click=
"submitForm"
>
转交
</el-button>
<el-button
v-if=
"orderExceptionData.orderExceptionStatus=='order_pay_exception'"
type=
"primary"
@
click=
"submitForm"
>
转交
</el-button>
</div>
</div>
...
@@ -241,7 +241,7 @@
...
@@ -241,7 +241,7 @@
import
FileUpload
from
'
@/components/FileUpload
'
import
FileUpload
from
'
@/components/FileUpload
'
import
{
getDictData
,
getDictDatas
}
from
'
@/utils/dict
'
import
{
getDictData
,
getDictDatas
}
from
'
@/utils/dict
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
{
getExceptionById
,
handlerExceptionByExceptionId
,
getOrderItemById
}
from
"
@/api/ecw/orderException
"
import
{
getExceptionById
,
handlerExceptionByExceptionId
,
getOrderItemById
,
getOrderFeeById
}
from
"
@/api/ecw/orderException
"
import
{
getFirstReceivableListByOrderId
}
from
'
@/api/ecw/financial
'
import
{
getFirstReceivableListByOrderId
}
from
'
@/api/ecw/financial
'
export
default
{
export
default
{
...
@@ -269,7 +269,8 @@
...
@@ -269,7 +269,8 @@
consigneeData
:[],
consigneeData
:[],
routerList
:[],
routerList
:[],
multipleSelection
:[],
multipleSelection
:[],
preException
:[]
preException
:[],
orderFee
:[]
};
};
},
},
created
()
{
created
()
{
...
@@ -277,6 +278,7 @@
...
@@ -277,6 +278,7 @@
this
.
orderExceptionId
=
this
.
$route
.
query
.
id
this
.
orderExceptionId
=
this
.
$route
.
query
.
id
this
.
handlerParams
.
orderExceptionId
=
this
.
$route
.
query
.
id
this
.
handlerParams
.
orderExceptionId
=
this
.
$route
.
query
.
id
this
.
getList
()
this
.
getList
()
}
}
},
},
methods
:
{
methods
:
{
...
@@ -288,7 +290,7 @@
...
@@ -288,7 +290,7 @@
that
.
orderExceptionData
=
response
.
data
;
that
.
orderExceptionData
=
response
.
data
;
// that.orderExceptionData.orderExceptionType = 'order_other_exception'
// that.orderExceptionData.orderExceptionType = 'order_other_exception'
// that.orderExceptionData.orderExceptionType = 'order_pick_up_exception'
// that.orderExceptionData.orderExceptionType = 'order_pick_up_exception'
that
.
orderExceptionData
.
orderExceptionType
=
'
order_pay_exception
'
//
that.orderExceptionData.orderExceptionType = 'order_pay_exception'
that
.
loading
=
false
;
that
.
loading
=
false
;
that
.
orderId
=
response
.
data
.
orderId
that
.
orderId
=
response
.
data
.
orderId
that
.
getOrderData
()
that
.
getOrderData
()
...
@@ -296,6 +298,7 @@
...
@@ -296,6 +298,7 @@
that
.
getShopData
(
response
.
data
.
orderItemId
)
that
.
getShopData
(
response
.
data
.
orderItemId
)
}
}
that
.
getPreExceptionData
()
that
.
getPreExceptionData
()
that
.
getOrderFeeByIdData
()
});
});
},
},
getOrderData
(){
getOrderData
(){
...
@@ -303,7 +306,11 @@
...
@@ -303,7 +306,11 @@
this
.
orderData
=
response
.
data
this
.
orderData
=
response
.
data
});
});
},
},
getOrderFeeByIdData
(){
getOrderFeeById
({
id
:
this
.
orderId
}).
then
(
response
=>
{
this
.
orderFee
=
response
.
data
})
},
getPreExceptionData
(){
getPreExceptionData
(){
getFirstReceivableListByOrderId
({
id
:
this
.
orderId
}).
then
(
response
=>
{
getFirstReceivableListByOrderId
({
id
:
this
.
orderId
}).
then
(
response
=>
{
this
.
preException
=
response
.
data
this
.
preException
=
response
.
data
...
@@ -336,7 +343,7 @@
...
@@ -336,7 +343,7 @@
}
}
handlerExceptionByExceptionId
(
this
.
handlerParams
).
then
(
res
=>
{
handlerExceptionByExceptionId
(
this
.
handlerParams
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
"
提交成功
"
);
this
.
$modal
.
msgSuccess
(
"
提交成功
"
);
this
.
$
router
.
back
(
)
this
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
)
})
})
},
},
/** 跟进按钮操作 */
/** 跟进按钮操作 */
...
...
src/views/ecw/order/singleApply.vue
View file @
aa035483
...
@@ -143,10 +143,10 @@
...
@@ -143,10 +143,10 @@
<work-flow
v-if=
'singleData.length>0'
xmlkey=
"merge_order"
v-model=
"selectedUsers"
></work-flow>
<work-flow
v-if=
'singleData.length>0'
xmlkey=
"merge_order"
v-model=
"selectedUsers"
></work-flow>
<div
slot=
"footer"
class=
"card footer_btn"
v-if=
"singleData.length>0"
>
<div
slot=
"footer"
class=
"card footer_btn"
v-if=
"singleData.length>0"
>
<el-button
v-if=
"orderData.inWarehouseState!=209"
type=
"primary"
@
click=
"submitForm"
>
提交申请
</el-button>
<el-button
v-if=
"orderData.inWarehouseState!=209"
type=
"primary"
@
click=
"submitForm"
>
提交申请
</el-button>
<el-button
v-if=
"orderData.inWarehouseState!=209"
plain
type=
"primary"
@
click=
"$
router.back(
)"
>
取消
</el-button>
<el-button
v-if=
"orderData.inWarehouseState!=209"
plain
type=
"primary"
@
click=
"$
store.dispatch('tagsView/delCurrentView'
)"
>
取消
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==209"
type=
"primary"
disabled
>
审核中
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==209"
type=
"primary"
@
click=
"$router.push(`/bpm/process-instance/detail?id=`+bpmProcessId)"
>
审核中
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==209"
plain
type=
"primary"
@
click=
"dialogVisible = true"
>
取消审核
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==209"
plain
type=
"primary"
@
click=
"dialogVisible = true"
>
取消审核
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==209"
plain
type=
"primary"
@
click=
"$
router.back(
)"
>
返回
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==209"
plain
type=
"primary"
@
click=
"$
store.dispatch('tagsView/delCurrentView'
)"
>
返回
</el-button>
</div>
</div>
<el-dialog
<el-dialog
title=
"提示"
title=
"提示"
...
@@ -196,6 +196,7 @@ export default {
...
@@ -196,6 +196,7 @@ export default {
selectedUsers
:[],
selectedUsers
:[],
total
:
0
,
total
:
0
,
orderNos
:
''
,
orderNos
:
''
,
bpmProcessId
:
''
,
reason
:
''
,
reason
:
''
,
dialogVisible
:
false
dialogVisible
:
false
};
};
...
@@ -215,7 +216,7 @@ export default {
...
@@ -215,7 +216,7 @@ export default {
getMergeListByOrderNo
(
this
.
queryParams
).
then
(
response
=>
{
getMergeListByOrderNo
(
this
.
queryParams
).
then
(
response
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
response
.
data
.
mergedList
){
if
(
response
.
data
.
mergedList
){
this
.
mergedList
=
response
.
data
;
this
.
mergedList
=
response
.
data
.
mergedList
;
}
}
if
(
response
.
data
.
unMergeList
){
if
(
response
.
data
.
unMergeList
){
this
.
total
=
response
.
data
.
unMergeList
.
total
;
this
.
total
=
response
.
data
.
unMergeList
.
total
;
...
@@ -224,6 +225,9 @@ export default {
...
@@ -224,6 +225,9 @@ export default {
if
(
response
.
data
.
orderInfo
){
if
(
response
.
data
.
orderInfo
){
this
.
orderData
=
response
.
data
.
orderInfo
this
.
orderData
=
response
.
data
.
orderInfo
}
}
if
(
response
.
data
.
bpmProcessId
){
this
.
bpmProcessId
=
response
.
data
.
bpmProcessId
}
});
});
},
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
...
@@ -259,7 +263,7 @@ export default {
...
@@ -259,7 +263,7 @@ export default {
}
}
cancelMerge
(
params
).
then
(
res
=>
{
cancelMerge
(
params
).
then
(
res
=>
{
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$
router
.
back
(
)
that
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
)
})
})
},
},
submitForm
(){
submitForm
(){
...
@@ -280,7 +284,7 @@ export default {
...
@@ -280,7 +284,7 @@ export default {
})
})
createMerge
(
params
).
then
(
res
=>
{
createMerge
(
params
).
then
(
res
=>
{
that
.
$message
.
success
(
"
修改成功
"
);
that
.
$message
.
success
(
"
修改成功
"
);
that
.
$
router
.
back
(
)
that
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
)
})
})
}
}
}
}
...
...
src/views/ecw/order/special/commission.vue
View file @
aa035483
...
@@ -4,60 +4,49 @@
...
@@ -4,60 +4,49 @@
<el-card>
<el-card>
<div
slot=
"header"
class=
"card-title"
>
修改佣金规则-
{{
form
.
orderNo
||
''
}}
</div>
<div
slot=
"header"
class=
"card-title"
>
修改佣金规则-
{{
form
.
orderNo
||
''
}}
</div>
<el-form
:model=
"form"
ref=
"queryForms"
label-width=
"120px"
class=
"card"
>
<el-form
:model=
"form"
ref=
"queryForms"
label-width=
"120px"
class=
"card"
>
<el-form-item
label=
"商品类型"
>
<el-form-item
label=
"商品类型
:
"
>
<span>
{{
form
.
prodType
}}
</span>
<span>
{{
getProductAttrNameById
(
form
.
prodType
)
}}
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品名称"
>
<el-form-item
label=
"商品名称
:
"
>
<span>
{{
form
.
prodTitleZh
}}
</span>
<span>
{{
form
.
prodTitleZh
}}
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"英文名称"
>
<el-form-item
label=
"英文名称
:
"
>
<span>
{{
form
.
prodTitleEn
}}
</span>
<span>
{{
form
.
prodTitleEn
}}
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"线路"
>
<el-form-item
label=
"线路
:
"
>
{{
`【${getDictDataLabel(DICT_TYPE.TRANSPORT_TYPE, form.transportId)
}
】${ getChannelNameById(form.channelId)
}
从【${
form.startTitleZh
}
】发往【${form.
destTitleZh
}
】`
}}
{{
`【${getDictDataLabel(DICT_TYPE.TRANSPORT_TYPE, form.transportId)
}
】${ getChannelNameById(form.channelId)
}
从【${
startTitleZh
}
】发往【${
destTitleZh
}
】`
}}
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
运费:
"
>
<
el
-
form
-
item
label
=
"
运费:
"
>
<
span
>
{{
form
.
orgFreight
}}
{{
currentMap
[
form
.
orgF
reightCurrency
]
}}
<
/span
>
<
span
>
{{
form
.
subtotalFreight
}}
{{
currentMap
[
form
.
f
reightCurrency
]
}}
<
/span
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
清关费:
"
>
<
el
-
form
-
item
label
=
"
清关费:
"
>
<
span
>
{{
form
.
orgClearanceFreight
}}
{{
currentMap
[
form
.
orgC
learanceFreightCurrency
]
}}
<
/span
>
<
span
>
{{
form
.
subtotalClearanceFreight
}}
{{
currentMap
[
form
.
c
learanceFreightCurrency
]
}}
<
/span
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
佣金类型:
"
>
<
el
-
form
-
item
label
=
"
佣金类型:
"
>
<
el
-
radio
v
-
model
=
"
form.commissionType
"
v
-
for
=
"
dict in getDictDatas('commission_type')
"
<
el
-
radio
-
group
v
-
model
=
"
form.commissionType
"
>
:
key
=
"
dict.value
"
:
label
=
"
dict.label
"
:
value
=
"
dict.value
"
>
<
el
-
radio
:
label
=
"
dict.value
"
v
-
for
=
"
dict in getDictDatas('commission_type')
"
>
{{
dict
.
label
}}
<
/el-radio
>
<
/el-radio
>
<
/el-radio-group
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
v
-
if
=
"
form.commissionType==3
"
label
=
"
暗佣佣金:
"
>
<
el
-
form
-
item
v
-
if
=
"
form.commissionType==3
"
label
=
"
暗佣佣金:
"
>
<
el
-
input
style
=
"
width: 100px;
"
type
=
"
text
"
v
-
model
=
"
form.lightCommissionAmount
"
/>
<
el
-
input
style
=
"
width: 100px;
"
type
=
"
number
"
v
-
model
=
"
shadeCommissionAmount
"
/>
<
el
-
select
v
-
model
=
"
form.commissionCurrencyId
"
style
=
"
width: 100px;margin-left: 10px;
"
>
<
span
style
=
"
margin-left: 10px;
"
>
{{
currentMap
[
form
.
freightCurrency
]
}}
<
/span
>
<
el
-
option
v
-
for
=
"
dict in getDictDatas('shipping_price_unit')
"
<
span
>
/{{ volumeMap
[
form.freightVolume
]
}}
</
span
>
:
key
=
"
dict.value
"
:
label
=
"
dict.label
"
:
value
=
"
dict.value
"
/>
<
/el-select
>
<
el
-
select
v
-
model
=
"
form.commissionCurrencyId
"
style
=
"
width: 100px;margin-left: 10px;
"
>
<
el
-
option
v
-
for
=
"
dict in unitType
"
:
key
=
"
dict.id
"
:
label
=
"
dict.titleZh
"
:
value
=
"
dict.id
"
/>
<
/el-select
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
v
-
if
=
"
form.commissionType==1||form.commissionType==3
"
label
=
"
明佣佣金:
"
>
<
el
-
form
-
item
v
-
if
=
"
form.commissionType==1||form.commissionType==3
"
label
=
"
明佣佣金:
"
>
<
el
-
input
style
=
"
width: 100px;
"
type
=
"
text
"
v
-
model
=
"
form.lightCommissionAmount
"
/>
<
el
-
input
style
=
"
width: 100px;
"
type
=
"
number
"
v
-
model
=
"
lightCommissionAmount
"
/>
<
el
-
select
v
-
model
=
"
form.commissionCurrencyId
"
style
=
"
width: 100px;margin-left: 10px;
"
>
<
span
style
=
"
margin-left: 10px;
"
>
{{
currentMap
[
form
.
freightCurrency
]
}}
<
/span
>
<
el
-
option
v
-
for
=
"
dict in getDictDatas('shipping_price_unit')
"
<
span
>
/{{ volumeMap
[
form.freightVolume
]
}}
</
span
>
:
key
=
"
dict.value
"
:
label
=
"
dict.label
"
:
value
=
"
dict.value
"
/>
<
/el-select
>
<
el
-
select
v
-
model
=
"
form.commissionCurrencyId
"
style
=
"
width: 100px;margin-left: 10px;
"
>
<
el
-
option
v
-
for
=
"
dict in unitType
"
:
key
=
"
dict.id
"
:
label
=
"
dict.titleZh
"
:
value
=
"
dict.id
"
/>
<
/el-select
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
v
-
if
=
"
form.commissionType
==1
"
label
=
"
商品:
"
>
<
el
-
form
-
item
v
-
if
=
"
form.commissionType
!=0
"
label
=
"
商品:
"
>
<
span
>
{{
form
.
prodTitleZh
}}
<
/span
>
<
span
>
{{
form
.
prodTitleZh
}}
<
/span
>
<
span
>
销售价:
{{
11
}}
美元
/
千克
<
/span
>
<
span
style
=
"
margin-left: 10px;
"
v
-
if
=
"
form.commissionType==3
"
>
成本价:
{{
parseInt
(
form
.
freight
)
-
parseInt
(
shadeCommissionAmount
)
}}
{{
currentMap
[
form
.
freightCurrency
]
}}
/
{{
volumeMap
[
form
.
freightVolume
]
}}
<
/span
>
<
span
v
-
if
=
"
form.commissionType==3
"
>
成本价:
190
美元
/
千克
<
/span
>
<
span
style
=
"
margin-left: 10px;
"
>
销售价:
{{
form
.
commissionType
!=
2
?(
parseInt
(
form
.
freight
)
+
parseInt
(
lightCommissionAmount
)):
form
.
freight
}}
{{
currentMap
[
form
.
freightCurrency
]
}}
/
{{
volumeMap
[
form
.
freightVolume
]
}}
<
/span
>
<
span
v
-
if
=
"
form.commissionType==2
"
style
=
"
color: #1E98D7;
"
@
click
=
"
$router.ph
sh(`/customer/customerCommission`)
"
>
去设置
<
/span
>
<
span
style
=
"
margin-left: 10px;color: #1E98D7;
"
v
-
if
=
"
form.commissionType==2
"
@
click
=
"
$router.pu
sh(`/customer/customerCommission`)
"
>
去设置
<
/span
>
<
span
v
-
if
=
"
form.commissionType==3
"
>
实际佣金返点:
40
美元
/
千克
<
/span
>
<
span
style
=
"
margin-left: 10px;
"
v
-
if
=
"
form.commissionType==3
"
>
实际佣金返点:
{{
parseInt
(
lightCommissionAmount
)
+
parseInt
(
shadeCommissionAmount
)
}}
{{
currentMap
[
form
.
freightCurrency
]
}}
/
{{
volumeMap
[
form
.
freightVolume
]
}}
<
/span
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
审核状态:
"
>
<
el
-
form
-
item
label
=
"
审核状态:
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.APPLY_STATUS
"
:
value
=
"
form.applyStatus
"
><
/dict-tag
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.APPLY_STATUS
"
:
value
=
"
form.applyStatus
"
><
/dict-tag
>
<
span
>
{{
form
.
applyResult
?(
'
(
'
+
form
.
applyResult
+
'
)
'
):
''
}}
<
/span
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-form
>
<
/el-form
>
<
/el-card
>
<
/el-card
>
...
@@ -65,10 +54,10 @@
...
@@ -65,10 +54,10 @@
<
work
-
flow
xmlkey
=
"
commission_config
"
v
-
model
=
"
selectedUsers
"
style
=
"
margin-top: 20px;
"
><
/work-flow
>
<
work
-
flow
xmlkey
=
"
commission_config
"
v
-
model
=
"
selectedUsers
"
style
=
"
margin-top: 20px;
"
><
/work-flow
>
<
div
slot
=
"
footer
"
class
=
"
card footer_btn
"
>
<
div
slot
=
"
footer
"
class
=
"
card footer_btn
"
>
<
el
-
button
type
=
"
primary
"
v
-
if
=
"
form.applyStatus==0
"
@
click
=
"
submitForm
"
>
提交
<
/el-button
>
<
el
-
button
type
=
"
primary
"
v
-
if
=
"
form.applyStatus==0
"
@
click
=
"
submitForm
"
>
提交
<
/el-button
>
<
el
-
button
plain
type
=
"
primary
"
v
-
if
=
"
form.applyStatus==0
"
@
click
=
"
$
router.back(
)
"
>
取消
<
/el-button
>
<
el
-
button
plain
type
=
"
primary
"
v
-
if
=
"
form.applyStatus==0
"
@
click
=
"
$
store.dispatch('tagsView/delCurrentView'
)
"
>
取消
<
/el-button
>
<
el
-
button
v
-
if
=
"
form.applyStatus==1
"
type
=
"
primary
"
disabled
>
审核中
<
/el-button
>
<
el
-
button
v
-
if
=
"
form.applyStatus==1
"
type
=
"
primary
"
@
click
=
"
$router.push(`/bpm/process-instance/detail?id=`+form.formId)
"
>
审核中
<
/el-button
>
<
el
-
button
v
-
if
=
"
form.applyStatus==1
"
plain
type
=
"
primary
"
@
click
=
"
dialogVisible = true
"
>
取消审核
<
/el-button
>
<
el
-
button
v
-
if
=
"
form.applyStatus==1
"
plain
type
=
"
primary
"
@
click
=
"
dialogVisible = true
"
>
取消审核
<
/el-button
>
<
el
-
button
v
-
if
=
"
form.applyStatus==1
"
plain
type
=
"
primary
"
@
click
=
"
$
router.back(
)
"
>
返回
<
/el-button
>
<
el
-
button
v
-
if
=
"
form.applyStatus==1
"
plain
type
=
"
primary
"
@
click
=
"
$
store.dispatch('tagsView/delCurrentView'
)
"
>
返回
<
/el-button
>
<
/div
>
<
/div
>
<
el
-
dialog
<
el
-
dialog
title
=
"
提示
"
title
=
"
提示
"
...
@@ -91,11 +80,12 @@
...
@@ -91,11 +80,12 @@
<
script
>
<
script
>
import
{
getDictData
,
getDictDatas
,
DICT_TYPE
,
getDictDataLabel
}
from
'
@/utils/dict
'
import
{
getDictData
,
getDictDatas
,
DICT_TYPE
,
getDictDataLabel
}
from
'
@/utils/dict
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
{
getOrder
,
getOrderSpecial
,
createOrderSpecial
}
from
'
@/api/ecw/order
'
import
{
getOrder
,
getOrderSpecial
,
c
ancelOrderSpecial
,
c
reateOrderSpecial
}
from
'
@/api/ecw/order
'
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
import
{
getProductAttrList
}
from
'
@/api/ecw/productAttr
'
import
{
getProductAttrList
}
from
'
@/api/ecw/productAttr
'
import
{
getUnitList
}
from
'
@/api/ecw/unit
'
import
{
getUnitList
}
from
'
@/api/ecw/unit
'
import
{
openedRouterList
}
from
"
@/api/ecw/warehouse
"
export
default
{
export
default
{
name
:
"
specialCommission
"
,
name
:
"
specialCommission
"
,
...
@@ -116,7 +106,11 @@ export default {
...
@@ -116,7 +106,11 @@ export default {
channelList
:[],
channelList
:[],
currencyList
:[],
currencyList
:[],
productAttrList
:[],
productAttrList
:[],
unitType
:[]
unitType
:[],
startTitleZh
:
''
,
destTitleZh
:
''
,
shadeCommissionAmount
:
0
,
lightCommissionAmount
:
0
}
;
}
;
}
,
}
,
created
()
{
created
()
{
...
@@ -151,6 +145,25 @@ export default {
...
@@ -151,6 +145,25 @@ export default {
map
[
item
.
id
]
=
item
.
titleZh
map
[
item
.
id
]
=
item
.
titleZh
}
)
}
)
return
map
return
map
}
,
volumeMap
(){
let
map
=
{
}
this
.
unitType
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
item
.
titleZh
}
)
return
map
}
,
}
,
watch
:
{
'
form.lineId
'
(
val
){
if
(
val
){
openedRouterList
({
lineId
:
val
}
).
then
(
r
=>
{
if
(
r
.
data
&&
r
.
data
.
length
>
0
){
this
.
startTitleZh
=
r
.
data
[
0
].
startTitleZh
this
.
destTitleZh
=
r
.
data
[
0
].
destTitleZh
}
}
)
}
}
}
}
,
}
,
methods
:
{
methods
:
{
...
@@ -162,7 +175,7 @@ export default {
...
@@ -162,7 +175,7 @@ export default {
}
)
}
)
}
,
}
,
getOrderData
(){
getOrderData
(){
getOrder
(
this
.
queryParams
.
orderId
).
then
(
response
=>
{
getOrder
(
this
.
form
.
orderId
).
then
(
response
=>
{
this
.
orderData
=
response
.
data
this
.
orderData
=
response
.
data
}
);
}
);
}
,
}
,
...
@@ -173,20 +186,25 @@ export default {
...
@@ -173,20 +186,25 @@ export default {
getOrderSpecialData
(){
getOrderSpecialData
(){
getOrderSpecial
(
this
.
form
.
orderItemId
,
3
).
then
(
r
=>
{
getOrderSpecial
(
this
.
form
.
orderItemId
,
3
).
then
(
r
=>
{
this
.
form
=
r
.
data
this
.
form
=
r
.
data
this
.
lightCommissionAmount
=
this
.
form
.
lightCommissionAmount
this
.
shadeCommissionAmount
=
this
.
form
.
shadeCommissionAmount
this
.
form
.
commissionType
=
this
.
form
.
commissionType
.
toString
()
}
)
}
)
}
,
}
,
submitForm
(){
submitForm
(){
createOrderSpecial
({
this
.
form
.
applyType
=
3
applyType
:
this
.
form
.
applyType
,
this
.
form
.
commissionType
=
parseInt
(
this
.
form
.
commissionType
)
lineId
:
this
.
form
.
lineId
,
if
(
this
.
form
.
commissionType
==
1
){
commissionType
:
this
.
form
.
commissionType
,
this
.
form
.
lightCommissionAmount
=
this
.
lightCommissionAmount
orderId
:
this
.
form
.
orderId
,
}
orderNo
:
this
.
form
.
orderNo
,
if
(
this
.
form
.
commissionType
==
3
){
orderItemId
:
this
.
form
.
orderItemId
,
this
.
form
.
lightCommissionAmount
=
this
.
lightCommissionAmount
prodId
:
this
.
form
.
prodId
,
this
.
form
.
shadeCommissionAmount
=
this
.
shadeCommissionAmount
ccIds
:
this
.
selectedUsers
.
join
(
'
,
'
)
}
}
).
then
(
r
=>
{
this
.
form
.
ccIds
=
this
.
selectedUsers
.
join
(
'
,
'
)
createOrderSpecial
(
this
.
form
).
then
(
r
=>
{
this
.
$message
.
success
(
r
.
msg
||
'
提交成功
'
)
this
.
$message
.
success
(
r
.
msg
||
'
提交成功
'
)
this
.
$store
.
dispatch
(
'
tagsView/delCurrentView
'
)
}
)
}
)
}
,
}
,
cancelSplit
(){
cancelSplit
(){
...
@@ -195,9 +213,9 @@ export default {
...
@@ -195,9 +213,9 @@ export default {
that
.
$message
.
error
(
"
请输入取消原因
"
);
that
.
$message
.
error
(
"
请输入取消原因
"
);
return
return
}
}
cancelApply
({
orderId
:
that
.
queryParams
.
orderId
,
reason
:
that
.
reason
}
).
then
(
res
=>
{
cancelOrderSpecial
(
that
.
form
.
orderApprovalId
,{
reason
:
that
.
reason
}
).
then
(
res
=>
{
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$
router
.
back
(
)
that
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
)
}
)
}
)
}
,
}
,
...
...
src/views/ecw/order/special/index.vue
View file @
aa035483
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
<div
style=
"text-align: center;margin-top: 80px"
>
<div
style=
"text-align: center;margin-top: 80px"
>
<el-button
type=
"primary"
@
click=
"toweight"
>
申请重货优惠
</el-button>
<el-button
type=
"primary"
@
click=
"toweight"
>
申请重货优惠
</el-button>
<el-button
type=
"primary"
>
申请泡货优惠
</el-button>
<el-button
type=
"primary"
@
click=
"tolight"
>
申请泡货优惠
</el-button>
<el-button
type=
"primary"
>
关闭窗口
</el-button>
<el-button
type=
"primary"
>
关闭窗口
</el-button>
</div>
</div>
</el-card>
</el-card>
...
@@ -157,6 +157,11 @@ export default {
...
@@ -157,6 +157,11 @@ export default {
path
:
"
/order/specialWeight/
"
+
this
.
params
.
orderId
,
path
:
"
/order/specialWeight/
"
+
this
.
params
.
orderId
,
})
})
},
},
tolight
(){
this
.
$router
.
push
({
path
:
"
/order/specialLight/
"
+
this
.
params
.
orderId
,
})
},
getProductNamesByIds
(
ids
){
getProductNamesByIds
(
ids
){
const
result
=
[]
const
result
=
[]
ids
.
split
(
'
,
'
).
forEach
(
e
=>
{
ids
.
split
(
'
,
'
).
forEach
(
e
=>
{
...
...
src/views/ecw/order/special/light.vue
View file @
aa035483
...
@@ -17,18 +17,18 @@
...
@@ -17,18 +17,18 @@
</el-row>
</el-row>
<el-row
:span=
"8"
>
<el-row
:span=
"8"
>
<el-form-item
label=
"备注:"
size=
"medium"
label-width=
"150px"
>
<el-form-item
label=
"备注:"
size=
"medium"
label-width=
"150px"
>
<el-input
style=
"width: 500px;"
type=
"textarea"
v-model=
"queryParams.
orderExceptionHandlerRemark
"
/>
<el-input
style=
"width: 500px;"
type=
"textarea"
v-model=
"queryParams.
remarks
"
/>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
</el-form>
</el-form>
</el-card>
</el-card>
<work-flow
xmlkey=
"heavy_goods_discount"
v-model=
"selectedUsers"
style=
"margin-top: 20px;"
></work-flow>
<work-flow
xmlkey=
"heavy_goods_discount"
v-model=
"selectedUsers"
style=
"margin-top: 20px;"
></work-flow>
<div
slot=
"footer"
class=
"card footer_btn"
>
<div
slot=
"footer"
class=
"card footer_btn"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
提交
</el-button>
<el-button
v-if=
"queryParams.applyStatus==0"
type=
"primary"
@
click=
"submitForm"
>
提交
</el-button>
<el-button
plain
type=
"primary"
@
click=
"$router.back(
)"
>
取消
</el-button>
<el-button
v-if=
"queryParams.applyStatus==0"
plain
type=
"primary"
@
click=
"$store.dispatch('tagsView/delCurrentView'
)"
>
取消
</el-button>
<!--
<el-button
v-if=
"orderData.inWarehouseState==207"
type=
"primary"
disabled
>
审核中
</el-button>
--
>
<el-button
v-if=
"queryParams.applyStatus==1"
type=
"primary"
@
click=
"$router.push(`/bpm/process-instance/detail?id=`+queryParams.formId)"
>
审核中
</el-button
>
<!--
<el-button
v-if=
"orderData.inWarehouseState==207"
plain
type=
"primary"
@
click=
"dialogVisible = true"
>
取消审核
</el-button>
--
>
<el-button
v-if=
"queryParams.applyStatus==1"
plain
type=
"primary"
@
click=
"dialogVisible = true"
>
取消审核
</el-button
>
<!--
<el-button
v-if=
"orderData.inWarehouseState==207"
plain
type=
"primary"
@
click=
"$router.back()"
>
返回
</el-button>
--
>
<el-button
v-if=
"queryParams.applyStatus==1"
plain
type=
"primary"
@
click=
"$store.dispatch('tagsView/delCurrentView')"
>
返回
</el-button
>
</div>
</div>
<el-dialog
<el-dialog
title=
"提示"
title=
"提示"
...
@@ -51,10 +51,10 @@
...
@@ -51,10 +51,10 @@
<
script
>
<
script
>
import
{
getDictData
,
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
getDictData
,
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
{
getOrderSpecial
,
createOrderSpecial
}
from
'
@/api/ecw/order
'
import
{
getOrderSpecial
,
createOrderSpecial
,
cancelOrderSpecial
}
from
'
@/api/ecw/order
'
export
default
{
export
default
{
name
:
"
special
We
ight
"
,
name
:
"
special
L
ight
"
,
components
:
{
components
:
{
WorkFlow
WorkFlow
},
},
...
@@ -96,17 +96,11 @@ export default {
...
@@ -96,17 +96,11 @@ export default {
})
})
},
},
submitForm
(){
submitForm
(){
createOrderSpecial
({
this
.
queryParams
.
applyType
=
5
applyType
:
this
.
queryParams
.
applyType
,
this
.
queryParams
.
ccIds
=
this
.
selectedUsers
.
join
(
'
,
'
)
lineId
:
this
.
queryParams
.
lineId
,
createOrderSpecial
(
this
.
queryParams
).
then
(
r
=>
{
vweight
:
this
.
queryParams
.
vweight
,
orderId
:
this
.
queryParams
.
orderId
,
orderNo
:
this
.
queryParams
.
orderNo
,
orderItemId
:
this
.
queryParams
.
orderItemId
,
prodId
:
this
.
queryParams
.
prodId
,
ccIds
:
this
.
selectedUsers
.
join
(
'
,
'
)
}).
then
(
r
=>
{
this
.
$message
.
success
(
r
.
msg
||
'
提交成功
'
)
this
.
$message
.
success
(
r
.
msg
||
'
提交成功
'
)
this
.
$store
.
dispatch
(
'
tagsView/delCurrentView
'
)
})
})
},
},
cancelSplit
(){
cancelSplit
(){
...
@@ -115,9 +109,9 @@ export default {
...
@@ -115,9 +109,9 @@ export default {
that
.
$message
.
error
(
"
请输入取消原因
"
);
that
.
$message
.
error
(
"
请输入取消原因
"
);
return
return
}
}
cancelApply
({
orderId
:
that
.
queryParams
.
orderId
,
reason
:
that
.
reason
}).
then
(
res
=>
{
cancelOrderSpecial
(
that
.
queryParams
.
orderApprovalId
,{
reason
:
that
.
reason
}).
then
(
res
=>
{
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$
router
.
back
(
)
that
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
)
})
})
},
},
...
...
src/views/ecw/order/special/weight.vue
View file @
aa035483
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</el-row>
</el-row>
<el-row
:span=
"8"
>
<el-row
:span=
"8"
>
<el-form-item
label=
"备注:"
size=
"medium"
label-width=
"150px"
>
<el-form-item
label=
"备注:"
size=
"medium"
label-width=
"150px"
>
<el-input
style=
"width: 500px;"
type=
"textarea"
v-model=
"queryParams.
orderExceptionHandlerRemark
"
/>
<el-input
style=
"width: 500px;"
type=
"textarea"
v-model=
"queryParams.
remarks
"
/>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
</el-form>
</el-form>
...
@@ -25,10 +25,10 @@
...
@@ -25,10 +25,10 @@
<work-flow
xmlkey=
"heavy_goods_discount"
v-model=
"selectedUsers"
style=
"margin-top: 20px;"
></work-flow>
<work-flow
xmlkey=
"heavy_goods_discount"
v-model=
"selectedUsers"
style=
"margin-top: 20px;"
></work-flow>
<div
slot=
"footer"
class=
"card footer_btn"
>
<div
slot=
"footer"
class=
"card footer_btn"
>
<el-button
type=
"primary"
v-if=
"queryParams.applyStatus==0"
@
click=
"submitForm"
>
提交
</el-button>
<el-button
type=
"primary"
v-if=
"queryParams.applyStatus==0"
@
click=
"submitForm"
>
提交
</el-button>
<el-button
plain
type=
"primary"
v-if=
"queryParams.applyStatus==0"
@
click=
"$
router.back(
)"
>
取消
</el-button>
<el-button
plain
type=
"primary"
v-if=
"queryParams.applyStatus==0"
@
click=
"$
store.dispatch('tagsView/delCurrentView'
)"
>
取消
</el-button>
<el-button
v-if=
"queryParams.applyStatus==1"
type=
"primary"
disabled
>
审核中
</el-button>
<el-button
v-if=
"queryParams.applyStatus==1"
type=
"primary"
@
click=
"$router.push(`/bpm/process-instance/detail?id=`+queryParams.formId)"
>
审核中
</el-button>
<el-button
v-if=
"queryParams.applyStatus==1"
plain
type=
"primary"
@
click=
"dialogVisible = true"
>
取消审核
</el-button>
<el-button
v-if=
"queryParams.applyStatus==1"
plain
type=
"primary"
@
click=
"dialogVisible = true"
>
取消审核
</el-button>
<el-button
v-if=
"queryParams.applyStatus==1"
plain
type=
"primary"
@
click=
"$
router.back(
)"
>
返回
</el-button>
<el-button
v-if=
"queryParams.applyStatus==1"
plain
type=
"primary"
@
click=
"$
store.dispatch('tagsView/delCurrentView'
)"
>
返回
</el-button>
</div>
</div>
<el-dialog
<el-dialog
title=
"提示"
title=
"提示"
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<
script
>
<
script
>
import
{
getDictData
,
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
getDictData
,
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
{
getOrderSpecial
,
createOrderSpecial
}
from
'
@/api/ecw/order
'
import
{
getOrderSpecial
,
createOrderSpecial
,
cancelOrderSpecial
}
from
'
@/api/ecw/order
'
export
default
{
export
default
{
name
:
"
specialWeight
"
,
name
:
"
specialWeight
"
,
...
@@ -97,17 +97,11 @@ export default {
...
@@ -97,17 +97,11 @@ export default {
})
})
},
},
submitForm
(){
submitForm
(){
createOrderSpecial
({
this
.
queryParams
.
applyType
=
4
applyType
:
this
.
queryParams
.
applyType
,
this
.
queryParams
.
ccIds
=
this
.
selectedUsers
.
join
(
'
,
'
)
lineId
:
this
.
queryParams
.
lineId
,
createOrderSpecial
(
this
.
queryParams
).
then
(
r
=>
{
wvolume
:
this
.
queryParams
.
wvolume
,
orderId
:
this
.
queryParams
.
orderId
,
orderNo
:
this
.
queryParams
.
orderNo
,
orderItemId
:
this
.
queryParams
.
orderItemId
,
prodId
:
this
.
queryParams
.
prodId
,
ccIds
:
this
.
selectedUsers
.
join
(
'
,
'
)
}).
then
(
r
=>
{
this
.
$message
.
success
(
r
.
msg
||
'
提交成功
'
)
this
.
$message
.
success
(
r
.
msg
||
'
提交成功
'
)
this
.
$store
.
dispatch
(
'
tagsView/delCurrentView
'
)
})
})
},
},
cancelSplit
(){
cancelSplit
(){
...
@@ -116,9 +110,9 @@ export default {
...
@@ -116,9 +110,9 @@ export default {
that
.
$message
.
error
(
"
请输入取消原因
"
);
that
.
$message
.
error
(
"
请输入取消原因
"
);
return
return
}
}
cancelApply
({
orderId
:
that
.
queryParams
.
orderId
,
reason
:
that
.
reason
}).
then
(
res
=>
{
cancelOrderSpecial
(
that
.
queryParams
.
orderApprovalId
,{
reason
:
that
.
reason
}).
then
(
res
=>
{
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$
router
.
back
(
)
that
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
)
})
})
},
},
...
...
src/views/ecw/order/splitApply.vue
View file @
aa035483
...
@@ -177,10 +177,10 @@
...
@@ -177,10 +177,10 @@
<work-flow
xmlkey=
"split_order"
v-model=
"selectedUsers"
></work-flow>
<work-flow
xmlkey=
"split_order"
v-model=
"selectedUsers"
></work-flow>
<div
slot=
"footer"
class=
"card footer_btn"
v-if=
"orderData.status!=99"
>
<div
slot=
"footer"
class=
"card footer_btn"
v-if=
"orderData.status!=99"
>
<el-button
v-if=
"orderData.inWarehouseState!=207"
type=
"primary"
@
click=
"submitForm"
>
提交申请
</el-button>
<el-button
v-if=
"orderData.inWarehouseState!=207"
type=
"primary"
@
click=
"submitForm"
>
提交申请
</el-button>
<el-button
v-if=
"orderData.inWarehouseState!=207"
plain
type=
"primary"
@
click=
"$
router.back(
)"
>
取消
</el-button>
<el-button
v-if=
"orderData.inWarehouseState!=207"
plain
type=
"primary"
@
click=
"$
store.dispatch('tagsView/delCurrentView'
)"
>
取消
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==207"
type=
"primary"
disabled
>
审核中
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==207"
type=
"primary"
@
click=
"$router.push(`/bpm/process-instance/detail?id=`+orderApprovalBackVO.formId)"
>
审核中
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==207"
plain
type=
"primary"
@
click=
"dialogVisible = true"
>
取消审核
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==207"
plain
type=
"primary"
@
click=
"dialogVisible = true"
>
取消审核
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==207"
plain
type=
"primary"
@
click=
"$
router.back(
)"
>
返回
</el-button>
<el-button
v-if=
"orderData.inWarehouseState==207"
plain
type=
"primary"
@
click=
"$
store.dispatch('tagsView/delCurrentView'
)"
>
返回
</el-button>
</div>
</div>
<!-- 对话框(添加 / 修改) -->
<!-- 对话框(添加 / 修改) -->
<el-dialog
title=
"新建拆单"
:visible.sync=
"open"
width=
"400px"
append-to-body
>
<el-dialog
title=
"新建拆单"
:visible.sync=
"open"
width=
"400px"
append-to-body
>
...
@@ -280,6 +280,7 @@ export default {
...
@@ -280,6 +280,7 @@ export default {
dialogVisible
:
false
,
dialogVisible
:
false
,
orderData
:{},
orderData
:{},
splitData
:[],
splitData
:[],
orderApprovalBackVO
:{},
splitIndex
:
0
,
splitIndex
:
0
,
channelData
:[],
channelData
:[],
tradeCityList
:[],
tradeCityList
:[],
...
@@ -371,7 +372,11 @@ export default {
...
@@ -371,7 +372,11 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
// 执行查询
// 执行查询
getSplitList
(
this
.
queryParams
).
then
(
response
=>
{
getSplitList
(
this
.
queryParams
).
then
(
response
=>
{
this
.
splitData
=
response
.
data
this
.
splitData
=
response
.
data
.
orderSplitBackVOList
if
(
response
.
data
.
orderApprovalBackVO
){
this
.
orderApprovalBackVO
=
response
.
data
.
orderApprovalBackVO
}
this
.
loading
=
false
;
this
.
loading
=
false
;
});
});
},
},
...
@@ -436,7 +441,7 @@ export default {
...
@@ -436,7 +441,7 @@ export default {
}
}
splitApply
(
params
).
then
(
res
=>
{
splitApply
(
params
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
"
申请成功
"
);
this
.
$modal
.
msgSuccess
(
"
申请成功
"
);
this
.
$
router
.
back
(
)
this
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
)
})
})
},
},
addShop
(
index
){
addShop
(
index
){
...
@@ -522,7 +527,7 @@ export default {
...
@@ -522,7 +527,7 @@ export default {
}
}
cancelApply
({
orderId
:
that
.
queryParams
.
orderId
,
reason
:
that
.
reason
}).
then
(
res
=>
{
cancelApply
({
orderId
:
that
.
queryParams
.
orderId
,
reason
:
that
.
reason
}).
then
(
res
=>
{
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$
router
.
back
(
)
that
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
)
})
})
},
},
shopCancel
(){
shopCancel
(){
...
...
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