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
a378af4f
Commit
a378af4f
authored
Aug 26, 2024
by
yujinyao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户详情订单tag增加查询条件
parent
4fda88f1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
276 additions
and
15 deletions
+276
-15
en_US.json
src/i18n/languages/en_US.json
+0
-2
zh_CN.json
src/i18n/languages/zh_CN.json
+0
-2
query.vue
src/views/ecw/customer/query.vue
+276
-11
No files found.
src/i18n/languages/en_US.json
View file @
a378af4f
...
@@ -4527,8 +4527,6 @@
...
@@ -4527,8 +4527,6 @@
"控制无收货人"
:
"Control not consignee"
,
"控制无收货人"
:
"Control not consignee"
,
"默认付款"
:
"Default payment"
,
"默认付款"
:
"Default payment"
,
"默认开票"
:
"Default Billing"
,
"默认开票"
:
"Default Billing"
,
"请选择获取方式"
:
"Please select customer get method"
,
"请选择创建入口"
:
"Please select customer create from"
,
"请选择业务国家"
:
"Please select customer operating country"
,
"请选择业务国家"
:
"Please select customer operating country"
,
"装柜/出仓时间"
:
"Loading/Exit Time"
,
"装柜/出仓时间"
:
"Loading/Exit Time"
,
"卸柜/到仓时间"
:
"Unloading/Arrival Time"
,
"卸柜/到仓时间"
:
"Unloading/Arrival Time"
,
...
...
src/i18n/languages/zh_CN.json
View file @
a378af4f
...
@@ -312,8 +312,6 @@
...
@@ -312,8 +312,6 @@
"控制无收货人"
:
"控制无收货人"
,
"控制无收货人"
:
"控制无收货人"
,
"默认付款"
:
"默认付款"
,
"默认付款"
:
"默认付款"
,
"默认开票"
:
"默认开票"
,
"默认开票"
:
"默认开票"
,
"请选择获取方式"
:
"请选择获取方式"
,
"请选择创建入口"
:
"请选择创建入口"
,
"请选择业务国家"
:
"请选择业务国家"
,
"请选择业务国家"
:
"请选择业务国家"
,
"装柜/出仓时间"
:
"装柜/出仓时间"
,
"装柜/出仓时间"
:
"装柜/出仓时间"
,
"卸柜/到仓时间"
:
"卸柜/到仓时间"
,
"卸柜/到仓时间"
:
"卸柜/到仓时间"
,
...
...
src/views/ecw/customer/query.vue
View file @
a378af4f
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
<
el
-
tab
-
pane
name
=
"
order
"
:
label
=
"
$t('订单')
"
>
<
el
-
tab
-
pane
name
=
"
order
"
:
label
=
"
$t('订单')
"
>
<
el
-
card
class
=
"
box-card
"
>
<
el
-
card
class
=
"
box-card
"
>
<
div
slot
=
"
header
"
class
=
"
clearfix
"
>
<
div
slot
=
"
header
"
class
=
"
clearfix
"
>
<
el
-
form
:
inline
=
"
true
"
>
<
el
-
form
:
inline
=
"
true
"
size
=
"
small
"
>
<
el
-
form
-
item
:
label
=
"
$t('运输方式:')
"
>
<
el
-
form
-
item
:
label
=
"
$t('运输方式:')
"
>
<
dict
-
selector
:
type
=
"
DICT_TYPE.ECW_TRANSPORT_TYPE
"
v
-
model
=
"
queryParams.transportId
"
formatter
=
"
number
"
/>
<
dict
-
selector
:
type
=
"
DICT_TYPE.ECW_TRANSPORT_TYPE
"
v
-
model
=
"
queryParams.transportId
"
formatter
=
"
number
"
/>
<
/el-form-item
>
<
/el-form-item
>
...
@@ -88,6 +88,42 @@
...
@@ -88,6 +88,42 @@
range
-
separator
=
"
-
"
range
-
separator
=
"
-
"
:
start
-
placeholder
=
"
$t('开始日期')
"
:
end
-
placeholder
=
"
$t('结束日期')
"
/>
:
start
-
placeholder
=
"
$t('开始日期')
"
:
end
-
placeholder
=
"
$t('结束日期')
"
/>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('目的国')
"
prop
=
"
destCountryId
"
>
<
el
-
select
v
-
model
=
"
destCountryId
"
:
label
=
"
destCountryId
"
clearable
@
change
=
"
handleQuery
"
>
<
el
-
option
v
-
for
=
"
item in countryList
"
:
key
=
"
item.id
"
:
label
=
"
$l(item, 'title')
"
:
value
=
"
item.id
"
>
<
/el-option
>
<
/el-select
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('目的地')
"
prop
=
"
destCityId
"
>
<
el
-
select
v
-
model
=
"
destCityId
"
clearable
@
change
=
"
handleQuery
"
>
<
el
-
option
v
-
for
=
"
item in AddressCity
"
:
key
=
"
item.shi
"
:
label
=
"
item.shiName
"
:
value
=
"
item.shi
"
><
/el-option
>
<
/el-select
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('目的仓')
"
prop
=
"
destWarehouseId
"
>
<
el
-
select
v
-
model
=
"
destWarehouseId
"
clearable
@
change
=
"
handleQuery
"
>
<
el
-
option
v
-
for
=
"
item in AddressTown
"
:
key
=
"
item.id
"
:
label
=
"
item.titleZh
"
:
value
=
"
item.id
"
><
/el-option
>
<
/el-select
>
<
/el-form-item
>
<
el
-
form
-
item
>
<
el
-
form
-
item
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
getorderList
"
>
{{
$t
(
'
搜索
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
getorderList
"
>
{{
$t
(
'
搜索
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
()=>{
<
el
-
button
type
=
"
primary
"
@
click
=
"
()=>{
...
@@ -610,7 +646,7 @@ import { parseTime } from '@/utils/ruoyi'
...
@@ -610,7 +646,7 @@ import { parseTime } from '@/utils/ruoyi'
import
CustomerComplaint
from
'
@/views/ecw/customerComplaint
'
import
CustomerComplaint
from
'
@/views/ecw/customerComplaint
'
import
{
listServiceUser
}
from
'
@/api/system/user
'
import
{
listServiceUser
}
from
'
@/api/system/user
'
import
{
getCustomerContactsListByCustomer
}
from
'
@/api/ecw/customerContacts
'
import
{
getCustomerContactsListByCustomer
}
from
'
@/api/ecw/customerContacts
'
import
{
getOrderPage
}
from
"
@/api/ecw/order
"
;
import
{
getOrderPage
,
getRegionList
}
from
"
@/api/ecw/order
"
;
import
Template
from
"
@/views/cms/template
"
;
import
Template
from
"
@/views/cms/template
"
;
import
{
getCreditRulePage
}
from
"
@/api/customer/creditRule
"
;
import
{
getCreditRulePage
}
from
"
@/api/customer/creditRule
"
;
import
{
getCountry
}
from
"
@/api/ecw/country
"
import
{
getCountry
}
from
"
@/api/ecw/country
"
...
@@ -618,7 +654,7 @@ import {getCurrencyList} from "@/api/ecw/currency";
...
@@ -618,7 +654,7 @@ import {getCurrencyList} from "@/api/ecw/currency";
import
customerLog
from
"
@/views/ecw/customer/customerLog.vue
"
;
import
customerLog
from
"
@/views/ecw/customer/customerLog.vue
"
;
import
{
checkPermi
}
from
"
@/utils/permission
"
;
import
{
checkPermi
}
from
"
@/utils/permission
"
;
import
ImageDisplay
from
"
@/views/ecw/order/components/imageDisplay.vue
"
;
import
ImageDisplay
from
"
@/views/ecw/order/components/imageDisplay.vue
"
;
import
{
getListTree
}
from
"
@/api/ecw/region
"
;
export
default
{
export
default
{
name
:
'
query
'
,
name
:
'
query
'
,
components
:
{
components
:
{
...
@@ -669,7 +705,9 @@ export default {
...
@@ -669,7 +705,9 @@ export default {
// this.creditScoreStatisticFn() //信用日志
// this.creditScoreStatisticFn() //信用日志
// this.infoListReceiptFn()//账单
// this.infoListReceiptFn()//账单
this
.
getData
();
//获取城市列表
this
.
getCountryList
();
}
,
}
,
watch
:{
watch
:{
activeName
(
val
){
activeName
(
val
){
...
@@ -699,7 +737,166 @@ export default {
...
@@ -699,7 +737,166 @@ export default {
break
break
}
}
}
}
,
destCountryId
:
{
//监听当前地区值的变化,于与上方地区值进行了双向绑定
deep
:
true
,
//深度监听
handler
()
{
//每当值省份值改变时其下地区值进行清空
this
.
AddressCity
=
[];
this
.
AddressTown
=
[];
this
.
destWarehouseId
=
""
;
this
.
destCityId
=
""
;
this
.
findByprovinceCode
();
if
(
this
.
destCountryId
==
""
)
{
//1 是所有区域,2 国家,3是市,
getRegionList
(
4
,
4
)
.
then
(({
data
}
)
=>
{
this
.
AddressCity
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
getRegionList
(
5
,
5
)
.
then
(({
data
}
)
=>
{
this
.
AddressTown
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
else
if
(
this
.
destCountryId
!=
""
&&
this
.
objectiveId
==
""
&&
this
.
destWarehouseId
==
""
)
{
getRegionList
(
2
,
this
.
destCountryId
)
.
then
(({
data
}
)
=>
{
this
.
AddressCity
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
getRegionList
(
5
,
5
)
.
then
(({
data
}
)
=>
{
this
.
AddressTown
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
}
,
}
,
destCityId
:
{
deep
:
true
,
//深度监听 目的仓
handler
()
{
this
.
AddressTown
=
[];
this
.
destWarehouseId
=
""
;
this
.
findBycityCode
();
if
(
this
.
destCityId
!=
""
&&
this
.
destCountryId
!=
""
&&
this
.
destWarehouseId
==
""
)
{
//获取当前城市值id,获取该城市下区域
getRegionList
(
3
,
this
.
destCityId
)
.
then
(({
data
}
)
=>
{
this
.
AddressTown
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
else
if
(
this
.
destCountryId
==
""
&&
this
.
destCityId
==
""
&&
this
.
destWarehouseId
==
""
)
{
getRegionList
(
5
,
5
)
.
then
(({
data
}
)
=>
{
this
.
AddressTown
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
else
if
(
this
.
destCountryId
!=
""
&&
this
.
destCityId
==
""
&&
this
.
destWarehouseId
==
""
)
{
getRegionList
(
2
,
this
.
destCountryId
)
.
then
(({
data
}
)
=>
{
this
.
AddressCity
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
getRegionList
(
5
,
5
)
.
then
(({
data
}
)
=>
{
this
.
AddressTown
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
else
if
(
this
.
destCountryId
==
""
&&
this
.
destCityId
!=
""
&&
this
.
destWarehouseId
==
""
)
{
//获取当前城市值id,获取该城市下区域
getRegionList
(
3
,
this
.
destCityId
)
.
then
(({
data
}
)
=>
{
this
.
AddressTown
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
}
,
}
,
destWarehouseId
:
{
deep
:
true
,
//深度监听
handler
()
{
if
(
this
.
destCountryId
!=
""
&&
this
.
destCityId
!=
""
&&
this
.
destWarehouseId
==
""
)
{
//获取当前城市值id,获取该城市下区域
getRegionList
(
3
,
this
.
destCityId
)
.
then
(({
data
}
)
=>
{
this
.
AddressTown
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
else
if
(
this
.
destCountryId
!=
""
&&
this
.
destCityId
==
""
&&
this
.
destWarehouseId
==
""
)
{
getRegionList
(
5
,
5
)
.
then
(({
data
}
)
=>
{
this
.
AddressTown
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
else
if
(
this
.
destCountryId
==
""
&&
this
.
destCityId
!=
""
&&
this
.
destWarehouseId
==
""
)
{
getRegionList
(
3
,
this
.
destCityId
)
.
then
(({
data
}
)
=>
{
this
.
AddressTown
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
}
,
}
,
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -805,7 +1002,15 @@ export default {
...
@@ -805,7 +1002,15 @@ export default {
}
,
}
,
infoListReceiptTotal
:
0
,
infoListReceiptTotal
:
0
,
country
:
''
,
country
:
''
,
showMore
:
true
showMore
:
true
,
countryList
:
[],
AddressCity
:
[],
//目的城市
AddressProvince
:
[],
//省份
AddressTown
:
[],
//目的仓
destCountryId
:
[],
objectiveId
:
[],
destCityId
:
null
,
destWarehouseId
:
""
,
}
}
}
,
}
,
computed
:
{
computed
:
{
...
@@ -963,12 +1168,72 @@ export default {
...
@@ -963,12 +1168,72 @@ export default {
this
.
$router
.
back
()
this
.
$router
.
back
()
}
)
}
)
}
)
}
)
}
}
,
findByprovinceCode
()
{
//获取当前省份值id,获取该省份下城市 destCountryId provinceCode
getRegionList
(
2
,
this
.
destCountryId
)
.
then
(({
data
}
)
=>
{
this
.
AddressCity
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
,
findBycityCode
()
{
//获取当前城市值id,获取该城市下区域
getRegionList
(
3
,
this
.
objectiveId
)
.
then
(({
data
}
)
=>
{
this
.
AddressTown
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
,
getData
()
{
//加载时发起请求获取所有省份值
/*getRegionList(1, 1)
.then(({ data
}
) => {
this.AddressProvince = data;
}
)
.catch((error) => {
console.log(error);
}
);*/
//目的城市
getRegionList
(
4
,
4
)
.
then
(({
data
}
)
=>
{
this
.
AddressCity
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
//目的仓
getRegionList
(
5
,
5
)
.
then
(({
data
}
)
=>
{
this
.
AddressTown
=
data
;
}
)
.
catch
((
error
)
=>
{
console
.
log
(
error
);
}
);
}
,
/* 国家 */
getCountryList
()
{
getListTree
({
treeType
:
1
}
).
then
((
response
)
=>
{
this
.
countryList
=
response
.
data
;
}
);
}
,
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
pageNo
=
1
;
//目的城市
this
.
queryParams
.
destCityId
=
this
.
destCityId
;
//目的国
this
.
queryParams
.
destCountryId
=
this
.
destCountryId
;
//目的仓
this
.
queryParams
.
destWarehouseId
=
this
.
destWarehouseId
;
this
.
getorderList
()
}
,
}
,
}
,
}
}
<
/script
>
<
/script
>
<
style
scoped
>
<
/style
>
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