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
dfc214f0
Commit
dfc214f0
authored
Jul 20, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
解决订单列表和接口冲突
parents
46fb3eea
6d699641
Changes
17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
1057 additions
and
327 deletions
+1057
-327
currencyEcash.js
src/api/ecw/currencyEcash.js
+10
-0
order.js
src/api/ecw/order.js
+25
-1
user.js
src/api/member/user.js
+56
-39
index.js
src/router/index.js
+61
-0
dict.js
src/utils/dict.js
+6
-1
index.vue
src/views/ecw/currencyEcash/index.vue
+261
-267
addAssociatedOrder.vue
src/views/ecw/order/addAssociatedOrder.vue
+95
-0
associatedOrder.vue
src/views/ecw/order/associatedOrder.vue
+112
-0
batchSingleApplication.vue
src/views/ecw/order/batchSingleApplication.vue
+50
-0
PrintTag.vue
src/views/ecw/order/components/PrintTag.vue
+0
-14
ordeDetailsForm.vue
src/views/ecw/order/components/ordeDetailsForm.vue
+41
-0
specialNeeds.vue
src/views/ecw/order/components/specialNeeds.vue
+91
-0
feeApplication.vue
src/views/ecw/order/feeApplication.vue
+137
-0
index.vue
src/views/ecw/order/index.vue
+9
-1
singleApplication.vue
src/views/ecw/order/singleApplication.vue
+81
-0
index.vue
src/views/member/user/index.vue
+16
-4
smsTemplate.vue
src/views/system/sms/smsTemplate.vue
+6
-0
No files found.
src/api/ecw/currencyEcash.js
View file @
dfc214f0
...
...
@@ -18,6 +18,16 @@ export function updateCurrencyEcash(data) {
})
}
// 更新E-Cash汇率单位
export
function
updateCurrencyEcashAll
(
data
)
{
console
.
log
(
data
);
return
request
({
url
:
'
/ecw/currency-ecash/updateAll
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除E-Cash汇率单位
export
function
deleteCurrencyEcash
(
id
)
{
return
request
({
...
...
src/api/ecw/order.js
View file @
dfc214f0
...
...
@@ -59,4 +59,28 @@ export function printTag(id) {
url
:
'
/order/print/orderTagPrint?orderId=
'
+
id
,
method
:
'
get
'
,
})
}
\ No newline at end of file
}
//根据订单号获得订单费用申请列表
export
function
feeApplicationListByOrderId
(
query
){
return
request
({
url
:
'
/order/fee-application/listByOrderId
'
,
method
:
'
get
'
,
params
:
query
,
})
}
//费用申请提交
export
function
feeApplicationCreate
(
data
){
return
request
({
url
:
'
order/fee-application/create
'
,
method
:
'
post
'
,
data
:
data
,
})
}
// 创建特殊
export
function
specialNeedCreate
(
data
){
return
request
({
url
:
'
ecw/order-special-need/create
'
,
method
:
'
post
'
,
data
:
data
,
})
}
src/api/member/user.js
View file @
dfc214f0
...
...
@@ -53,68 +53,85 @@ export function exportUserExcel(query) {
responseType
:
'
blob
'
})
}
//操作日志
export
function
operationLogApi
(
query
)
{
export
function
operationLogApi
(
query
)
{
return
request
({
url
:
'
/member/user/operation-log/page
'
,
method
:
'
get
'
,
params
:
query
,
url
:
'
/member/user/operation-log/page
'
,
method
:
'
get
'
,
params
:
query
,
})
}
//更新证书
export
function
seTupdateBackletter
(
data
)
{
return
request
({
url
:
'
/member/user/update-backletter
'
,
method
:
'
put
'
,
data
:
data
export
function
seTupdateBackletter
(
data
)
{
return
request
({
url
:
'
/member/user/update-backletter
'
,
method
:
'
put
'
,
data
:
data
})
})
}
//获取指定用户的实名认证信息
export
function
memberGetAuthIdcardInfo
(
query
){
export
function
memberGetAuthIdcardInfo
(
query
)
{
return
request
({
url
:
'
/member/user/get-auth-idcard-info
'
,
method
:
'
get
'
,
params
:
query
,
url
:
'
/member/user/get-auth-idcard-info
'
,
method
:
'
get
'
,
params
:
query
,
})
}
//获取指定企业认证信息
export
function
memberGetAuthEnterpriseInfo
(
query
){
export
function
memberGetAuthEnterpriseInfo
(
query
)
{
return
request
({
url
:
'
/member/user/get-auth-enterprise-info
'
,
method
:
'
get
'
,
params
:
query
,
url
:
'
/member/user/get-auth-enterprise-info
'
,
method
:
'
get
'
,
params
:
query
,
})
}
//身份证审核
export
function
memberUserAuditIdCard
(
query
)
{
export
function
memberUserAuditIdCard
(
query
)
{
return
request
({
url
:
'
/member/user/audit-idcard
'
,
method
:
'
get
'
,
params
:
query
,
url
:
'
/member/user/audit-idcard
'
,
method
:
'
get
'
,
params
:
query
,
})
}
}
//企业认证审核
export
function
memberUserAuditEnterprise
(
query
){
return
request
({
url
:
'
/member/user/audit-enterprise
'
,
method
:
'
get
'
,
params
:
query
,
})
export
function
memberUserAuditEnterprise
(
query
)
{
return
request
({
url
:
'
/member/user/audit-enterprise
'
,
method
:
'
get
'
,
params
:
query
,
})
}
//修改身份证
export
function
memberUserUpdateIdCard
(
data
)
{
export
function
memberUserUpdateIdCard
(
data
)
{
return
request
({
url
:
'
/member/user/update-idcard
'
,
method
:
'
put
'
,
url
:
'
/member/user/update-idcard
'
,
method
:
'
put
'
,
data
:
data
})
}
}
// 修改企业
export
function
memberUserUpdateEnterprise
(
data
){
return
request
({
url
:
'
/member/user/update-enterprise
'
,
method
:
'
put
'
,
data
:
data
,
})
export
function
memberUserUpdateEnterprise
(
data
)
{
return
request
({
url
:
'
/member/user/update-enterprise
'
,
method
:
'
put
'
,
data
:
data
,
})
}
//修改状态
export
function
setUserUpdateStatus
(
data
)
{
return
request
({
url
:
'
/member/user/update-status
'
,
method
:
'
put
'
,
data
:
data
,
})
}
src/router/index.js
View file @
dfc214f0
...
...
@@ -283,6 +283,67 @@ export const constantRoutes = [
},
]
},
{
path
:
'
/order
'
,
component
:
Layout
,
hidden
:
true
,
redirect
:
'
noredirect
'
,
children
:
[
{
path
:
'
associated-order/:orderId(
\\
d+)
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/order/associatedOrder
'
),
props
:
true
,
name
:
'
associatedOrder
'
,
meta
:
{
title
:
'
关联订单
'
,
icon
:
''
,
activeMenu
:
'
/order/associatedOrder
'
}
},
{
path
:
'
add-associated-order/:orderId
'
,
component
:()
=>
import
(
'
@/views/ecw/order/addAssociatedOrder
'
),
props
:
true
,
name
:
'
addAssociatedOrder
'
,
meta
:{
title
:
'
添加关联订单
'
,
icon
:
''
,
activeMenu
:
'
/order/addAssociatedOrder
'
}
},
{
path
:
'
single-application/:orderId
'
,
component
:()
=>
import
(
'
@/views/ecw/order/singleApplication
'
),
props
:
true
,
name
:
'
singleApplication
'
,
meta
:
{
title
:
'
调仓申请
'
,
icon
:
''
,
activeMenu
:
'
/order/singleApplication
'
}
},
{
path
:
'
batch-single-application/:orderId
'
,
component
:()
=>
import
(
'
@/views/ecw/order/batchSingleApplication
'
),
name
:
'
batchSingleApplication
'
,
meta
:
{
title
:
'
批量调仓申请
'
,
icon
:
''
,
activeMenu
:
'
/order/batchSingleApplication
'
}
},
{
path
:
'
fee-application/:orderId
'
,
component
:()
=>
import
(
'
@/views/ecw/order/feeApplication
'
),
name
:
'
feeApplication
'
,
props
:
true
,
meta
:
{
title
:
'
费用申请
'
,
icon
:
''
,
activeMenu
:
'
/order/feeApplication
'
}
}
],
},
{
path
:
'
/boxSea
'
,
component
:
Layout
,
...
...
src/utils/dict.js
View file @
dfc214f0
...
...
@@ -143,7 +143,12 @@ export const DICT_TYPE = {
BEGINTIME_TYPE_ENDTIME
:
'
begintime_type_endtime
'
,
//订单日期筛选类别
ORDER_ERROR_TYPE
:
'
order_error_type
'
,
//订单异常类型
ORDER_EXCEPTION_STATUS
:
'
order_exception_status
'
,
//异常订单状态
ECASH_INIT
:
'
ecash_init
'
,
//e-cash
ECASH_INIT
:
'
ecash_init
'
,
//e-cash
FEE_TYPE
:
'
fee_type
'
,
PAY_TYPE
:
'
pay_type
'
,
RECEIVE_FLAG
:
'
receive_flag
'
,
COMDINED_VALUE_ADDED_FEE
:
'
combined_value_added_fee
'
,
ORDER_SPECIAL_NEEDS
:
'
order_special_needs
'
}
/**
...
...
src/views/ecw/currencyEcash/index.vue
View file @
dfc214f0
This diff is collapsed.
Click to expand it.
src/views/ecw/order/addAssociatedOrder.vue
0 → 100644
View file @
dfc214f0
<
template
>
<div
class=
"add-associated-order"
>
<h1
class=
"title"
>
订单号:ECP0013123N 选择订单
</h1>
<el-divider></el-divider>
<el-form
inline
label-width=
"85px"
label-position=
"left"
>
<el-form-item
label=
"订单号"
>
<div
class=
"content"
></div>
</el-form-item>
<el-form-item
label=
"唛头"
>
<div
class=
"content"
></div>
</el-form-item>
<el-form-item
label=
"商品类型"
>
<div
class=
"content"
></div>
</el-form-item>
<el-form-item
label=
"商品名称"
>
<div
class=
"content"
></div>
</el-form-item>
<el-form-item
label=
"运输方式"
>
<div
class=
"content"
></div>
</el-form-item>
<el-form-item
label=
"出货渠道"
>
<div
class=
"content"
></div>
</el-form-item>
<el-form-item
label=
"客户名称"
>
<div
class=
"content"
></div>
</el-form-item>
<el-form-item
label=
"客户手机号"
>
<div
class=
"content"
></div>
</el-form-item>
<el-form-item
label=
"商品特性"
>
<div
class=
"content"
></div>
</el-form-item>
<el-form-item>
<el-button>
查询
</el-button>
<el-button>
重置
</el-button>
</el-form-item>
</el-form>
<h1
class=
"title"
>
未加入关联订单列表
</h1>
<el-divider></el-divider>
<el-table>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
label=
"序号"
></el-table-column>
<el-table-column
label=
"订单号"
></el-table-column>
<el-table-column
label=
"唛头"
></el-table-column>
<el-table-column
label=
"商品名列表"
></el-table-column>
<el-table-column
label=
"货物特性"
></el-table-column>
<el-table-column
label=
"货物材质"
></el-table-column>
<el-table-column
label=
"货物数据"
></el-table-column>
<el-table-column
label=
"入仓时间"
></el-table-column>
<el-table-column
label=
"状态"
></el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作时间"
></el-table-column>
<el-table-column
label=
"操作"
></el-table-column>
</el-table>
<el-row
style=
"margin-top: 40px"
>
<el-col>
<el-button
type=
"primary"
>
批量加入关联
</el-button>
<el-button>
取消
</el-button>
</el-col>
</el-row>
</div>
</
template
>
<
script
>
//添加关联订单
export
default
{
name
:
"
addAssociatedOrder
"
}
</
script
>
<
style
scoped
lang=
"scss"
>
.add-associated-order
{
padding
:
20px
;
box-sizing
:
border-box
;
.title
{
font-size
:
30px
;
font-weight
:
600
;
text-align
:
left
;
}
.el-form
{
.content
{
width
:
300px
;
}
}
}
</
style
>
src/views/ecw/order/associatedOrder.vue
0 → 100644
View file @
dfc214f0
<
template
>
<div
class=
"associated-order"
>
<h1
class=
"title"
>
关联订单-
{{
orderDetails
.
orderNo
}}
</h1>
<el-divider></el-divider>
<orde-details-form
:details =
"orderDetails"
></orde-details-form>
<el-divider></el-divider>
<el-form
inline
label-width=
"100px"
>
<el-form-item
label=
"订单号"
><div
class=
"content"
>
<el-input></el-input>
</div></el-form-item>
<el-form-item
label=
"唛头"
><div
class=
"content"
>
<el-input></el-input>
</div></el-form-item>
<el-form-item
label=
"商品类型"
><div
class=
"content"
>
<el-input></el-input>
</div></el-form-item>
<el-form-item
label=
"商品名称"
><div
class=
"content"
>
<el-input></el-input>
</div></el-form-item>
<el-form-item
label=
"运输方式"
><div
class=
"content"
>
<el-input></el-input>
</div></el-form-item>
<el-form-item
label=
"出货渠道"
><div
class=
"content"
>
<el-input></el-input>
</div></el-form-item>
<el-form-item
label=
"客户名称"
><div
class=
"content"
>
<el-input></el-input>
</div></el-form-item>
<el-form-item
label=
"客户手机号"
><div
class=
"content"
>
<el-input></el-input>
</div></el-form-item>
<el-form-item
label=
"商品特性"
><div
class=
"content"
>
<el-input></el-input>
</div></el-form-item>
<el-form-item><div
class=
"content"
>
<el-button>
查询
</el-button>
<el-button>
重置
</el-button>
</div></el-form-item>
</el-form>
<el-divider></el-divider>
<div
style=
"display: flex;align-items: center;"
>
<h1
class=
"title"
>
已加入关联订单列表
</h1>
<div
style=
"flex: 1;margin-left: 20px;"
>
<el-button
type=
"primary"
>
批量移出
</el-button>
</div>
<div>
<el-button
type=
"primary"
>
添加关联订单
</el-button>
</div>
</div>
<el-table>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
label=
"序号"
></el-table-column>
<el-table-column
label=
"订单号"
></el-table-column>
<el-table-column
label=
"唛头"
></el-table-column>
<el-table-column
label=
"商品名列表"
></el-table-column>
<el-table-column
label=
"货物特性"
></el-table-column>
<el-table-column
label=
"货物材质"
></el-table-column>
<el-table-column
label=
"货物数据"
></el-table-column>
<el-table-column
label=
"入仓时间"
></el-table-column>
<el-table-column
label=
"状态"
></el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作时间"
></el-table-column>
<el-table-column
label=
"操作"
></el-table-column>
</el-table>
</div>
</
template
>
<
script
>
//关联订单
import
ordeDetailsForm
from
"
@/views/ecw/order/components/ordeDetailsForm
"
;
import
{
getOrder
}
from
"
@/api/ecw/order
"
;
export
default
{
name
:
"
associatedOrder
"
,
props
:{
orderId
:[
String
,
Boolean
]
},
components
:{
ordeDetailsForm
},
data
(){
return
{
orderDetails
:{}
}
},
created
()
{
getOrder
(
this
.
orderId
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
orderDetails
=
r
.
data
;
}
})
},
}
</
script
>
<
style
scoped
lang=
"scss"
>
.associated-order
{
padding
:
20px
;
box-sizing
:
border-box
;
.title
{
font-size
:
30px
;
font-weight
:
600
;
}
}
</
style
>
src/views/ecw/order/batchSingleApplication.vue
0 → 100644
View file @
dfc214f0
<
template
>
<div
class=
"batch-single-application"
>
<h1
class=
"title"
>
批量调仓申请
</h1>
<el-table>
<el-table-column
label=
"订单编号"
></el-table-column>
<el-table-column
label=
"唛头"
></el-table-column>
<el-table-column
label=
"已到箱数/总箱数"
></el-table-column>
<el-table-column
label=
"下单统计"
></el-table-column>
<el-table-column
label=
"入仓统计"
></el-table-column>
<el-table-column
label=
"运输方式"
></el-table-column>
<el-table-column
label=
"出货渠道"
></el-table-column>
<el-table-column
label=
"始发仓"
></el-table-column>
<el-table-column
label=
"目的地"
></el-table-column>
<el-table-column
label=
"送货时间"
></el-table-column>
</el-table>
<div
style=
"display: flex;justify-content:center; margin-top: 20px"
>
<div
style=
"width: 300px;height: 50px;border: 1px solid; margin: 0 10px"
></div>
<div
style=
"width: 300px;height: 50px;border: 1px solid;"
></div>
</div>
<el-divider></el-divider>
<h1
class=
"title"
>
审批流程
</h1>
<div
style=
"height: 100px"
></div>
<el-form
label-width=
"200px"
>
<el-form-item
label=
"抄送"
></el-form-item>
<el-form-item
label=
"抄送人"
></el-form-item>
</el-form>
<div
style=
"text-align: center"
>
<el-button
style=
"margin-right: 50px"
>
提交申请
</el-button>
<el-button>
取消
</el-button>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"
batchSingleApplication
"
}
</
script
>
<
style
scoped
lang=
"scss"
>
.batch-single-application
{
padding
:
20px
;
box-sizing
:
border-box
;
.title
{
font-weight
:
600
;
}
}
</
style
>
src/views/ecw/order/components/PrintTag.vue
View file @
dfc214f0
...
...
@@ -65,20 +65,6 @@
import
{
printTag
}
from
'
@/api/ecw/order
'
import
{
parseTime
}
from
'
@/utils/ruoyi
'
import
lodop
from
'
@/utils/lodop
'
/* var LODOP;
const init = function(){
console.log('打印控件已准备好')
LODOP = getLodop();
}
if(!window.getLodop){
var hm = document.createElement("script");
hm.src = "/static/LodopFuncs.js";
hm.onload = function(){
init()
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
}
else init() */
export
default
{
filters
:
{
parseTime
}
,
...
...
src/views/ecw/order/components/ordeDetailsForm.vue
0 → 100644
View file @
dfc214f0
<
template
>
<div>
<el-descriptions
class=
"margin-top"
border
:column=
"4"
>
<el-descriptions-item
label=
"唛头"
>
{{
details
.
marks
}}
</el-descriptions-item>
<el-descriptions-item
label=
"已到箱数/总箱数"
>
{{
details
.
sumQuantity
}}
/
{{
details
.
sumNum
}}
</el-descriptions-item>
<el-descriptions-item
label=
"订单状态"
>
{{
details
.
status
}}
</el-descriptions-item>
<el-descriptions-item
label=
"送货日期"
>
{{}}
</el-descriptions-item>
<el-descriptions-item
label=
"运输方式"
>
{{
details
.
transportId
}}
</el-descriptions-item>
<el-descriptions-item
label=
"出货渠道"
>
{{
details
.
channelId
}}
</el-descriptions-item>
<el-descriptions-item
label=
"始发地"
>
{{
details
.
logisticsInfoDto
.
startWarehouseId
}}
</el-descriptions-item>
<el-descriptions-item
label=
"目的地"
>
{{
details
.
logisticsInfoDto
.
destWarehouseId
}}
</el-descriptions-item>
<el-descriptions-item
label=
"发货人姓名"
>
{{
details
.
consignorVO
.
customerId
}}
</el-descriptions-item>
<el-descriptions-item
label=
"发货人公司"
>
{{
details
.
consignorVO
.
company
}}
</el-descriptions-item>
<el-descriptions-item
label=
"发货人电话"
>
{{
details
.
consignorVO
.
phone
}}
</el-descriptions-item>
<el-descriptions-item></el-descriptions-item>
<el-descriptions-item
label=
"收货人姓名"
>
{{
details
.
consigneeVO
.
customerId
}}
</el-descriptions-item>
<el-descriptions-item
label=
"收货人公司"
>
{{
details
.
consigneeVO
.
company
}}
</el-descriptions-item>
<el-descriptions-item
label=
"收货人电话"
>
{{
details
.
consigneeVO
.
phone
}}
</el-descriptions-item>
<el-descriptions-item></el-descriptions-item>
</el-descriptions>
</div>
</
template
>
<
script
>
export
default
{
props
:{
details
:{
type
:
Object
,
default
:()
=>
{
return
{
logisticsInfoDto
:
undefined
,
consignorVO
:
undefined
,
consigneeVO
:
undefined
,
}
}
},
},
name
:
"
ordeDetailsForm
"
,
}
</
script
>
src/views/ecw/order/components/specialNeeds.vue
0 → 100644
View file @
dfc214f0
<
template
>
<div>
<el-dialog
:before-close=
"()=>
{
clearFrom();$emit('update:show',false)
}" center width="80%" :visible.sync="show">
<div
class=
"content"
>
<el-form
label-width=
"180px"
label-position=
"left"
>
<el-form-item
label=
"特殊要求"
>
<dict-selector
v-model=
"form.advanceType"
formType=
"radio"
:type=
"DICT_TYPE.ORDER_SPECIAL_NEEDS"
></dict-selector>
</el-form-item>
<el-form-item
label=
"特殊要求备注"
><el-input
type=
"textarea"
style=
"width: 300px;"
v-model=
"form.todoDetail"
></el-input></el-form-item>
<el-form-item
label=
"内陆运费垫付预计金额"
v-if=
"form.advanceType == 6"
>
<el-input
style=
"width: 300px;"
v-model=
"form.transFee"
>
<div
style=
"width: 100px;"
slot=
"append"
>
<dict-selector
v-model=
"form.transCurrency"
:type=
"DICT_TYPE.COMMISSION_CURRENCY_TYPE"
></dict-selector>
</div>
</el-input>
</el-form-item>
<el-form-item
label=
"付款类型"
v-if=
"form.advanceType == 6"
>
<div
style=
"width: 300px;"
>
<dict-selector
v-model=
"form.payType"
:type=
"DICT_TYPE.PAY_TYPE"
></dict-selector>
</div>
</el-form-item>
</el-form>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"submit"
>
提交
</el-button>
<el-button
@
click=
"clearFrom();$emit('update:show',false)"
>
取消
</el-button>
</div>
</el-dialog>
</div>
</
template
>
<
script
>
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
{
specialNeedCreate
}
from
"
@/api/ecw/order
"
;
export
default
{
name
:
"
specialNeeds
"
,
created
()
{
this
.
clearFrom
()
},
props
:{
orderId
:{
type
:[
String
,
Number
],
},
show
:
Boolean
,
},
data
(){
return
{
getDictDatas
,
DICT_TYPE
,
form
:{},
}
},
methods
:{
clearFrom
(){
this
.
form
=
{
advanceType
:
undefined
,
advanceWho
:
undefined
,
payType
:
undefined
,
todoDetail
:
undefined
,
transCurrency
:
undefined
,
transFee
:
undefined
}
},
submit
(){
specialNeedCreate
(
this
.
form
).
then
(
r
=>
{
console
.
log
(
r
)
if
(
r
.
code
===
0
){
this
.
clearFrom
();
this
.
$emit
(
'
update:show
'
,
false
)
}
})
},
},
watch
:{
orderId
(
val
){
this
.
form
.
orderId
=
val
;
},
'
form.advanceType
'
(
val
){
this
.
form
.
transFee
=
undefined
;
this
.
form
.
transCurrency
=
undefined
;
this
.
form
.
payType
=
undefined
;
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/ecw/order/feeApplication.vue
0 → 100644
View file @
dfc214f0
<
template
>
<div
class=
"fee-application"
>
<h1>
费用申请-
{{
orderDetails
.
orderNo
}}
</h1>
<el-divider></el-divider>
<el-form
label-width=
"100px"
inline
>
<el-form-item
label=
"订单号:"
><div
class=
"content"
>
{{
orderDetails
.
orderNo
}}
</div></el-form-item>
<el-form-item
label=
"发货人:"
><div
class=
"content"
>
{{
orderDetails
.
consignorVO
.
name
}}
</div></el-form-item>
<el-form-item
label=
"唛头"
><div
class=
"content"
>
{{
orderDetails
.
marks
}}
</div></el-form-item>
<el-form-item>
<el-button
@
click=
"addCost"
>
添加申请
</el-button></el-form-item>
</el-form>
<el-table
:data=
"list"
>
<el-table-column
label=
"序号"
type=
"index"
></el-table-column>
<el-table-column
label=
"费用类型"
>
<template
v-slot:default=
"scope"
>
<dict-selector
:type=
"DICT_TYPE.FEE_TYPE"
v-model=
"scope.row.feeType"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"金额"
>
<
template
v-slot:default =
'scope'
>
<el-input
v-model=
"scope.row.applicationFee"
></el-input>
</
template
>
</el-table-column>
<el-table-column
label=
"货币类型"
>
<
template
v-slot:default =
'scope'
>
<dict-selector
:type=
"DICT_TYPE.COMMISSION_CURRENCY_TYPE"
v-model=
"scope.row.applicationFeeCurrency"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"付款类型"
>
<
template
v-slot:default =
'scope'
>
<dict-selector
:type=
"DICT_TYPE.PAY_TYPE"
v-model=
"scope.row.payType"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"备注"
>
<
template
v-slot:default=
"scope"
>
<el-input
v-model=
"scope.row.remarks"
type=
"textarea"
></el-input>
</
template
>
</el-table-column>
<el-table-column
label=
"确认收款"
>
<
template
v-slot:default =
"scope"
>
<dict-tag
:type=
"DICT_TYPE.RECEIVE_FLAG"
:value=
"scope.row.receiveFlag"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"申请人"
>
<
template
v-slot:default =
"scope"
>
{{
scope
.
row
.
status
==
0
?
'
未提交
'
:
scope
.
row
.
applicationAuthor
}}
</
template
>
</el-table-column>
<el-table-column
label=
"审核人"
>
<
template
v-slot:default =
"scope"
>
{{
scope
.
row
.
status
==
0
?
'
未提交
'
:
scope
.
row
.
shenhe
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
v-slot:default =
'scope'
>
<el-button
type=
"text"
v-if=
"scope.row.status !== 0"
>
{{
status
[
scope
.
row
.
status
]
}}
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.status === 2"
>
修改
</el-button>
</
template
>
</el-table-column>
</el-table>
<div
style=
"text-align: center;margin-top: 20px;"
>
<el-button
style=
"margin-right: 30px;"
@
click=
"submit"
>
提交
</el-button>
<el-button>
取消
</el-button>
</div>
</div>
</template>
<
script
>
import
{
getOrder
,
feeApplicationListByOrderId
,
feeApplicationCreate
}
from
"
@/api/ecw/order
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
Template
from
"
@/views/cms/template
"
;
let
status
=
{
0
:
'
未提交
'
,
1
:
'
审核中
'
,
2
:
'
审核通过
'
,
3
:
'
审核不通
'
}
export
default
{
name
:
"
feeApplication
"
,
components
:
{
Template
},
props
:{
orderId
:[
Number
,
String
],
},
data
(){
return
{
orderDetails
:{},
list
:[],
DICT_TYPE
,
getDictDatas
,
status
}
},
created
()
{
getOrder
(
this
.
orderId
).
then
(
r
=>
{
this
.
orderDetails
=
r
.
data
})
this
.
feeApplicationFn
();
},
methods
:{
feeApplicationFn
(){
feeApplicationListByOrderId
({
orderId
:
this
.
orderId
}).
then
(
r
=>
{
console
.
log
(
r
)
})
},
addCost
(){
this
.
list
.
push
(
{
orderId
:
this
.
orderId
,
feeType
:
undefined
,
//费用申请类型
applicationFee
:
undefined
,
//金额
applicationFeeCurrency
:
undefined
,
// 费用申请货币类型
remarks
:
undefined
,
receiveFlag
:
0
,
applicationAuthor
:
undefined
,
shenhe
:
undefined
,
status
:
0
,
}
)
},
submit
(){
feeApplicationCreate
(
this
.
list
[
0
]).
then
(
r
=>
{
console
.
log
(
r
);
})
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.fee-application
{
padding
:
0
20px
;
h1
{
font-weight
:
600
;
font-size
:
20px
;
}
.content
{
width
:
200px
;
}
}
</
style
>
src/views/ecw/order/index.vue
View file @
dfc214f0
...
...
@@ -149,6 +149,9 @@
v-hasPermi=
"['ecw:order:delete']"
>
删除
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"printTagOrderId=scope.row.orderId"
v-hasPermi=
"['ecw:order:delete']"
>
打印标签
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(`/order/fee-application/$
{scope.row.orderId}`)">费用申请
</el-button>
<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>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -192,6 +195,7 @@
</el-dialog> -->
<print-tag
v-if=
"printTagOrderId !== null"
:order-id=
"printTagOrderId"
@
close=
"printTagOrderId=null"
/>
<special-needs
:show.sync=
"isShow"
:order-id=
"orderId"
></special-needs>
</div>
</template>
...
...
@@ -200,14 +204,16 @@ import Selector from '@/components/Selector'
import
ProductSelector
from
'
@/components/ProductSelector
'
import
{
getProductAttrList
}
from
'
@/api/ecw/productAttr
'
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
specialNeeds
from
'
@/views/ecw/order/components/specialNeeds
'
;
import
{
getTradeCityList
}
from
'
@/api/ecw/region
'
import
{
createOrder
,
updateOrder
,
deleteOrder
,
getOrder
,
getOrderPage
,
exportOrderExcel
}
from
"
@/api/ecw/order
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
PrintTag
from
'
./components/PrintTag
'
export
default
{
name
:
"
Order
"
,
components
:
{
CustomerSelector
,
ProductSelector
,
Selector
,
PrintTag
CustomerSelector
,
ProductSelector
,
Selector
,
specialNeeds
,
PrintTag
},
filters
:
{
cargoControlStatusFilter
(
e
,
cargoControlStatusList
)
{
...
...
@@ -284,6 +290,8 @@ export default {
dateFilter
:
[],
//筛选日期
printTagOrderId
:
null
,
// 显示打印标签的订单号
isShow
:
false
,
//特殊显示
orderId
:
undefined
,
};
},
computed
:
{
...
...
src/views/ecw/order/singleApplication.vue
0 → 100644
View file @
dfc214f0
<
template
>
<div
class=
"single-application"
>
<h1
class=
"title"
>
调仓申请-EC00123132N
</h1>
<el-divider></el-divider>
<h1>
订单信息
</h1>
<orde-details-form></orde-details-form>
<el-divider></el-divider>
<h1>
货物信息
</h1>
<el-table
border
>
<el-table-column
label=
"序号"
></el-table-column>
<el-table-column
label=
"品名"
>
<template
v-slot:default =
"scope"
>
</
template
>
</el-table-column>
<el-table-column
label=
"填单货物属性"
>
<
template
v-slot:default =
"scope"
></
template
>
</el-table-column>
<el-table-column
label=
"入库货物属性"
>
<
template
v-slot:default =
"scope"
></
template
>
</el-table-column>
<el-table-column
label=
"入库统计"
>
<
template
v-slot:default =
"scope"
></
template
>
</el-table-column>
<el-table-column
label=
"收款货物属性"
>
<
template
v-slot:default =
"scope"
></
template
>
</el-table-column>
<el-table-column
label=
"最后操作时间"
>
<
template
v-slot:default =
"scope"
></
template
>
</el-table-column>
<el-table-column
label=
"状态"
></el-table-column>
</el-table>
<el-row
style=
"margin-top: 20px;line-height: 3;"
type=
"flex"
justify=
"center"
align=
"center"
>
<el-col
:span=
"3"
>
<div>
从 广州仓 调至
</div>
</el-col>
<el-col
:span=
"3"
>
<el-input></el-input>
</el-col>
</el-row>
<el-divider></el-divider>
<h1>
审批流程
</h1>
<div
style=
"height: 50px"
></div>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"抄送"
></el-form-item>
<el-form-item
label=
"抄送人"
></el-form-item>
</el-form>
<div
style=
"text-align:center"
>
<el-button
style=
"margin-right: 50px"
>
提交申请
</el-button>
<el-button>
取消
</el-button>
</div>
</div>
</template>
<
script
>
import
ordeDetailsForm
from
"
@/views/ecw/order/components/ordeDetailsForm
"
;
export
default
{
name
:
"
singleApplication
"
,
components
:
{
ordeDetailsForm
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.single-application
{
padding
:
20px
;
box-sizing
:
border-box
;
.title
{
font-size
:
30px
;
font-weight
:
600
;
}
.el-form
{
.content
{
min-width
:
230px
;
max-width
:
300px
;
}
}
}
</
style
>
src/views/member/user/index.vue
View file @
dfc214f0
...
...
@@ -74,6 +74,7 @@
<el-button
size=
"mini"
type=
"text"
@
click=
"operationLogFn(scope.row)"
>
操作日志
</el-button>
<el-button
v-if=
"scope.row.identityAuditStatus !== 0 && scope.row.identityAuditStatus !== undefined"
size=
"mini"
type=
"text"
@
click=
"identityFn(scope.row , '1')"
>
身份证
</el-button>
<el-button
v-if=
"scope.row.enterpriseAuditStatus !== 0 && scope.row.enterpriseAuditStatus !== undefined"
size=
"mini"
type=
"text"
@
click=
"identityFn(scope.row, '2')"
>
营业执照
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"deleteFn(scope.row)"
>
删 除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -224,7 +225,7 @@ import {
memberGetAuthEnterpriseInfo
,
memberUserAuditIdCard
,
memberUserUpdateIdCard
,
memberUserUpdateEnterprise
memberUserUpdateEnterprise
,
setUserUpdateStatus
}
from
"
@/api/member/user
"
;
import
{
DICT_TYPE
,
getDictDatas
}
from
"
@/utils/dict
"
;
import
FileUpload
from
"
@/components/FileUpload
"
...
...
@@ -315,6 +316,18 @@ export default {
this
.
getList
();
},
methods
:
{
deleteFn
(
row
){
console
.
log
(
row
)
this
.
$modal
.
confirm
(
`是否要删除昵称为
${
row
.
nickname
}
的会员`
).
then
(
function
(){
return
deleteUser
(
row
.
id
)
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
this
.
getList
();
this
.
$message
.
success
(
'
删除成功
'
)
}).
catch
(()
=>
{
this
.
$message
.
success
(
'
删除失败
'
)
}
)
},
//导出
exportFn
(){
this
.
$modal
.
confirm
(
'
是否确认导出所有用户数据项?
'
).
then
(()
=>
{
...
...
@@ -329,8 +342,7 @@ export default {
handleStatusChange
(
row
)
{
let
text
=
row
.
status
===
CommonStatusEnum
.
ENABLE
?
"
启用
"
:
"
停用
"
;
this
.
$modal
.
confirm
(
'
确认要"
'
+
text
+
'
""
'
+
row
.
nickname
+
'
"用户吗?
'
).
then
(
function
()
{
// return changeUserStatus(row.id, row.status);
return
return
setUserUpdateStatus
({
id
:
row
.
id
,
status
:
row
.
status
})
}).
then
(()
=>
{
this
.
$modal
.
msgSuccess
(
text
+
"
成功
"
);
}).
catch
(
function
()
{
...
...
@@ -422,7 +434,7 @@ export default {
seTupdateBackletter
({
userId
:
this
.
publicObj
.
id
,
backLetter
:
this
.
guaranteeUrl
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
guaranteeShow
=
false
;
this
.
guaranteeUrl
=
true
;
this
.
guaranteeUrl
=
''
;
this
.
$message
.
success
(
'
保存成功
'
);
}
})
...
...
src/views/system/sms/smsTemplate.vue
View file @
dfc214f0
...
...
@@ -119,6 +119,9 @@
<el-form-item
label=
"模板内容"
prop=
"content"
>
<el-input
type=
"textarea"
v-model=
"form.content"
placeholder=
"请输入模板内容"
/>
</el-form-item>
<el-form-item
label=
"英文模板内容"
prop=
"content"
>
<el-input
type=
"textarea"
v-model=
"form.contentEn"
placeholder=
"请输入模板内容"
/>
</el-form-item>
<el-form-item
label=
"开启状态"
prop=
"status"
>
<el-radio-group
v-model=
"form.status"
>
<el-radio
v-for=
"dict in this.getDictDatas(DICT_TYPE.COMMON_STATUS)"
...
...
@@ -128,6 +131,9 @@
<el-form-item
label=
"短信 API 模板编号"
prop=
"apiTemplateId"
>
<el-input
v-model=
"form.apiTemplateId"
placeholder=
"请输入短信 API 的模板编号"
/>
</el-form-item>
<el-form-item
label=
"短信 API 英文模板编号"
prop=
"apiTemplateId"
>
<el-input
v-model=
"form.apiTemplateIdEn"
placeholder=
"请输入短信 API 的英文模板编号"
/>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-input
v-model=
"form.remark"
placeholder=
"请输入备注"
/>
</el-form-item>
...
...
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