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
b2dcf129
Commit
b2dcf129
authored
Mar 12, 2023
by
TIAN.DESHENG
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
cf85e399
57f8374e
Changes
29
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
567 additions
and
229 deletions
+567
-229
futureBox.js
src/api/ecw/futureBox.js
+1
-1
indexFutureBox.vue
src/views/ecw/box/indexFutureBox.vue
+2
-2
indexSea.vue
src/views/ecw/box/indexSea.vue
+15
-15
indexSeaAir.vue
src/views/ecw/box/indexSeaAir.vue
+17
-17
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+6
-2
index.vue
src/views/ecw/customer/index.vue
+25
-10
indirectCustomer.vue
src/views/ecw/customer/indirectCustomer.vue
+2
-3
query.vue
src/views/ecw/customer/query.vue
+5
-6
index.vue
src/views/ecw/customerCommission/index.vue
+3
-3
index.vue
src/views/ecw/customerConfirm/index.vue
+6
-6
index.vue
src/views/ecw/customerToBeAssigned/index.vue
+6
-6
bankDetail.vue
src/views/ecw/financial/bankDetail.vue
+236
-0
creatPayment.vue
src/views/ecw/financial/creatPayment.vue
+28
-12
payable.vue
src/views/ecw/financial/payable.vue
+10
-7
paymentVoucher.vue
src/views/ecw/financial/paymentVoucher.vue
+7
-7
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+9
-9
receivable.vue
src/views/ecw/financial/receivable.vue
+2
-3
voucher.vue
src/views/ecw/financial/voucher.vue
+18
-9
index.vue
src/views/ecw/myCustomerService/index.vue
+8
-8
index.vue
src/views/ecw/oceanCustomer/index.vue
+3
-3
cargoControl.vue
src/views/ecw/order/cargoControl.vue
+18
-50
PrintWarehouseReceipt.vue
src/views/ecw/order/components/PrintWarehouseReceipt.vue
+2
-2
detail.vue
src/views/ecw/order/detail.vue
+4
-3
index.vue
src/views/ecw/order/exception/index.vue
+18
-3
index.vue
src/views/ecw/order/index.vue
+53
-34
pending.vue
src/views/ecw/order/pending.vue
+20
-1
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+35
-3
index.vue
src/views/ecw/product/index.vue
+7
-3
index.vue
src/views/system/menu/index.vue
+1
-1
No files found.
src/api/ecw/futureBox.js
View file @
b2dcf129
...
@@ -92,4 +92,4 @@ export function getOrderReportVolume(params){
...
@@ -92,4 +92,4 @@ export function getOrderReportVolume(params){
method
:
'
get
'
,
method
:
'
get
'
,
params
params
})
})
}
}
\ No newline at end of file
src/views/ecw/box/indexFutureBox.vue
View file @
b2dcf129
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('异常订单方数')"
align=
"center"
prop=
"exceptionNumber"
>
<el-table-column
:label=
"$t('异常订单方数')"
align=
"center"
prop=
"exceptionNumber"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
getExceptionVolume
||
0
}}
{{
row
.
getExceptionVolume
||
0
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('待排单订单方数')"
align=
"center"
prop=
"warehousingNumber"
>
<el-table-column
:label=
"$t('待排单订单方数')"
align=
"center"
prop=
"warehousingNumber"
>
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
{{
row
.
warehousingNumber
||
0
}}
{{
row
.
warehousingNumber
||
0
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('自单代报订单方数')"
align=
"center"
prop=
"orderReportNumber"
>
<el-table-column
:label=
"$t('自单代报订单方数')"
align=
"center"
prop=
"orderReportNumber"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
warehousingNumber
||
0
}}
{{
row
.
warehousingNumber
||
0
}}
</
template
>
</
template
>
...
...
src/views/ecw/box/indexSea.vue
View file @
b2dcf129
...
@@ -65,11 +65,11 @@
...
@@ -65,11 +65,11 @@
<!-- 操作工具栏 -->
<!-- 操作工具栏 -->
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['shipment:box:create']"
>
{{
$t
(
'
出货安排
'
)
}}
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['shipment:box:
action:
create']"
>
{{
$t
(
'
出货安排
'
)
}}
</el-button>
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['shipment:box:export']"
>
{{
$t
(
'
导出
'
)
}}
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['shipment:box:
action:
export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
</el-button>
</el-col>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
...
@@ -114,31 +114,31 @@
...
@@ -114,31 +114,31 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-dropdown
trigger=
"click"
@
command=
"(command)=>handleCommand(scope.row, command)"
style=
"marginRight:10px;"
>
<el-dropdown
trigger=
"click"
v-hasPermi=
"['shipment:box:action:sea','shipment:box:action:error','shipment:box:action:cost','shipment:box:action:editLadingBill']"
@
command=
"(command)=>handleCommand(scope.row, command)"
style=
"marginRight:10px;"
>
<el-button
type=
"primary"
>
<el-button
type=
"primary"
>
{{
$t
(
'
操作
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
{{
$t
(
'
操作
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<!--
<el-dropdown-item
:disabled=
"scope.row.ldStatus>=46"
command=
"edit"
>
{{
$t
(
'
编辑
'
)
}}
</el-dropdown-item>
-->
<!--
<el-dropdown-item
:disabled=
"scope.row.ldStatus>=46"
command=
"edit"
>
{{
$t
(
'
编辑
'
)
}}
</el-dropdown-item>
-->
<el-dropdown-item
command=
"sea
"
>
{{
$t
(
'
操作-海运
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"sea"
v-hasPermi=
"['shipment:box:action:sea']
"
>
{{
$t
(
'
操作-海运
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"error"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"error"
v-hasPermi=
"['shipment:box:action:error']"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
>
{{
$t
(
'
费用登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
v-hasPermi=
"['shipment:box:action:cost']"
>
{{
$t
(
'
费用登记
'
)
}}
</el-dropdown-item>
<!--
<el-dropdown-item
command=
"delete"
>
{{
$t
(
'
删除
'
)
}}
</el-dropdown-item>
-->
<!--
<el-dropdown-item
command=
"delete"
>
{{
$t
(
'
删除
'
)
}}
</el-dropdown-item>
-->
<el-dropdown-item
:disabled=
"scope.row.ldStatus
<46
"
command=
"editLadingBill"
>
{{
$t
(
'
编辑提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
:disabled=
"scope.row.ldStatus
<46
"
command=
"editLadingBill"
v-hasPermi=
"['shipment:box:action:editLadingBill']"
>
{{
$t
(
'
编辑提货单
'
)
}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
<el-dropdown
trigger=
"click"
@
command=
"(command)=>handleCommand(scope.row, command)"
>
<el-dropdown
trigger=
"click"
@
command=
"(command)=>handleCommand(scope.row, command)"
v-hasPermi=
"['shipment:box:download:downloadPreloadGoodsList','shipment:box:download:downloadLoadGoodsList','shipment:box:download:downloadReceivableList','shipment:box:download:downloadAgentListFiles','shipment:box:download:downloadSoncapFiles','shipment:box:download:zipDownload','shipment:box:download:downloadLadingCopy']"
>
<el-button
type=
"primary"
>
<el-button
type=
"primary"
>
{{
$t
(
'
下载
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
{{
$t
(
'
下载
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"downloadPreloadGoodsList"
>
{{
$t
(
'
预装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadPreloadGoodsList"
v-hasPermi=
"['shipment:box:download:downloadPreloadGoodsList']"
>
{{
$t
(
'
预装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLoadGoodsList"
>
{{
$t
(
'
已装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLoadGoodsList"
v-hasPermi=
"['shipment:box:download:downloadLoadGoodsList']"
>
{{
$t
(
'
已装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadReceivableList"
>
{{
$t
(
'
应收汇总表
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadReceivableList"
v-hasPermi=
"['shipment:box:download:downloadReceivableList']"
>
{{
$t
(
'
应收汇总表
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadAgentListFiles"
>
agent list
</el-dropdown-item>
<el-dropdown-item
command=
"downloadAgentListFiles"
v-hasPermi=
"['shipment:box:download:downloadAgentListFiles']"
>
agent list
</el-dropdown-item>
<el-dropdown-item
command=
"downloadSoncapFiles"
>
soncap
</el-dropdown-item>
<el-dropdown-item
command=
"downloadSoncapFiles"
v-hasPermi=
"['shipment:box:download:downloadSoncapFiles']"
>
soncap
</el-dropdown-item>
<el-dropdown-item
command=
"zipDownload"
>
{{
$t
(
'
提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"zipDownload"
v-hasPermi=
"['shipment:box:download:zipDownload']"
>
{{
$t
(
'
提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLadingCopy"
>
{{
$t
(
'
提单Copy
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLadingCopy"
v-hasPermi=
"['shipment:box:download:downloadLadingCopy']"
>
{{
$t
(
'
提单Copy
'
)
}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
</
template
>
</
template
>
...
...
src/views/ecw/box/indexSeaAir.vue
View file @
b2dcf129
...
@@ -51,11 +51,11 @@
...
@@ -51,11 +51,11 @@
<!-- 操作工具栏 -->
<!-- 操作工具栏 -->
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['shipment:
box
:create']"
>
{{
$t
(
'
出货安排
'
)
}}
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['shipment:
seaAir:action
:create']"
>
{{
$t
(
'
出货安排
'
)
}}
</el-button>
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['shipment:
box
:export']"
>
{{
$t
(
'
导出
'
)
}}
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['shipment:
seaAir:action
:export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
</el-button>
</el-col>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
...
@@ -106,31 +106,31 @@
...
@@ -106,31 +106,31 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-dropdown
trigger=
"click"
@
command=
"(command)=>handleCommand(scope.row, command)"
style=
"marginRight:10px;"
>
<el-dropdown
trigger=
"click"
v-hasPermi=
"['shipment:seaAir:action:edit','shipment:seaAir:action:sea','shipment:seaAir:action:error','shipment:seaAir:action:cost','shipment:seaAir:action:delete','shipment:seaAir:action:editLadingBill']"
@
command=
"(command)=>handleCommand(scope.row, command)"
style=
"marginRight:10px;"
>
<el-button
type=
"primary"
>
<el-button
type=
"primary"
>
{{
$t
(
'
操作
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
{{
$t
(
'
操作
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
:disabled=
"scope.row.ldStatus>=46"
command=
"edit"
>
{{
$t
(
'
编辑
'
)
}}
</el-dropdown-item>
<el-dropdown-item
:disabled=
"scope.row.ldStatus>=46"
command=
"edit"
v-hasPermi=
"['shipment:seaAir:action:edit']"
>
{{
$t
(
'
编辑
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"seaAir"
>
{{
$t
(
'
操作
'
)
}}
-
{{
$t
(
'
海空联运
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"seaAir"
v-hasPermi=
"['shipment:seaAir:action:seaAir']"
>
{{
$t
(
'
海空联运
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"error"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"error"
v-hasPermi=
"['shipment:seaAir:action:error']"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
>
{{
$t
(
'
费用登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
v-hasPermi=
"['shipment:seaAir:action:cost']"
>
{{
$t
(
'
费用登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"delete"
>
{{
$t
(
'
删除
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"delete"
v-hasPermi=
"['shipment:seaAir:action:delete']"
>
{{
$t
(
'
删除
'
)
}}
</el-dropdown-item>
<el-dropdown-item
:disabled=
"scope.row.ldStatus
<46
"
command=
"editLadingBill"
>
{{
$t
(
'
编辑提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
:disabled=
"scope.row.ldStatus
<46
"
command=
"editLadingBill"
v-hasPermi=
"['shipment:seaAir:action:editLadingBill']"
>
{{
$t
(
'
编辑提货单
'
)
}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
<el-dropdown
trigger=
"click"
@
command=
"(command)=>handleCommand(scope.row, command)"
>
<el-dropdown
trigger=
"click"
@
command=
"(command)=>handleCommand(scope.row, command)"
v-hasPermi=
"['shipment:seaAir:download:downloadPreloadGoodsList','shipment:seaAir:download:downloadLoadGoodsList','shipment:seaAir:download:downloadReceivableList','shipment:seaAir:download:downloadAgentListFiles','shipment:seaAir:download:downloadSoncapFiles','shipment:seaAir:download:zipDownload','shipment:seaAir:download:downloadLadingCopy']"
>
<el-button
type=
"primary"
>
<el-button
type=
"primary"
>
{{
$t
(
'
下载
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
{{
$t
(
'
下载
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"downloadPreloadGoodsList"
>
{{
$t
(
'
预装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadPreloadGoodsList"
v-hasPermi=
"['shipment:seaAir:download:downloadPreloadGoodsList']"
>
{{
$t
(
'
预装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLoadGoodsList"
>
{{
$t
(
'
已装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLoadGoodsList"
v-hasPermi=
"['shipment:seaAir:download:downloadLoadGoodsList']"
>
{{
$t
(
'
已装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadReceivableList"
>
{{
$t
(
'
应收汇总表
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadReceivableList"
v-hasPermi=
"['shipment:seaAir:download:downloadReceivableList']"
>
{{
$t
(
'
应收汇总表
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadAgentListFiles"
>
agent list
</el-dropdown-item>
<el-dropdown-item
command=
"downloadAgentListFiles"
v-hasPermi=
"['shipment:seaAir:download:downloadAgentListFiles']"
>
agent list
</el-dropdown-item>
<el-dropdown-item
command=
"downloadSoncapFiles"
>
soncap
</el-dropdown-item>
<el-dropdown-item
command=
"downloadSoncapFiles"
v-hasPermi=
"['shipment:seaAir:download:downloadSoncapFiles']"
>
soncap
</el-dropdown-item>
<el-dropdown-item
command=
"zipDownload"
>
{{
$t
(
'
提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"zipDownload"
v-hasPermi=
"['shipment:seaAir:download:zipDownload']"
>
{{
$t
(
'
提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLadingCopy"
>
{{
$t
(
'
提单Copy
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLadingCopy"
v-hasPermi=
"['shipment:seaAir:download:downloadLadingCopy']"
>
{{
$t
(
'
提单Copy
'
)
}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
</
template
>
</
template
>
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
b2dcf129
...
@@ -663,7 +663,9 @@ export default {
...
@@ -663,7 +663,9 @@ export default {
}
);
}
);
}
);
}
);
}
)
}
)
.
catch
((
_
)
=>
{
}
);
.
catch
((
_
)
=>
{
this
.
queryAllData
();
}
);
}
else
{
}
else
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
this
.
queryAllData
();
...
@@ -683,7 +685,9 @@ export default {
...
@@ -683,7 +685,9 @@ export default {
}
);
}
);
}
);
}
);
}
)
}
)
.
catch
((
_
)
=>
{
}
);
.
catch
((
_
)
=>
{
this
.
queryAllData
();
}
);
}
}
}
);
}
);
}
else
{
}
else
{
...
...
src/views/ecw/customer/index.vue
View file @
b2dcf129
...
@@ -69,15 +69,15 @@
...
@@ -69,15 +69,15 @@
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"[
'ecw:customer:create'
]"
>
{{
$t
(
'
新增
'
)
}}
</el-button>
v-hasPermi=
"[
selectAuthorityFn('ecw:customer:create')
]"
>
{{
$t
(
'
新增
'
)
}}
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
:disabled=
"selectCustomerList.length === 0"
type=
"primary"
size=
"mini"
@
click=
"transferShow = true;"
<el-button
:disabled=
"selectCustomerList.length === 0"
type=
"primary"
size=
"mini"
@
click=
"transferShow = true;"
v-hasPermi=
"[
'ecw:customer:export'
]"
>
{{
$t
(
'
批量移交
'
)
}}
</el-button>
v-hasPermi=
"[
selectAuthorityFn('ecw:customer:batch-transfer')
]"
>
{{
$t
(
'
批量移交
'
)
}}
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"[
'ecw:customer:export'
]"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
v-hasPermi=
"[
selectAuthorityFn('ecw:customer:export')
]"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
:disabled=
"!selectCustomerList.length"
@
click=
"setChangeCustomerAir(true)"
v-if=
"$route.path === '/customer/customer'"
type=
"primary"
plain
size=
"mini"
:loading=
"exportLoading"
<el-button
:disabled=
"!selectCustomerList.length"
@
click=
"setChangeCustomerAir(true)"
v-if=
"$route.path === '/customer/customer'"
type=
"primary"
plain
size=
"mini"
:loading=
"exportLoading"
...
@@ -149,14 +149,14 @@
...
@@ -149,14 +149,14 @@
<!--
<el-button
size=
"mini"
type=
"text"
v-show=
"'development' === env && scope.row.isInOpenSea"
@
click=
"seasPond(scope.row)"
--
>
<!--
<el-button
size=
"mini"
type=
"text"
v-show=
"'development' === env && scope.row.isInOpenSea"
@
click=
"seasPond(scope.row)"
--
>
<!-- v-hasPermi="['ecw:customer:query']">
{{
$t
(
'
掉入公海池
'
)
}}
</el-button>
-->
<!-- v-hasPermi="['ecw:customer:query']">
{{
$t
(
'
掉入公海池
'
)
}}
</el-button>
-->
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-view"
@
click=
"handleView(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-view"
@
click=
"handleView(scope.row)"
v-hasPermi=
"[
'ecw:customer:query'
]"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
v-hasPermi=
"[
selectAuthorityFn('ecw:customer:query')
]"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"[
'ecw:customer:update'
]"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
v-hasPermi=
"[
selectAuthorityFn('ecw:customer:update')
]"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"[
'ecw:customer:delete'
]"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
v-hasPermi=
"[
selectAuthorityFn('ecw:customer:delete')
]"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-collection"
@
click=
"followUp(scope.row)"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
<el-button
size=
"mini"
v-has-permi=
"[selectAuthorityFn('ecw:customer:follow-up')]"
type=
"text"
icon=
"el-icon-collection"
@
click=
"followUp(scope.row)"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-user"
@
click=
"complaint(scope.row)"
>
{{
$t
(
'
客诉
'
)
}}
</el-button>
<el-button
size=
"mini"
v-has-permi=
"[selectAuthorityFn('ecw:customer:customer-complaint')]"
type=
"text"
icon=
"el-icon-user"
@
click=
"complaint(scope.row)"
>
{{
$t
(
'
客诉
'
)
}}
</el-button>
<el-button
:disabled=
"scope.row.isInOpenSea"
size=
"mini"
type=
"text"
icon=
"el-icon-user"
@
click=
"delay(scope.row)"
>
{{
$t
(
'
延期
'
)
}}
</el-button>
<el-button
:disabled=
"scope.row.isInOpenSea"
v-has-permi=
"[selectAuthorityFn('ecw:customer:postpone')]"
size=
"mini"
type=
"text"
icon=
"el-icon-user"
@
click=
"delay(scope.row)"
>
{{
$t
(
'
延期
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -610,6 +610,22 @@ export default {
...
@@ -610,6 +610,22 @@ export default {
},
},
isChinese
(){
isChinese
(){
return
this
.
$i18n
.
locale
===
'
zh_CN
'
return
this
.
$i18n
.
locale
===
'
zh_CN
'
},
authorityFn
(){
let
i
=
''
switch
(
this
.
$route
.
path
){
case
'
/customer/department-customers
'
:
i
=
'
dep-
'
break
;
}
return
i
},
selectAuthorityFn
(){
return
(
val
)
=>
{
let
t
=
val
.
split
(
"
:
"
)
t
[
t
.
length
-
1
]
=
this
.
authorityFn
+
t
[
t
.
length
-
1
]
return
t
.
join
(
"
:
"
)
}
}
}
},
},
watch
:{
watch
:{
...
@@ -680,7 +696,6 @@ export default {
...
@@ -680,7 +696,6 @@ export default {
},
},
/** 查询列表 */
/** 查询列表 */
getList
()
{
getList
()
{
console
.
log
(
this
.
$route
.
path
,
'
path
'
)
this
.
loading
=
true
;
this
.
loading
=
true
;
// 处理查询参数
// 处理查询参数
let
params
=
{...
this
.
queryParams
};
let
params
=
{...
this
.
queryParams
};
...
...
src/views/ecw/customer/indirectCustomer.vue
View file @
b2dcf129
...
@@ -31,8 +31,7 @@
...
@@ -31,8 +31,7 @@
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['ecw:customer:indirect-export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -79,7 +78,7 @@
...
@@ -79,7 +78,7 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-user"
@
click=
"delay(scope.row)"
>
{{
$t
(
'
完善
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:indirect:perfect']"
size=
"mini"
type=
"text"
icon=
"el-icon-user"
@
click=
"delay(scope.row)"
>
{{
$t
(
'
完善
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/customer/query.vue
View file @
b2dcf129
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
<div
style=
"display: flex;justify-content: space-between;align-items: flex-end;"
>
<div
style=
"display: flex;justify-content: space-between;align-items: flex-end;"
>
<h2>
{{
$t
(
'
查看
'
)
}}
</h2>
<h2>
{{
$t
(
'
查看
'
)
}}
</h2>
<div>
<div>
<el-button
type=
"primary"
size=
"small"
@
click=
"$router.push('/customer/edit/' + id)"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
v-has-permi=
"['ecw:customer:query-edit']"
@
click=
"$router.push('/customer/edit/' + id)"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
@
click=
"$router.push('/offer/create')"
type=
"primary"
size=
"small"
>
{{
$t
(
'
报价
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:query-quoted-price']"
@
click=
"$router.push('/offer/create')"
type=
"primary"
size=
"small"
>
{{
$t
(
'
报价
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"$refs['customerFollow'].customerFollow.dialogVisible = true"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:query-follow-up']"
type=
"primary"
size=
"small"
@
click=
"$refs['customerFollow'].customerFollow.dialogVisible = true"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"$refs['customerComplaint'].handleAdd()"
>
{{
$t
(
'
客诉
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:query-customer-complaint']"
type=
"primary"
size=
"small"
@
click=
"$refs['customerComplaint'].handleAdd()"
>
{{
$t
(
'
客诉
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:customer:delete']"
type=
"danger"
size=
"small"
@
click=
"deleteCustomerFn()"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:customer:
query-
delete']"
type=
"danger"
size=
"small"
@
click=
"deleteCustomerFn()"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
</div>
</div>
</div>
</div>
<el-card
style=
"margin-top: 15px;"
>
<el-card
style=
"margin-top: 15px;"
>
...
@@ -466,7 +466,6 @@ export default {
...
@@ -466,7 +466,6 @@ export default {
CustomerComplaint
CustomerComplaint
}
,
}
,
created
()
{
created
()
{
this
.
permissions
//获取信用类型
//获取信用类型
getCreditRulePage
({
page
:
1
,
rows
:
999
,
type
:
2
}
).
then
(
r
=>
{
getCreditRulePage
({
page
:
1
,
rows
:
999
,
type
:
2
}
).
then
(
r
=>
{
this
.
creditTypeList
=
r
.
data
.
list
this
.
creditTypeList
=
r
.
data
.
list
...
...
src/views/ecw/customerCommission/index.vue
View file @
b2dcf129
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<div
style=
"flex: 1"
>
<div
style=
"flex: 1"
>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button></div>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button></div>
<div
style=
"flex: 1; text-align: right;"
>
<div
style=
"flex: 1; text-align: right;"
v-has-permi=
"['ecw:customer:commission-set']"
>
<router-link
:to=
"'/customerCommissionInfo/'+ 0 "
>
<router-link
:to=
"'/customerCommissionInfo/'+ 0 "
>
<el-button
type=
"primary"
>
{{
$t
(
'
佣金设置
'
)
}}
</el-button>
<el-button
type=
"primary"
>
{{
$t
(
'
佣金设置
'
)
}}
</el-button>
</router-link>
</router-link>
...
@@ -126,8 +126,8 @@
...
@@ -126,8 +126,8 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-view"
@
click=
"handleUpdate(scope.row)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:commission-query']"
size=
"mini"
type=
"text"
icon=
"el-icon-view"
@
click=
"handleUpdate(scope.row)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:commission-delete']"
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/customerConfirm/index.vue
View file @
b2dcf129
...
@@ -67,11 +67,11 @@
...
@@ -67,11 +67,11 @@
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"$router.push(
{path:'/customer/add-edit/0',query:{isCustomerServiceConfirmed:true,}})"
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"$router.push(
{path:'/customer/add-edit/0',query:{isCustomerServiceConfirmed:true,}})"
v-hasPermi="['ecw:customer:create']">
{{
$t
(
'
新增
'
)
}}
</el-button>
v-hasPermi="['ecw:customer:
treat-
create']">
{{
$t
(
'
新增
'
)
}}
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['ecw:customer:export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
treat-
export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
</el-col>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
...
@@ -117,16 +117,16 @@
...
@@ -117,16 +117,16 @@
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleConfirmService(scope.row)"
<el-button
size=
"mini"
type=
"text"
@
click=
"handleConfirmService(scope.row)"
v-hasPermi=
"['ecw:customer:
update
']"
>
{{
$t
(
'
确认接收
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
treat-accept
']"
>
{{
$t
(
'
确认接收
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handOver(scope.row)"
<el-button
size=
"mini"
type=
"text"
@
click=
"handOver(scope.row)"
v-hasPermi=
"['ecw:customer:
update
']"
>
{{
$t
(
'
移交
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
treat-transfer
']"
>
{{
$t
(
'
移交
'
)
}}
</el-button>
<router-link
style=
"margin: 0 10px;"
to=
"/offer/create"
>
<router-link
style=
"margin: 0 10px;"
to=
"/offer/create"
>
<el-button
size=
"mini"
type=
"text"
>
<el-button
v-has-permi=
"['ecw:customer:treat-quoted-price']"
size=
"mini"
type=
"text"
>
{{
$t
(
'
报价
'
)
}}
{{
$t
(
'
报价
'
)
}}
</el-button>
</el-button>
</router-link>
</router-link>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleUpdate(scope.row)"
<el-button
size=
"mini"
type=
"text"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['ecw:customer:
update
']"
>
{{
$t
(
'
完善
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
treat-perfect
']"
>
{{
$t
(
'
完善
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/customerToBeAssigned/index.vue
View file @
b2dcf129
...
@@ -68,16 +68,16 @@
...
@@ -68,16 +68,16 @@
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['ecw:customer:create']"
>
{{
$t
(
'
新增
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
distribution-
create']"
>
{{
$t
(
'
新增
'
)
}}
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['ecw:customer:export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
distribution-
export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
:disabled=
"selectCustomerList.length === 0"
type=
"primary"
size=
"mini"
@
click=
"batchTransferShow = true;"
<el-button
:disabled=
"selectCustomerList.length === 0"
type=
"primary"
size=
"mini"
@
click=
"batchTransferShow = true;"
v-hasPermi=
"['ecw:customer:
export
']"
>
{{
$t
(
'
批量移交
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
distribution-transfer
']"
>
{{
$t
(
'
批量移交
'
)
}}
</el-button>
</el-col>
</el-col>
</el-col>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
...
@@ -125,11 +125,11 @@
...
@@ -125,11 +125,11 @@
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['ecw:customer:update']"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
distribution-
update']"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['ecw:customer:delete']"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:d
istribution-d
elete']"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"distribution(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"distribution(scope.row)"
v-hasPermi=
"['ecw:customer:d
elet
e']"
>
{{
$t
(
'
分配客服
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:d
istribution-customer-servic
e']"
>
{{
$t
(
'
分配客服
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/financial/bankDetail.vue
0 → 100644
View file @
b2dcf129
<
template
>
<div
class=
"app-container"
>
<el-card>
<div
slot=
"header"
class=
"card-title"
>
{{
$t
(
'
银行实收明细详情
'
)
}}
</div>
<el-form
ref=
"addForm"
:data=
"addForm"
label-width=
"250px"
>
<el-form-item
:label=
"$t('收款单号')"
>
{{
form
.
receiptNo
}}
</el-form-item>
<el-form-item
:label=
"$t('剩余应收金额')"
>
<template
v-if=
"surplusData.length==0"
>
0
</
template
>
<div
v-if=
"surplusData.length>0"
>
<div
v-for=
"(amount, currency) in surplusData"
:key=
"currency"
>
<span
v-if=
"amount"
>
{{amount}}{{getCurrencyLabel(currency)}}
</span>
</div>
</div>
</el-form-item>
<el-form-item
:label=
"$t('收款账户')"
prop=
"accountNo"
>
<span>
{{ addForm.accountNo }}
</span>
</el-form-item>
<el-form-item
:label=
"$t('实收日期')"
prop=
"amountDate"
>
<span>
{{ addForm.amountDate }}
</span>
</el-form-item>
<div
style=
"display: flex;"
>
<el-form-item
:label=
"$t('实收')"
prop=
"amount"
>
<span>
{{ addForm.amount }}
</span>
</el-form-item>
<el-form-item
label-width=
"0px"
prop=
"currencyId"
>
<el-select
v-model=
"addForm.currencyId"
:disabled=
"true"
>
<el-option
v-for=
"item in currencyList"
:key=
"item.id"
:label=
"$i18n.locale=='zh_CN'?item.titleZh:item.titleEn"
:value=
"item.id"
/>
</el-select>
</el-form-item>
</div>
<el-form-item
v-if=
"showCurrencyId != addForm.currencyId"
prop=
"rate"
>
<
template
slot=
"label"
>
<span
:title=
"$t('实收币种与核销基准币种一样时,无需填写汇率,不一样需要填写汇率')"
>
{{
$t
(
'
兑核销基准币种汇率
'
)
}}
(
{{
getCurrencyLabel
(
showCurrencyId
)
}}
)
</span>
</
template
>
<span>
{{ addForm.rate}}
</span>
</el-form-item>
<el-form-item
v-if=
"showCurrencyId != addForm.currencyId"
>
<
template
slot=
"label"
>
{{
$t
(
'
兑核销基准币种金额
'
)
}}
(
{{
getCurrencyLabel
(
showCurrencyId
)
}}
)
</
template
>
<span>
{{ addForm.writeOffAmount?parseFloat(addForm.writeOffAmount).toFixed(6):'' }}
</span>
</el-form-item>
<el-form-item
:label=
"$t('水单附件')"
prop=
"attr"
>
<div>
<div
v-for=
"(v, i) in addForm.attr"
:key=
"i"
><el-link
:href=
"v.url"
type=
"primary"
target=
"_blank"
>
{{ v.name }}
</el-link></div>
</div>
</el-form-item>
<el-form-item
:label=
"$t('水单号')"
prop=
"billNo"
>
<span>
{{ addForm.billNo }}
</span>
</el-form-item>
</el-form>
</el-card>
<div
slot=
"header"
class=
"bpm-title"
>
{{ $t('审核流程') }}
</div>
<work-flow
xmlkey=
"merge_order"
v-model=
"selectedUsers"
></work-flow>
<div
slot=
"footer"
style=
"margin: 20px 0"
>
<el-button
type=
"primary"
@
click=
"submitForm(0)"
>
{{$t('提交审核')}}
</el-button>
<el-button
type=
"primary"
@
click=
"$store.dispatch('tagsView/delCurrentView')"
>
{{ $t('关闭') }}
</el-button>
</div>
</div>
</template>
<
script
>
import
{
getReceivableItem
,
getInvoicingItem
,
getReceiptAccountList
,
getReceiptInfoByIds
}
from
"
@/api/ecw/financial
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
WorkFlow
from
'
@/components/WorkFlow/
'
import
NP
from
'
number-precision
'
export
default
{
components
:
{
WorkFlow
},
data
()
{
return
{
addForm
:{},
id
:
0
,
detailed
:[],
currencyList
:
[],
surplusData
:[],
receiptAccountList
:[],
selectedUsers
:[],
list
:[],
params
:
{
page
:
1
,
rows
:
20
,
},
bankId
:
0
,
form
:{}
}
},
async
created
()
{
if
(
this
.
$route
.
query
.
id
)
{
this
.
id
=
this
.
$route
.
query
.
id
;
}
if
(
this
.
$route
.
query
.
bankId
)
{
this
.
bankId
=
this
.
$route
.
query
.
bankId
;
}
await
getInvoicingItem
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
list
=
[...
res
.
data
]
})
await
getReceiptAccountList
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
receiptAccountList
=
[...
res
.
data
]
})
await
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
await
this
.
getList
()
await
getReceiptInfoByIds
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
form
=
res
.
data
})
},
methods
:{
getList
()
{
getReceivableItem
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
detailed
=
res
.
data
.
map
(
v
=>
({
...
v
,
amountDate
:
this
.
parseTime
(
v
.
amountDate
,
'
{y}-{m}-{d}
'
),
accountNo
:
+
v
.
accountNo
,
rate
:
parseFloat
(
v
.
rate
).
toFixed
(
6
),
attr
:
v
.
attr
?
v
.
attr
.
split
(
'
,
'
).
map
(
t
=>
({
name
:
t
.
slice
(
t
.
lastIndexOf
(
'
/
'
)
+
1
),
url
:
t
}))
:
[]
}))
this
.
addForm
=
this
.
detailed
.
find
((
itt
)
=>
itt
.
id
==
this
.
bankId
);
this
.
handleAddReceiptItem
()
})
},
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
this
.
$i18n
.
locale
==
'
zh_CN
'
?
label
[
0
].
titleZh
:
label
[
0
].
titleEn
return
''
},
handleAddReceiptItem
()
{
this
.
surplusData
=
[]
// 已收
let
recepted
=
[]
this
.
detailed
.
forEach
(
item
=>
{
if
(
!
recepted
[
item
.
currencyId
]){
recepted
[
item
.
currencyId
]
=
item
.
amount
}
else
recepted
[
item
.
currencyId
]
=
NP
.
plus
(
recepted
[
item
.
currencyId
],
item
.
amount
)
})
console
.
log
(
'
rece
'
,
recepted
)
// 应收
let
collom
=
[]
// 从期望收费金额中提取应收币种和金额
this
.
currencyList
.
forEach
((
item
,
index
)
=>
{
var
nairaListByList
=
this
.
list
.
filter
(
v
=>
v
.
currencyId
===
item
.
id
)
if
(
nairaListByList
.
length
>
0
){
var
discountNaira
=
nairaListByList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
discountTotal
||
0
),
0
)
}
var
dollarList
=
this
.
receiptAccountList
.
filter
(
v
=>
v
.
collectionCurrencyId
==
item
.
id
)
if
(
dollarList
.
length
>
0
){
var
dollar
=
dollarList
.
reduce
((
total
,
currentValue
)
=>
NP
.
plus
(
total
,
currentValue
.
collectionAmount
),
0
).
toFixed
(
2
)
if
(
dollar
){
collom
[
item
.
id
]
=
dollar
}
else
{
collom
.
push
(
0
)
}
}
})
console
.
log
(
'
collom
'
,
collom
)
recepted
.
forEach
((
amount
,
currency
)
=>
{
if
(
amount
){
if
(
collom
[
currency
]){
if
((
collom
[
currency
]
-
amount
)
!=
0
)
this
.
surplusData
[
currency
]
=
+
parseFloat
((
collom
[
currency
]
-
amount
).
toPrecision
(
12
))
}
else
{
this
.
surplusData
[
currency
]
=
-
amount
}
}
})
collom
.
forEach
((
amount
,
currency
)
=>
{
if
(
amount
){
if
(
!
this
.
surplusData
[
currency
]){
if
(
recepted
[
currency
]){
if
((
amount
-
recepted
[
currency
])
!=
0
)
this
.
surplusData
[
currency
]
=
+
parseFloat
((
amount
-
recepted
[
currency
]).
toPrecision
(
12
))
}
else
{
this
.
surplusData
[
currency
]
=
amount
}
}
}
})
},
},
computed
:
{
showCurrencyId
()
{
let
fieldList
=
[];
let
groupList
=
[];
this
.
list
.
map
((
element
)
=>
{
if
(
fieldList
.
indexOf
(
element
[
'
currencyId
'
])
===-
1
){
fieldList
.
push
(
element
[
'
currencyId
'
])
}
})
for
(
let
i
=
0
;
i
<
fieldList
.
length
;
i
++
){
let
arr
=
this
.
list
.
filter
((
element
)
=>
{
return
element
[
'
currencyId
'
]
===
fieldList
[
i
];
})
groupList
.
push
({
currencyId
:
arr
[
0
].
currencyId
,
list
:
arr
})
}
if
(
groupList
.
length
===
1
)
return
groupList
[
0
].
currencyId
else
return
1
},
}
}
</
script
>
<
style
>
.card
{
margin-top
:
20px
;
}
.dialog-footer
{
text-align
:
left
;
}
.card-title
{
font-size
:
18px
;
font-weight
:
bold
;
}
.bpm-title
{
font-size
:
20px
;
font-weight
:
bold
;
color
:
#666
;
margin
:
20px
0
;
}
</
style
>
src/views/ecw/financial/creatPayment.vue
View file @
b2dcf129
...
@@ -248,8 +248,15 @@
...
@@ -248,8 +248,15 @@
</el-descriptions>
</el-descriptions>
</el-form>
</el-form>
</el-card>
</el-card>
<!-- <div slot="header" class="bpm-title">{{ $t('审核流程') }}</div>
<work-flow xmlkey="merge_order" v-model="selectedUsers"></work-flow>
<div slot="footer" style="margin: 20px 0">
<el-button type="primary" @click="submitForm(0)">{{$t('提交审核')}}</el-button>
<el-button type="primary" @click="$store.dispatch('tagsView/delCurrentView')">{{ $t('关闭') }}</el-button>
</div> -->
<div
slot=
"footer"
style=
"margin: 20px 0"
>
<div
slot=
"footer"
style=
"margin: 20px 0"
>
<
!-- <el-button type="primary" @click="submitDraft">{{ $t('保 存') }}</el-button> --
>
<
el-button
type=
"primary"
@
click=
"submitDraft"
>
{{ $t('保 存') }}
</el-button
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
{{id==0?$t('新增'):$t('编辑')}}
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
>
{{id==0?$t('新增'):$t('编辑')}}
</el-button>
</div>
</div>
<el-dialog
<el-dialog
...
@@ -312,7 +319,7 @@
...
@@ -312,7 +319,7 @@
/>
/>
</el-form-item>
</el-form-item>
<!-- </el-row> -->
<!-- </el-row> -->
<
!-- <
el-form-item :label="$t('出货渠道')">
<el-form-item
:label=
"$t('出货渠道')"
>
<el-select
<el-select
v-model=
"queryParams.channelId"
v-model=
"queryParams.channelId"
:placeholder=
"$t('请选择出货渠道')"
:placeholder=
"$t('请选择出货渠道')"
...
@@ -326,8 +333,8 @@
...
@@ -326,8 +333,8 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<
el-row
>
<
!-- <el-row> --
>
<el-form-item :label="$t('报关方式')">
<!--
<el-form-item :label="$t('报关方式')">
<dict-selector
<dict-selector
:type="DICT_TYPE.ECW_CUSTOMS_TYPE"
:type="DICT_TYPE.ECW_CUSTOMS_TYPE"
v-model="queryParams.customsType"
v-model="queryParams.customsType"
...
@@ -345,20 +352,21 @@
...
@@ -345,20 +352,21 @@
@change="consignor = $event"
@change="consignor = $event"
/>
/>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
-->
<el-form-item :label="$t('订单
编
号')" prop="orderNo">
<el-form-item
:label=
"$t('订单号')"
prop=
"orderNo"
>
<el-input
<el-input
v-model=
"queryParams.orderNo"
v-model=
"queryParams.orderNo"
:placeholder="$t('请输入订单
编
号')"
:placeholder=
"$t('请输入订单号')"
clearable
clearable
/>
/>
</el-form-item>
-->
</el-form-item>
<el-form-item
:label=
"$t('
自
编号')"
prop=
"selfNo"
>
<el-form-item
:label=
"$t('
业务
编号')"
prop=
"selfNo"
>
<el-input
<el-input
v-model=
"queryParams.selfNo"
v-model=
"queryParams.selfNo"
:placeholder=
"$t('请输入
自
编号')"
:placeholder=
"$t('请输入
业务
编号')"
clearable
clearable
@
blur=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
...
@@ -377,7 +385,7 @@
...
@@ -377,7 +385,7 @@
row-key=
"id"
row-key=
"id"
>
>
<el-table-column
type=
"selection"
width=
"55"
:reserve-selection=
"true"
>
</el-table-column>
<el-table-column
type=
"selection"
width=
"55"
:reserve-selection=
"true"
>
</el-table-column>
<el-table-column
:label=
"$t('
自
编号')"
align=
"center"
prop=
"payableNo"
/>
<el-table-column
:label=
"$t('
业务
编号')"
align=
"center"
prop=
"payableNo"
/>
<el-table-column
:label=
"$t('货柜号')"
align=
"center"
prop=
"containerNo"
/>
<el-table-column
:label=
"$t('货柜号')"
align=
"center"
prop=
"containerNo"
/>
<el-table-column
:label=
"$t('供应商')"
align=
"center"
prop=
"supplierName"
/>
<el-table-column
:label=
"$t('供应商')"
align=
"center"
prop=
"supplierName"
/>
<el-table-column
:label=
"$t('费用类型')"
align=
"center"
prop=
"feeType"
>
<el-table-column
:label=
"$t('费用类型')"
align=
"center"
prop=
"feeType"
>
...
@@ -425,11 +433,12 @@ import { getPayableList, getPayableInfoByIds, createPayment, getPaymentInfoByIds
...
@@ -425,11 +433,12 @@ import { getPayableList, getPayableInfoByIds, createPayment, getPaymentInfoByIds
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
NP
from
'
number-precision
'
import
NP
from
'
number-precision
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
WorkFlow
from
'
@/components/WorkFlow/
'
export
default
{
export
default
{
name
:
"
CreatPayment
"
,
name
:
"
CreatPayment
"
,
components
:
{
components
:
{
CustomerSelector
CustomerSelector
,
WorkFlow
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -461,6 +470,7 @@ export default {
...
@@ -461,6 +470,7 @@ export default {
allSupplier
:
[],
allSupplier
:
[],
currencyList
:
[],
currencyList
:
[],
warehouseList
:[],
warehouseList
:[],
selectedUsers
:[]
};
};
},
},
async
created
()
{
async
created
()
{
...
@@ -822,4 +832,10 @@ export default {
...
@@ -822,4 +832,10 @@ export default {
font-size
:
18px
;
font-size
:
18px
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.bpm-title
{
font-size
:
20px
;
font-weight
:
bold
;
color
:
#666
;
margin
:
20px
0
;
}
</
style
>
</
style
>
src/views/ecw/financial/payable.vue
View file @
b2dcf129
...
@@ -120,6 +120,7 @@
...
@@ -120,6 +120,7 @@
<el-button
<el-button
style=
"margin-left: 10px"
style=
"margin-left: 10px"
type=
"success"
type=
"success"
v-hasPermi=
"['ecw:payable:create']"
@
click=
"handleAdd(0)"
@
click=
"handleAdd(0)"
>
{{
$t
(
'
新增请款单
'
)
}}
</el-button
>
{{
$t
(
'
新增请款单
'
)
}}
</el-button
>
>
...
@@ -153,13 +154,15 @@
...
@@ -153,13 +154,15 @@
class-name=
"small-padding fixed-width"
class-name=
"small-padding fixed-width"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"editClick(scope.row)"
<el-button
>
{{
$t
(
'
编辑
'
)
}}
</el-button
size=
"mini"
>
type=
"text"
<el-button
size=
"mini"
type=
"text"
@
click=
"handleAdd(scope.row.id)"
v-hasPermi=
"['ecw:payable:edit']"
>
{{
$t
(
'
请款
'
)
}}
</el-button
@
click=
"editClick(scope.row)"
>
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"deleteClick(scope.row)"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:payable:add']"
@
click=
"handleAdd(scope.row.id)"
>
{{
$t
(
'
请款
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:payable:delete']"
@
click=
"deleteClick(scope.row)"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/financial/paymentVoucher.vue
View file @
b2dcf129
...
@@ -141,17 +141,17 @@
...
@@ -141,17 +141,17 @@
class
-
name
=
"
small-padding fixed-width
"
class
-
name
=
"
small-padding fixed-width
"
>
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
v
-
if
=
"
scope.row.state == 1 || scope.row.state == 3
"
size
=
"
mini
"
@
click
=
"
handleAdd(scope.row.id)
"
type
=
"
text
"
>
{{
$t
(
'
编辑
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 1 || scope.row.state == 3
"
size
=
"
mini
"
@
click
=
"
handleAdd(scope.row.id)
"
v
-
hasPermi
=
"
['ecw:paymentVoucher:edit']
"
type
=
"
text
"
>
{{
$t
(
'
编辑
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 1 || scope.row.state == 3
"
size
=
"
mini
"
v
-
hasPermi
=
"
['ecw:payment
:update
']
"
type
=
"
text
"
@
click
=
"
examineClick(scope.row.id)
"
>
{{
$t
(
'
审核
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 1 || scope.row.state == 3
"
size
=
"
mini
"
v
-
hasPermi
=
"
['ecw:payment
Voucher:process
']
"
type
=
"
text
"
@
click
=
"
examineClick(scope.row.id)
"
>
{{
$t
(
'
审核
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 2
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:payment
:update
']
"
@
click
=
"
verifyCancelClick(scope.row)
"
>
{{
$t
(
'
反审核
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 2
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:payment
Voucher:print
']
"
@
click
=
"
verifyCancelClick(scope.row)
"
>
{{
$t
(
'
反审核
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 2
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:payment
:update
']
"
@
click
=
"
verificationClick(scope.row)
"
>
{{
$t
(
'
核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 2
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:payment
Voucher:writeOff
']
"
@
click
=
"
verificationClick(scope.row)
"
>
{{
$t
(
'
核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 4
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:payment
:update
']
"
@
click
=
"
verificationCancelClick(scope.row)
"
>
{{
$t
(
'
反核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 4
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:payment
Voucher:cancelWriteOff
']
"
@
click
=
"
verificationCancelClick(scope.row)
"
>
{{
$t
(
'
反核销
'
)
}}
<
/el-button
>
<!--
<
el
-
button
v
-
if
=
"
scope.row.state == 3
"
size
=
"
mini
"
type
=
"
text
"
>
{{
$t
(
'
开票
'
)
}}
<
/el-button> --
>
<!--
<
el
-
button
v
-
if
=
"
scope.row.state == 3
"
size
=
"
mini
"
type
=
"
text
"
>
{{
$t
(
'
开票
'
)
}}
<
/el-button> --
>
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
toprint(scope.row.id)
"
v
-
hasPermi
=
"
['ecw:payment
:query
']
"
>
{{
$t
(
'
打印
'
)
}}
<
/el-button
>
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
toprint(scope.row.id)
"
v
-
hasPermi
=
"
['ecw:payment
Voucher:print
']
"
>
{{
$t
(
'
打印
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 1 || scope.row.state == 3
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:payment:delete']
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 1 || scope.row.state == 3
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:payment
Voucher
:delete']
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<!--
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
open = true
"
>
{{
$t
(
'
导出订单
'
)
}}
<
/el-button> --
>
<!--
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
open = true
"
>
{{
$t
(
'
导出订单
'
)
}}
<
/el-button> --
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
b2dcf129
...
@@ -218,8 +218,8 @@
...
@@ -218,8 +218,8 @@
<
el
-
card
class
=
"
card
"
>
<
el
-
card
class
=
"
card
"
>
<
div
slot
=
"
header
"
class
=
"
card-title
"
>
{{
$t
(
'
银行收款明细
'
)
}}
<
/div
>
<
div
slot
=
"
header
"
class
=
"
card-title
"
>
{{
$t
(
'
银行收款明细
'
)
}}
<
/div
>
<
div
>
<
div
>
<
el
-
button
type
=
"
primary
"
plain
size
=
"
mini
"
@
click
=
"
batchVerification
"
v
-
hasPermi
=
"
['ecw:
verification:update
']
"
style
=
"
padding: 10px; margin-bottom: 10px
"
>
{{
$t
(
'
批量核销
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
plain
size
=
"
mini
"
@
click
=
"
batchVerification
"
v
-
hasPermi
=
"
['ecw:
payment:detail:batchWriteOff
']
"
style
=
"
padding: 10px; margin-bottom: 10px
"
>
{{
$t
(
'
批量核销
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
plain
size
=
"
mini
"
@
click
=
"
handleAddReceiptItem
"
style
=
"
padding: 10px; margin-bottom: 10px
"
>
{{
$t
(
'
添加收款明细
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
plain
size
=
"
mini
"
@
click
=
"
handleAddReceiptItem
"
v
-
hasPermi
=
"
['ecw:payment:detail:addBank']
"
style
=
"
padding: 10px; margin-bottom: 10px
"
>
{{
$t
(
'
添加收款明细
'
)
}}
<
/el-button
>
<
/div
>
<
/div
>
<
el
-
table
ref
=
"
multipleTable
"
:
data
=
"
detailed
"
border
row
-
key
=
"
id
"
@
selection
-
change
=
"
handleSelectionChange
"
>
<
el
-
table
ref
=
"
multipleTable
"
:
data
=
"
detailed
"
border
row
-
key
=
"
id
"
@
selection
-
change
=
"
handleSelectionChange
"
>
<
el
-
table
-
column
type
=
"
selection
"
width
=
"
50
"
:
reserve
-
selection
=
"
true
"
>
<
/el-table-column
>
<
el
-
table
-
column
type
=
"
selection
"
width
=
"
50
"
:
reserve
-
selection
=
"
true
"
>
<
/el-table-column
>
...
@@ -256,11 +256,11 @@
...
@@ -256,11 +256,11 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('操作')
"
align
=
"
center
"
width
=
"
200
"
>
<
el
-
table
-
column
:
label
=
"
$t('操作')
"
align
=
"
center
"
width
=
"
200
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
v
-
hasPermi
=
"
['ecw:payment:detail:delete']
"
type
=
"
text
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
text
"
@
click
=
"
detailClick(scope.row)
"
>
{{
$t
(
'
详情
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
text
"
@
click
=
"
detailClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:payment:detail:detail']
"
>
{{
$t
(
'
详情
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
verificationClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:
verification:update
']
"
>
{{
$t
(
'
核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
verificationClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:
payment:detail:writeOff
']
"
>
{{
$t
(
'
核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 1
"
type
=
"
text
"
@
click
=
"
verificationCancelClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:
verification:update
']
"
>
{{
$t
(
'
反核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 1
"
type
=
"
text
"
@
click
=
"
verificationCancelClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:
payment:detail:cancelWriteOff
']
"
>
{{
$t
(
'
反核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
editClick(scope.row)
"
>
{{
$t
(
'
编辑
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
editClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:payment:detail:bankEdit']
"
>
{{
$t
(
'
编辑
'
)
}}
<
/el-button
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
...
@@ -306,8 +306,8 @@
...
@@ -306,8 +306,8 @@
<
/el-descriptions
>
<
/el-descriptions
>
<
/el-card
>
<
/el-card
>
<
div
slot
=
"
footer
"
style
=
"
margin: 20px 0
"
>
<
div
slot
=
"
footer
"
style
=
"
margin: 20px 0
"
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
toEdit
"
>
{{
$t
(
'
编辑
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
toEdit
"
v
-
hasPermi
=
"
['ecw:payment:detail:edit']
"
>
{{
$t
(
'
编辑
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
verificationAll
"
v
-
hasPermi
=
"
['ecw:
verification:update
']
"
>
{{
$t
(
'
全部核销
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
verificationAll
"
v
-
hasPermi
=
"
['ecw:
payment:detail:allWriteOff
']
"
>
{{
$t
(
'
全部核销
'
)
}}
<
/el-button
>
<
/div
>
<
/div
>
<
el
-
dialog
v
-
if
=
"
openAddDialog
"
:
visible
.
sync
=
"
openAddDialog
"
:
title
=
"
dialogTitle
"
width
=
"
50%
"
append
-
to
-
body
>
<
el
-
dialog
v
-
if
=
"
openAddDialog
"
:
visible
.
sync
=
"
openAddDialog
"
:
title
=
"
dialogTitle
"
width
=
"
50%
"
append
-
to
-
body
>
<
div
style
=
"
padding: 0 24px
"
>
<
div
style
=
"
padding: 0 24px
"
>
...
...
src/views/ecw/financial/receivable.vue
View file @
b2dcf129
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
style=
"float: right; margin-left: 10px"
style=
"float: right; margin-left: 10px"
type=
"primary"
type=
"primary"
size=
"mini"
size=
"mini"
v-hasPermi=
"['ecw:receivable:add']"
@
click=
"handleAdd(0)"
@
click=
"handleAdd(0)"
>
{{
$t
(
'
新增收款单
'
)
}}
</el-button
>
{{
$t
(
'
新增收款单
'
)
}}
</el-button
>
>
...
@@ -232,9 +233,7 @@
...
@@ -232,9 +233,7 @@
class-name=
"small-padding fixed-width"
class-name=
"small-padding fixed-width"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleAdd(scope.row.id)"
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:receivable:collection']"
@
click=
"handleAdd(scope.row.id)"
>
{{
$t
(
'
收款
'
)
}}
</el-button>
>
{{
$t
(
'
收款
'
)
}}
</el-button
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/financial/voucher.vue
View file @
b2dcf129
...
@@ -74,11 +74,11 @@
...
@@ -74,11 +74,11 @@
<span>
{{
scope
.
$index
+
1
}}
</span>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('收款单号')"
align=
"center"
prop=
"receiptNo"
>
<el-table-column
:label=
"$t('收款单号')"
align=
"center"
prop=
"receiptNo"
/
>
<
template
slot-scope=
"scope"
>
<
!-- <template slot-scope="scope"> --
>
<
span
style=
"color: #1890ff;"
@
click=
"verificationCancelClick(scope.row)"
>
{{
scope
.
row
.
receiptNo
}}
</span
>
<
!-- <span style="color: #1890ff;" @click="verificationCancelClick(scope.row)">{{scope.row.receiptNo}}</span> --
>
<
/
template
>
<
!-- </template> --
>
<
/el-table-column
>
<
!-- </el-table-column> --
>
<el-table-column
:label=
"$t('客户名称')"
align=
"center"
prop=
"customerName"
/>
<el-table-column
:label=
"$t('客户名称')"
align=
"center"
prop=
"customerName"
/>
<el-table-column
:label=
"$t('创建日期')"
align=
"center"
prop=
"createTime"
>
<el-table-column
:label=
"$t('创建日期')"
align=
"center"
prop=
"createTime"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -110,10 +110,17 @@
...
@@ -110,10 +110,17 @@
class
-
name
=
"
small-padding fixed-width
"
class
-
name
=
"
small-padding fixed-width
"
>
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:see']
"
@
click
=
"
verificationCancelClick(scope.row)
"
>
{{
$t
(
'
查看
'
)
}}
<
/el-button
>
<
el
-
button
<
el
-
button
v
-
if
=
"
scope.row.state === 0 || scope.row.state == 1 || scope.row.state == 2 || scope.row.state == 3
"
v
-
if
=
"
scope.row.state === 0 || scope.row.state == 1 || scope.row.state == 2 || scope.row.state == 3
"
size
=
"
mini
"
size
=
"
mini
"
type
=
"
text
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:edit']
"
@
click
=
"
handleAdd(scope.row.id)
"
@
click
=
"
handleAdd(scope.row.id)
"
>
{{
$t
(
'
编辑
'
)
}}
<
/el-butto
n
>
{{
$t
(
'
编辑
'
)
}}
<
/el-butto
n
>
>
...
@@ -128,31 +135,33 @@
...
@@ -128,31 +135,33 @@
v
-
if
=
"
scope.row.state == 4 || scope.row.state == 5 || scope.row.state == 6
"
v
-
if
=
"
scope.row.state == 4 || scope.row.state == 5 || scope.row.state == 6
"
size
=
"
mini
"
size
=
"
mini
"
type
=
"
text
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:cancelWriteOff']
"
@
click
=
"
verificationCancelClick(scope.row)
"
@
click
=
"
verificationCancelClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:verification:update']
"
>
{{
$t
(
'
反核销
'
)
}}
<
/el-butto
n
>
{{
$t
(
'
反核销
'
)
}}
<
/el-butto
n
>
>
<
el
-
button
<
el
-
button
v
-
if
=
"
scope.row.state == 5
"
v
-
if
=
"
scope.row.state == 5
"
size
=
"
mini
"
size
=
"
mini
"
type
=
"
text
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:ballot']
"
@
click
=
"
openInvoice(scope.row.id)
"
@
click
=
"
openInvoice(scope.row.id)
"
>
{{
$t
(
'
开票
'
)
}}
<
/el-butto
n
>
{{
$t
(
'
开票
'
)
}}
<
/el-butto
n
>
>
<
el
-
button
v
-
if
=
"
scope.row.state == 1 || scope.row.state == 2 || scope.row.state == 3
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
verificationCancelClick(scope.row)
"
>
{{
$t
(
'
收款
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 1 || scope.row.state == 2 || scope.row.state == 3
"
v
-
hasPermi
=
"
['ecw:voucher:payment']
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
verificationCancelClick(scope.row)
"
>
{{
$t
(
'
收款
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
[0,1,2].indexOf(scope.row.state) > -1
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
[0,1,2].indexOf(scope.row.state) > -1
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:delete']
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<
el
-
button
<
el
-
button
v
-
if
=
"
scope.row.state != 0
"
v
-
if
=
"
scope.row.state != 0
"
size
=
"
mini
"
size
=
"
mini
"
type
=
"
text
"
type
=
"
text
"
@
click
=
"
toprint(scope.row.id)
"
@
click
=
"
toprint(scope.row.id)
"
v
-
hasPermi
=
"
['ecw:v
erification:create
']
"
v
-
hasPermi
=
"
['ecw:v
oucher:print
']
"
>
{{
$t
(
'
打印
'
)
}}
<
/el-butto
n
>
{{
$t
(
'
打印
'
)
}}
<
/el-butto
n
>
>
<
el
-
button
<
el
-
button
v
-
if
=
"
scope.row.state != 0
"
v
-
if
=
"
scope.row.state != 0
"
size
=
"
mini
"
size
=
"
mini
"
type
=
"
text
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:derive']
"
@
click
=
"
exportReceipt(scope.row.id)
"
@
click
=
"
exportReceipt(scope.row.id)
"
>
{{
$t
(
'
导出账单
'
)
}}
<
/el-butto
n
>
{{
$t
(
'
导出账单
'
)
}}
<
/el-butto
n
>
>
...
...
src/views/ecw/myCustomerService/index.vue
View file @
b2dcf129
...
@@ -63,11 +63,11 @@
...
@@ -63,11 +63,11 @@
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['ecw:customer:create']"
>
{{
$t
(
'
新增
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
my-
create']"
>
{{
$t
(
'
新增
'
)
}}
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['ecw:customer:export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
my-
export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
</el-col>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
...
@@ -119,15 +119,15 @@
...
@@ -119,15 +119,15 @@
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-view"
@
click=
"handleView(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-view"
@
click=
"handleView(scope.row)"
v-hasPermi=
"['ecw:customer:query']"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
my-
query']"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['ecw:customer:update']"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
my-
update']"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-collection"
@
click=
"followUp(scope.row)"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
<el-button
size=
"mini"
v-hasPermi=
"['ecw:customer:my-follow-up']"
type=
"text"
icon=
"el-icon-collection"
@
click=
"followUp(scope.row)"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-user"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-user"
v-hasPermi=
"['ecw:customer:
update
']"
@
click=
"complaint(scope.row)"
>
{{
$t
(
'
客诉
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
my-customer-complaint
']"
@
click=
"complaint(scope.row)"
>
{{
$t
(
'
客诉
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['ecw:customer:delete']"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
my-
delete']"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
:disabled=
"scope.row.isInOpenSea"
size=
"mini"
type=
"text"
icon=
"el-icon-user"
@
click=
"delay(scope.row)"
>
{{
$t
(
'
延期
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:my-postpone']"
:disabled=
"scope.row.isInOpenSea"
size=
"mini"
type=
"text"
icon=
"el-icon-user"
@
click=
"delay(scope.row)"
>
{{
$t
(
'
延期
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/oceanCustomer/index.vue
View file @
b2dcf129
...
@@ -68,11 +68,11 @@
...
@@ -68,11 +68,11 @@
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['ecw:customer:create']"
>
{{
$t
(
'
新增
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
sea-
create']"
>
{{
$t
(
'
新增
'
)
}}
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['ecw:customer:export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
v-hasPermi=
"['ecw:customer:
sea-
export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
</el-col>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
...
@@ -124,7 +124,7 @@
...
@@ -124,7 +124,7 @@
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<!--
<el-button
size=
"mini"
type=
"text"
@
click=
"distribution(scope.row)"
>
{{
$t
(
'
移交
'
)
}}
</el-button>
-->
<!--
<el-button
size=
"mini"
type=
"text"
@
click=
"distribution(scope.row)"
>
{{
$t
(
'
移交
'
)
}}
</el-button>
-->
<el-button
size=
"mini"
type=
"text"
@
click=
"fishingFn(scope.row)"
>
{{
$t
(
'
捞取
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:sea-gain']"
size=
"mini"
type=
"text"
@
click=
"fishingFn(scope.row)"
>
{{
$t
(
'
捞取
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/order/cargoControl.vue
View file @
b2dcf129
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<dict-selector
v-model=
"queryParams.isCargoControl"
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
fomatter=
"bool"
clearable
@
change=
"handleQuery"
/>
<dict-selector
v-model=
"queryParams.isCargoControl"
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
fomatter=
"bool"
clearable
@
change=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('订单状态')"
prop=
"status"
>
<el-form-item
:label=
"$t('订单状态')"
prop=
"status"
>
<dict-selector
:type=
"DICT_TYPE.ORDER_STATUS"
v-model=
"queryParams.status"
clearable
@
change=
"handleQuery"
/>
<dict-selector
:type=
"DICT_TYPE.
PAY_
ORDER_STATUS"
v-model=
"queryParams.status"
clearable
@
change=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('提单号')"
prop=
"tidanNo"
>
<el-form-item
:label=
"$t('提单号')"
prop=
"tidanNo"
>
<el-input
v-model=
"queryParams.tidanNo"
:placeholder=
"$t('提单号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.tidanNo"
:placeholder=
"$t('提单号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
...
@@ -58,22 +58,15 @@
...
@@ -58,22 +58,15 @@
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['ecw:order:export']"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<!-- 操作工具栏 -->
<!-- 操作工具栏 -->
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"12"
>
<el-col
:span=
"2"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-setting"
size=
"mini"
:disabled=
"multiple"
@
click=
"batchReview"
>
{{
$t
(
'
批量复核
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:cargo_control:batch_review']"
type=
"primary"
plain
icon=
"el-icon-setting"
size=
"mini"
:disabled=
"multiple"
@
click=
"batchReview"
>
{{
$t
(
'
批量复核
'
)
}}
</el-button>
<el-dropdown
v-hasPermi=
"['ecw:cargo:export:checked','ecw:cargo:export:search']"
class=
"ml-10"
>
<el-button
type=
"primary"
:loading=
"exportLoading"
size=
"mini"
>
导出
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
v-hasPermi=
"['ecw:cargo:export:checked']"
@
click.native=
"exportChecked"
>
导出勾选
</el-dropdown-item>
<el-dropdown-item
v-hasPermi=
"['ecw:cargo:export:search']"
@
click.native=
"exportSearch"
>
导出搜索
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</el-col>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
...
@@ -120,31 +113,31 @@
...
@@ -120,31 +113,31 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<!--控货中,已入仓-->
<!--控货中,已入仓-->
<template
v-if=
"[0,2].indexOf(scope.row.cargoControlStatus) > -1 && scope.row.sumNum > 0"
>
<template
v-if=
"[0,2].indexOf(scope.row.cargoControlStatus) > -1 && scope.row.sumNum > 0"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"showReleaseOrderId=scope.row.orderId"
>
{{
$t
(
'
放货
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showReleaseOrderId=scope.row.orderId"
v-hasPermi=
"['ecw:cargo_control:release']"
>
{{
$t
(
'
放货
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showTransferOrder = scope.row"
>
{{
$t
(
'
控货权转移
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showTransferOrder = scope.row"
v-hasPermi=
"['ecw:cargo_control:transfer']"
>
{{
$t
(
'
控货权转移
'
)
}}
</el-button>
</
template
>
</
template
>
<!--部分控货-->
<!--部分控货-->
<
template
v-if=
"scope.row.cargoControlStatus == 2"
>
<
template
v-if=
"scope.row.cargoControlStatus == 2"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['ecw:cargo_control:update']"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{
$t
(
'
取消
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['ecw:cargo_control:cancel']"
>
{{
$t
(
'
取消
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"review(scope.row)"
v-if=
"scope.row.isToReview"
>
{{
$t
(
'
放货复核
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"review(scope.row)"
v-if=
"scope.row.isToReview"
v-hasPermi=
"['ecw:cargo_control:review']"
>
{{
$t
(
'
放货复核
'
)
}}
</el-button>
</
template
>
</
template
>
<!--已全部放货,但是未复核-->
<!--已全部放货,但是未复核-->
<
template
v-if=
"scope.row.cargoControlStatus == 1 && scope.row.isToReview"
>
<
template
v-if=
"scope.row.cargoControlStatus == 1 && scope.row.isToReview"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"review(scope.row)"
>
{{
$t
(
'
放货复核
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"review(scope.row)"
v-hasPermi=
"['ecw:cargo_control:review']"
>
{{
$t
(
'
放货复核
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['ecw:cargo_control:update']"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{
$t
(
'
取消
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['ecw:cargo_control:cancel']"
>
{{
$t
(
'
取消
'
)
}}
</el-button>
</
template
>
</
template
>
<!--已完成放货,且没有待复核;真正的放货完成-->
<!--已完成放货,且没有待复核;真正的放货完成-->
<
template
v-if=
"scope.row.cargoControlStatus == 1 && !scope.row.isToReview"
>
<
template
v-if=
"scope.row.cargoControlStatus == 1 && !scope.row.isToReview"
>
<!--
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
-->
<!--
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
-->
<el-button
type=
"text"
size=
"mini"
@
click=
"cargoTransfer(scope.row)"
>
{{
$t
(
'
调货
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"cargoTransfer(scope.row)"
v-hasPermi=
"['ecw:cargo_control:cargo_transfer']"
>
{{
$t
(
'
调货
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showFallbackOrder=scope.row"
v-if=
"scope.row.isReleaseAfterGoods"
>
{{
$t
(
'
反复核
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showFallbackOrder=scope.row"
v-if=
"scope.row.isReleaseAfterGoods"
v-hasPermi=
"['ecw:cargo_control:fallback']"
>
{{
$t
(
'
反复核
'
)
}}
</el-button>
</
template
>
</
template
>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
>
{{$t('查看')}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['ecw:cargo_control:show']"
>
{{$t('查看')}}
</el-button>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -168,7 +161,7 @@ import CustomerSelector from '@/components/CustomerSelector'
...
@@ -168,7 +161,7 @@ import CustomerSelector from '@/components/CustomerSelector'
import
Transfer
from
'
@/views/ecw/order/components/Transfer
'
import
Transfer
from
'
@/views/ecw/order/components/Transfer
'
import
Release
from
'
./components/Release
'
import
Release
from
'
./components/Release
'
import
CargoControlEdit
from
'
./components/CargoControlEdit
'
import
CargoControlEdit
from
'
./components/CargoControlEdit
'
import
{
getCargoControlOrderPage
,
batchReview
,
orderReview
,
getPickRleaseInfo
,
exportCargoControl
}
from
"
@/api/ecw/orderCargoControl
"
import
{
getCargoControlOrderPage
,
batchReview
,
orderReview
,
getPickRleaseInfo
}
from
"
@/api/ecw/orderCargoControl
"
import
TransferCargo
from
'
@/views/ecw/order/components/TransferCargo
'
import
TransferCargo
from
'
@/views/ecw/order/components/TransferCargo
'
import
Fallback
from
'
./components/Fallback
'
import
Fallback
from
'
./components/Fallback
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
...
@@ -335,32 +328,7 @@ export default {
...
@@ -335,32 +328,7 @@ export default {
onTransferCargoSuccess
(){
onTransferCargoSuccess
(){
this
.
showTransferCargoOrderId
=
null
this
.
showTransferCargoOrderId
=
null
this
.
handleQuery
()
this
.
handleQuery
()
},
}
// 导出勾选
exportChecked
(){
if
(
!
this
.
ids
.
length
){
return
this
.
$message
.
error
(
this
.
$t
(
'
请勾选需要导出的订单
'
))
}
return
this
.
exportExcel
(
exportCargoControl
,
{
orderIdList
:
this
.
ids
},
this
.
$t
(
"
导出勾选控货订单
"
))
},
// 导出搜索
exportSearch
(){
return
this
.
exportExcel
(
exportCargoControl
,
this
.
queryParams
,
this
.
$t
(
"
导出搜索控货订单
"
))
},
// 通用导出函数
exportExcel
(
func
,
params
,
fileName
=
null
){
this
.
exportLoading
=
true
;
func
(
params
).
then
(
res
=>
{
console
.
log
({
res
})
if
(
!
fileName
){
fileName
=
this
.
$t
(
'
控货订单
'
)
}
this
.
$download
.
excel
(
res
,
fileName
+
'
.xlsx
'
);
}).
finally
(()
=>
{
this
.
exportLoading
=
false
})
},
}
}
};
};
</
script
>
</
script
>
src/views/ecw/order/components/PrintWarehouseReceipt.vue
View file @
b2dcf129
...
@@ -165,8 +165,8 @@ export default {
...
@@ -165,8 +165,8 @@ export default {
LODOP
.
SET_PREVIEW_WINDOW
(
1
,
0
,
0
,
'
410mm
'
,
'
139mm
'
,
""
);
LODOP
.
SET_PREVIEW_WINDOW
(
1
,
0
,
0
,
'
410mm
'
,
'
139mm
'
,
""
);
LODOP
.
SET_PRINT_PAGESIZE
(
0
,
'
203.9mm
'
,
'
178mm
'
,
""
);
LODOP
.
SET_PRINT_PAGESIZE
(
0
,
'
203.9mm
'
,
'
178mm
'
,
""
);
LODOP
.
SET_PRINT_MODE
(
"
FULL_WIDTH_FOR_OVERFLOW
"
,
true
);
/*
LODOP.SET_PRINT_MODE("FULL_WIDTH_FOR_OVERFLOW",true);
LODOP
.
SET_PRINT_MODE
(
"
FULL_HEIGHT_FOR_OVERFLOW
"
,
true
);
LODOP.SET_PRINT_MODE("FULL_HEIGHT_FOR_OVERFLOW",true);
*/
LODOP
.
ADD_PRINT_HTM
(
'
40mm
'
,
0
,
'
204mm
'
,
'
148mm
'
,
document
.
getElementById
(
"
myproa
"
).
innerHTML
);
LODOP
.
ADD_PRINT_HTM
(
'
40mm
'
,
0
,
'
204mm
'
,
'
148mm
'
,
document
.
getElementById
(
"
myproa
"
).
innerHTML
);
LODOP
.
SET_PRINT_MODE
(
"
AUTO_CLOSE_PREWINDOW
"
,
true
);
LODOP
.
SET_PRINT_MODE
(
"
AUTO_CLOSE_PREWINDOW
"
,
true
);
...
...
src/views/ecw/order/detail.vue
View file @
b2dcf129
...
@@ -211,15 +211,16 @@
...
@@ -211,15 +211,16 @@
<el-timeline
v-if=
"order.orderTimeVOList && order.orderTimeVOList.length"
:reverse=
"true"
>
<el-timeline
v-if=
"order.orderTimeVOList && order.orderTimeVOList.length"
:reverse=
"true"
>
<el-timeline-item
v-for=
"(activity, index) in order.orderTimeVOList"
:key=
"index"
:timestamp=
"activity.timestamp"
>
<el-timeline-item
v-for=
"(activity, index) in order.orderTimeVOList"
:key=
"index"
:timestamp=
"activity.timestamp"
>
{{ activity.titleZh }}
{{ activity.titleZh }}
<div>
{{$l(activity, 'remarks')}}
</div>
</el-timeline-item>
</el-timeline-item>
</el-timeline>
</el-timeline>
<el-result
v-else
icon=
"info "
:title=
"$t('暂无数据')"
:subTitle=
"$t('暂无订单动态数据')"
/>
<el-result
v-else
icon=
"info "
:title=
"$t('暂无数据')"
:subTitle=
"$t('暂无订单动态数据')"
/>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
:label=
"$t('运单资料/提货单')"
name=
"three"
>
<el-tab-pane
:label=
"$t('运单资料/提货单')"
name=
"three"
>
<!--inWarehouseState 1待入库,2多了,3少了,4到齐-->
<!--inWarehouseState 1待入库,2多了,3少了,4到齐-->
<el-button
type=
"text"
@
click=
"showWarehouseReceipt=true"
:disabled=
"order.inWarehouseState == 0 && order.shipmentState == 0"
>
{{$t('查看入仓单')}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:show_receipt']"
type=
"text"
@
click=
"showWarehouseReceipt=true"
:disabled=
"order.inWarehouseState == 0 && order.shipmentState == 0"
>
{{$t('查看入仓单')}}
</el-button>
<el-button
type=
"text"
@
click.native=
"showLadingBill=true"
:disabled=
"!order.ladingState"
>
{{$t('查看提货单')}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:show_landing']"
type=
"text"
@
click.native=
"showLadingBill=true"
:disabled=
"!order.ladingState"
>
{{$t('查看提货单')}}
</el-button>
<el-button
:disabled=
"!order.packingListUrl"
type=
"text"
@
click=
"downloadPackingList"
>
{{$t('装箱单')}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:show_packing']"
:disabled=
"!order.packingListUrl"
type=
"text"
@
click=
"downloadPackingList"
>
{{$t('装箱单')}}
</el-button>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
:label=
"$t('费用明细')"
name=
"four"
>
<el-tab-pane
:label=
"$t('费用明细')"
name=
"four"
>
<el-table
:data=
"feeList"
>
<el-table
:data=
"feeList"
>
...
...
src/views/ecw/order/exception/index.vue
View file @
b2dcf129
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"exportSearch"
v-hasPermi=
"['ecw:exception:export']"
>
导出
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"exportSearch"
v-hasPermi=
"['ecw:exception:export']"
>
导出
</el-button>
</el-col>
</el-col>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
<
el-col
:span=
"12"
><right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar></el-col
>
</el-row>
</el-row>
<!-- 列表 -->
<!-- 列表 -->
...
@@ -172,8 +172,23 @@
...
@@ -172,8 +172,23 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"scope.row.orderExceptionStatus
<2
"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-share"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
<!--
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-share"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
-->
<el-button
v-if=
"scope.row.orderExceptionType=='order_superfluous_box_exception'"
v-hasPermi=
"['ecw:exception:superfluousBox']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_lack_box_exception'"
v-hasPermi=
"['ecw:exception:lackBox']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_pay_exception'"
v-hasPermi=
"['ecw:exception:pay']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_miss_exception'"
v-hasPermi=
"['ecw:exception:miss']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_superfluous_goods_exception'"
v-hasPermi=
"['ecw:exception:superfluousGoods']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_in_water_exception'"
v-hasPermi=
"['ecw:exception:inWater']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_damage_exception'"
v-hasPermi=
"['ecw:exception:damaged']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_heavy_cargo_exception'"
v-hasPermi=
"['ecw:exception:heavyCargo']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_doc_exception'"
v-hasPermi=
"['ecw:exception:doc']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_consignor_exception'"
v-hasPermi=
"['ecw:exception:consignor']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_other_exception'"
v-hasPermi=
"['ecw:exception:other']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_cod_exception'"
v-hasPermi=
"['ecw:exception:cod']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_no_quote_exception'"
v-hasPermi=
"['ecw:exception:noQuote']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_bulky_cargo_exception'"
v-hasPermi=
"['ecw:exception:bulkyCargo']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_pick_up_exception'"
v-hasPermi=
"['ecw:exception:pickUp']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/order/index.vue
View file @
b2dcf129
This diff is collapsed.
Click to expand it.
src/views/ecw/order/pending.vue
View file @
b2dcf129
...
@@ -98,6 +98,11 @@
...
@@ -98,6 +98,11 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('处理人')"
align=
"center"
prop=
"userName"
/>
<el-table-column
:label=
"$t('处理人')"
align=
"center"
prop=
"userName"
/>
<el-table-column
:label=
"$t('创建时间')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('处理时间')"
align=
"center"
>
<el-table-column
:label=
"$t('处理时间')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
handlerTime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
handlerTime
)
}}
</span>
...
@@ -106,7 +111,21 @@
...
@@ -106,7 +111,21 @@
<el-table-column
:label=
"$t('操作')"
align=
"center"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tag
v-if=
"scope.row.orderExceptionStatus==2"
>
{{
$t
(
'
已完成
'
)
}}
</el-tag>
<el-tag
v-if=
"scope.row.orderExceptionStatus==2"
>
{{
$t
(
'
已完成
'
)
}}
</el-tag>
<el-button
v-else
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_superfluous_box_exception'"
v-hasPermi=
"['ecw:exception:superfluousBox']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_lack_box_exception'"
v-hasPermi=
"['ecw:exception:lackBox']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_pay_exception'"
v-hasPermi=
"['ecw:exception:pay']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_miss_exception'"
v-hasPermi=
"['ecw:exception:miss']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_superfluous_goods_exception'"
v-hasPermi=
"['ecw:exception:superfluousGoods']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_in_water_exception'"
v-hasPermi=
"['ecw:exception:inWater']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_damage_exception'"
v-hasPermi=
"['ecw:exception:damaged']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_heavy_cargo_exception'"
v-hasPermi=
"['ecw:exception:heavyCargo']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_doc_exception'"
v-hasPermi=
"['ecw:exception:doc']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_consignor_exception'"
v-hasPermi=
"['ecw:exception:consignor']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_other_exception'"
v-hasPermi=
"['ecw:exception:other']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_cod_exception'"
v-hasPermi=
"['ecw:exception:cod']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_no_quote_exception'"
v-hasPermi=
"['ecw:exception:noQuote']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_bulky_cargo_exception'"
v-hasPermi=
"['ecw:exception:bulkyCargo']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_pick_up_exception'"
v-hasPermi=
"['ecw:exception:pickUp']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/order/prepayDeal.vue
View file @
b2dcf129
...
@@ -69,16 +69,17 @@
...
@@ -69,16 +69,17 @@
<
/el-form-item
>
<
/el-form-item
>
<
/el-row
>
<
/el-row
>
<
el
-
row
v
-
if
=
"
shopData
"
>
<
el
-
row
v
-
if
=
"
shopData
"
>
<
el
-
form
-
item
:
label
=
"
$t('入仓参数')+':'
"
v
-
if
=
"
shopData.warehouseInInfoVO
"
>
<
el
-
form
-
item
:
label
=
"
$t('入仓参数')+':'
"
><
template
v
-
if
=
"
shopData.warehouseInInfoVO
"
>
{{
$t
(
'
{num
}
箱 {volume
}
m³ {weight
}
kg {quantity
}
个
'
,
{
{{
$t
(
'
{num
}
箱 {volume
}
m³ {weight
}
kg {quantity
}
个
'
,
{
num
:
shopData
.
warehouseInInfoVO
.
cartonsNum
||
0
,
num
:
shopData
.
warehouseInInfoVO
.
cartonsNum
||
0
,
volume
:
shopData
.
warehouseInInfoVO
.
volume
||
0
,
volume
:
shopData
.
warehouseInInfoVO
.
volume
||
0
,
weight
:
shopData
.
warehouseInInfoVO
.
weight
||
0
,
weight
:
shopData
.
warehouseInInfoVO
.
weight
||
0
,
quantity
:
shopData
.
warehouseInInfoVO
.
quantityAll
||
0
quantity
:
shopData
.
warehouseInInfoVO
.
quantityAll
||
0
}
)
}}
}
)
}}
<
/template
>
<!--
<
span
>
{{(
orderData
.
sumNum
||
0
)
+
$t
(
'
箱
'
)
+
(
orderData
.
sumVolume
||
0
)
+
'
m³
'
+
(
orderData
.
sumWeight
||
0
)
+
'
kg
'
+
(
orderData
.
sumQuantity
||
0
)
+
$t
(
'
个
'
)
}}
<
/span> --
>
<!--
<
span
>
{{(
orderData
.
sumNum
||
0
)
+
$t
(
'
箱
'
)
+
(
orderData
.
sumVolume
||
0
)
+
'
m³
'
+
(
orderData
.
sumWeight
||
0
)
+
'
kg
'
+
(
orderData
.
sumQuantity
||
0
)
+
$t
(
'
个
'
)
}}
<
/span> --
>
<
/el-form-item
>
<
template
v
-
else
>
{{
$t
(
'
无入仓数据
'
)
}}
<
/template
>
<
template
v
-
else
>
{{
$t
(
'
无入仓数据
'
)
}}
<
/template
>
<
/el-form-item
>
<
/el-row
>
<
/el-row
>
<
/template
>
<
/template
>
...
@@ -100,8 +101,19 @@
...
@@ -100,8 +101,19 @@
<
span
>
{{
orderData
.
sumNum
||
0
}}
{{
$t
(
'
箱
'
)
}}
{{
orderData
.
wvolume
||
0
}}
m
³
{{
orderData
.
vweight
||
0
}}
Kg
{{
orderData
.
sumQuantity
||
0
}}
{{
$t
(
'
个
'
)
}}
<
/span
>
<
span
>
{{
orderData
.
sumNum
||
0
}}
{{
$t
(
'
箱
'
)
}}
{{
orderData
.
wvolume
||
0
}}
m
³
{{
orderData
.
vweight
||
0
}}
Kg
{{
orderData
.
sumQuantity
||
0
}}
{{
$t
(
'
个
'
)
}}
<
/span
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-row
>
<
/el-row
>
<
el
-
row
>
<
el
-
form
-
item
:
label
=
"
$t('创建时间')+':'
"
>
<
span
>
{{
parseTime
(
orderExceptionData
.
createTime
)
}}
<
/span
>
<
/el-form-item
>
<
/el-row
>
<
el
-
row
>
<
el
-
form
-
item
:
label
=
"
$t('处理时间')+':'
"
>
<
span
>
{{
parseTime
(
orderExceptionData
.
handlerTime
)
||
'
/
'
}}
<
/span
>
<
/el-form-item
>
<
/el-row
>
<
/div
>
<
/div
>
<
/el-form
>
<
/el-form
>
<!--
预付异常的表格
-->
<!--
预付异常的表格
-->
<
el
-
table
v
-
if
=
"
orderExceptionData.orderExceptionType=='order_pay_exception'
"
v
-
loading
=
"
loading
"
border
:
data
=
"
preException
"
>
<
el
-
table
v
-
if
=
"
orderExceptionData.orderExceptionType=='order_pay_exception'
"
v
-
loading
=
"
loading
"
border
:
data
=
"
preException
"
>
<
el
-
table
-
column
:
label
=
"
$t('品名')
"
align
=
"
center
"
>
<
el
-
table
-
column
:
label
=
"
$t('品名')
"
align
=
"
center
"
>
...
@@ -380,6 +392,7 @@
...
@@ -380,6 +392,7 @@
import
{
getExceptionById
,
handlerExceptionByExceptionId
,
getOrderItemById
,
getOrderFeeById
}
from
"
@/api/ecw/orderException
"
import
{
getExceptionById
,
handlerExceptionByExceptionId
,
getOrderItemById
,
getOrderFeeById
}
from
"
@/api/ecw/orderException
"
import
{
getFirstReceivableListByOrderId
}
from
'
@/api/ecw/financial
'
import
{
getFirstReceivableListByOrderId
}
from
'
@/api/ecw/financial
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
{
listByIds
}
from
'
@/api/ecw/region
'
import
{
cancelProcessInstance
}
from
'
@/api/bpm/processInstance
'
import
{
cancelProcessInstance
}
from
'
@/api/bpm/processInstance
'
export
default
{
export
default
{
name
:
"
PrepayDeal
"
,
name
:
"
PrepayDeal
"
,
...
@@ -415,6 +428,7 @@
...
@@ -415,6 +428,7 @@
timers
:
""
,
//时间戳
timers
:
""
,
//时间戳
FilePreAll
:[],
// 预览数组
FilePreAll
:[],
// 预览数组
TragetPic
:{
}
,
TragetPic
:{
}
,
region
:
''
}
;
}
;
}
,
}
,
created
()
{
created
()
{
...
@@ -436,6 +450,17 @@
...
@@ -436,6 +450,17 @@
if
(
val
==
'
cod
'
&&
this
.
orderExceptionData
.
orderExceptionAmountCurrencyId
){
if
(
val
==
'
cod
'
&&
this
.
orderExceptionData
.
orderExceptionAmountCurrencyId
){
this
.
$set
(
this
.
handlerParams
,
'
currency
'
,
this
.
orderExceptionData
.
orderExceptionAmountCurrencyId
)
this
.
$set
(
this
.
handlerParams
,
'
currency
'
,
this
.
orderExceptionData
.
orderExceptionAmountCurrencyId
)
}
}
}
,
'
orderData.consigneeVO
'
(
val
){
if
(
!
val
)
return
'
-
'
listByIds
({
ids
:
[
val
.
country
,
val
.
province
,
val
.
city
].
join
(
'
,
'
)
}
).
then
(
res
=>
{
console
.
log
(
'
listById
'
,
res
)
let
region
=
''
res
.
data
.
forEach
(
item
=>
{
region
+=
"
"
+
item
.
titleZh
}
)
this
.
region
=
region
}
)
}
}
}
,
}
,
computed
:
{
computed
:
{
...
@@ -605,6 +630,13 @@
...
@@ -605,6 +630,13 @@
<
/script
>
<
/script
>
<
style
scoped
>
<
style
scoped
>
.
link
-
text
{
margin
-
top
:
20
px
;
}
.
link
-
text
span
{
font
-
size
:
16
px
;
font
-
weight
:
600
;
}
.
card
-
title
{
.
card
-
title
{
font
-
size
:
18
px
;
font
-
size
:
18
px
;
font
-
weight
:
bold
;
font
-
weight
:
bold
;
...
...
src/views/ecw/product/index.vue
View file @
b2dcf129
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<el-form-item
:label=
"$t('商品类型')"
prop=
"attrId"
>
<el-form-item
:label=
"$t('商品类型')"
prop=
"attrId"
>
<el-select
v-model=
"queryParams.typeId"
:placeholder=
"$t('选择商品类型')"
clearable
>
<el-select
v-model=
"queryParams.typeId"
:placeholder=
"$t('选择商品类型')"
clearable
>
<el-option
v-for=
"type
in typeList"
:key=
"type.id"
:label=
"$l(type, 'title')"
:value=
"type
.id"
/>
<el-option
v-for=
"type
s in typeList"
:key=
"types.id"
:label=
"$l(types, 'title')"
:value=
"types
.id"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"110px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"110px"
>
<el-form-item
:label=
"$t('商品类型')"
prop=
"typeId"
>
<el-form-item
:label=
"$t('商品类型')"
prop=
"typeId"
>
<el-select
v-model=
"form.typeId"
:placeholder=
"$t('选择商品类型')"
clearable
>
<el-select
v-model=
"form.typeId"
:placeholder=
"$t('选择商品类型')"
clearable
>
<el-option
v-for=
"type
in typeList"
:key=
"type.id"
:label=
"type.titleZh"
:value=
"type
.id"
/>
<el-option
v-for=
"type
s in typeList"
:key=
"types.id"
:label=
"types.titleZh"
:value=
"types
.id"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -206,7 +206,11 @@
...
@@ -206,7 +206,11 @@
<el-radio
v-model.number=
"form.needBook"
:label=
"1"
>
{{$t('是')}}
</el-radio>
<el-radio
v-model.number=
"form.needBook"
:label=
"1"
>
{{$t('是')}}
</el-radio>
<el-radio
v-model.number=
"form.needBook"
:label=
"0"
>
{{$t('否')}}
</el-radio>
<el-radio
v-model.number=
"form.needBook"
:label=
"0"
>
{{$t('否')}}
</el-radio>
</el-form-item>
</el-form-item>
<!-- <el-form-item :label="$t('可参与优惠活动')" prop="you">
<el-select v-model="form.you" :placeholder="$t('可参与优惠活动')" clearable>
<el-option v-for="packageItem in packagingList" :key="packageItem.value" :label="packageItem.label" :value="packageItem.value" />
</el-select>
</el-form-item> -->
<el-form-item
:label=
"$t('每日入仓上限')"
prop=
"dayLimit"
v-if=
"form.needBook==1"
>
<el-form-item
:label=
"$t('每日入仓上限')"
prop=
"dayLimit"
v-if=
"form.needBook==1"
>
<el-input
v-model.number=
"form.dayLimit"
type=
"number"
>
<el-input
v-model.number=
"form.dayLimit"
type=
"number"
>
<
template
slot=
"append"
>
{{
$t
(
'
立方米
'
)
}}
</
template
>
<
template
slot=
"append"
>
{{
$t
(
'
立方米
'
)
}}
</
template
>
...
...
src/views/system/menu/index.vue
View file @
b2dcf129
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
v-if=
"form.type == 2"
>
<el-col
:span=
"12"
v-if=
"form.type == 2
|| form.type == 1
"
>
<el-form-item
:label=
"$t('显示菜单')"
prop=
"isShowInMenuBar"
>
<el-form-item
:label=
"$t('显示菜单')"
prop=
"isShowInMenuBar"
>
<dict-selector
v-model=
"form.isShowInMenuBar"
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
formatter=
"bool"
form-type=
"radio"
/>
<dict-selector
v-model=
"form.isShowInMenuBar"
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
formatter=
"bool"
form-type=
"radio"
/>
</el-form-item>
</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