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
50f1e1d7
Commit
50f1e1d7
authored
Mar 06, 2025
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'order_fee_update' into pre-release
parents
3b17228b
afc7f948
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
499 additions
and
57 deletions
+499
-57
order.js
src/api/ecw/order.js
+23
-0
detail.vue
src/views/bpm/processInstance/detail.vue
+4
-2
batchMarkupComList.vue
src/views/ecw/box/batchMarkupComList.vue
+1
-7
detail.vue
src/views/ecw/order/feeApplicationBatch/detail.vue
+347
-0
index.vue
src/views/ecw/order/feeApplicationBatch/index.vue
+18
-48
list.vue
src/views/ecw/order/feeApplicationBatch/list.vue
+106
-0
No files found.
src/api/ecw/order.js
View file @
50f1e1d7
...
@@ -125,6 +125,29 @@ export function feeApplicationBatchGetOrderListByIds(data) {
...
@@ -125,6 +125,29 @@ export function feeApplicationBatchGetOrderListByIds(data) {
})
})
}
}
export
function
feeApplicationBatchList
(
data
)
{
return
request
({
url
:
"
ecw/batch-order-fee-apply/page
"
,
method
:
"
get
"
,
params
:
data
})
}
export
function
feeApplicationBatchDetail
(
data
)
{
return
request
({
url
:
"
ecw/batch-order-fee-apply/info
"
,
method
:
"
get
"
,
params
:
data
})
}
export
function
feeApplicationBatchDetailFormId
(
data
)
{
return
request
({
url
:
"
ecw/batch-order-fee-apply/getInfoByFormId
"
,
method
:
"
get
"
,
params
:
data
})
}
// 批量申请费用
// 批量申请费用
export
function
feeApplicationCreateBatch
(
data
)
{
export
function
feeApplicationCreateBatch
(
data
)
{
return
request
({
return
request
({
...
...
src/views/bpm/processInstance/detail.vue
View file @
50f1e1d7
...
@@ -45,9 +45,11 @@
...
@@ -45,9 +45,11 @@
</el-col>
</el-col>
<div
v-if=
"this.processInstance.processDefinition && this.processInstance.processDefinition.formType === 20"
>
<div
v-if=
"this.processInstance.processDefinition && this.processInstance.processDefinition.formType === 20"
>
<component
v-if=
"businessKeyToComponent"
:is=
"businessKeyToComponent.component"
v-bind=
"businessKeyToComponent"
/>
<component
v-if=
"businessKeyToComponent"
:is=
"businessKeyToComponent.component"
v-bind=
"businessKeyToComponent"
/>
<div
v-else
>
<div
v-else
>
<router-link
:to=
"this.processInstance.processDefinition.formCustomViewPath + '?id=' + this.processInstance.businessKey"
>
<router-link
v-if=
"this.processInstance.processDefinition.formCustomViewPath === 'batch_order_free_apply'"
:to=
"`/order/feeApplicationBatchDetail?id=$
{this.processInstance.businessKey}`">
<el-button
type=
"primary"
>
{{
$t
(
"
点击查看
"
)
}}
</el-button>
</router-link>
<router-link
v-else
:to=
"this.processInstance.processDefinition.formCustomViewPath + '?id=' + this.processInstance.businessKey"
>
<el-button
type=
"primary"
>
{{
$t
(
"
点击查看
"
)
}}
</el-button>
<el-button
type=
"primary"
>
{{
$t
(
"
点击查看
"
)
}}
</el-button>
</router-link>
</router-link>
</div>
</div>
...
...
src/views/ecw/box/batchMarkupComList.vue
View file @
50f1e1d7
...
@@ -349,14 +349,8 @@ export default {
...
@@ -349,14 +349,8 @@ export default {
<
style
lang
=
"
scss
"
scoped
>
<
style
lang
=
"
scss
"
scoped
>
::
v
-
deep
.
table3
{
::
v
-
deep
.
table3
{
.
el
-
table__cell
{
padding
-
top
:
3
px
;
padding
-
bottom
:
3
px
;
}
.
el
-
table__header
-
wrapper
th
{
.
el
-
table__header
-
wrapper
th
{
height
:
30
px
;
background
:
rgba
(
#
67
c23a
,
0.1
);
font
-
weight
:
normal
;
color
:
#
ccc
;
}
}
}
}
<
/style
>
<
/style
>
src/views/ecw/order/feeApplicationBatch/detail.vue
0 → 100644
View file @
50f1e1d7
This diff is collapsed.
Click to expand it.
src/views/ecw/order/feeApplicationBatch/index.vue
View file @
50f1e1d7
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('计量单位')"
>
<el-table-column
:label=
"$t('计量单位')"
>
<
template
slot-scope=
"{ row, $index }"
>
<
template
slot-scope=
"{ row, $index }"
>
<el-select
v-model=
"row.unit
"
:placeholder=
"$t('请选择')"
clearable
@
change=
"batchUpdateField($index, 'uni
t')"
>
<el-select
v-model=
"row.unit
Measurement"
:placeholder=
"$t('请选择')"
clearable
@
change=
"batchUpdateField($index, 'unitMeasuremen
t')"
>
<el-option
v-for=
"(item, index) in units"
:label=
"$t(item.name)"
:value=
"item.val"
:key=
"index"
></el-option>
<el-option
v-for=
"(item, index) in units"
:label=
"$t(item.name)"
:value=
"item.val"
:key=
"index"
></el-option>
</el-select>
</el-select>
</
template
>
</
template
>
...
@@ -67,14 +67,13 @@
...
@@ -67,14 +67,13 @@
<div
class=
""
>
<div
class=
""
>
<div
style=
"padding: 20px 0 10px 0"
>
{{ $t("申请原因") }}
</div>
<div
style=
"padding: 20px 0 10px 0"
>
{{ $t("申请原因") }}
</div>
<el-input
v-model=
"
batchApplyDetailsInfoVO.
reason"
type=
"textarea"
style=
"width: 30%"
></el-input>
<el-input
v-model=
"reason"
type=
"textarea"
style=
"width: 30%"
></el-input>
</div>
</div>
<div
class=
"flex-c-c mt20"
>
<div
class=
"flex-c-c mt20"
>
<div
class=
"fills"
>
订单列表
</div>
<div
class=
"fills"
>
订单列表
</div>
</div>
</div>
<el-table
class=
"mt10 table2"
ref=
"orderTable"
border
default-expand-all
:data=
"batchApplyDetailsInfoVO.orderFeeDetailsVOList"
@
selection-change=
"handleSelectionChange"
>
<el-table
class=
"mt10 table2"
ref=
"orderTable"
border
default-expand-all
:data=
"batchApplyDetailsInfoVO.orderFeeDetailsVOList"
>
<el-table-column
type=
"selection"
width=
"50"
align=
"center"
></el-table-column>
<el-table-column
:label=
"$t('序号')"
width=
"50"
type=
"index"
align=
"center"
/>
<el-table-column
:label=
"$t('序号')"
width=
"50"
type=
"index"
align=
"center"
/>
<el-table-column
prop=
"orderNo"
:label=
"$t('订单号')"
align=
"center"
width=
"150"
>
<el-table-column
prop=
"orderNo"
:label=
"$t('订单号')"
align=
"center"
width=
"150"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
...
@@ -196,7 +195,6 @@
...
@@ -196,7 +195,6 @@
<
script
>
<
script
>
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
import
{
getUnitList
}
from
"
@/api/ecw/unit
"
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
import
{
getProductTypeList
}
from
"
@/api/ecw/productType
"
import
{
getProductTypeList
}
from
"
@/api/ecw/productType
"
import
{
getOrder
,
feeApplicationBatch
,
feeApplicationBatchGetOrderListByIds
,
applicationUpdate
,
feeApplicationCancel
,
getFeeApplicationApproveByOrderId
,
getBatchFeeByProcessId
,
qetBatchFeeByBusinessId
,
getBatchFeeByBusinessId
,
feeApplicationDelete
,
getFeeDraweeByFeeType
}
from
"
@/api/ecw/order
"
import
{
getOrder
,
feeApplicationBatch
,
feeApplicationBatchGetOrderListByIds
,
applicationUpdate
,
feeApplicationCancel
,
getFeeApplicationApproveByOrderId
,
getBatchFeeByProcessId
,
qetBatchFeeByBusinessId
,
getBatchFeeByBusinessId
,
feeApplicationDelete
,
getFeeDraweeByFeeType
}
from
"
@/api/ecw/order
"
...
@@ -217,14 +215,13 @@ export default {
...
@@ -217,14 +215,13 @@ export default {
return
{
return
{
prodTypeList
:
[],
prodTypeList
:
[],
attrList
:
[],
attrList
:
[],
unitList
:
[],
currencyList
:
[],
currencyList
:
[],
DICT_TYPE
,
DICT_TYPE
,
getDictDatas
,
getDictDatas
,
STATUS
:
{},
STATUS
:
{},
selectedUsers
:
[],
selectedUsers
:
[],
reason
:
""
,
batchApplyDetailsInfoVO
:
{
batchApplyDetailsInfoVO
:
{
reason
:
""
,
feeDetailsVOList
:
[],
feeDetailsVOList
:
[],
orderFeeDetailsVOList
:
[]
orderFeeDetailsVOList
:
[]
},
},
...
@@ -270,13 +267,6 @@ export default {
...
@@ -270,13 +267,6 @@ export default {
})
})
return
map
return
map
},
},
unitMap
()
{
let
map
=
{}
this
.
unitList
.
forEach
((
item
)
=>
{
map
[
item
.
id
]
=
this
.
$l
(
item
,
"
title
"
)
})
return
map
},
isChinese
()
{
isChinese
()
{
return
this
.
$i18n
.
locale
===
"
zh_CN
"
return
this
.
$i18n
.
locale
===
"
zh_CN
"
}
}
...
@@ -285,7 +275,6 @@ export default {
...
@@ -285,7 +275,6 @@ export default {
this
.
getDictDatas
(
this
.
DICT_TYPE
.
AUDIT_STATUS
).
forEach
((
e
)
=>
{
this
.
getDictDatas
(
this
.
DICT_TYPE
.
AUDIT_STATUS
).
forEach
((
e
)
=>
{
this
.
STATUS
[
e
.
value
]
=
e
.
label
this
.
STATUS
[
e
.
value
]
=
e
.
label
})
})
getUnitList
().
then
((
res
)
=>
(
this
.
unitList
=
res
.
data
))
getCurrencyList
().
then
((
res
)
=>
(
this
.
currencyList
=
res
.
data
))
getCurrencyList
().
then
((
res
)
=>
(
this
.
currencyList
=
res
.
data
))
getProductAttrList
().
then
((
response
)
=>
{
getProductAttrList
().
then
((
response
)
=>
{
this
.
attrList
=
response
.
data
this
.
attrList
=
response
.
data
...
@@ -297,10 +286,6 @@ export default {
...
@@ -297,10 +286,6 @@ export default {
this
.
getData
()
this
.
getData
()
},
},
methods
:
{
methods
:
{
// 表格多选
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
((
item
)
=>
item
.
orderId
)
},
formatAmount
(
row
,
index
)
{
formatAmount
(
row
,
index
)
{
row
.
applicationFee
=
this
.
$formatNumber
(
row
.
applicationFee
,
2
)
row
.
applicationFee
=
this
.
$formatNumber
(
row
.
applicationFee
,
2
)
this
.
batchUpdateField
(
index
,
"
applicationFee
"
)
this
.
batchUpdateField
(
index
,
"
applicationFee
"
)
...
@@ -338,13 +323,15 @@ export default {
...
@@ -338,13 +323,15 @@ export default {
if
(
field
===
"
payer
"
&&
cval
===
""
)
{
if
(
field
===
"
payer
"
&&
cval
===
""
)
{
this
.
batchApplyDetailsInfoVO
.
orderFeeDetailsVOList
.
forEach
((
item
,
i
)
=>
{
this
.
batchApplyDetailsInfoVO
.
orderFeeDetailsVOList
.
forEach
((
item
,
i
)
=>
{
let
ITEM
=
item
.
orderFeeApplicationBaseVOList
[
index
]
let
ITEM
=
item
.
orderFeeApplicationBaseVOList
[
index
]
if
(
item
.
drawee
)
{
if
(
item
.
drawee
===
3
)
{
item
.
drawee
!=
3
?
(
ITEM
[
field
]
=
item
.
drawee
)
:
this
.
getDraweePayer
(
ITEM
)
this
.
getDraweePayer
(
item
,
ITEM
)
}
else
{
item
.
orderFeeApplicationBaseVOList
[
index
][
field
]
=
item
.
drawee
}
}
})
})
return
return
}
}
if
(
field
===
"
unit
"
||
"
applicationFee
"
)
{
if
(
field
===
"
unit
Measurement
"
||
field
===
"
applicationFee
"
)
{
let
applicationFee
=
this
.
batchApplyDetailsInfoVO
.
feeDetailsVOList
[
index
][
"
applicationFee
"
]
let
applicationFee
=
this
.
batchApplyDetailsInfoVO
.
feeDetailsVOList
[
index
][
"
applicationFee
"
]
if
(
applicationFee
)
{
if
(
applicationFee
)
{
if
(
cval
===
2
)
{
if
(
cval
===
2
)
{
...
@@ -378,7 +365,9 @@ export default {
...
@@ -378,7 +365,9 @@ export default {
})
})
})
})
},
},
getDraweePayer
(
item
)
{
getDraweePayer
(
order
,
item
)
{
console
.
log
(
order
,
item
)
let
feeType
=
item
.
feeType
let
feeType
=
item
.
feeType
if
(
feeType
)
{
if
(
feeType
)
{
getFeeDraweeByFeeType
(
feeType
).
then
((
res
)
=>
{
getFeeDraweeByFeeType
(
feeType
).
then
((
res
)
=>
{
...
@@ -386,8 +375,8 @@ export default {
...
@@ -386,8 +375,8 @@ export default {
let
drawee
=
res
.
data
let
drawee
=
res
.
data
console
.
log
(
"
自定义费用枚举值:
"
,
drawee
)
console
.
log
(
"
自定义费用枚举值:
"
,
drawee
)
if
(
drawee
)
{
if
(
drawee
)
{
if
(
this
.
orderDetails
.
customDraweeVOList
&&
this
.
orderDetails
.
customDraweeVOList
.
length
>
0
)
{
if
(
order
.
customDraweeVOList
&&
order
.
customDraweeVOList
.
length
>
0
)
{
let
customDrawee
=
this
.
orderDetails
.
customDraweeVOList
.
find
((
item
)
=>
item
.
name
==
drawee
)
let
customDrawee
=
order
.
customDraweeVOList
.
find
((
item
)
=>
item
.
name
==
drawee
)
console
.
log
(
"
自定义费用类型值:
"
,
customDrawee
)
console
.
log
(
"
自定义费用类型值:
"
,
customDrawee
)
if
(
customDrawee
)
{
if
(
customDrawee
)
{
console
.
log
(
"
返回值:
"
,
customDrawee
.
value
)
console
.
log
(
"
返回值:
"
,
customDrawee
.
value
)
...
@@ -471,23 +460,10 @@ export default {
...
@@ -471,23 +460,10 @@ export default {
}
}
})
})
let
orderFeeDetailsVOList
=
this
.
batchApplyDetailsInfoVO
.
orderFeeDetailsVOList
.
filter
((
item
)
=>
{
console
.
log
(
new
Set
(
this
.
ids
),
item
.
orderId
)
return
new
Set
(
this
.
ids
).
has
(
item
.
orderId
)
})
if
(
!
orderFeeDetailsVOList
.
length
)
{
this
.
$message
.
error
(
"
请选择订单
"
)
return
}
feeApplicationBatch
({
feeApplicationBatch
({
batchApplyDetailsInfoVO
:
{
batchApplyDetailsInfoVO
:
this
.
batchApplyDetailsInfoVO
,
...
this
.
batchApplyDetailsInfoVO
,
orderFeeDetailsVOList
},
copyUserId
:
this
.
selectedUsers
,
copyUserId
:
this
.
selectedUsers
,
reason
,
details
:
"
-
"
details
:
"
-
"
}).
then
((
r
)
=>
{
}).
then
((
r
)
=>
{
if
(
r
.
code
===
0
)
{
if
(
r
.
code
===
0
)
{
...
@@ -498,7 +474,7 @@ export default {
...
@@ -498,7 +474,7 @@ export default {
}
}
},
},
watch
:
{
watch
:
{
orderIds
()
{
orderIds
(
val
)
{
if
(
val
)
{
if
(
val
)
{
this
.
getData
()
this
.
getData
()
}
}
...
@@ -526,14 +502,8 @@ export default {
...
@@ -526,14 +502,8 @@ export default {
}
}
}
}
::v-deep
.table3
{
::v-deep
.table3
{
.el-table__cell
{
padding-top
:
3px
;
padding-bottom
:
3px
;
}
.el-table__header-wrapper
th
{
.el-table__header-wrapper
th
{
height
:
30px
;
background
:
rgba
(
#67c23a
,
0
.1
);
font-weight
:
normal
;
color
:
#ccc
;
}
}
}
}
}
}
...
...
src/views/ecw/order/feeApplicationBatch/list.vue
0 → 100644
View file @
50f1e1d7
<
template
>
<div
class=
"app-container"
>
<!-- 搜索工作栏 -->
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
label-width=
"100px"
>
<el-form-item
:label=
"$t('申请时间')"
>
<el-date-picker
v-model=
"createTime"
style=
"width: 240px"
type=
"datetimerange"
range-separator=
"-"
:start-placeholder=
"$t('开始日期')"
:end-placeholder=
"$t('结束日期')"
value-format=
"yyyy-MM-dd HH:mm:ss"
/>
</el-form-item>
<el-form-item
:label=
"$t('编号')"
prop=
"no"
>
<el-input
v-model=
"queryParams.no"
placeholder=
""
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('申请人')"
prop=
"user"
>
<user-selector
manage
v-model=
"queryParams.creatorList"
multiple
clearable
@
change=
"handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
"
搜索
"
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
"
重置
"
)
}}
</el-button>
</el-form-item>
</el-form>
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
:label=
"$t('编号')"
align=
"center"
prop=
"no"
width=
"180"
>
<template
slot-scope=
"
{ row }">
<router-link
:to=
"'/order/feeApplicationBatchDetail?id=' + row.id"
>
{{
row
.
no
}}
</router-link>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('申请人')"
align=
"center"
prop=
"creatorName"
width=
"180"
/>
<el-table-column
:label=
"$t('申请时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('申请原因')"
prop=
"reason"
width=
"300"
/>
<el-table-column
:label=
"$t('审核信息')"
>
<
template
slot-scope=
"{ row }"
>
<router-link
:to=
"`/bpm/process-instance/detail?id=$
{row.formId}`">审核信息
</router-link>
</
template
>
</el-table-column>
</el-table>
<!-- 分页组件 -->
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.pageNo"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
</div>
</template>
<
script
>
import
UserSelector
from
"
@/components/UserSelector
"
import
{
feeApplicationBatchList
}
from
"
@/api/ecw/order
"
export
default
{
name
:
"
feeApplicationBatchList
"
,
components
:
{
UserSelector
},
data
()
{
return
{
// 遮罩层
loading
:
true
,
list
:
[],
createTime
:
[],
total
:
0
,
// 查询参数
queryParams
:
{
pageNo
:
1
,
pageSize
:
10
,
no
:
null
,
creatorList
:
null
}
}
},
created
()
{
this
.
getList
()
},
methods
:
{
/** 查询列表 */
async
getList
()
{
this
.
list
=
[]
this
.
loading
=
true
// 处理查询参数
let
params
=
{
...
this
.
queryParams
}
this
.
addBeginAndEndTime
(
params
,
this
.
createTime
,
"
createTime
"
,
false
)
// 执行查询
feeApplicationBatchList
(
params
).
then
((
response
)
=>
{
response
.
data
.
list
.
forEach
((
item
)
=>
{
this
.
list
.
push
(
item
)
})
this
.
total
=
response
.
data
.
total
this
.
loading
=
false
})
},
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
pageNo
=
1
this
.
getList
()
},
/** 重置按钮操作 */
resetQuery
()
{
this
.
createTime
=
[]
this
.
resetForm
(
"
queryForm
"
)
this
.
handleQuery
()
},
/** 详情按钮操作 */
handleDetail
(
row
)
{
return
this
.
$router
.
push
(
"
detail?id=
"
+
row
.
id
)
}
}
}
</
script
>
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