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
2190a618
Commit
2190a618
authored
Dec 25, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
a0400d11
4a0280f1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
11 deletions
+15
-11
query.vue
src/views/ecw/customer/query.vue
+2
-2
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+9
-5
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+4
-4
No files found.
src/views/ecw/customer/query.vue
View file @
2190a618
...
...
@@ -416,7 +416,7 @@ import {
orderStatistics
,
creditLogCreate
,
creditScoreStatistic
,
infoListReceiptPage
,
userMemberUserList
,
memberUserList
,
deleteCustomer
,
infoListReceiptPage
,
memberUserList
,
deleteCustomer
,
}
from
'
@/api/ecw/customer
'
import
{
DICT_TYPE
,
getDictDataLabel
,
getDictDatas2
}
from
'
@/utils/dict
'
...
...
@@ -693,6 +693,7 @@ export default {
if
(
r
.
code
===
0
){
this
.
creditLogPage
();
this
.
creditFrom
=
{
}
;
this
.
creditScoreStatisticFn
()
this
.
dialogVisible
=
false
;
}
}
)
...
...
@@ -700,7 +701,6 @@ export default {
//获得信用客户统计
creditScoreStatisticFn
(){
creditScoreStatistic
({
customerId
:
this
.
id
}
).
then
(
r
=>
{
console
.
log
(
r
)
if
(
r
.
code
===
0
)
this
.
creditScoreStatisticObj
=
r
.
data
}
)
}
,
...
...
src/views/ecw/financial/creatCollection.vue
View file @
2190a618
...
...
@@ -419,7 +419,7 @@
label
-
width
=
"
80px
"
>
<
el
-
row
>
<
el
-
form
-
item
:
label
=
"
$t('始发
城市
')
"
>
<
el
-
form
-
item
:
label
=
"
$t('始发
仓
')
"
>
<
el
-
select
v
-
model
=
"
queryParams.departureId
"
:
placeholder
=
"
$t('请选择始发地')
"
...
...
@@ -432,7 +432,7 @@
><
/el-option
>
<
/el-select
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('目的
城市
')
"
>
<
el
-
form
-
item
:
label
=
"
$t('目的
仓
')
"
>
<
el
-
select
v
-
model
=
"
queryParams.objectiveId
"
:
placeholder
=
"
$t('请选择始发地')
"
...
...
@@ -666,6 +666,7 @@ import { getCurrencyPage } from "@/api/ecw/currency";
import
ret
from
"
bluebird/js/release/util
"
;
import
dayjs
from
"
dayjs
"
;
import
{
getUserProfile
}
from
"
@/api/system/user
"
;
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
export
default
{
name
:
"
CreatCollection
"
,
...
...
@@ -717,6 +718,7 @@ export default {
selectListRow
:
{
}
,
selectListIndex
:
0
,
flag
:
false
,
warehouseList
:[]
}
;
}
,
async
created
()
{
...
...
@@ -725,7 +727,7 @@ export default {
}
)
// 获取汇率
await
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
let
that
=
this
;
if
(
that
.
$route
.
query
.
id
)
{
this
.
flag
=
true
...
...
@@ -816,10 +818,12 @@ export default {
}
,
computed
:
{
expoerCityList
()
{
return
this
.
tradeCityList
.
filter
((
item
)
=>
item
.
type
==
2
);
// return this.tradeCityList.filter((item) => item.type == 2);
return
this
.
warehouseList
.
filter
(
item
=>
item
.
tradeType
==
2
||
item
.
tradeType
==
3
)
}
,
importCityList
()
{
return
this
.
tradeCityList
.
filter
((
item
)
=>
item
.
type
==
1
);
// return this.tradeCityList.filter((item) => item.type == 1);
return
this
.
warehouseList
.
filter
(
item
=>
item
.
tradeType
==
1
||
item
.
tradeType
==
3
)
}
,
showCurrencyId
()
{
let
fieldList
=
[];
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
2190a618
...
...
@@ -623,11 +623,11 @@ export default {
var
dollarList
=
this
.
form
.
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
(
n
&&
n
.
discountTotal
&&
n
.
discountTotal
>
0
){
amountList
.
push
({
currencyName
:
item
.
titleZh
,
currencyId
:
item
.
id
,
amount
:(
dollar
-
n
.
discountTotal
).
toFixed
(
2
)
}
)
}
else
{
//
if(n && n.discountTotal&&n.discountTotal>0)
{
//
amountList.push(
{
currencyName
:
item
.
titleZh
,
currencyId
:
item
.
id
,
amount
:(
dollar
-
n
.
discountTotal
).
toFixed
(
2
)
}
)
//
}
else
{
amountList
.
push
({
currencyName
:
item
.
titleZh
,
currencyId
:
item
.
id
,
amount
:
dollar
}
)
}
//
}
}
}
)
...
...
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