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
762e6103
Commit
762e6103
authored
Mar 08, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev1.6' into dev1.6
parents
b6472fc9
0de4a95f
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
408 additions
and
76 deletions
+408
-76
orderException.js
src/api/ecw/orderException.js
+10
-0
indexSea.vue
src/views/ecw/box/indexSea.vue
+13
-13
indexSeaAir.vue
src/views/ecw/box/indexSeaAir.vue
+15
-15
index.vue
src/views/ecw/coupon/index.vue
+1
-0
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
receivable.vue
src/views/ecw/financial/receivable.vue
+2
-3
voucher.vue
src/views/ecw/financial/voucher.vue
+17
-9
index.vue
src/views/ecw/order/exception/index.vue
+21
-3
pending.vue
src/views/ecw/order/pending.vue
+15
-1
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+25
-3
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+1
-0
index.vue
src/views/ecw/product/index.vue
+7
-3
No files found.
src/api/ecw/orderException.js
View file @
762e6103
...
...
@@ -100,4 +100,14 @@ export function getBmpDetailByBusinessId(businessId) {
method
:
'
get
'
,
params
:
{
businessId
}
})
}
// 导出订单异常 Excel
export
function
exportExcel
(
params
)
{
return
request
({
url
:
'
/ecw/order-exception/export-excel
'
,
method
:
'
get
'
,
params
,
responseType
:
'
arraybuffer
'
})
}
\ No newline at end of file
src/views/ecw/box/indexSea.vue
View file @
762e6103
...
...
@@ -114,31 +114,31 @@
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<
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"
>
{{
$t
(
'
操作
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<!--
<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=
"error"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
>
{{
$t
(
'
费用登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"sea"
v-hasPermi=
"['shipment:box:action:sea']
"
>
{{
$t
(
'
操作-海运
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"error"
v-hasPermi=
"['shipment:box:action:error']"
>
{{
$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
: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>
<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"
>
{{
$t
(
'
下载
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"downloadPreloadGoodsList"
>
{{
$t
(
'
预装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLoadGoodsList"
>
{{
$t
(
'
已装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadReceivableList"
>
{{
$t
(
'
应收汇总表
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadAgentListFiles"
>
agent list
</el-dropdown-item>
<el-dropdown-item
command=
"downloadSoncapFiles"
>
soncap
</el-dropdown-item>
<el-dropdown-item
command=
"zipDownload"
>
{{
$t
(
'
提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLadingCopy"
>
{{
$t
(
'
提单Copy
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadPreloadGoodsList"
v-hasPermi=
"['shipment:box:download:downloadPreloadGoodsList']"
>
{{
$t
(
'
预装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLoadGoodsList"
v-hasPermi=
"['shipment:box:download:downloadLoadGoodsList']"
>
{{
$t
(
'
已装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadReceivableList"
v-hasPermi=
"['shipment:box:download:downloadReceivableList']"
>
{{
$t
(
'
应收汇总表
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadAgentListFiles"
v-hasPermi=
"['shipment:box:download:downloadAgentListFiles']"
>
agent list
</el-dropdown-item>
<el-dropdown-item
command=
"downloadSoncapFiles"
v-hasPermi=
"['shipment:box:download:downloadSoncapFiles']"
>
soncap
</el-dropdown-item>
<el-dropdown-item
command=
"zipDownload"
v-hasPermi=
"['shipment:box:download:zipDownload']"
>
{{
$t
(
'
提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLadingCopy"
v-hasPermi=
"['shipment:box:download:downloadLadingCopy']"
>
{{
$t
(
'
提单Copy
'
)
}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</
template
>
...
...
src/views/ecw/box/indexSeaAir.vue
View file @
762e6103
...
...
@@ -106,31 +106,31 @@
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<
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"
>
{{
$t
(
'
操作
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
:disabled=
"scope.row.ldStatus>=46"
command=
"edit"
>
{{
$t
(
'
编辑
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"seaAir"
>
{{
$t
(
'
操作
'
)
}}
-
{{
$t
(
'
海空联运
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"error"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
>
{{
$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=
"edit"
v-hasPermi=
"['shipment:seaAir:action:edit']"
>
{{
$t
(
'
编辑
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"seaAir"
v-hasPermi=
"['shipment:seaAir:action:seaAir']"
>
{{
$t
(
'
海空联运
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"error"
v-hasPermi=
"['shipment:seaAir:action:error']"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
v-hasPermi=
"['shipment:seaAir:action:cost']"
>
{{
$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"
v-hasPermi=
"['shipment:seaAir:action:editLadingBill']"
>
{{
$t
(
'
编辑提货单
'
)
}}
</el-dropdown-item>
</el-dropdown-menu>
</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"
>
{{
$t
(
'
下载
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"downloadPreloadGoodsList"
>
{{
$t
(
'
预装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLoadGoodsList"
>
{{
$t
(
'
已装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadReceivableList"
>
{{
$t
(
'
应收汇总表
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadAgentListFiles"
>
agent list
</el-dropdown-item>
<el-dropdown-item
command=
"downloadSoncapFiles"
>
soncap
</el-dropdown-item>
<el-dropdown-item
command=
"zipDownload"
>
{{
$t
(
'
提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLadingCopy"
>
{{
$t
(
'
提单Copy
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadPreloadGoodsList"
v-hasPermi=
"['shipment:seaAir:download:downloadPreloadGoodsList']"
>
{{
$t
(
'
预装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLoadGoodsList"
v-hasPermi=
"['shipment:seaAir:download:downloadLoadGoodsList']"
>
{{
$t
(
'
已装单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadReceivableList"
v-hasPermi=
"['shipment:seaAir:download:downloadReceivableList']"
>
{{
$t
(
'
应收汇总表
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadAgentListFiles"
v-hasPermi=
"['shipment:seaAir:download:downloadAgentListFiles']"
>
agent list
</el-dropdown-item>
<el-dropdown-item
command=
"downloadSoncapFiles"
v-hasPermi=
"['shipment:seaAir:download:downloadSoncapFiles']"
>
soncap
</el-dropdown-item>
<el-dropdown-item
command=
"zipDownload"
v-hasPermi=
"['shipment:seaAir:download:zipDownload']"
>
{{
$t
(
'
提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLadingCopy"
v-hasPermi=
"['shipment:seaAir:download:downloadLadingCopy']"
>
{{
$t
(
'
提单Copy
'
)
}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</
template
>
...
...
src/views/ecw/coupon/index.vue
View file @
762e6103
...
...
@@ -379,6 +379,7 @@ export default {
updateEndtime
(
form
).
then
(
res
=>
{
this
.
getList
()
this
.
updateEndtimeItem
=
null
this
.
$message
.
success
(
this
.
$t
(
'
操作成功
'
))
}
)
}
,
/** 导出按钮操作 */
...
...
src/views/ecw/financial/bankDetail.vue
0 → 100644
View file @
762e6103
<
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 @
762e6103
...
...
@@ -248,8 +248,15 @@
</el-descriptions>
</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
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>
</div>
<el-dialog
...
...
@@ -312,7 +319,7 @@
/>
</el-form-item>
<!-- </el-row> -->
<
!-- <
el-form-item :label="$t('出货渠道')">
<el-form-item
:label=
"$t('出货渠道')"
>
<el-select
v-model=
"queryParams.channelId"
:placeholder=
"$t('请选择出货渠道')"
...
...
@@ -326,8 +333,8 @@
</el-select>
</el-form-item>
</el-row>
<
el-row
>
<el-form-item :label="$t('报关方式')">
<
!-- <el-row> --
>
<!--
<el-form-item :label="$t('报关方式')">
<dict-selector
:type="DICT_TYPE.ECW_CUSTOMS_TYPE"
v-model="queryParams.customsType"
...
...
@@ -345,20 +352,21 @@
@change="consignor = $event"
/>
</el-form-item>
</el-row>
<el-form-item :label="$t('订单
编
号')" prop="orderNo">
</el-row>
-->
<el-form-item
:label=
"$t('订单号')"
prop=
"orderNo"
>
<el-input
v-model=
"queryParams.orderNo"
:placeholder="$t('请输入订单
编
号')"
:placeholder=
"$t('请输入订单号')"
clearable
/>
</el-form-item>
-->
</el-form-item>
<el-form-item
:label=
"$t('
自
编号')"
prop=
"selfNo"
>
<el-form-item
:label=
"$t('
业务
编号')"
prop=
"selfNo"
>
<el-input
v-model=
"queryParams.selfNo"
:placeholder=
"$t('请输入
自
编号')"
:placeholder=
"$t('请输入
业务
编号')"
clearable
@
blur=
"handleQuery"
/>
</el-form-item>
...
...
@@ -377,7 +385,7 @@
row-key=
"id"
>
<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=
"supplierName"
/>
<el-table-column
:label=
"$t('费用类型')"
align=
"center"
prop=
"feeType"
>
...
...
@@ -425,11 +433,12 @@ import { getPayableList, getPayableInfoByIds, createPayment, getPaymentInfoByIds
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
NP
from
'
number-precision
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
WorkFlow
from
'
@/components/WorkFlow/
'
export
default
{
name
:
"
CreatPayment
"
,
components
:
{
CustomerSelector
CustomerSelector
,
WorkFlow
},
data
()
{
return
{
...
...
@@ -461,6 +470,7 @@ export default {
allSupplier
:
[],
currencyList
:
[],
warehouseList
:[],
selectedUsers
:[]
};
},
async
created
()
{
...
...
@@ -822,4 +832,10 @@ export default {
font-size
:
18px
;
font-weight
:
bold
;
}
.bpm-title
{
font-size
:
20px
;
font-weight
:
bold
;
color
:
#666
;
margin
:
20px
0
;
}
</
style
>
src/views/ecw/financial/payable.vue
View file @
762e6103
...
...
@@ -120,6 +120,7 @@
<el-button
style=
"margin-left: 10px"
type=
"success"
v-hasPermi=
"['ecw:payable:create']"
@
click=
"handleAdd(0)"
>
{{
$t
(
'
新增请款单
'
)
}}
</el-button
>
...
...
@@ -153,13 +154,15 @@
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"editClick(scope.row)"
>
{{
$t
(
'
编辑
'
)
}}
</el-button
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleAdd(scope.row.id)"
>
{{
$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:edit']"
@
click=
"editClick(scope.row)"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:payable:create']"
@
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
>
</el-table-column>
</el-table>
...
...
src/views/ecw/financial/paymentVoucher.vue
View file @
762e6103
...
...
@@ -141,17 +141,17 @@
class
-
name
=
"
small-padding fixed-width
"
>
<
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
"
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
"
@
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
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
: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:print
']
"
@
click
=
"
verifyCancelClick(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
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
toprint(scope.row.id)
"
v
-
hasPermi
=
"
['ecw:payment
:query
']
"
>
{{
$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
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
Voucher
:delete']
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<!--
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
open = true
"
>
{{
$t
(
'
导出订单
'
)
}}
<
/el-button> --
>
<
/template
>
<
/el-table-column
>
...
...
src/views/ecw/financial/receivable.vue
View file @
762e6103
...
...
@@ -8,6 +8,7 @@
style=
"float: right; margin-left: 10px"
type=
"primary"
size=
"mini"
v-hasPermi=
"['ecw:receivable:add']"
@
click=
"handleAdd(0)"
>
{{
$t
(
'
新增收款单
'
)
}}
</el-button
>
...
...
@@ -232,9 +233,7 @@
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleAdd(scope.row.id)"
>
{{
$t
(
'
收款
'
)
}}
</el-button
>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:receivable:collection']"
@
click=
"handleAdd(scope.row.id)"
>
{{
$t
(
'
收款
'
)
}}
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/ecw/financial/voucher.vue
View file @
762e6103
...
...
@@ -74,11 +74,11 @@
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('收款单号')"
align=
"center"
prop=
"receiptNo"
>
<
template
slot-scope=
"scope"
>
<
span
style=
"color: #1890ff;"
@
click=
"verificationCancelClick(scope.row)"
>
{{
scope
.
row
.
receiptNo
}}
</span
>
<
/
template
>
<
/el-table-column
>
<el-table-column
:label=
"$t('收款单号')"
align=
"center"
prop=
"receiptNo"
/
>
<
!-- <template slot-scope="scope"> --
>
<
!-- <span style="color: #1890ff;" @click="verificationCancelClick(scope.row)">{{scope.row.receiptNo}}</span> --
>
<
!-- </template> --
>
<
!-- </el-table-column> --
>
<el-table-column
:label=
"$t('客户名称')"
align=
"center"
prop=
"customerName"
/>
<el-table-column
:label=
"$t('创建日期')"
align=
"center"
prop=
"createTime"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -110,10 +110,17 @@
class
-
name
=
"
small-padding fixed-width
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:see']
"
@
click
=
"
verificationCancelClick(scope.row)
"
>
{{
$t
(
'
查看
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state === 0 || scope.row.state == 1 || scope.row.state == 2 || scope.row.state == 3
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:edit']
"
@
click
=
"
handleAdd(scope.row.id)
"
>
{{
$t
(
'
编辑
'
)
}}
<
/el-butto
n
>
...
...
@@ -128,8 +135,8 @@
v
-
if
=
"
scope.row.state == 4 || scope.row.state == 5 || scope.row.state == 6
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:cancelWriteOff']
"
@
click
=
"
verificationCancelClick(scope.row)
"
v
-
hasPermi
=
"
['ecw:verification:update']
"
>
{{
$t
(
'
反核销
'
)
}}
<
/el-butto
n
>
<
el
-
button
...
...
@@ -139,20 +146,21 @@
@
click
=
"
openInvoice(scope.row.id)
"
>
{{
$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
=
"
[0,1,2].indexOf(scope.row.state) > -1
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
deleteClick(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
"
v
-
hasPermi
=
"
['ecw:voucher:delete']
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state != 0
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
toprint(scope.row.id)
"
v
-
hasPermi
=
"
['ecw:v
erification:create
']
"
v
-
hasPermi
=
"
['ecw:v
oucher:print
']
"
>
{{
$t
(
'
打印
'
)
}}
<
/el-butto
n
>
<
el
-
button
v
-
if
=
"
scope.row.state != 0
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:voucher:derive']
"
@
click
=
"
exportReceipt(scope.row.id)
"
>
{{
$t
(
'
导出账单
'
)
}}
<
/el-butto
n
>
...
...
src/views/ecw/order/exception/index.vue
View file @
762e6103
...
...
@@ -95,7 +95,10 @@
<!-- 操作工具栏 -->
<el-row
:gutter=
"10"
class=
"mb8"
>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<el-col
:span=
"12"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"exportSearch"
v-hasPermi=
"['ecw:exception:export']"
>
导出
</el-button>
</el-col>
<el-col
:span=
"12"
><right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar></el-col>
</el-row>
<!-- 列表 -->
...
...
@@ -181,7 +184,7 @@
</template>
<
script
>
import
{
getOrderExceptionPage
}
from
"
@/api/ecw/orderException
"
import
{
getOrderExceptionPage
,
exportExcel
}
from
"
@/api/ecw/orderException
"
import
{
getTradeCityList
}
from
'
@/api/ecw/region
'
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
// import { userList } from "@/api/system/user"
...
...
@@ -302,7 +305,22 @@ export default {
tag
+=
this
.
$t
(
'
(空)
'
)
}
return
tag
}
},
exportSearch
(){
this
.
exportExcel
(
exportExcel
,
this
.
queryParams
,
this
.
$t
(
'
异常订单
'
))
},
// 通用导出函数
exportExcel
(
func
,
params
,
fileName
=
null
){
this
.
exportLoading
=
true
;
func
(
params
).
then
(
res
=>
{
if
(
!
fileName
){
fileName
=
this
.
$t
(
'
订单
'
)
}
this
.
$download
.
excel
(
res
,
fileName
+
'
.xls
'
);
}).
finally
(()
=>
{
this
.
exportLoading
=
false
})
},
}
}
</
script
>
src/views/ecw/order/pending.vue
View file @
762e6103
...
...
@@ -106,7 +106,21 @@
<el-table-column
:label=
"$t('操作')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<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
>
</el-table-column>
</el-table>
...
...
src/views/ecw/order/prepayDeal.vue
View file @
762e6103
...
...
@@ -69,16 +69,17 @@
<
/el-form-item
>
<
/el-row
>
<
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
}
个
'
,
{
num
:
shopData
.
warehouseInInfoVO
.
cartonsNum
||
0
,
volume
:
shopData
.
warehouseInInfoVO
.
volume
||
0
,
weight
:
shopData
.
warehouseInInfoVO
.
weight
||
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> --
>
<
/el-form-item
>
<
template
v
-
else
>
{{
$t
(
'
无入仓数据
'
)
}}
<
/template
>
<
/el-form-item
>
<
/el-row
>
<
/template
>
...
...
@@ -102,6 +103,7 @@
<
/el-row
>
<
/div
>
<
/el-form
>
<!--
预付异常的表格
-->
<
el
-
table
v
-
if
=
"
orderExceptionData.orderExceptionType=='order_pay_exception'
"
v
-
loading
=
"
loading
"
border
:
data
=
"
preException
"
>
<
el
-
table
-
column
:
label
=
"
$t('品名')
"
align
=
"
center
"
>
...
...
@@ -380,6 +382,7 @@
import
{
getExceptionById
,
handlerExceptionByExceptionId
,
getOrderItemById
,
getOrderFeeById
}
from
"
@/api/ecw/orderException
"
import
{
getFirstReceivableListByOrderId
}
from
'
@/api/ecw/financial
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
{
listByIds
}
from
'
@/api/ecw/region
'
import
{
cancelProcessInstance
}
from
'
@/api/bpm/processInstance
'
export
default
{
name
:
"
PrepayDeal
"
,
...
...
@@ -415,6 +418,7 @@
timers
:
""
,
//时间戳
FilePreAll
:[],
// 预览数组
TragetPic
:{
}
,
region
:
''
}
;
}
,
created
()
{
...
...
@@ -436,6 +440,17 @@
if
(
val
==
'
cod
'
&&
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
:
{
...
...
@@ -605,6 +620,13 @@
<
/script
>
<
style
scoped
>
.
link
-
text
{
margin
-
top
:
20
px
;
}
.
link
-
text
span
{
font
-
size
:
16
px
;
font
-
weight
:
600
;
}
.
card
-
title
{
font
-
size
:
18
px
;
font
-
weight
:
bold
;
...
...
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
762e6103
...
...
@@ -497,6 +497,7 @@ export default {
if
(
!!
this
.
warehousing
.
brandName
){
this
.
getProductBrandPage
(
this
.
warehousing
.
brandName
)
}
this
.
getProductBrandPage
()
}
}
else
{
}
...
...
src/views/ecw/product/index.vue
View file @
762e6103
...
...
@@ -17,7 +17,7 @@
<el-form-item
:label=
"$t('商品类型')"
prop=
"attrId"
>
<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-form-item>
...
...
@@ -134,7 +134,7 @@
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"110px"
>
<el-form-item
:label=
"$t('商品类型')"
prop=
"typeId"
>
<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-form-item>
...
...
@@ -206,7 +206,11 @@
<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-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-input
v-model.number=
"form.dayLimit"
type=
"number"
>
<
template
slot=
"append"
>
{{
$t
(
'
立方米
'
)
}}
</
template
>
...
...
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