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
993ae63a
Commit
993ae63a
authored
Mar 31, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev1.6' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev1.6
parents
7c414704
2eea4815
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
89 additions
and
133 deletions
+89
-133
boxSea.js
src/api/ecw/boxSea.js
+1
-0
index.vue
src/components/WarehouseAreaSelect/index.vue
+4
-2
splitOrder.vue
...views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
+4
-3
subMaterial.vue
src/views/ecw/box/shippingSea/nodePage/subMaterial.vue
+1
-1
customerLog.vue
src/views/ecw/customer/customerLog.vue
+10
-11
query.vue
src/views/ecw/customer/query.vue
+3
-1
commission-Payment.vue
src/views/ecw/financial/commission-Payment.vue
+1
-1
commission-requestFunds.vue
src/views/ecw/financial/commission-requestFunds.vue
+1
-1
commissionPaymentDetails.vue
...ews/ecw/financial/components/commissionPaymentDetails.vue
+1
-0
paymentVoucher.vue
src/views/ecw/financial/paymentVoucher.vue
+1
-0
BatchPickup.vue
src/views/ecw/order/components/BatchPickup.vue
+8
-8
WarehouseDetail.vue
src/views/ecw/order/components/WarehouseDetail.vue
+1
-1
detail.vue
src/views/ecw/order/detail.vue
+7
-67
edit.vue
src/views/ecw/order/edit.vue
+3
-3
index.vue
src/views/ecw/order/index.vue
+1
-0
Warehouse.vue
src/views/ecw/order/warehousing/components/Warehouse.vue
+41
-33
index.vue
src/views/ecw/order/warehousing/index.vue
+1
-1
No files found.
src/api/ecw/boxSea.js
View file @
993ae63a
...
@@ -150,6 +150,7 @@ export function getBoxLadingBillPdf(params) {
...
@@ -150,6 +150,7 @@ export function getBoxLadingBillPdf(params) {
return
request
({
return
request
({
url
:
"
/ecw/box-lading-bill/getBoxLadingBillPdf
"
,
url
:
"
/ecw/box-lading-bill/getBoxLadingBillPdf
"
,
method
:
"
get
"
,
method
:
"
get
"
,
responseType
:
'
arraybuffer
'
,
params
,
params
,
});
});
}
}
...
...
src/components/WarehouseAreaSelect/index.vue
View file @
993ae63a
...
@@ -188,8 +188,10 @@ export default {
...
@@ -188,8 +188,10 @@ export default {
this
.
$emit
(
'
input
'
,
data
)
this
.
$emit
(
'
input
'
,
data
)
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
if
(
this
.
isEditing
||
this
.
orderItemId
)
{
if
(
this
.
isEditing
||
this
.
warehouseInId
)
{
updateWarehouseInLocation
(
data
)
updateWarehouseInLocation
(
data
).
then
(()
=>
{
this
.
$message
.
success
(
'
储位修改成功
'
)
})
}
}
})
})
},
},
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
View file @
993ae63a
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
</el-col>
</el-col>
</el-row>
</el-row>
<el-form-item
:label=
"$t('放入箱数')+':'"
>
<el-form-item
:label=
"$t('放入箱数')+':'"
>
{{shopForm.
n
um||0}}
{{shopForm.
putN
um||0}}
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('放入数量(个)')+':'"
prop=
"putQuantity"
v-show=
"isQuantity"
>
<el-form-item
:label=
"$t('放入数量(个)')+':'"
prop=
"putQuantity"
v-show=
"isQuantity"
>
<el-input-number
v-model=
"shopForm.putQuantity"
controls-position=
"right"
:min=
"0"
></el-input-number>
<el-input-number
v-model=
"shopForm.putQuantity"
controls-position=
"right"
:min=
"0"
></el-input-number>
...
@@ -464,9 +464,10 @@ export default {
...
@@ -464,9 +464,10 @@ export default {
const
data
=
list
[
0
];
const
data
=
list
[
0
];
this
.
shopForm
.
orderItemId
=
data
.
orderItemId
;
this
.
shopForm
.
orderItemId
=
data
.
orderItemId
;
this
.
shopForm
.
quantity
=
data
.
quantity
;
this
.
shopForm
.
putNum
=
data
.
num
??
0
;
this
.
shopForm
.
quantity
=
data
.
quantity
??
0
;
this
.
shopForm
.
putQuantity
=
Decimal
.
div
(
this
.
shopForm
.
putQuantity
=
Decimal
.
div
(
data
.
quantity
,
data
.
quantity
??
0
,
this
.
shopForm
.
num
this
.
shopForm
.
num
).
toFixed
(
0
);
).
toFixed
(
0
);
...
...
src/views/ecw/box/shippingSea/nodePage/subMaterial.vue
View file @
993ae63a
...
@@ -167,7 +167,7 @@ export default {
...
@@ -167,7 +167,7 @@ export default {
operateType
,
operateType
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
download
()
if
(
operateType
==
2
)
this
.
download
()
this
.
cancel
(
"
submit
"
);
this
.
cancel
(
"
submit
"
);
});
});
});
});
...
...
src/views/ecw/customer/customerLog.vue
View file @
993ae63a
...
@@ -81,14 +81,16 @@
...
@@ -81,14 +81,16 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"新的预计入公海时间"
>
<el-table-column
label=
"新的预计入公海时间"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
newEstimateEnterOpenSeaTime
)
}}
{{
parseTime
(
row
.
newEstimateEnterOpenSeaTime
)
||
'
/
'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"老的预计入公海时间"
>
<el-table-column
label=
"老的预计入公海时间"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
oldEstimateEnterOpenSeaTime
)
}}
{{
parseTime
(
row
.
oldEstimateEnterOpenSeaTime
||
'
/
'
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"备注"
prop=
"remark"
>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<el-button
type=
"text"
@
click=
"getCustomerLog(row.id)"
>
<el-button
type=
"text"
@
click=
"getCustomerLog(row.id)"
>
...
@@ -102,7 +104,7 @@
...
@@ -102,7 +104,7 @@
<el-dialog
title=
"客户日志"
:visible.sync=
"show"
>
<el-dialog
title=
"客户日志"
:visible.sync=
"show"
>
<el-form>
<el-form>
<el-form-item
label=
"订单编号:"
>
<el-form-item
label=
"订单编号:"
>
{{dataLog.
dataLog ? dataLog.dataLog
:'/'}}
{{dataLog.
orderNo ? dataLog.orderNo
:'/'}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户编号:"
>
<el-form-item
label=
"客户编号:"
>
{{dataLog.number}}
{{dataLog.number}}
...
@@ -111,10 +113,10 @@
...
@@ -111,10 +113,10 @@
{{dataLog.name}}
{{dataLog.name}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"新客户经理:"
>
<el-form-item
label=
"新客户经理:"
>
{{dataLog.new
EstimateEnterOpenSeaTime ? dataLog.newEstimateEnterOpenSeaTime
: '/'}}
{{dataLog.new
CustomerService ? operatorFn(dataLog.newCustomerService)
: '/'}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"老客户经理:"
>
<el-form-item
label=
"老客户经理:"
>
{{dataLog.old
EstimateEnterOpenSeaTime ? dataLog.oldEstimateEnterOpenSeaTime
: '/'}}
{{dataLog.old
CustomerService ? operatorFn(dataLog.oldCustomerService)
: '/'}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"操作类型:"
>
<el-form-item
label=
"操作类型:"
>
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_OPERATE_TYPE"
:value=
"dataLog.operateType"
></dict-tag>
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_OPERATE_TYPE"
:value=
"dataLog.operateType"
></dict-tag>
...
@@ -123,17 +125,14 @@
...
@@ -123,17 +125,14 @@
{{operatorFn(dataLog.operator)}}
{{operatorFn(dataLog.operator)}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"新预计进入公海时间:"
>
<el-form-item
label=
"新预计进入公海时间:"
>
{{parseTime(dataLog.newEstimateEnterOpenSeaTime)}}
{{parseTime(dataLog.newEstimateEnterOpenSeaTime)
|| '/'
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"老的预计进入公海时间:"
>
<el-form-item
label=
"老的预计进入公海时间:"
>
{{parseTime(dataLog.oldEstimateEnterOpenSeaTime)}}
{{parseTime(dataLog.oldEstimateEnterOpenSeaTime)
|| '/'
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注:"
>
<el-form-item
label=
"备注:"
>
{{dataLog.remark}}
{{dataLog.remark}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"更新json:"
>
{{dataLog.updateBody}}
</el-form-item>
</el-form>
</el-form>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -160,7 +159,7 @@ export default {
...
@@ -160,7 +159,7 @@ export default {
},
},
operatorFn
(){
operatorFn
(){
return
(
val
)
=>
{
return
(
val
)
=>
{
return
this
.
allSimplList
.
find
(
item
=>
item
.
id
==
val
)?.
nickname
return
this
.
allSimplList
.
find
(
item
=>
item
.
id
==
val
)?.
nickname
||
'
/
'
}
}
}
}
},
},
...
...
src/views/ecw/customer/query.vue
View file @
993ae63a
...
@@ -428,7 +428,7 @@
...
@@ -428,7 +428,7 @@
<
/el-table
>
<
/el-table
>
<
pagination
@
pagination
=
"
getCustomerGrade
"
:
page
.
sync
=
"
getCustomerGradeFrom.pageNo
"
:
limit
.
sync
=
"
getCustomerGradeFrom.pageSize
"
:
total
=
"
getCustomerGradeFrom.total
"
><
/pagination
>
<
pagination
@
pagination
=
"
getCustomerGrade
"
:
page
.
sync
=
"
getCustomerGradeFrom.pageNo
"
:
limit
.
sync
=
"
getCustomerGradeFrom.pageSize
"
:
total
=
"
getCustomerGradeFrom.total
"
><
/pagination
>
<
/el-tab-pane
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
name
=
"
operationLog
"
v
-
if
=
"
permissions.includes
('ecw:customer:operation-log')
"
:
label
=
"
$t('操作日志')
"
>
<
el
-
tab
-
pane
name
=
"
operationLog
"
v
-
show
=
"
checkPermi
('ecw:customer:operation-log')
"
:
label
=
"
$t('操作日志')
"
>
<
customer
-
log
:
customerId
=
"
id
"
v
-
if
=
"
'operationLog' === activeName
"
><
/customer-log
>
<
customer
-
log
:
customerId
=
"
id
"
v
-
if
=
"
'operationLog' === activeName
"
><
/customer-log
>
<
/el-tab-pane
>
<
/el-tab-pane
>
<
/el-tabs
>
<
/el-tabs
>
...
@@ -490,6 +490,7 @@ import {getCreditRulePage} from "@/api/customer/creditRule";
...
@@ -490,6 +490,7 @@ import {getCreditRulePage} from "@/api/customer/creditRule";
import
{
getCountry
}
from
"
@/api/ecw/country
"
import
{
getCountry
}
from
"
@/api/ecw/country
"
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
;
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
;
import
customerLog
from
"
@/views/ecw/customer/customerLog.vue
"
;
import
customerLog
from
"
@/views/ecw/customer/customerLog.vue
"
;
import
{
checkPermi
}
from
"
@/utils/permission
"
;
export
default
{
export
default
{
name
:
'
query
'
,
name
:
'
query
'
,
...
@@ -722,6 +723,7 @@ export default {
...
@@ -722,6 +723,7 @@ export default {
}
}
}
,
}
,
methods
:{
methods
:{
checkPermi
,
userIdFormatter
(
row
,
column
,
cellValue
){
userIdFormatter
(
row
,
column
,
cellValue
){
const
member
=
this
.
memberList
.
find
(
e
=>
e
.
id
===
cellValue
)
const
member
=
this
.
memberList
.
find
(
e
=>
e
.
id
===
cellValue
)
if
(
member
)
{
if
(
member
)
{
...
...
src/views/ecw/financial/commission-Payment.vue
View file @
993ae63a
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
:type=
"DICT_TYPE.ECW_PAYMENT_STATE"
:type=
"DICT_TYPE.ECW_PAYMENT_STATE"
:value=
"scope.row.state"
:value=
"scope.row.state"
/>
/>
<span
v-if=
"
scope.row.state == 2 "
:title=
"scope.row.remark
"
><i
class=
"el-icon-question"
></i></span>
<span
v-if=
"
[2,4,6].includes(scope.row.state) && scope.row.comment"
:title=
"scope.row.comment
"
><i
class=
"el-icon-question"
></i></span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
>
<el-table-column
:label=
"$t('操作')"
>
...
...
src/views/ecw/financial/commission-requestFunds.vue
View file @
993ae63a
...
@@ -188,7 +188,7 @@
...
@@ -188,7 +188,7 @@
size
=
"
mini
"
size
=
"
mini
"
@
click
=
"
handleAdd
"
@
click
=
"
handleAdd
"
style
=
"
padding: 10px; margin-bottom: 10px
"
style
=
"
padding: 10px; margin-bottom: 10px
"
>
{{
$t
(
'
加未付客户款项
'
)
}}
>
{{
$t
(
'
添
加未付客户款项
'
)
}}
<
/el-butto
n
<
/el-butto
n
>
>
<
/el-col
>
<
/el-col
>
...
...
src/views/ecw/financial/components/commissionPaymentDetails.vue
View file @
993ae63a
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
<el-descriptions-item
label=
"创建时间"
>
{{
parseTime
(
record
.
createTime
)
}}
</el-descriptions-item>
<el-descriptions-item
label=
"创建时间"
>
{{
parseTime
(
record
.
createTime
)
}}
</el-descriptions-item>
<el-descriptions-item
label=
"业务员"
>
{{
record
.
salesmanName
}}
</el-descriptions-item>
<el-descriptions-item
label=
"业务员"
>
{{
record
.
salesmanName
}}
</el-descriptions-item>
<el-descriptions-item
label=
"付款金额"
>
{{
record
.
totalAmount
}}
rmb
</el-descriptions-item>
<el-descriptions-item
label=
"付款金额"
>
{{
record
.
totalAmount
}}
rmb
</el-descriptions-item>
<el-descriptions-item
v-if=
"record.bmpStatus === 3"
label=
"驳回原因"
>
{{
record
.
comment
}}
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
<router-link
:to=
"
{path:'/financial/commission-requestFunds',query:{lookId: this.record.id}}">
<router-link
:to=
"
{path:'/financial/commission-requestFunds',query:{lookId: this.record.id}}">
<el-button
type=
"primary"
>
查看详情
</el-button>
<el-button
type=
"primary"
>
查看详情
</el-button>
...
...
src/views/ecw/financial/paymentVoucher.vue
View file @
993ae63a
...
@@ -134,6 +134,7 @@
...
@@ -134,6 +134,7 @@
:
type
=
"
DICT_TYPE.ECW_PAYMENT_STATE
"
:
type
=
"
DICT_TYPE.ECW_PAYMENT_STATE
"
:
value
=
"
scope.row.state
"
:
value
=
"
scope.row.state
"
/>
/>
<
span
v
-
if
=
"
[2,4,6].includes(scope.row.state) && scope.row.comment
"
:
title
=
"
scope.row.comment
"
><
i
class
=
"
el-icon-question
"
><
/i></
span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
...
...
src/views/ecw/order/components/BatchPickup.vue
View file @
993ae63a
<
template
>
<
template
>
<el-dialog
:title=
"$t('批量提货')"
visible
:before-close=
"closeDialog"
:close-on-click-modal=
"false"
>
<el-dialog
:title=
"$t('批量提货')"
visible
:before-close=
"closeDialog"
:close-on-click-modal=
"false"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
>
<el-tabs
v-model=
"current"
type=
"card"
>
<el-tabs
v-model=
"current"
type=
"card"
>
<el-tab-pane
:label=
"$t('全部提货')"
name=
"createBatch"
>
<el-tab-pane
:label=
"$t('全部提货')"
name=
"createBatch"
>
<el-form-item
:label=
"$t('订单号') + '/' + this.$t('提单号')"
prop=
"orderId"
>
<el-form-item
:label=
"$t('订单号') + '/' + this.$t('提单号')"
prop=
"orderId"
>
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div>
{{
$t
(
'
注:单号之间使用逗号或空格隔开
'
)
}}
</div>
<div>
{{
$t
(
'
注:单号之间使用逗号或空格隔开
'
)
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('提货时间')"
prop=
"pickTime"
>
<el-form-item
:label=
"$t('提货时间')"
prop=
"pickTime"
>
<el-date-picker
v-model=
"form.pickTime"
placeholder=
"
"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
type=
"datetime"
v-model=
"form.pickTime"
placeholder=
""
label-format=
"yyyy-MM-dd HH:mm:ss
"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
:label=
"$t('分批提货')"
name=
"createSplitBatch"
>
<el-tab-pane
:label=
"$t('分批提货')"
name=
"createSplitBatch"
>
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<div>
{{
$t
(
'
注:单号之间使用逗号或空格隔开
'
)
}}
</div>
<div>
{{
$t
(
'
注:单号之间使用逗号或空格隔开
'
)
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('提货时间')"
prop=
"pickTime"
>
<el-form-item
:label=
"$t('提货时间')"
prop=
"pickTime"
>
<el-date-picker
v-model=
"form.pickTime"
placeholder=
""
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
type=
"datetime"
v-model=
"form.pickTime"
placeholder=
""
label-format=
"yyyy-MM-dd HH:mm:ss"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
<el-table
:data=
"orderList"
>
<el-table
:data=
"orderList"
>
...
@@ -43,7 +43,7 @@ import {createBatch, createSplitBatch, getPickUpListByOrderNo} from '@/api/ecw/o
...
@@ -43,7 +43,7 @@ import {createBatch, createSplitBatch, getPickUpListByOrderNo} from '@/api/ecw/o
export
default
{
export
default
{
props
:{
props
:{
},
},
data
(){
data
(){
return
{
return
{
...
@@ -62,10 +62,10 @@ export default {
...
@@ -62,10 +62,10 @@ export default {
}
}
},
},
computed
:{
computed
:{
},
},
created
(){
created
(){
},
},
methods
:{
methods
:{
submit
(){
submit
(){
...
@@ -75,7 +75,7 @@ export default {
...
@@ -75,7 +75,7 @@ export default {
}
}
let
orderIdArr
=
this
.
form
.
orderId
.
replace
(
/,/g
,
'
'
).
split
(
'
'
).
filter
(
item
=>
item
!=
''
)
let
orderIdArr
=
this
.
form
.
orderId
.
replace
(
/,/g
,
'
'
).
split
(
'
'
).
filter
(
item
=>
item
!=
''
)
let
data
=
[]
let
data
=
[]
// 分批提货
// 分批提货
if
(
this
.
current
==
'
createSplitBatch
'
){
if
(
this
.
current
==
'
createSplitBatch
'
){
data
=
this
.
orderList
.
map
(
item
=>
{
data
=
this
.
orderList
.
map
(
item
=>
{
...
@@ -112,4 +112,4 @@ export default {
...
@@ -112,4 +112,4 @@ export default {
}
}
}
}
}
}
</
script
>
</
script
>
\ No newline at end of file
src/views/ecw/order/components/WarehouseDetail.vue
View file @
993ae63a
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<el-table-column
:label=
"$t('体积') + '(m³)'"
prop=
"volume"
/>
<el-table-column
:label=
"$t('体积') + '(m³)'"
prop=
"volume"
/>
<el-table-column
:label=
"$t('重量') + '(kg)'"
prop=
"weight"
/>
<el-table-column
:label=
"$t('重量') + '(kg)'"
prop=
"weight"
/>
<el-table-column
:label=
"$t('数量(个)')"
prop=
"quantityAll"
/>
<el-table-column
:label=
"$t('数量(个)')"
prop=
"quantityAll"
/>
<el-table-column
:label=
"$t('快递单号')"
prop=
"expressNo"
/>
<el-table-column
:label=
"$t('
入仓
快递单号')"
prop=
"expressNo"
/>
<el-table-column
:label=
"$t('入仓时间')"
prop=
"inTime"
>
<el-table-column
:label=
"$t('入仓时间')"
prop=
"inTime"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
inTime
|
parseTime
}}
</
template
>
<
template
slot-scope=
"{row}"
>
{{
row
.
inTime
|
parseTime
}}
</
template
>
</el-table-column>
</el-table-column>
...
...
src/views/ecw/order/detail.vue
View file @
993ae63a
...
@@ -200,19 +200,7 @@
...
@@ -200,19 +200,7 @@
</
template
>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('储位')"
>
<el-table-column
prop=
""
:label=
"$t('填单快递单号')"
>
<
template
slot-scope=
"{row}"
>
<!--
<warehouse-area-select
v-if=
"row.warehouseInInfoVO"
v-model=
"row.warehouseInInfoVO.orderLocationBackVOList"
readonly
:order-id=
"orderId"
></warehouse-area-select>
-->
<template
v-if=
"row.warehouseInInfoVO"
>
{{
getLocationName
(
row
.
warehouseInInfoVO
.
orderLocationMergeVOSet
)
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('快递单号')"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
expressNo
}}
{{
row
.
expressNo
}}
</
template
>
</
template
>
...
@@ -282,29 +270,6 @@
...
@@ -282,29 +270,6 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</el-tab-pane>
</el-tab-pane>
<!-- 这个地方v-hasPermi不生效,所以换checkPermi函数检查 -->
<el-tab-pane
:label=
"$t('操作日志')"
name=
"five"
v-if=
"checkPermi(['ecw:order:logs'])"
>
<el-table
:data=
"logs"
>
<el-table-column
:label=
"$t('时间')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作人')"
prop=
"creatorName"
width=
"150"
>
</el-table-column>
<el-table-column
:label=
"$t('操作人类型')"
width=
"100"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
userType
==
1
?
$t
(
'
会员
'
)
:
$t
(
'
管理员
'
)
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作类型')"
prop=
"type"
width=
"150"
></el-table-column>
<el-table-column
:label=
"$t('操作描述')"
prop=
"msg"
width=
"300"
></el-table-column>
<el-table-column
:label=
"$t('备注')"
prop=
"note"
>
<
template
slot-scope=
"{row}"
>
<div
v-if=
"row.note"
>
<div
v-for=
"item in parseLogNote(row.note)"
>
{{
$t
(
'
【{name
}
】从【{orgValue
}
】修改为【{newValue
}
】
'
,
item
)
}}
<
/div
>
<
/div
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
/el-tab-pane
>
</el-tabs>
</el-tabs>
</el-card>
</el-card>
...
@@ -347,7 +312,7 @@
...
@@ -347,7 +312,7 @@
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<div
v-if=
"feeDetail && feeDetail.coupons && feeDetail.coupons.length"
class=
"page-title"
>
优惠详情
</div>
<div
v-if=
"feeDetail && feeDetail.coupons && feeDetail.coupons.length"
class=
"page-title"
>
优惠详情
</div>
<el-table
v-if=
"feeDetail && feeDetail.coupons && feeDetail.coupons.length"
:data=
"feeDetail.coupons"
>
<el-table
v-if=
"feeDetail && feeDetail.coupons && feeDetail.coupons.length"
:data=
"feeDetail.coupons"
>
<el-table-column
label=
"优惠ID"
prop=
"couponId"
></el-table-column>
<el-table-column
label=
"优惠ID"
prop=
"couponId"
></el-table-column>
...
@@ -379,7 +344,7 @@
...
@@ -379,7 +344,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
getOrder
,
operateLogPage
}
from
'
@/api/ecw/order
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
PrintWarehouseReceipt
from
'
./components/PrintWarehouseReceipt
'
import
PrintWarehouseReceipt
from
'
./components/PrintWarehouseReceipt
'
import
PrintLadingBill
from
'
./components/PrintLadingBill
'
import
PrintLadingBill
from
'
./components/PrintLadingBill
'
...
@@ -391,12 +356,11 @@ import {listByIds} from '@/api/ecw/region'
...
@@ -391,12 +356,11 @@ import {listByIds} from '@/api/ecw/region'
import
WarehouseDetail
from
'
./components/WarehouseDetail
'
;
import
WarehouseDetail
from
'
./components/WarehouseDetail
'
;
import
{
getProductBrank
}
from
'
@/api/ecw/productBrank
'
import
{
getProductBrank
}
from
'
@/api/ecw/productBrank
'
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
import
WarehouseAreaSelect
from
"
@/components/WarehouseAreaSelect
"
import
{
checkPermi
}
from
'
@/utils/permission
'
export
default
{
export
default
{
name
:
"
detail
"
,
name
:
"
detail
"
,
components
:
{
components
:
{
PrintWarehouseReceipt
,
PrintLadingBill
,
WarehouseDetail
,
WarehouseAreaSelect
PrintWarehouseReceipt
,
PrintLadingBill
,
WarehouseDetail
},
},
filters
:
{
filters
:
{
customsTypeFilter
(
e
,
customsTypeList
)
{
customsTypeFilter
(
e
,
customsTypeList
)
{
...
@@ -434,8 +398,6 @@ export default {
...
@@ -434,8 +398,6 @@ export default {
showWarehouseInItemId
:
null
,
// 当前显示的入仓
showWarehouseInItemId
:
null
,
// 当前显示的入仓
showFeeDetailDialog
:
null
,
// 是否显示费用详情弹层
showFeeDetailDialog
:
null
,
// 是否显示费用详情弹层
feeDetail
:
null
,
// 费用详情
feeDetail
:
null
,
// 费用详情
logs
:
[],
// 操作日志
}
}
},
},
computed
:{
computed
:{
...
@@ -471,9 +433,6 @@ export default {
...
@@ -471,9 +433,6 @@ export default {
if
(
!
this
.
feeList
.
length
&&
val
==
'
four
'
){
if
(
!
this
.
feeList
.
length
&&
val
==
'
four
'
){
this
.
loadFeeList
()
this
.
loadFeeList
()
}
}
if
(
!
this
.
logs
.
length
&&
val
==
'
five
'
){
this
.
loadLogs
()
}
},
},
'
order.channelId
'
(){
'
order.channelId
'
(){
this
.
getChannel
()
this
.
getChannel
()
...
@@ -498,18 +457,10 @@ export default {
...
@@ -498,18 +457,10 @@ export default {
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getUnitList
().
then
(
res
=>
this
.
unitList
=
res
.
data
)
getUnitList
().
then
(
res
=>
this
.
unitList
=
res
.
data
)
console
.
log
(
'
2023-01-14 23:23 看到此消息则表示代码最新
'
)
},
},
methods
:
{
methods
:
{
checkPermi
,
// 检查权限
// 获取储位名称
getLocationName
(
locationArr
){
if
(
!
locationArr
||
!
locationArr
.
length
)
return
''
let
arr
=
[]
locationArr
.
forEach
(
item
=>
{
arr
.
push
(
`${item.areaName
}
${item.locationName || ''
}
`
)
}
)
return
Array
.
from
(
new
Set
(
arr
)).
join
(
"
,
"
)
}
,
// 显示费用详情
// 显示费用详情
showFeeDetail
(
row
,
type
){
showFeeDetail
(
row
,
type
){
this
.
showFeeDetailDialog
=
true
this
.
showFeeDetailDialog
=
true
...
@@ -631,12 +582,6 @@ export default {
...
@@ -631,12 +582,6 @@ export default {
this
.
feeList
=
res
.
data
this
.
feeList
=
res
.
data
})
})
},
},
// 加载操作日志
loadLogs
(){
operateLogPage
({
orderId
:
this
.
orderId
,
page
:
1
,
rows
:
10000
}
).
then
(
res
=>
{
this
.
logs
=
res
.
data
.
list
}
)
}
,
downloadPackingList
(){
downloadPackingList
(){
window
.
open
(
this
.
order
.
packingListUrl
)
window
.
open
(
this
.
order
.
packingListUrl
)
},
},
...
@@ -648,11 +593,6 @@ export default {
...
@@ -648,11 +593,6 @@ export default {
getOrderWarehouseIn
(
this
.
order
.
id
).
then
(
res
=>
{
getOrderWarehouseIn
(
this
.
order
.
id
).
then
(
res
=>
{
this
.
orderWarehouseIn
=
res
.
data
this
.
orderWarehouseIn
=
res
.
data
})
})
}
,
// 解析日志node字段
parseLogNote
(
note
){
if
(
!
note
)
return
[]
return
JSON
.
parse
(
note
)
}
}
}
}
};
};
...
...
src/views/ecw/order/edit.vue
View file @
993ae63a
...
@@ -100,8 +100,8 @@
...
@@ -100,8 +100,8 @@
<el-card
class=
"mt-10"
>
<el-card
class=
"mt-10"
>
<div
slot=
"header"
class=
"card-title"
>
<div
slot=
"header"
class=
"card-title"
>
<div
class=
"card-name"
>
{{
$t
(
'
商品信息
'
)
}}
</div>
<div
class=
"card-name"
>
{{
$t
(
'
商品信息
'
)
}}
</div>
<el-button
type=
"primary"
size=
"mini"
@
click=
"addProduct(null)"
:disabled=
"!canAddProduct"
>
{{
$t
(
'
添加货物
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"addProduct(null)"
:disabled=
"!canAddProduct
|| !productEditable
"
>
{{
$t
(
'
添加货物
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"showBatchImportDialog=true"
:disabled=
"!canAddProduct"
>
{{
$t
(
'
批量添加货物
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"showBatchImportDialog=true"
:disabled=
"!canAddProduct
|| !productEditable
"
>
{{
$t
(
'
批量添加货物
'
)
}}
</el-button>
</div>
</div>
<el-table
:data=
"form.orderItemVOList"
border
class=
"product-list"
v-if=
"!initing"
>
<el-table
:data=
"form.orderItemVOList"
border
class=
"product-list"
v-if=
"!initing"
>
<el-table-column
:label=
"$t('序号')"
width=
"60px"
fixed
>
<el-table-column
:label=
"$t('序号')"
width=
"60px"
fixed
>
...
@@ -253,7 +253,7 @@
...
@@ -253,7 +253,7 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
width=
"80px"
fixed=
"right"
>
<el-table-column
:label=
"$t('操作')"
width=
"80px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"danger"
@
click=
"delProduct(scope.$index)"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"danger"
@
click=
"delProduct(scope.$index)"
:disabled=
"!productEditable"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
src/views/ecw/order/index.vue
View file @
993ae63a
...
@@ -801,6 +801,7 @@ export default {
...
@@ -801,6 +801,7 @@ export default {
page
:
1
,
page
:
1
,
rows
:
10
rows
:
10
}
}
this
.
dateFilter
=
[]
this
.
handleQuery
();
this
.
handleQuery
();
},
},
/** 新增按钮操作 */
/** 新增按钮操作 */
...
...
src/views/ecw/order/warehousing/components/Warehouse.vue
View file @
993ae63a
...
@@ -253,7 +253,7 @@
...
@@ -253,7 +253,7 @@
<el-input
v-else
v-model=
"form1.table[$index].cartonsNum"
placeholder=
""
>
<el-input
v-else
v-model=
"form1.table[$index].cartonsNum"
placeholder=
""
>
<span
slot=
"append"
>
{{
getDictDataLabel
(
DICT_TYPE
.
ECW_PACKAGING_TYPE
,
form1
.
table
[
$index
].
unit
)
}}
</span>
<span
slot=
"append"
>
{{
getDictDataLabel
(
DICT_TYPE
.
ECW_PACKAGING_TYPE
,
form1
.
table
[
$index
].
unit
)
}}
</span>
</el-input>
</el-input>
<dict-selector
:type=
"DICT_TYPE.WAREHOUSING_SPECIFICATION_TYPE"
v-model=
"form1.table[$index].specificationType"
@
change=
"handleVolume($index)"
></dict-selector>
<dict-selector
:type=
"DICT_TYPE.WAREHOUSING_SPECIFICATION_TYPE"
v-model=
"form1.table[$index].specificationType"
@
change=
"handleVolume($index
, 1
)"
></dict-selector>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -532,7 +532,7 @@ export default {
...
@@ -532,7 +532,7 @@ export default {
prodTitleEn
:
undefined
,
prodTitleEn
:
undefined
,
prodTitleZh
:
undefined
,
prodTitleZh
:
undefined
,
prodType
:
undefined
,
prodType
:
undefined
,
type
:
undefined
,
type
:
1
,
feeType
:
undefined
feeType
:
undefined
},
},
brandList
:
[],
brandList
:
[],
...
@@ -561,37 +561,45 @@ export default {
...
@@ -561,37 +561,45 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
form
.
table
=
this
.
warehousing
.
orderWarehouseInBackItemDoList
this
.
init
()
this
.
form
.
brandType
=
this
.
warehousing
.
brandType
this
.
form
.
orderId
=
this
.
warehousing
.
orderId
this
.
form
.
orderItemId
=
this
.
warehousing
.
orderNo
this
.
form
.
orderNo
=
this
.
warehousing
.
orderNo
this
.
form
.
brand
=
this
.
warehousing
.
brand
this
.
form
.
brandType
=
this
.
warehousing
.
brandType
this
.
form
.
inTime
=
this
.
warehousing
.
inTime
this
.
form
.
material
=
this
.
warehousing
.
material
this
.
form
.
orderId
=
this
.
warehousing
.
orderId
this
.
form
.
orderItemId
=
this
.
warehousing
.
orderItemId
this
.
form
.
orderNo
=
this
.
warehousing
.
orderNo
this
.
form
.
prodAttrIds
=
this
.
warehousing
.
prodAttrIds
this
.
form
.
prodId
=
this
.
warehousing
.
prodId
this
.
form
.
prodTitleEn
=
this
.
warehousing
.
prodTitleEn
this
.
form
.
prodTitleZh
=
this
.
warehousing
.
prodTitleZh
this
.
form
.
prodType
=
this
.
warehousing
.
prodType
this
.
form
.
type
=
this
.
warehousing
.
type
this
.
form
.
feeType
=
this
.
warehousing
.
feeType
this
.
form
.
table
.
forEach
(
e
=>
{
if
(
e
.
boxGauge
)
{
const
boxGauge
=
e
.
boxGauge
.
split
(
'
*
'
)
e
.
boxGauge1
=
boxGauge
[
0
]
e
.
boxGauge2
=
boxGauge
[
1
]
e
.
boxGauge3
=
boxGauge
[
2
]
}
})
},
},
methods
:
{
methods
:
{
init
(){
this
.
form
.
table
=
this
.
warehousing
.
orderWarehouseInBackItemDoList
this
.
form
.
brandType
=
this
.
warehousing
.
brandType
this
.
form
.
orderId
=
this
.
warehousing
.
orderId
this
.
form
.
orderItemId
=
this
.
warehousing
.
orderNo
this
.
form
.
orderNo
=
this
.
warehousing
.
orderNo
this
.
form
.
brand
=
this
.
warehousing
.
brand
this
.
form
.
brandType
=
this
.
warehousing
.
brandType
this
.
form
.
inTime
=
this
.
warehousing
.
inTime
this
.
form
.
material
=
this
.
warehousing
.
material
this
.
form
.
orderId
=
this
.
warehousing
.
orderId
this
.
form
.
orderItemId
=
this
.
warehousing
.
orderItemId
this
.
form
.
orderNo
=
this
.
warehousing
.
orderNo
this
.
form
.
prodAttrIds
=
this
.
warehousing
.
prodAttrIds
this
.
form
.
prodId
=
this
.
warehousing
.
prodId
this
.
form
.
prodTitleEn
=
this
.
warehousing
.
prodTitleEn
this
.
form
.
prodTitleZh
=
this
.
warehousing
.
prodTitleZh
this
.
form
.
prodType
=
this
.
warehousing
.
prodType
this
.
form
.
type
=
this
.
warehousing
.
type
this
.
form
.
feeType
=
this
.
warehousing
.
feeType
this
.
form
.
table
.
forEach
(
e
=>
{
if
(
e
.
boxGauge
)
{
const
boxGauge
=
e
.
boxGauge
.
split
(
'
*
'
)
e
.
boxGauge1
=
boxGauge
[
0
]
e
.
boxGauge2
=
boxGauge
[
1
]
e
.
boxGauge3
=
boxGauge
[
2
]
}
})
if
(
!
this
.
edit
){
this
.
handleAdd
()
this
.
handleAdd
(
1
)
}
},
handleClose
()
{
handleClose
()
{
this
.
$emit
(
'
close
'
)
this
.
$emit
(
'
close
'
)
this
.
visible
=
false
this
.
visible
=
false
...
@@ -627,7 +635,7 @@ export default {
...
@@ -627,7 +635,7 @@ export default {
return
{
return
{
...
e
,
...
e
,
boxGauge
:
e
.
boxGauge1
+
'
*
'
+
e
.
boxGauge2
+
'
*
'
+
e
.
boxGauge3
,
boxGauge
:
e
.
boxGauge1
+
'
*
'
+
e
.
boxGauge2
+
'
*
'
+
e
.
boxGauge3
,
orderLocationCreateReqVOList
:
e
.
table
orderLocationCreateReqVOList
:
e
.
orderLocationBackVOList
}
}
})
})
}).
then
(
r
=>
{
}).
then
(
r
=>
{
...
@@ -662,7 +670,7 @@ export default {
...
@@ -662,7 +670,7 @@ export default {
return
{
return
{
...
e
,
...
e
,
boxGauge
:
e
.
boxGauge1
+
'
*
'
+
e
.
boxGauge2
+
'
*
'
+
e
.
boxGauge3
,
boxGauge
:
e
.
boxGauge1
+
'
*
'
+
e
.
boxGauge2
+
'
*
'
+
e
.
boxGauge3
,
orderLocationCreateReqVOList
:
e
.
table
orderLocationCreateReqVOList
:
e
.
orderLocationBackVOList
}
}
}),
}),
copyUserId
:
this
.
selectedUsers
copyUserId
:
this
.
selectedUsers
...
@@ -686,7 +694,7 @@ export default {
...
@@ -686,7 +694,7 @@ export default {
return
{
return
{
...
e
,
...
e
,
boxGauge
:
e
.
boxGauge1
+
'
*
'
+
e
.
boxGauge2
+
'
*
'
+
e
.
boxGauge3
,
boxGauge
:
e
.
boxGauge1
+
'
*
'
+
e
.
boxGauge2
+
'
*
'
+
e
.
boxGauge3
,
orderLocationCreateReqVOList
:
e
.
table
orderLocationCreateReqVOList
:
e
.
orderLocationBackVOList
}
}
}),
}),
}).
then
(
r
=>
{
}).
then
(
r
=>
{
...
...
src/views/ecw/order/warehousing/index.vue
View file @
993ae63a
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
width=
"300px"
>
width=
"300px"
>
<div
style=
"text-align: center"
>
{{$t('在完成入仓前,您还可以')}}
</div>
<div
style=
"text-align: center"
>
{{$t('在完成入仓前,您还可以')}}
</div>
<div
style=
"text-align: center;padding: 15px 0"
>
<div
style=
"text-align: center;padding: 15px 0"
>
<el-button
type=
"info"
@
click=
"areaVisible = true"
>
{{$t('选择储位')}}
</el-button
>
<!-- <el-button type="info" @click="areaVisible = true">{{$t('选择储位')}}</el-button>--
>
<el-button
type=
"info"
@
click=
"isShowPrintTag = true"
>
{{$t('打印标签')}}
</el-button>
<el-button
type=
"info"
@
click=
"isShowPrintTag = true"
>
{{$t('打印标签')}}
</el-button>
</div>
</div>
<div
style=
"text-align: center"
>
<div
style=
"text-align: center"
>
...
...
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