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
d171fffb
Commit
d171fffb
authored
Jul 27, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善自编号报表的目的国备选和必选规则
parent
4840b7f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
selfNoReport.vue
src/views/ecw/financial/selfNoReport.vue
+12
-2
No files found.
src/views/ecw/financial/selfNoReport.vue
View file @
d171fffb
...
...
@@ -27,7 +27,7 @@
<el-option
v-for=
"item in countryList"
:key=
"item.id"
:label=
"$l(item, '
nam
e')"
:label=
"$l(item, '
titl
e')"
:value=
"item.id"
/>
</el-select>
...
...
@@ -119,6 +119,7 @@ import store from "@/store";
import
{
boxSettlementPage
,
exportSettlementExcel
}
from
"
@/api/ecw/box
"
;
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
getCountryListAll
}
from
"
@/api/ecw/country
"
;
import
{
getListTree
}
from
"
@/api/ecw/region
"
;
export
default
{
data
()
{
...
...
@@ -147,10 +148,16 @@ export default {
// getTradeCityList().then((res) => (this.tradeCityList = res.data));
this
.
getList
();
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
get
CountryListAll
(
).
then
(
r
=>
{
get
ListTree
({
treeType
:
1
}
).
then
(
r
=>
{
this
.
countryList
=
r
.
data
})
},
watch
:{
// 目的国变更后要重置目的仓
'
queryParams.destCountryId
'
:
function
(){
this
.
$set
(
this
.
queryParams
,
'
destWarehouseId
'
,
''
)
}
},
computed
:
{
DICT_TYPE
()
{
return
DICT_TYPE
...
...
@@ -198,6 +205,9 @@ export default {
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
page
=
1
;
if
(
!
this
.
queryParams
.
destCountryId
){
return
this
.
$message
.
error
(
this
.
$t
(
'
请选择目的国
'
))
}
this
.
getList
();
},
handleReset
(){
...
...
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