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
667eebcd
Commit
667eebcd
authored
Nov 04, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单补充始发仓查询
parent
8a054efe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
9 deletions
+31
-9
query.vue
src/views/ecw/customer/query.vue
+13
-4
index.vue
src/views/ecw/offer/index.vue
+18
-5
No files found.
src/views/ecw/customer/query.vue
View file @
667eebcd
...
...
@@ -240,9 +240,9 @@
<
el
-
input
v
-
model
.
trim
=
"
queryOfferParams.relationAreaCode
"
:
placeholder
=
"
$t('请输入客户')
"
clearable
@
keyup
.
enter
.
native
=
"
handleQuery
"
@
input
=
"
queryOfferParams.relationAreaCode = queryOfferParams.relationAreaCode.replace(/
\
s+/g, '')
"
/>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('始发
地')
"
prop
=
"
departureId
"
>
<
el
-
select
v
-
model
=
"
query
OfferParams.departureId
"
:
placeholder
=
"
$t('请选择始发地')
"
clearable
>
<
el
-
option
v
-
for
=
"
item in export
City
List
"
:
label
=
"
$l(item, 'title')
"
:
value
=
"
item.id
"
:
key
=
"
item.id
"
><
/el-option
>
<
el
-
form
-
item
:
label
=
"
$t('始发
仓')
"
prop
=
"
startWarehouseIds
"
>
<
el
-
select
v
-
model
=
"
query
Params.startWarehouseIds
"
multiple
:
placeholder
=
"
$t('请选择始发仓')
"
clearable
@
change
=
"
handleQuery
"
>
<
el
-
option
v
-
for
=
"
item in export
Warehouse
List
"
:
label
=
"
$l(item, 'title')
"
:
value
=
"
item.id
"
:
key
=
"
item.id
"
><
/el-option
>
<
/el-select
>
<
/el-form-item
>
...
...
@@ -695,7 +695,11 @@ export default {
getCurrencyList
().
then
((
response
)
=>
{
this
.
currecyList
=
response
.
data
}
)
getTradeCityList
().
then
((
res
)
=>
(
this
.
tradeCityList
=
res
.
data
))
getWarehouseList
().
then
((
res
)
=>
{
this
.
tradeCityList
=
res
.
data
this
.
warehouseList
=
res
.
data
}
)
// getTradeCityList().then((res) => (this.tradeCityList = res.data))
//获取信用类型
getCreditRulePage
({
page
:
1
,
rows
:
999
,
type
:
2
}
).
then
((
r
)
=>
{
this
.
creditTypeList
=
r
.
data
.
list
...
...
@@ -829,6 +833,7 @@ export default {
data
()
{
return
{
tradeCityList
:
[],
warehouseList
:
[],
queryTmp
:
{
createTime
:
[
""
,
""
]
}
,
...
...
@@ -957,6 +962,10 @@ export default {
exportCityList
()
{
return
this
.
tradeCityList
.
filter
((
item
)
=>
item
.
type
==
2
)
}
,
exportWarehouseList
()
{
/* tradeType 1 进口,2出口,3进出口 */
return
this
.
warehouseList
.
filter
((
item
)
=>
item
.
tradeType
==
2
||
item
.
tradeType
==
3
)
}
,
permissions
()
{
return
this
.
$store
.
state
.
user
.
permissions
}
,
...
...
src/views/ecw/offer/index.vue
View file @
667eebcd
...
...
@@ -18,9 +18,9 @@
<el-input
v-model.trim=
"queryParams.relationAreaCode"
:placeholder=
"$t('请输入客户')"
clearable
@
keyup.enter.native=
"handleQuery"
@
input=
"queryParams.relationAreaCode = queryParams.relationAreaCode.replace(/\s+/g, '')"
/>
</el-form-item>
<el-form-item
:label=
"$t('始发
地')"
prop=
"departur
eId"
>
<el-select
v-model=
"queryParams.
departureId"
:placeholder=
"$t('请选择始发地')"
clearable
>
<el-option
v-for=
"item in export
City
List"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-form-item
:label=
"$t('始发
仓')"
prop=
"startWarehous
eId"
>
<el-select
v-model=
"queryParams.
startWarehouseId"
multiple
:placeholder=
"$t('请选择始发仓')"
clearable
@
change=
"handleQuery"
>
<el-option
v-for=
"item in export
Warehouse
List"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -202,6 +202,7 @@ import { getChannelList } from "@/api/ecw/channel"
import
{
getRegionList
}
from
"
@/api/ecw/order
"
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
import
{
getWarehouseList
}
from
"
@/api/ecw/warehouse
"
import
UserSelector
from
"
@/components/UserSelector
"
import
Selector
from
"
@/components/Selector
"
import
Template
from
"
@/views/cms/template/index.vue
"
;
...
...
@@ -240,6 +241,7 @@ export default {
startTime
:
[
""
,
""
],
endTime
:
[
""
,
""
]
}
,
warehouseList
:
[],
currencyList
:
[],
tradeCityList
:
[],
channelList
:
[],
...
...
@@ -268,6 +270,10 @@ export default {
}
)
return
map
}
,
exportWarehouseList
()
{
/* tradeType 1 进口,2出口,3进出口 */
return
this
.
warehouseList
.
filter
((
item
)
=>
item
.
tradeType
==
2
||
item
.
tradeType
==
3
)
}
,
exportCityList
()
{
return
this
.
tradeCityList
.
filter
((
item
)
=>
item
.
type
==
2
)
}
,
...
...
@@ -293,8 +299,11 @@ export default {
if
(
this
.
$route
.
fullPath
.
indexOf
(
"
dept
"
)
>
-
1
)
{
this
.
dept
=
true
}
getTradeCityList
().
then
((
res
)
=>
(
this
.
tradeCityList
=
res
.
data
))
// getTradeCityList().then((res) => (this.tradeCityList = res.data))
getWarehouseList
().
then
((
res
)
=>
{
this
.
tradeCityList
=
res
.
data
this
.
warehouseList
=
res
.
data
}
)
getCurrencyList
().
then
((
res
)
=>
{
this
.
currencyList
=
res
.
data
}
)
...
...
@@ -493,6 +502,10 @@ export default {
formatQuery
()
{
let
obj
=
{
}
//目的国
if
(
this
.
startWarehouseId
!=
null
&&
this
.
startWarehouseId
!=
""
)
{
obj
.
startWarehouseIds
=
this
.
startWarehouseId
}
//目的国
if
(
this
.
destCountryId
!=
null
&&
this
.
destCountryId
!=
""
)
{
obj
.
destCountryIds
=
this
.
destCountryId
}
...
...
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