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
ae8588d0
Commit
ae8588d0
authored
Apr 04, 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
d311198c
9ffa482e
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
97 additions
and
90 deletions
+97
-90
orderException.js
src/api/ecw/orderException.js
+3
-1
product.js
src/api/ecw/product.js
+2
-1
index.vue
src/components/WarehouseAreaSelect/index.vue
+1
-1
index.vue
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
+1
-1
customerLog.vue
src/views/ecw/customer/customerLog.vue
+44
-44
detail.vue
src/views/ecw/order/detail.vue
+4
-8
index.vue
src/views/ecw/order/index.vue
+5
-2
index.vue
src/views/ecw/order/special/index.vue
+1
-1
Warehouse.vue
src/views/ecw/order/warehousing/components/Warehouse.vue
+34
-29
weightDeal.vue
src/views/ecw/order/weightDeal.vue
+1
-1
index.vue
src/views/ecw/product/index.vue
+1
-1
No files found.
src/api/ecw/orderException.js
View file @
ae8588d0
...
@@ -107,7 +107,9 @@ export function exportExcel(params) {
...
@@ -107,7 +107,9 @@ export function exportExcel(params) {
return
request
({
return
request
({
url
:
'
/ecw/order-exception/export-excel
'
,
url
:
'
/ecw/order-exception/export-excel
'
,
method
:
'
get
'
,
method
:
'
get
'
,
timeout
:
3
*
60
*
1000
,
params
,
params
,
// timeout: 3*60*1000,
responseType
:
'
arraybuffer
'
responseType
:
'
arraybuffer
'
})
})
}
}
\ No newline at end of file
src/api/ecw/product.js
View file @
ae8588d0
...
@@ -80,9 +80,10 @@ export function calculationPrice(data){
...
@@ -80,9 +80,10 @@ export function calculationPrice(data){
})
})
}
}
//新增商品可用优惠信息列表
//新增商品可用优惠信息列表
export
function
product_coupon_newProd
(){
export
function
product_coupon_newProd
(
params
){
return
request
({
return
request
({
url
:
'
/product/coupon/newProd/list
'
,
url
:
'
/product/coupon/newProd/list
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
})
})
}
}
src/components/WarehouseAreaSelect/index.vue
View file @
ae8588d0
...
@@ -174,7 +174,7 @@ export default {
...
@@ -174,7 +174,7 @@ export default {
methods
:
{
methods
:
{
handleOpen
(){
handleOpen
(){
this
.
dialogVisible
=
true
this
.
dialogVisible
=
true
this
.
initArea
()
//
this.initArea()
},
},
handleSave
(){
handleSave
(){
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
View file @
ae8588d0
...
@@ -165,7 +165,7 @@ export default {
...
@@ -165,7 +165,7 @@ export default {
...
oItem
,
...
oItem
,
warehouseInInfo
,
warehouseInInfo
,
multiSpecification
:
item
.
multiSpecification
,
multiSpecification
:
item
.
multiSpecification
,
positionNo
:
i
tem
.
positionNo
,
positionNo
:
oI
tem
.
positionNo
,
tallyStatus
:
item
.
tallyStatus
,
tallyStatus
:
item
.
tallyStatus
,
tallyTime
:
item
.
tallyTime
,
tallyTime
:
item
.
tallyTime
,
});
});
...
...
src/views/ecw/customer/customerLog.vue
View file @
ae8588d0
<
template
>
<
template
>
<div
:style=
"
{padding:customerId ? '0px' : '20px'}">
<div
:style=
"
{padding:customerId ? '0px' : '20px'}">
<el-card
style=
"margin-bottom: 30px"
v-show=
"!customerId"
:title=
"
'客户操作日志'
"
>
<el-card
style=
"margin-bottom: 30px"
v-show=
"!customerId"
:title=
"
$t('客户操作日志')
"
>
<el-descriptions
border
:column=
"3"
>
<el-descriptions
border
:column=
"3"
>
<el-descriptions-item
label=
"订单编号
"
><el-input
:placeholder=
"$t('请输入订单编号')"
v-model=
"queryForm.orderNo"
></el-input></el-descriptions-item>
<el-descriptions-item
:label=
"$t('订单编号')
"
><el-input
:placeholder=
"$t('请输入订单编号')"
v-model=
"queryForm.orderNo"
></el-input></el-descriptions-item>
<el-descriptions-item
label=
"操作人
"
>
<el-descriptions-item
:label=
"$t('操作人')
"
>
<el-select
filterable
v-model=
"queryForm.operator"
>
<el-select
filterable
v-model=
"queryForm.operator"
>
<el-option
v-for=
"(item) in allSimplList"
:value=
"item.id"
:label=
"item.nickname"
:key=
"item.id"
></el-option>
<el-option
v-for=
"(item) in allSimplList"
:value=
"item.id"
:label=
"item.nickname"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"老客户经理
"
>
<el-descriptions-item
:label=
"$t('老客户经理')
"
>
<el-select
filterable
v-model=
"queryForm.oldCustomerService"
>
<el-select
filterable
v-model=
"queryForm.oldCustomerService"
>
<el-option
v-for=
"(item) in customerServiceList"
:value=
"item.id"
:label=
"item.nickname"
:key=
"item.id"
></el-option>
<el-option
v-for=
"(item) in customerServiceList"
:value=
"item.id"
:label=
"item.nickname"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
<!--
<el-input
v-model=
"queryForm.oldCustomerService"
></el-input>
-->
<!--
<el-input
v-model=
"queryForm.oldCustomerService"
></el-input>
-->
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"客户编号"
><el-input
:placeholder=
"$t('请输入客户编号')"
v-model=
"queryForm.number"
></el-input></el-descriptions-item
>
<!--
<el-descriptions-item
label=
"客户编号"
><el-input
:placeholder=
"$t('请输入客户编号')"
v-model=
"queryForm.number"
></el-input></el-descriptions-item>
--
>
<el-descriptions-item
label=
"新客户经理
"
>
<el-descriptions-item
:label=
"$t('新客户经理')
"
>
<el-select
clearable
filterable
v-model=
"queryForm.newCustomerService"
>
<el-select
clearable
filterable
v-model=
"queryForm.newCustomerService"
>
<el-option
v-for=
"(item) in customerServiceList"
:value=
"item.id"
:label=
"item.nickname"
:key=
"item.id"
></el-option>
<el-option
v-for=
"(item) in customerServiceList"
:value=
"item.id"
:label=
"item.nickname"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
<!--
<el-input
v-model=
"queryForm.newCustomerService"
></el-input>
-->
<!--
<el-input
v-model=
"queryForm.newCustomerService"
></el-input>
-->
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"客户名称"
><el-input
:placeholder=
"$t('请输入客户名称')"
style=
"width: 45%;"
v-model=
"queryForm.name"
></el-input></el-descriptions-item
>
<!--
<el-descriptions-item
label=
"客户名称"
><el-input
:placeholder=
"$t('请输入客户名称')"
style=
"width: 45%;"
v-model=
"queryForm.name"
></el-input></el-descriptions-item>
--
>
<el-descriptions-item
label=
"操作类型
"
>
<el-descriptions-item
:label=
"$t('操作类型')
"
>
<dict-selector
:type=
"DICT_TYPE.CUSTOMER_OPERATE_TYPE"
v-model=
"queryForm.operateType"
>
<dict-selector
:type=
"DICT_TYPE.CUSTOMER_OPERATE_TYPE"
v-model=
"queryForm.operateType"
>
</dict-selector>
</dict-selector>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"新的预计进入公海的时间
"
>
<el-descriptions-item
:label=
"$t('新的预计进入公海的时间')
"
>
<el-date-picker
<el-date-picker
v-model=
"newEstimateEnterOpenSeaTimeArr"
v-model=
"newEstimateEnterOpenSeaTimeArr"
type=
"datetimerange"
type=
"datetimerange"
value-format=
"yyyy-MM-dd HH:mm:ss"
value-format=
"yyyy-MM-dd HH:mm:ss"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期
"
:start-placeholder=
"$t('开始日期')
"
end-placeholder=
"结束日期
"
:end-placeholder=
"$t('结束日期')
"
align=
"right"
>
align=
"right"
>
</el-date-picker>
</el-date-picker>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"老的预计进入公海的时间
"
>
<el-descriptions-item
:label=
"$t('老的预计进入公海的时间')
"
>
<el-date-picker
<el-date-picker
v-model=
"newEstimateEnterOpenSeaTimeArr"
v-model=
"newEstimateEnterOpenSeaTimeArr"
type=
"datetimerange"
type=
"datetimerange"
value-format=
"yyyy-MM-dd HH:mm:ss"
value-format=
"yyyy-MM-dd HH:mm:ss"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期
"
:start-placeholder=
"$t('开始日期')
"
end-placeholder=
"结束日期
"
:end-placeholder=
"$t('结束日期')
"
align=
"right"
>
align=
"right"
>
</el-date-picker>
</el-date-picker>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item>
<el-descriptions-item>
<el-button
@
click=
"getList"
>
搜索
</el-button>
<el-button
@
click=
"getList"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
@
click=
"initialize();getList()"
>
重置
</el-button>
<el-button
@
click=
"initialize();getList()"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
</el-descriptions-item>
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
</el-card>
</el-card>
<el-table
:data=
"list"
>
<el-table
:data=
"list"
>
<el-table-column
label=
"客户编号"
prop=
"number"
></el-table-column>
<el-table-column
:label=
"$t('订单编号')"
prop=
"orderNo"
></el-table-column>
<el-table-column
label=
"订单编号"
prop=
"orderNo"
></el-table-column>
<el-table-column
:label=
"$t('新客户经理')"
prop=
"newCustomerService"
>
<el-table-column
label=
"客户名称"
prop=
"name"
></el-table-column>
<el-table-column
label=
"新客户经理"
prop=
"newCustomerService"
>
<template
v-slot=
"
{row}">
<template
v-slot=
"
{row}">
{{
row
.
newCustomerService
?
operatorFn
(
row
.
newCustomerService
)
:
'
/
'
}}
{{
row
.
newCustomerService
?
operatorFn
(
row
.
newCustomerService
)
:
'
/
'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"老客户经理
"
prop=
"oldCustomerService"
>
<el-table-column
:label=
"$t('老客户经理')
"
prop=
"oldCustomerService"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
{{
row
.
oldCustomerService
?
operatorFn
(
row
.
oldCustomerService
)
:
'
/
'
}}
{{
row
.
oldCustomerService
?
operatorFn
(
row
.
oldCustomerService
)
:
'
/
'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作类型
"
>
<el-table-column
:label=
"$t('操作类型')
"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_OPERATE_TYPE"
:value=
"row.operateType"
></dict-tag>
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_OPERATE_TYPE"
:value=
"row.operateType"
></dict-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作人
"
prop=
"operator"
>
<el-table-column
:label=
"$t('操作人')
"
prop=
"operator"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
{{
operatorFn
(
row
.
operator
)
}}
{{
operatorFn
(
row
.
operator
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"新的预计入公海时间"
>
<el-table-column
:label=
"$t('操作时间')"
prop=
"operator"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
||
'
/
'
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('新的预计入公海时间')"
>
<
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=
"$t('老的预计入公海时间')
"
>
<
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
:label=
"$t('备注')
"
prop=
"remark"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作
"
>
<el-table-column
:label=
"$t('操作')
"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<el-button
type=
"text"
@
click=
"getCustomerLog(row.id)"
>
<el-button
type=
"text"
@
click=
"getCustomerLog(row.id)"
>
详情
{{
$t
(
'
详情
'
)
}}
</el-button>
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryForm.page"
:limit.sync=
"queryForm.rows"
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryForm.page"
:limit.sync=
"queryForm.rows"
@
pagination=
"getList"
/>
@
pagination=
"getList"
/>
<el-dialog
title=
"客户日志
"
:visible.sync=
"show"
>
<el-dialog
:title=
"$t('客户日志')
"
:visible.sync=
"show"
>
<el-form>
<el-form>
<el-form-item
label=
"订单编号:
"
>
<el-form-item
:label=
"$t('订单编号')+':'
"
>
{{dataLog.orderNo ? dataLog.orderNo :'/'}}
{{dataLog.orderNo ? dataLog.orderNo :'/'}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户编号:"
>
<el-form-item
:label=
"$t('新客户经理')+':'"
>
{{dataLog.number}}
</el-form-item>
<el-form-item
label=
"客户名称:"
>
{{dataLog.name}}
</el-form-item>
<el-form-item
label=
"新客户经理:"
>
{{dataLog.newCustomerService ? operatorFn(dataLog.newCustomerService) : '/'}}
{{dataLog.newCustomerService ? operatorFn(dataLog.newCustomerService) : '/'}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"老客户经理:
"
>
<el-form-item
:label=
"$t('老客户经理')+':'
"
>
{{dataLog.oldCustomerService ? operatorFn(dataLog.oldCustomerService) : '/'}}
{{dataLog.oldCustomerService ? operatorFn(dataLog.oldCustomerService) : '/'}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"操作类型:
"
>
<el-form-item
:label=
"$t('操作类型')+':'
"
>
<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>
</el-form-item>
</el-form-item>
<el-form-item
label=
"操作人:
"
>
<el-form-item
:label=
"$t('操作人')+':'
"
>
{{operatorFn(dataLog.operator)}}
{{operatorFn(dataLog.operator)}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"新预计进入公海时间:"
>
<el-form-item
:label=
"$t('操作时间')+':'"
>
{{parseTime(dataLog.createTime)}}
</el-form-item>
<el-form-item
:label=
"$t('新预计进入公海时间')+':'"
>
{{parseTime(dataLog.newEstimateEnterOpenSeaTime) || '/'}}
{{parseTime(dataLog.newEstimateEnterOpenSeaTime) || '/'}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"老的预计进入公海时间:
"
>
<el-form-item
:label=
"$t('老的预计进入公海时间')+':'
"
>
{{parseTime(dataLog.oldEstimateEnterOpenSeaTime) || '/'}}
{{parseTime(dataLog.oldEstimateEnterOpenSeaTime) || '/'}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注:
"
>
<el-form-item
:label=
"$t('备注')+':'
"
>
{{dataLog.remark}}
{{dataLog.remark}}
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
...
src/views/ecw/order/detail.vue
View file @
ae8588d0
...
@@ -184,7 +184,6 @@
...
@@ -184,7 +184,6 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('成交单价')"
width=
"220px"
>
<el-table-column
prop=
""
:label=
"$t('成交单价')"
width=
"220px"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.charging ==1"
>
<template
v-if=
"row.charging ==1"
>
<template
v-if=
"!row.oneSeaFreight"
>
{{
$t
(
'
未报价
'
)
}}
</
template
>
<template
v-if=
"!row.oneSeaFreight"
>
{{
$t
(
'
未报价
'
)
}}
</
template
>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'clearance')"
v-else
>
{{$t('全包价')}} {{row.oneSeaFreight}} {{currencyMap[row.seaFreightCurrency]}} / {{unitMap[row.seaFreightVolume]}}
</el-link>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'clearance')"
v-else
>
{{$t('全包价')}} {{row.oneSeaFreight}} {{currencyMap[row.seaFreightCurrency]}} / {{unitMap[row.seaFreightVolume]}}
</el-link>
...
@@ -202,19 +201,16 @@
...
@@ -202,19 +201,16 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('储位')"
>
<el-table-column
prop=
""
:label=
"$t('储位')"
>
<
template
slot-scope=
"{row}"
>
<
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"
>
<template
v-if=
"row.warehouseInInfoVO"
>
{{
getLocationName
(
row
.
warehouseInInfoVO
.
orderLocationMergeVOSet
)
}}
{{
getLocationName
(
row
.
warehouseInInfoVO
.
orderLocationMergeVOSet
)
}}
</
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}"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
warehouseInInfoVO
.
expressNo
}}
<!-- 这里不知道什么原因被改成了入仓单号,现根据bug单改成填单快递单号,如需更改请注明缘由
https://zentao.test.jdshangmen.com/bug-view-2645.html -->
{{
row
.
expressNo
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/order/index.vue
View file @
ae8588d0
...
@@ -377,8 +377,11 @@
...
@@ -377,8 +377,11 @@
<!-- 调仓 -->
<!-- 调仓 -->
<
template
v-if=
"
<
template
v-if=
"
include(scope.row.inWarehouseState, [202, 207, 209, 210, 202, 211, 212, 215, 216, 218]) ||
(
(include(scope.row.status, [16]) && exclude(scope.row.inWarehouseState, [213,214]))
include(scope.row.inWarehouseState, [202, 207, 209, 210, 202, 211, 212, 215, 216, 218]) ||
(include(scope.row.status, [16]) && exclude(scope.row.inWarehouseState, [213,214]))
)
&& exclude(scope.row.abnormalState, [1 ,99 ,2 ,3 ,4 ,9 ,10 ,11 ,12 ,14])
"
>
"
>
<el-dropdown-item
@
click.native=
"orderId = scope.row.orderId;warehouseBol=true;"
v-hasPermi=
"['ecw:order:warehouse_adjustment']"
>
{{
$t
(
'
调仓
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"orderId = scope.row.orderId;warehouseBol=true;"
v-hasPermi=
"['ecw:order:warehouse_adjustment']"
>
{{
$t
(
'
调仓
'
)
}}
</el-dropdown-item>
</
template
>
</
template
>
...
...
src/views/ecw/order/special/index.vue
View file @
ae8588d0
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
{{
$t
(
'
品牌
'
)
}}
:
{{
$t
(
'
品牌
'
)
}}
:
<!-- 23-03-27 根据需求方要求,按照详情页一样的规则显示 -->
<!-- 23-03-27 根据需求方要求,按照详情页一样的规则显示 -->
<template
v-if=
"row.brandName"
>
{{
row
.
brandName
}}
</
template
>
<template
v-if=
"row.brandName"
>
{{
row
.
brandName
}}
</
template
>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.
brand
Type"
/>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.
fee
Type"
/>
<!-- <dict-tag :type="DICT_TYPE.ECW_IS_BRAND" :value="row.feeType" /> -->
<br>
<!-- <dict-tag :type="DICT_TYPE.ECW_IS_BRAND" :value="row.feeType" /> -->
<br>
{{$t('箱数')}}:{{ row.warehouseInInfoVO.cartonsNum }}
<br>
{{$t('箱数')}}:{{ row.warehouseInInfoVO.cartonsNum }}
<br>
{{$t('体积')}}:{{ row.warehouseInInfoVO.volume }}m³
<br>
{{$t('体积')}}:{{ row.warehouseInInfoVO.volume }}m³
<br>
...
...
src/views/ecw/order/warehousing/components/Warehouse.vue
View file @
ae8588d0
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
{{ $t('入仓记录') }}
</span>
<span>
{{ $t('入仓记录') }}
</span>
<el-button
style=
"float: right;margin-left: 15px"
size=
"mini"
type=
"primary"
icon=
"el-icon-minus"
circle
@
click=
"handleDelete"
:disabled=
"form.table.length <
=
protectRowCount"
></el-button>
<el-button
style=
"float: right;margin-left: 15px"
size=
"mini"
type=
"primary"
icon=
"el-icon-minus"
circle
@
click=
"handleDelete"
:disabled=
"form.table.length < protectRowCount"
></el-button>
<el-button
style=
"float: right"
size=
"mini"
type=
"primary"
icon=
"el-icon-plus"
circle
@
click=
"handleAdd()"
></el-button>
<el-button
style=
"float: right"
size=
"mini"
type=
"primary"
icon=
"el-icon-plus"
circle
@
click=
"handleAdd()"
></el-button>
</div>
</div>
<el-form
ref=
"tableForm"
:rules=
"tableFormRules"
:model=
"form"
size=
"mini"
>
<el-form
ref=
"tableForm"
:rules=
"tableFormRules"
:model=
"form"
size=
"mini"
>
...
@@ -77,10 +77,10 @@
...
@@ -77,10 +77,10 @@
<span
style=
"color: red"
>
*
</span>
{{
$t
(
'
箱数
'
)
}}
</
template
>
<span
style=
"color: red"
>
*
</span>
{{
$t
(
'
箱数
'
)
}}
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.cartonsNum"
>
<el-form-item
:rules=
"tableFormRules.cartonsNum"
>
<el-input
v-model=
"form.table[$index].cartonsNum"
placeholder=
""
@
blur=
"handleVolume($index)"
:disabled=
"$index
<
=
protectRowCount
"
>
<el-input
v-model=
"form.table[$index].cartonsNum"
placeholder=
""
@
blur=
"handleVolume($index)"
:disabled=
"$index
<
protectRowCount
"
>
<span
slot=
"append"
>
{{
getDictDataLabel
(
DICT_TYPE
.
WAREHOUSING_SPECIFICATION_TYPE
,
form
.
table
[
$index
].
specificationType
)
}}
</span>
<span
slot=
"append"
>
{{
getDictDataLabel
(
DICT_TYPE
.
WAREHOUSING_SPECIFICATION_TYPE
,
form
.
table
[
$index
].
specificationType
)
}}
</span>
</el-input>
</el-input>
<dict-selector
:disabled=
"$index
<
=
protectRowCount
"
:type=
"DICT_TYPE.WAREHOUSING_SPECIFICATION_TYPE"
v-model=
"form.table[$index].specificationType"
@
change=
"handleVolume($index)"
></dict-selector>
<dict-selector
:disabled=
"$index
<
protectRowCount
"
:type=
"DICT_TYPE.WAREHOUSING_SPECIFICATION_TYPE"
v-model=
"form.table[$index].specificationType"
@
change=
"handleVolume($index)"
></dict-selector>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
<span
style=
"color: red"
>
*
</span>
{{
$t
(
'
包装类型
'
)
}}
</
template
>
<span
style=
"color: red"
>
*
</span>
{{
$t
(
'
包装类型
'
)
}}
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item>
<el-form-item>
<dict-selector
:disabled=
"$index
<
=
protectRowCount
"
:type=
"DICT_TYPE.ECW_PACKAGING_TYPE"
v-model=
"form.table[$index].unit"
></dict-selector>
<dict-selector
:disabled=
"$index
<
protectRowCount
"
:type=
"DICT_TYPE.ECW_PACKAGING_TYPE"
v-model=
"form.table[$index].unit"
></dict-selector>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
</
template
>
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.boxGauge1"
>
<el-form-item
:rules=
"tableFormRules.boxGauge1"
>
<el-input
:disabled=
"$index
<
=
protectRowCount
"
type=
"number"
v-model=
"form.table[$index].boxGauge1"
placeholder=
""
@
blur=
"handleVolume($index)"
></el-input>
<el-input
:disabled=
"$index
<
protectRowCount
"
type=
"number"
v-model=
"form.table[$index].boxGauge1"
placeholder=
""
@
blur=
"handleVolume($index)"
></el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
</
template
>
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.boxGauge2"
>
<el-form-item
:rules=
"tableFormRules.boxGauge2"
>
<el-input
:disabled=
"$index
<
=
protectRowCount
"
type=
"number"
v-model=
"form.table[$index].boxGauge2"
placeholder=
""
@
blur=
"handleVolume($index)"
></el-input>
<el-input
:disabled=
"$index
<
protectRowCount
"
type=
"number"
v-model=
"form.table[$index].boxGauge2"
placeholder=
""
@
blur=
"handleVolume($index)"
></el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
</
template
>
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.boxGauge3"
>
<el-form-item
:rules=
"tableFormRules.boxGauge3"
>
<el-input
:disabled=
"$index
<
=
protectRowCount
"
type=
"number"
v-model=
"form.table[$index].boxGauge3"
placeholder=
""
@
blur=
"handleVolume($index)"
></el-input>
<el-input
:disabled=
"$index
<
protectRowCount
"
type=
"number"
v-model=
"form.table[$index].boxGauge3"
placeholder=
""
@
blur=
"handleVolume($index)"
></el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
</
template
>
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.volume"
>
<el-form-item
:rules=
"tableFormRules.volume"
>
<el-input
:disabled=
"$index
<
=
protectRowCount
"
v-model=
"form.table[$index].volume"
placeholder=
""
type=
"number"
></el-input>
<el-input
:disabled=
"$index
<
protectRowCount
"
v-model=
"form.table[$index].volume"
placeholder=
""
type=
"number"
></el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -139,14 +139,14 @@
...
@@ -139,14 +139,14 @@
</
template
>
</
template
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.weight"
>
<el-form-item
:rules=
"tableFormRules.weight"
>
<el-input
:disabled=
"$index
<
=
protectRowCount
"
v-model=
"form.table[$index].weight"
placeholder=
""
type=
"number"
></el-input>
<el-input
:disabled=
"$index
<
protectRowCount
"
v-model=
"form.table[$index].weight"
placeholder=
""
type=
"number"
></el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('数量')"
width=
"130px"
>
<el-table-column
:label=
"$t('数量')"
width=
"130px"
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.quantityAll"
>
<el-form-item
:rules=
"tableFormRules.quantityAll"
>
<el-input
:disabled=
"$index
<
=
protectRowCount
"
v-model.number=
"form.table[$index].quantityAll"
placeholder=
""
>
<el-input
:disabled=
"$index
<
protectRowCount
"
v-model.number=
"form.table[$index].quantityAll"
placeholder=
""
>
<template
slot=
"append"
>
{{
$t
(
'
个
'
)
}}
</
template
>
<template
slot=
"append"
>
{{
$t
(
'
个
'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
<el-table-column
:label=
"$t('快递单号')"
>
<el-table-column
:label=
"$t('快递单号')"
>
<
template
v-slot=
"{r,c,$index}"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item>
<el-form-item>
<el-input
:disabled=
"$index
<
=
protectRowCount
"
v-model=
"form.table[$index].expressNo"
placeholder=
""
></el-input>
<el-input
:disabled=
"$index
<
protectRowCount
"
v-model=
"form.table[$index].expressNo"
placeholder=
""
></el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -202,10 +202,10 @@
...
@@ -202,10 +202,10 @@
filterable
filterable
remote
remote
@
change=
"handleBrandChange"
@
change=
"handleBrandChange"
:remote-method=
"getProductBrandPage"
:remote-method=
"getProductBrandPage
1
"
clearable
>
clearable
>
<el-option
<el-option
v-for=
"item in brandList"
v-for=
"item in brandList
1
"
:key=
"item.id"
:key=
"item.id"
:label=
"item.titleZh"
:label=
"item.titleZh"
:value=
"item.id"
>
:value=
"item.id"
>
...
@@ -504,6 +504,7 @@ export default {
...
@@ -504,6 +504,7 @@ export default {
visible
(
val
){
visible
(
val
){
if
(
val
)
{
if
(
val
)
{
this
.
getProductBrandPage
(
this
.
warehousing
.
brandName
)
this
.
getProductBrandPage
(
this
.
warehousing
.
brandName
)
this
.
getProductBrandPage1
()
this
.
handleBrandChange
(
parseInt
(
this
.
form
.
brand
))
this
.
handleBrandChange
(
parseInt
(
this
.
form
.
brand
))
this
.
init
()
this
.
init
()
}
else
{
}
else
{
...
@@ -556,6 +557,7 @@ export default {
...
@@ -556,6 +557,7 @@ export default {
recordMode
:
undefined
recordMode
:
undefined
},
},
brandList
:
[],
brandList
:
[],
brandList1
:
[],
formRules
:
{
formRules
:
{
prodId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
请选择品名
"
),
trigger
:
"
change
"
}],
prodId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
请选择品名
"
),
trigger
:
"
change
"
}],
brand
:
[{
required
:
true
,
message
:
this
.
$t
(
"
请选择品牌
"
),
trigger
:
"
change
"
}],
brand
:
[{
required
:
true
,
message
:
this
.
$t
(
"
请选择品牌
"
),
trigger
:
"
change
"
}],
...
@@ -585,7 +587,6 @@ export default {
...
@@ -585,7 +587,6 @@ export default {
methods
:
{
methods
:
{
init
(){
init
(){
this
.
form
.
table
=
this
.
warehousing
.
orderWarehouseInBackItemDoList
this
.
form
.
brandType
=
this
.
warehousing
.
brandType
this
.
form
.
brandType
=
this
.
warehousing
.
brandType
this
.
form
.
orderId
=
this
.
warehousing
.
orderId
this
.
form
.
orderId
=
this
.
warehousing
.
orderId
this
.
form
.
orderItemId
=
this
.
warehousing
.
orderNo
this
.
form
.
orderItemId
=
this
.
warehousing
.
orderNo
...
@@ -605,26 +606,30 @@ export default {
...
@@ -605,26 +606,30 @@ export default {
this
.
form
.
type
=
this
.
warehousing
.
type
this
.
form
.
type
=
this
.
warehousing
.
type
this
.
form
.
feeType
=
this
.
warehousing
.
feeType
this
.
form
.
feeType
=
this
.
warehousing
.
feeType
this
.
form
.
table
.
forEach
(
e
=>
{
this
.
warehousing
.
orderWarehouseInBackItemDoList
.
forEach
(
e
=>
{
let
bg
=
{}
if
(
e
.
boxGauge
)
{
if
(
e
.
boxGauge
)
{
const
boxGauge
=
e
.
boxGauge
.
split
(
'
*
'
)
const
boxGauge
=
e
.
boxGauge
.
split
(
'
*
'
)
e
.
boxGauge1
=
boxGauge
[
0
]
// e.boxGauge1 = boxGauge[0]
e
.
boxGauge2
=
boxGauge
[
1
]
// e.boxGauge2 = boxGauge[1]
e
.
boxGauge3
=
boxGauge
[
2
]
// e.boxGauge3 = boxGauge[2]
bg
=
{
boxGauge1
:
boxGauge
[
0
],
boxGauge2
:
boxGauge
[
1
],
boxGauge3
:
boxGauge
[
2
]
}
}
}
this
.
form
.
table
.
push
({...
e
,
...
bg
})
})
})
if
(
this
.
isAdd
)
{
if
(
!
this
.
edit
)
{
let
protectRowCount
=
-
1
let
protectRowCount
=
0
this
.
protectRowCount
=
this
.
form
.
table
.
map
(
e
=>
{
this
.
protectRowCount
=
this
.
form
.
table
.
map
(
e
=>
{
if
(
e
.
id
){
if
(
e
.
id
){
protectRowCount
++
protectRowCount
++
}
}
})
})
this
.
protectRowCount
=
protectRowCount
this
.
protectRowCount
=
protectRowCount
}
if
(
!
this
.
edit
){
this
.
handleAdd
()
this
.
handleAdd
()
this
.
handleAdd
(
1
)
this
.
handleAdd
(
1
)
}
}
...
@@ -764,12 +769,12 @@ export default {
...
@@ -764,12 +769,12 @@ export default {
},
},
getProductBrandPage
(
titleZh
=
undefined
)
{
getProductBrandPage
(
titleZh
=
undefined
)
{
getProductBrankPage
({
pageSize
:
20
,
titleZh
}).
then
(
r
=>
{
getProductBrankPage
({
pageSize
:
20
,
titleZh
}).
then
(
r
=>
{
this
.
brandList
=
r
.
data
.
list
.
map
(
e
=>
{
this
.
brandList
=
r
.
data
.
list
// if(e.id){
})
// e.id = e.id.toString()
},
// }
getProductBrandPage1
(
titleZh
=
undefined
)
{
return
e
getProductBrankPage
({
pageSize
:
20
,
titleZh
}).
then
(
r
=>
{
})
this
.
brandList1
=
r
.
data
.
list
})
})
},
},
handleBrandChange
(
v
){
handleBrandChange
(
v
){
...
...
src/views/ecw/order/weightDeal.vue
View file @
ae8588d0
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
<p>
{{
$t
(
'
箱规
'
)
}}
:
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
boxGauge
:
0
}}
</p>
<p>
{{
$t
(
'
箱规
'
)
}}
:
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
boxGauge
:
0
}}
</p>
<p>
{{
$t
(
'
品牌
'
)
}}
:
<p>
{{
$t
(
'
品牌
'
)
}}
:
<span
v-if=
"scope.row.brandName"
>
{{
scope
.
row
.
brandName
}}
</span>
<span
v-if=
"scope.row.brandName"
>
{{
scope
.
row
.
brandName
}}
</span>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"scope.row.
brand
Type"
/>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"scope.row.
fee
Type"
/>
</p>
</p>
<!--
<p>
{{
$t
(
'
品牌
'
)
}}
:
<dict-tag
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"scope.row.feeType"
/></p>
-->
<!--
<p>
{{
$t
(
'
品牌
'
)
}}
:
<dict-tag
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"scope.row.feeType"
/></p>
-->
<p>
{{
$t
(
'
箱数
'
)
}}
:
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
:
0
}}
</p>
<p>
{{
$t
(
'
箱数
'
)
}}
:
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
:
0
}}
</p>
...
...
src/views/ecw/product/index.vue
View file @
ae8588d0
...
@@ -500,7 +500,7 @@ export default {
...
@@ -500,7 +500,7 @@ export default {
})
})
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
this
.
$t
(
"
修改商品
"
);
this
.
title
=
this
.
$t
(
"
修改商品
"
);
product_coupon_newProd
().
then
(
r
=>
{
product_coupon_newProd
(
{
prodId
:
id
}
).
then
(
r
=>
{
this
.
preferentialList
=
r
.
data
this
.
preferentialList
=
r
.
data
this
.
form
.
couponIds
=
this
.
preferentialList
.
filter
(
i
=>
i
.
isDefault
).
map
(
i
=>
i
.
couponId
)
this
.
form
.
couponIds
=
this
.
preferentialList
.
filter
(
i
=>
i
.
isDefault
).
map
(
i
=>
i
.
couponId
)
// this.reset()
// this.reset()
...
...
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