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
08f6f95e
Commit
08f6f95e
authored
Nov 06, 2022
by
dcy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
d4b1a4bd
e02244d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
14 deletions
+34
-14
payable.vue
src/views/ecw/financial/payable.vue
+15
-5
receivable.vue
src/views/ecw/financial/receivable.vue
+19
-9
No files found.
src/views/ecw/financial/payable.vue
View file @
08f6f95e
...
@@ -40,8 +40,8 @@
...
@@ -40,8 +40,8 @@
clearable
clearable
>
>
<el-option
<el-option
v-for=
"item in expo
erCity
List"
v-for=
"item in expo
rtWarehouse
List"
:label=
"
item.titleZh
"
:label=
"
$l(item, 'title')
"
:value=
"item.id"
:value=
"item.id"
:key=
"item.id"
:key=
"item.id"
></el-option>
></el-option>
...
@@ -54,8 +54,8 @@
...
@@ -54,8 +54,8 @@
clearable
clearable
>
>
<el-option
<el-option
v-for=
"item in import
City
List"
v-for=
"item in import
Warehouse
List"
:label=
"
item.titleZh
"
:label=
"
$l(item, 'title')
"
:value=
"item.id"
:value=
"item.id"
:key=
"item.id"
:key=
"item.id"
></el-option>
></el-option>
...
@@ -228,6 +228,7 @@ import { getTradeCityList } from "@/api/ecw/region";
...
@@ -228,6 +228,7 @@ import { getTradeCityList } from "@/api/ecw/region";
import
{
getPayableList
,
deletePayable
,
updatePayable
}
from
"
@/api/ecw/financial
"
import
{
getPayableList
,
deletePayable
,
updatePayable
}
from
"
@/api/ecw/financial
"
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
export
default
{
export
default
{
name
:
"
EcwFinancialPayable
"
,
name
:
"
EcwFinancialPayable
"
,
...
@@ -253,7 +254,8 @@ export default {
...
@@ -253,7 +254,8 @@ export default {
rows
:
20
,
rows
:
20
,
},
},
allSupplier
:
[],
allSupplier
:
[],
currencyList
:[]
currencyList
:[],
warehouseList
:[],
};
};
},
},
computed
:
{
computed
:
{
...
@@ -263,9 +265,17 @@ export default {
...
@@ -263,9 +265,17 @@ export default {
importCityList
()
{
importCityList
()
{
return
this
.
tradeCityList
.
filter
((
item
)
=>
item
.
type
==
1
);
return
this
.
tradeCityList
.
filter
((
item
)
=>
item
.
type
==
1
);
},
},
exportWarehouseList
(){
/* tradeType 1 进口,2出口,3进出口 */
return
this
.
warehouseList
.
filter
(
item
=>
item
.
tradeType
==
2
||
item
.
tradeType
==
3
)
},
importWarehouseList
(){
return
this
.
warehouseList
.
filter
(
item
=>
item
.
tradeType
==
1
||
item
.
tradeType
==
3
)
},
},
},
created
()
{
created
()
{
let
that
=
this
;
let
that
=
this
;
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
userList
(
"
salesman
"
).
then
((
res
)
=>
(
that
.
creatorData
=
res
.
data
));
userList
(
"
salesman
"
).
then
((
res
)
=>
(
that
.
creatorData
=
res
.
data
));
getTradeCityList
().
then
((
res
)
=>
(
that
.
tradeCityList
=
res
.
data
));
getTradeCityList
().
then
((
res
)
=>
(
that
.
tradeCityList
=
res
.
data
));
...
...
src/views/ecw/financial/receivable.vue
View file @
08f6f95e
...
@@ -39,29 +39,29 @@
...
@@ -39,29 +39,29 @@
class=
"card"
class=
"card"
>
>
<el-row>
<el-row>
<el-form-item
:label=
"$t('始发
城市
')"
>
<el-form-item
:label=
"$t('始发
地
')"
>
<el-select
<el-select
v-model=
"queryParams.departureId"
v-model=
"queryParams.departureId"
:placeholder=
"$t('请选择始发
城市
')"
:placeholder=
"$t('请选择始发
地
')"
clearable
clearable
>
>
<el-option
<el-option
v-for=
"item in expo
erCity
List"
v-for=
"item in expo
rtWarehouse
List"
:label=
"
item.titleZh
"
:label=
"
$l(item, 'title')
"
:value=
"item.id"
:value=
"item.id"
:key=
"item.id"
:key=
"item.id"
></el-option>
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('目的
城市
')"
>
<el-form-item
:label=
"$t('目的
地
')"
>
<el-select
<el-select
v-model=
"queryParams.objectiveId"
v-model=
"queryParams.objectiveId"
:placeholder=
"$t('请选择目的
城市
')"
:placeholder=
"$t('请选择目的
地
')"
clearable
clearable
>
>
<el-option
<el-option
v-for=
"item in import
City
List"
v-for=
"item in import
Warehouse
List"
:label=
"
item.titleZh
"
:label=
"
$l(item, 'title')
"
:value=
"item.id"
:value=
"item.id"
:key=
"item.id"
:key=
"item.id"
></el-option>
></el-option>
...
@@ -256,6 +256,7 @@ import CustomerSelector from "@/components/CustomerSelector";
...
@@ -256,6 +256,7 @@ import CustomerSelector from "@/components/CustomerSelector";
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
getReceivableList
}
from
"
@/api/ecw/financial
"
;
import
{
getReceivableList
}
from
"
@/api/ecw/financial
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
export
default
{
export
default
{
name
:
"
EcwFinancialReceivable
"
,
name
:
"
EcwFinancialReceivable
"
,
...
@@ -285,7 +286,8 @@ export default {
...
@@ -285,7 +286,8 @@ export default {
page
:
1
,
page
:
1
,
rows
:
20
,
rows
:
20
,
},
},
currencyList
:[]
currencyList
:[],
warehouseList
:[],
};
};
},
},
created
()
{
created
()
{
...
@@ -294,6 +296,7 @@ export default {
...
@@ -294,6 +296,7 @@ export default {
userList
(
"
salesman
"
).
then
((
res
)
=>
(
that
.
creatorData
=
res
.
data
));
userList
(
"
salesman
"
).
then
((
res
)
=>
(
that
.
creatorData
=
res
.
data
));
getTradeCityList
().
then
((
res
)
=>
(
that
.
tradeCityList
=
res
.
data
));
getTradeCityList
().
then
((
res
)
=>
(
that
.
tradeCityList
=
res
.
data
));
this
.
getList
();
this
.
getList
();
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
},
},
computed
:
{
computed
:
{
expoerCityList
()
{
expoerCityList
()
{
...
@@ -302,6 +305,13 @@ export default {
...
@@ -302,6 +305,13 @@ export default {
importCityList
()
{
importCityList
()
{
return
this
.
tradeCityList
.
filter
((
item
)
=>
item
.
type
==
1
);
return
this
.
tradeCityList
.
filter
((
item
)
=>
item
.
type
==
1
);
},
},
exportWarehouseList
(){
/* tradeType 1 进口,2出口,3进出口 */
return
this
.
warehouseList
.
filter
(
item
=>
item
.
tradeType
==
2
||
item
.
tradeType
==
3
)
},
importWarehouseList
(){
return
this
.
warehouseList
.
filter
(
item
=>
item
.
tradeType
==
1
||
item
.
tradeType
==
3
)
},
},
},
methods
:
{
methods
:
{
getCurrencyLabel
(
id
){
getCurrencyLabel
(
id
){
...
...
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