Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
EcomWeb
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
zhanbo.xu
2025-09-02 14:03:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
682080ec2b9654bac94d97bbf8cbafa9ada51fbc
682080ec
1 parent
39077e06
feat: 缓存页面
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
282 additions
and
236 deletions
src/components/FormTextareaInput/index.vue
src/layout/components/AppMain.vue
src/layout/components/Sidebar/Link.vue
src/layout/components/TagsView/index.vue
src/layout/components/TagsView/route.js
src/layout/index.vue
src/settings.js
src/store/modules/tagsView.js
src/views/arrival-declare/index.vue
src/views/arrival-list-detail/index.vue
src/views/arrival-list/index.vue
src/views/customerConfig/index.vue
src/views/editReportingData/index.vue
src/views/exportBillDetail/index.vue
src/views/exportBillQuery/index.vue
src/views/exportListDetail/index.vue
src/views/exportListQuery/index.vue
src/views/exportRevokeBillQuery/index.vue
src/views/exportTransportBillQuery/index.vue
src/views/exportTransportDetail/index.vue
src/views/hs-code/index.vue
src/views/index.vue
src/views/listBranchDetail/index.vue
src/views/listBranchQuery/index.vue
src/views/log-search/index.vue
src/views/logisticsExitDetail/index.vue
src/views/logisticsExitQuery/index.vue
src/views/menu-list/index.vue
src/views/pdd-info/detail.vue
src/views/pdd-info/index.vue
src/views/receipt-management/index.vue
src/views/reportingData/index.vue
src/views/summaryDataSearch/index.vue
src/views/summaryDetail/index.vue
src/views/summaryEdit/index.vue
src/components/FormTextareaInput/index.vue
View file @
682080e
...
...
@@ -69,23 +69,33 @@ export default {
textareaVisible: false,
};
},
watch: {
formData: {
handler(val) {
if (!val[this.dataKey]) {
this.textareaVisible = false;
let inputInner = document.querySelector(
"#inputInner--" + this.dataKey
);
inputInner.classList.remove("inputFocus");
}
},
deep: true,
},
},
methods: {
//文本域展示状态切换
textareaFocus(val) {
this.textareaVisible = true;
this.$nextTick(() => {
document
.querySelector("#popoverInput" + val.target.name.split("-")[0])
.focus();
document.querySelector(
"#inputInner--" + val.target.name.split("-")[0]
).style.display = "none";
document.querySelector("#popoverInput" + this.dataKey).focus();
document.querySelector("#inputInner--" + this.dataKey).style.display =
"none";
});
},
textareaBlur(val) {
let inputInner = document.querySelector(
"#inputInner--" + val.target.name.split("-")[0]
);
let inputInner = document.querySelector("#inputInner--" + this.dataKey);
this.textareaVisible = false;
inputInner.style.display = "block";
this.$nextTick(() => {
...
...
@@ -101,7 +111,7 @@ export default {
}
});
let arr = [];
this.formData[
val.target.name.split("-")[0]
]
this.formData[
this.dataKey
]
.replace(/[\n\,\;\;]/g, ",")
.replace(/[\t]/g, "")
.split(",")
...
...
@@ -110,7 +120,7 @@ export default {
arr.push(str.trim());
}
});
this.formData[
val.target.name.split("-")[0]
] = arr.join("\n");
this.formData[
this.dataKey
] = arr.join("\n");
this.$emit("formChange", this.formData);
this.$forceUpdate();
},
...
...
src/layout/components/AppMain.vue
View file @
682080e
<template>
<section class="app-main">
<transition name="fade-transform" mode="out-in">
<keep-alive :include="cachedViews">
<
!-- <
keep-alive :include="cachedViews">
<router-view :key="key" />
</keep-alive> -->
<router-view v-if="!cachedViews.includes(cachesName)"></router-view>
<keep-alive v-else>
<router-view :key="key"></router-view>
</keep-alive>
</transition>
</section>
...
...
@@ -13,11 +17,16 @@ export default {
name: "AppMain",
computed: {
cachedViews() {
console.log(this.$store.state.tagsView);
return this.$store.state.tagsView.cachedViews;
},
key() {
console.log(this.$route, this.$route.fullPath);
return this.$route.fullPath;
},
cachesName() {
return this.$route.name;
},
},
};
</script>
...
...
@@ -42,7 +51,7 @@ export default {
.hasTagsView {
.app-main {
/* 84 = navbar + tags-view = 50 + 34 */
min-height: calc(100vh -
84
px);
min-height: calc(100vh -
98
px);
}
.fixed-header + .app-main {
...
...
src/layout/components/Sidebar/Link.vue
View file @
682080e
...
...
@@ -5,39 +5,41 @@
</template>
<script>
import { isExternal } from
'@/utils/validate'
import { isExternal } from
"@/utils/validate";
export default {
props: {
to: {
type: String,
required: true
}
required: true
,
}
,
},
computed: {
isExternal() {
return isExternal(this.to)
return isExternal(this.to)
;
},
type() {
if (this.isExternal) {
return
'a'
return
"a";
}
return
'router-link'
}
return
"router-link";
}
,
},
methods: {
linkProps(to) {
console.log(to);
if (this.isExternal) {
return {
href: to,
target:
'_blank'
,
rel:
'noopener'
}
target:
"_blank"
,
rel:
"noopener",
}
;
}
return {
to: to
}
}
}
}
to: to
,
}
;
}
,
}
,
}
;
</script>
...
...
src/layout/components/TagsView/index.vue
View file @
682080e
This diff is collapsed. Click to expand it.
src/layout/components/TagsView/route.js
0 → 100644
View file @
682080e
export
const
routeNameMap
=
{
"/reportingData"
:
"ReportingData"
,
// 分单级申报数据
"/editReportingData"
:
"EditReportingData"
,
// 申报数据编辑
"/arrival-declare"
:
"ArrivalDeclare"
,
// 总单级申报数据
"/receipt-management"
:
"ReceiptManagement"
,
//模拟回执管理
"/exportBillQuery"
:
"ExportBillQuery"
,
"/exportBillDetail"
:
"ExportBillDetail"
,
"/exportTransportBillQuery"
:
"ExportTransportBillQuery"
,
"/exportTransportDetail"
:
"ExportTransportDetail"
,
//出口运单详情
"/exportListQuery"
:
"ExportListQuery"
,
"/exportListDetail"
:
"ExportListDetail"
,
"/listBranchQuery"
:
"ListBranchQuery"
,
"/listBranchDetail"
:
"ListBranchDetail"
,
"/arrival-list"
:
"ArrivalList"
,
"/arrival-list-detail"
:
"ArrivalListDetail"
,
"/logisticsExitQuery"
:
"LogisticsExitQuery"
,
"/logisticsExitDetail"
:
"LogisticsExitDetail"
,
"/exportRevokeBillQuery"
:
"ExportRevokeBillQuery"
,
"/pdd-info"
:
"PddList"
,
"/pdd-detail"
:
"PddListDetail"
,
"/summaryEdit"
:
"SummaryEdit"
,
"/summaryDetail"
:
"SummaryDetail"
,
"/summaryDataSearch"
:
"SummaryDataSearch"
,
"/log-search"
:
"LogSearch"
,
"/portConfig"
:
"PortConfig"
,
"/customerConfig"
:
"CustomerConfig"
,
"/hs-code"
:
"HsCode"
,
"/cipherMachineConfig"
:
"CipherMachineConfig"
,
"/api-key"
:
"ApiKey"
,
"/supervise-place-manage"
:
"SupervisePlaceManage"
,
"/userRoleConfig"
:
"UserRoleConfig"
,
"/roleConfig"
:
"RoleConfig"
,
};
src/layout/index.vue
View file @
682080e
...
...
@@ -99,15 +99,15 @@ export default {
watch: {
$route(val) {
this.activeRoute = val;
this.setMainHeight();
//
this.setMainHeight();
},
},
mounted() {},
methods: {
setMainHeight(val) {
document.querySelector(".main-container").style.height =
"calc(100% - 64px)";
},
//
setMainHeight(val) {
//
document.querySelector(".main-container").style.height =
//
"calc(100% - 64px)";
//
},
handleClickOutside() {
this.$store.dispatch("app/closeSideBar", { withoutAnimation: false });
},
...
...
@@ -127,6 +127,10 @@ export default {
@import "~@/assets/styles/mixin.scss";
@import "~@/assets/styles/variables.scss";
.main-container {
height: calc(100vh - 98px) !important;
}
.app-wrapper {
@include clearfix;
position: relative;
...
...
src/settings.js
View file @
682080e
module
.
exports
=
{
title
:
'跨境电商在线申报'
,
title
:
"跨境电商在线申报"
,
/**
* 侧边栏主题 深色主题theme-dark,浅色主题theme-light
*/
sideTheme
:
'theme-light'
,
sideTheme
:
"theme-light"
,
/**
* 是否系统布局配置
...
...
@@ -19,7 +19,7 @@ module.exports = {
/**
* 是否显示 tagsView
*/
tagsView
:
fals
e
,
tagsView
:
tru
e
,
/**
* 是否固定头部
...
...
@@ -37,5 +37,5 @@ module.exports = {
* The default is only used in the production env
* If you want to also use it in dev, you can pass ['production', 'development']
*/
errorLog
:
'production'
}
errorLog
:
"production"
,
}
;
...
...
src/store/modules/tagsView.js
View file @
682080e
const
state
=
{
visitedViews
:
[],
cachedViews
:
[]
}
cachedViews
:
[]
,
}
;
const
mutations
=
{
ADD_VISITED_VIEW
:
(
state
,
view
)
=>
{
if
(
state
.
visitedViews
.
some
(
v
=>
v
.
path
===
view
.
path
))
return
if
(
state
.
visitedViews
.
some
(
(
v
)
=>
v
.
path
===
view
.
path
))
return
;
state
.
visitedViews
.
push
(
Object
.
assign
({},
view
,
{
title
:
view
.
meta
.
title
||
'no-name'
title
:
view
.
meta
.
title
||
"no-name"
,
})
)
)
;
},
ADD_CACHED_VIEW
:
(
state
,
view
)
=>
{
if
(
state
.
cachedViews
.
includes
(
view
.
name
))
return
if
(
state
.
cachedViews
.
includes
(
view
.
name
))
return
;
if
(
!
view
.
meta
.
noCache
)
{
state
.
cachedViews
.
push
(
view
.
name
)
state
.
cachedViews
.
push
(
view
.
name
)
;
}
},
DEL_VISITED_VIEW
:
(
state
,
view
)
=>
{
for
(
const
[
i
,
v
]
of
state
.
visitedViews
.
entries
())
{
if
(
v
.
path
===
view
.
path
)
{
state
.
visitedViews
.
splice
(
i
,
1
)
break
state
.
visitedViews
.
splice
(
i
,
1
)
;
break
;
}
}
},
DEL_CACHED_VIEW
:
(
state
,
view
)
=>
{
const
index
=
state
.
cachedViews
.
indexOf
(
view
.
name
)
index
>
-
1
&&
state
.
cachedViews
.
splice
(
index
,
1
)
const
index
=
state
.
cachedViews
.
indexOf
(
view
.
name
)
;
index
>
-
1
&&
state
.
cachedViews
.
splice
(
index
,
1
)
;
},
DEL_OTHERS_VISITED_VIEWS
:
(
state
,
view
)
=>
{
state
.
visitedViews
=
state
.
visitedViews
.
filter
(
v
=>
{
return
v
.
meta
.
affix
||
v
.
path
===
view
.
path
})
state
.
visitedViews
=
state
.
visitedViews
.
filter
(
(
v
)
=>
{
return
v
.
meta
.
affix
||
v
.
path
===
view
.
path
;
})
;
},
DEL_OTHERS_CACHED_VIEWS
:
(
state
,
view
)
=>
{
const
index
=
state
.
cachedViews
.
indexOf
(
view
.
name
)
const
index
=
state
.
cachedViews
.
indexOf
(
view
.
name
)
;
if
(
index
>
-
1
)
{
state
.
cachedViews
=
state
.
cachedViews
.
slice
(
index
,
index
+
1
)
state
.
cachedViews
=
state
.
cachedViews
.
slice
(
index
,
index
+
1
)
;
}
else
{
state
.
cachedViews
=
[]
state
.
cachedViews
=
[]
;
}
},
DEL_ALL_VISITED_VIEWS
:
state
=>
{
DEL_ALL_VISITED_VIEWS
:
(
state
)
=>
{
// keep affix tags
const
affixTags
=
state
.
visitedViews
.
filter
(
tag
=>
tag
.
meta
.
affix
)
state
.
visitedViews
=
affixTags
const
affixTags
=
state
.
visitedViews
.
filter
(
(
tag
)
=>
tag
.
meta
.
affix
);
state
.
visitedViews
=
affixTags
;
},
DEL_ALL_CACHED_VIEWS
:
state
=>
{
state
.
cachedViews
=
[]
DEL_ALL_CACHED_VIEWS
:
(
state
)
=>
{
state
.
cachedViews
=
[]
;
},
UPDATE_VISITED_VIEW
:
(
state
,
view
)
=>
{
for
(
let
v
of
state
.
visitedViews
)
{
if
(
v
.
path
===
view
.
path
)
{
v
=
Object
.
assign
(
v
,
view
)
break
v
=
Object
.
assign
(
v
,
view
)
;
break
;
}
}
},
DEL_RIGHT_VIEWS
:
(
state
,
view
)
=>
{
const
index
=
state
.
visitedViews
.
findIndex
(
v
=>
v
.
path
===
view
.
path
)
const
index
=
state
.
visitedViews
.
findIndex
(
(
v
)
=>
v
.
path
===
view
.
path
);
if
(
index
===
-
1
)
{
return
return
;
}
state
.
visitedViews
=
state
.
visitedViews
.
filter
((
item
,
idx
)
=>
{
if
(
idx
<=
index
||
(
item
.
meta
&&
item
.
meta
.
affix
))
{
return
true
return
true
;
}
const
i
=
state
.
cachedViews
.
indexOf
(
item
.
name
)
const
i
=
state
.
cachedViews
.
indexOf
(
item
.
name
)
;
if
(
i
>
-
1
)
{
state
.
cachedViews
.
splice
(
i
,
1
)
state
.
cachedViews
.
splice
(
i
,
1
)
;
}
return
false
})
}
}
return
false
;
})
;
}
,
}
;
const
actions
=
{
addView
({
dispatch
},
view
)
{
dispatch
(
'addVisitedView'
,
view
)
dispatch
(
'addCachedView'
,
view
)
dispatch
(
"addVisitedView"
,
view
);
dispatch
(
"addCachedView"
,
view
);
console
.
log
(
"addView"
,
view
);
},
addVisitedView
({
commit
},
view
)
{
commit
(
'ADD_VISITED_VIEW'
,
view
)
commit
(
"ADD_VISITED_VIEW"
,
view
);
},
addCachedView
({
commit
},
view
)
{
commit
(
'ADD_CACHED_VIEW'
,
view
)
commit
(
"ADD_CACHED_VIEW"
,
view
);
},
delView
({
dispatch
,
state
},
view
)
{
return
new
Promise
(
resolve
=>
{
dispatch
(
'delVisitedView'
,
view
)
dispatch
(
'delCachedView'
,
view
)
return
new
Promise
(
(
resolve
)
=>
{
dispatch
(
"delVisitedView"
,
view
);
dispatch
(
"delCachedView"
,
view
);
resolve
({
visitedViews
:
[...
state
.
visitedViews
],
cachedViews
:
[...
state
.
cachedViews
]
})
})
cachedViews
:
[...
state
.
cachedViews
]
,
})
;
})
;
},
delVisitedView
({
commit
,
state
},
view
)
{
return
new
Promise
(
resolve
=>
{
commit
(
'DEL_VISITED_VIEW'
,
view
)
resolve
([...
state
.
visitedViews
])
})
return
new
Promise
(
(
resolve
)
=>
{
commit
(
"DEL_VISITED_VIEW"
,
view
);
resolve
([...
state
.
visitedViews
])
;
})
;
},
delCachedView
({
commit
,
state
},
view
)
{
return
new
Promise
(
resolve
=>
{
commit
(
'DEL_CACHED_VIEW'
,
view
)
resolve
([...
state
.
cachedViews
])
})
return
new
Promise
(
(
resolve
)
=>
{
commit
(
"DEL_CACHED_VIEW"
,
view
);
resolve
([...
state
.
cachedViews
])
;
})
;
},
delOthersViews
({
dispatch
,
state
},
view
)
{
return
new
Promise
(
resolve
=>
{
dispatch
(
'delOthersVisitedViews'
,
view
)
dispatch
(
'delOthersCachedViews'
,
view
)
return
new
Promise
(
(
resolve
)
=>
{
dispatch
(
"delOthersVisitedViews"
,
view
);
dispatch
(
"delOthersCachedViews"
,
view
);
resolve
({
visitedViews
:
[...
state
.
visitedViews
],
cachedViews
:
[...
state
.
cachedViews
]
})
})
cachedViews
:
[...
state
.
cachedViews
]
,
})
;
})
;
},
delOthersVisitedViews
({
commit
,
state
},
view
)
{
return
new
Promise
(
resolve
=>
{
commit
(
'DEL_OTHERS_VISITED_VIEWS'
,
view
)
resolve
([...
state
.
visitedViews
])
})
return
new
Promise
(
(
resolve
)
=>
{
commit
(
"DEL_OTHERS_VISITED_VIEWS"
,
view
);
resolve
([...
state
.
visitedViews
])
;
})
;
},
delOthersCachedViews
({
commit
,
state
},
view
)
{
return
new
Promise
(
resolve
=>
{
commit
(
'DEL_OTHERS_CACHED_VIEWS'
,
view
)
resolve
([...
state
.
cachedViews
])
})
return
new
Promise
(
(
resolve
)
=>
{
commit
(
"DEL_OTHERS_CACHED_VIEWS"
,
view
);
resolve
([...
state
.
cachedViews
])
;
})
;
},
delAllViews
({
dispatch
,
state
},
view
)
{
return
new
Promise
(
resolve
=>
{
dispatch
(
'delAllVisitedViews'
,
view
)
dispatch
(
'delAllCachedViews'
,
view
)
return
new
Promise
(
(
resolve
)
=>
{
dispatch
(
"delAllVisitedViews"
,
view
);
dispatch
(
"delAllCachedViews"
,
view
);
resolve
({
visitedViews
:
[...
state
.
visitedViews
],
cachedViews
:
[...
state
.
cachedViews
]
})
})
cachedViews
:
[...
state
.
cachedViews
]
,
})
;
})
;
},
delAllVisitedViews
({
commit
,
state
})
{
return
new
Promise
(
resolve
=>
{
commit
(
'DEL_ALL_VISITED_VIEWS'
)
resolve
([...
state
.
visitedViews
])
})
return
new
Promise
(
(
resolve
)
=>
{
commit
(
"DEL_ALL_VISITED_VIEWS"
);
resolve
([...
state
.
visitedViews
])
;
})
;
},
delAllCachedViews
({
commit
,
state
})
{
return
new
Promise
(
resolve
=>
{
commit
(
'DEL_ALL_CACHED_VIEWS'
)
resolve
([...
state
.
cachedViews
])
})
return
new
Promise
(
(
resolve
)
=>
{
commit
(
"DEL_ALL_CACHED_VIEWS"
);
resolve
([...
state
.
cachedViews
])
;
})
;
},
updateVisitedView
({
commit
},
view
)
{
commit
(
'UPDATE_VISITED_VIEW'
,
view
)
commit
(
"UPDATE_VISITED_VIEW"
,
view
);
},
delRightTags
({
commit
},
view
)
{
return
new
Promise
(
resolve
=>
{
commit
(
'DEL_RIGHT_VIEWS'
,
view
)
resolve
([...
state
.
visitedViews
])
})
}
}
return
new
Promise
(
(
resolve
)
=>
{
commit
(
"DEL_RIGHT_VIEWS"
,
view
);
resolve
([...
state
.
visitedViews
])
;
})
;
}
,
}
;
export
default
{
namespaced
:
true
,
state
,
mutations
,
actions
}
actions
,
}
;
...
...
src/views/arrival-declare/index.vue
View file @
682080e
...
...
@@ -35,7 +35,7 @@
<!-- 提运单号 -->
<el-col :span="5">
<Formitem label="提运单号" prop="billNo">
<el-input
<
!-- <
el-input
type="text"
class="inputShadow"
id="inputInner--billNo"
...
...
@@ -43,7 +43,12 @@
v-model="sreachFormData.billNo"
clearable
placeholder=""
></el-input>
></el-input> -->
<FormTextareaInput
:formData="sreachFormData"
dataKey="billNo"
@formChange="formChange"
/>
</Formitem>
</el-col>
...
...
@@ -350,7 +355,7 @@ import { getCurrUserPortInfo } from "@/api/system/user.js";
import PopoverComponent from "./popover-component.vue";
export default {
name: "
SupervisePlaceManag
e",
name: "
ArrivalDeclar
e",
components: {
DialogVue,
DataPreview,
...
...
@@ -546,6 +551,10 @@ export default {
methods: {
getTotalDocumentsLevelLog: getTotalDocumentsLevelLog,
getOperationLogByBillNo: getOperationLogByBillNo,
formChange(val) {
this.sreachFormData = val;
},
//申报日志
popperClose() {
this.optionsVisible = false;
...
...
src/views/arrival-list-detail/index.vue
View file @
682080e
...
...
@@ -317,7 +317,7 @@ import ReceiptInfoTable from "../components/ReceiptInfoTable/index.vue";
import ProductDetailTable from "../components/ProductDetailTable/index.vue";
import { getExportArrivalInDetails } from "@/api/arrivalList-api";
export default {
name: "",
name: "
ArrivalListDetail
",
components: { ProductDetailTable, ReceiptInfoTable },
data() {
return {
...
...
@@ -378,8 +378,8 @@ export default {
};
},
created() {
if (this.$route.
params.data
) {
this.id = this.$route.
params.data
.id;
if (this.$route.
query.id
) {
this.id = this.$route.
query
.id;
this.searchData();
} else {
this.back();
...
...
src/views/arrival-list/index.vue
View file @
682080e
...
...
@@ -298,7 +298,8 @@ export default {
view(val) {
this.$router.push({
name: "ArrivalListDetail",
params: { data: val },
// params: { data: val },
query: { id: val.id },
});
},
formChange(val) {
...
...
src/views/customerConfig/index.vue
View file @
682080e
...
...
@@ -175,7 +175,7 @@ import { getDictData } from "@/api/system/dict-api.js";
import DialogVue from "./dialog.vue";
export default {
name: "
Port
Config",
name: "
Customer
Config",
components: {
DialogVue,
},
...
...
src/views/editReportingData/index.vue
View file @
682080e
...
...
@@ -668,7 +668,7 @@ import {
updateDeclareData,
} from "@/api/declareData-api.js";
export default {
name: "",
name: "
EditReportingData
",
components: { RowDataEditForm },
data() {
var checkNegativeNum = (rule, value, callback) => {
...
...
@@ -972,8 +972,8 @@ export default {
};
},
created() {
if (this.$route.
params.data
) {
this.declareId = this.$route.
params.data
.declareId;
if (this.$route.
query.declareId
) {
this.declareId = this.$route.
query
.declareId;
this.queryDeclareData(this.declareId);
this.queryCustomerList();
this.queryPortList();
...
...
src/views/exportBillDetail/index.vue
View file @
682080e
...
...
@@ -101,8 +101,8 @@
</el-col>
</el-row>
<el-row :gutter="5">
<!-- 商品金额 -->
<el-col :span="3">
<!-- 商品金额 -->
<el-col :span="3">
<Formitem label="商品金额" prop="goodsValue">
<el-input
type="text"
...
...
@@ -247,7 +247,7 @@ import ReceiptInfoTable from "../components/ReceiptInfoTable/index.vue";
import ProductDetailTable from "../components/ProductDetailTable/index.vue";
import { getOrderDetailData } from "@/api/exportDetail-api.js";
export default {
name: "",
name: "
ExportBillDetail
",
components: { ProductDetailTable, ReceiptInfoTable },
data() {
return {
...
...
@@ -352,8 +352,8 @@ export default {
};
},
created() {
if (this.$route.
params.data
) {
this.id = this.$route.
params.data
.id;
if (this.$route.
query.id
) {
this.id = this.$route.
query
.id;
this.searchData();
} else {
this.back();
...
...
src/views/exportBillQuery/index.vue
View file @
682080e
...
...
@@ -361,7 +361,8 @@ export default {
view(val) {
this.$router.push({
name: "ExportBillDetail",
params: { data: val },
// params: { data: val },
query: { id: val.id },
});
},
popoverChange(val) {
...
...
src/views/exportListDetail/index.vue
View file @
682080e
...
...
@@ -747,7 +747,7 @@ import DialogVue from "./dialog.vue";
import { isHasAuth } from "../../utils/auth";
export default {
name: "",
name: "
ExportListDetail
",
components: { ProductDetailTable, ReceiptInfoTable, DialogVue },
data() {
return {
...
...
@@ -874,8 +874,8 @@ export default {
};
},
created() {
if (this.$route.
params.data
) {
this.id = this.$route.
params.data
.id;
if (this.$route.
query.id
) {
this.id = this.$route.
query
.id;
this.searchData();
} else {
this.back();
...
...
src/views/exportListQuery/index.vue
View file @
682080e
...
...
@@ -274,7 +274,7 @@ import CustomDialog from "./custom-dialog.vue";
import { formatDateNew } from "../../utils";
export default {
name: "Export
Bill
Query",
name: "Export
List
Query",
components: {
CustomDialog,
},
...
...
@@ -507,7 +507,8 @@ export default {
view(val) {
this.$router.push({
name: "ExportListDetail",
params: { data: val },
// params: { data: val },
query: { id: val.id },
});
},
popoverChange(val) {
...
...
src/views/exportRevokeBillQuery/index.vue
View file @
682080e
...
...
@@ -287,7 +287,8 @@ export default {
view(val) {
this.$router.push({
name: "ExportTransportDetail",
params: { data: val },
// params: { data: val },
query: { id: val.id },
});
},
//查询
...
...
src/views/exportTransportBillQuery/index.vue
View file @
682080e
...
...
@@ -272,7 +272,8 @@ export default {
view(val) {
this.$router.push({
name: "ExportTransportDetail",
params: { data: val },
// params: { data: val },
query: { id: val.id },
});
},
//查询
...
...
src/views/exportTransportDetail/index.vue
View file @
682080e
...
...
@@ -99,7 +99,6 @@
></el-input>
</Formitem>
</el-col>
</el-row>
<el-row :gutter="5">
<!-- 币制 -->
...
...
@@ -135,7 +134,7 @@
></el-input>
</Formitem>
</el-col>
<!-- 主要货物信息 -->
<el-col :span="6">
<Formitem label="主要货物信息" prop="goodsInfo">
...
...
@@ -182,8 +181,8 @@
></el-input>
</Formitem>
</el-col>
<!-- 件数 -->
<el-col :span="3">
<!-- 件数 -->
<el-col :span="3">
<Formitem label="件数" prop="packNo">
<el-input
type="text"
...
...
@@ -214,8 +213,8 @@
</el-select>
</Formitem>
</el-col>
<!-- 运费 -->
<el-col :span="3">
<!-- 运费 -->
<el-col :span="3">
<Formitem label="运费" prop="freight">
<el-input
type="text"
...
...
@@ -283,7 +282,7 @@
import ReceiptInfoTable from "../components/ReceiptInfoTable/index.vue";
import { getTransportDetail } from "@/api/exportDetail-api.js";
export default {
name: "",
name: "
ExportTransportDetail
",
components: { ReceiptInfoTable },
data() {
return {
...
...
@@ -388,8 +387,8 @@ export default {
};
},
created() {
if (this.$route.
params.data
) {
this.id = this.$route.
params.data
.id;
if (this.$route.
query.id
) {
this.id = this.$route.
query
.id;
this.searchData();
} else {
this.back();
...
...
src/views/hs-code/index.vue
View file @
682080e
...
...
@@ -149,7 +149,7 @@ import { getHsCodeList, getHsCodeSingleSync } from "@/api/arrivalList-api.js";
import DialogVue from "./dialog.vue";
import TimeDialog from "./time-dialog.vue";
export default {
name: "
SupervisePlaceManag
e",
name: "
HsCod
e",
components: {
DialogVue,
TimeDialog,
...
...
@@ -429,5 +429,7 @@ export default {
}
.name-wrapper-content {
max-width: 400px;
max-height: 400px;
overflow-y: scroll;
}
</style>
...
...
src/views/index.vue
View file @
682080e
...
...
@@ -13,12 +13,8 @@ export default {
fcl: false,
};
},
created() {
},
methods: {
},
created() {},
methods: {},
};
</script>
...
...
src/views/listBranchDetail/index.vue
View file @
682080e
...
...
@@ -269,7 +269,7 @@
:label="item.itemChineseName"
:value="item.itemValue"
></el-option>
</el-select>
</el-select>
</Formitem>
</el-col>
<!-- 申报日期 -->
...
...
@@ -333,7 +333,7 @@ import ReceiptInfoTable from "../components/ReceiptInfoTable/index.vue";
import ProductDetailTable from "../components/ProductDetailTable/index.vue";
import { getListBranchDetail } from "@/api/exportDetail-api.js";
export default {
name: "",
name: "
ListBranchDetail
",
components: { ProductDetailTable, ReceiptInfoTable },
data() {
return {
...
...
@@ -400,8 +400,8 @@ export default {
};
},
created() {
if (this.$route.
params.data
) {
this.id = this.$route.
params.data
.id;
if (this.$route.
query.id
) {
this.id = this.$route.
query
.id;
this.searchData();
} else {
this.back();
...
...
src/views/listBranchQuery/index.vue
View file @
682080e
...
...
@@ -284,7 +284,8 @@ export default {
view(val) {
this.$router.push({
name: "ListBranchDetail",
params: { data: val },
// params: { data: val },
query: { id: val.id },
});
},
//查询
...
...
src/views/log-search/index.vue
View file @
682080e
...
...
@@ -152,7 +152,7 @@ import { getOperationLogList } from "@/api/logSearch-api.js";
import { getDictData } from "@/api/system/dict-api.js";
export default {
name: "
SupervisePlaceManage
",
name: "
LogSearch
",
components: {},
data() {
return {
...
...
src/views/logisticsExitDetail/index.vue
View file @
682080e
...
...
@@ -104,11 +104,10 @@
></el-input>
</Formitem>
</el-col>
</el-row>
<el-row :gutter="5">
<!-- 申报地海关代码 -->
<el-col :span="3">
<!-- 申报地海关代码 -->
<el-col :span="3">
<Formitem label="申报地海关代码" prop="customsCode">
<el-input
type="text"
...
...
@@ -229,7 +228,7 @@ import ReceiptInfoTable from "../components/ReceiptInfoTable/index.vue";
import ProductDetailTable from "../components/ProductDetailTable/index.vue";
import { getLogisticsExitDetail } from "@/api/exportDetail-api.js";
export default {
name: "
index.vue
",
name: "
LogisticsExitDetail
",
components: { ProductDetailTable, ReceiptInfoTable },
data() {
return {
...
...
@@ -290,8 +289,8 @@ export default {
};
},
created() {
if (this.$route.
params.data
) {
this.id = this.$route.
params.data
.id;
if (this.$route.
query.id
) {
this.id = this.$route.
query
.id;
this.searchData();
} else {
this.back();
...
...
src/views/logisticsExitQuery/index.vue
View file @
682080e
...
...
@@ -290,7 +290,8 @@ export default {
view(val) {
this.$router.push({
name: "LogisticsExitDetail",
params: { data: val },
// params: { data: val },
query: { id: val.id },
});
},
//查询
...
...
src/views/menu-list/index.vue
View file @
682080e
...
...
@@ -91,7 +91,7 @@ import { getRoleList } from "@/api/system/user.js";
import DialogVue from "./dialog.vue";
export default {
name: "
SupervisePlaceManage
",
name: "
MenuList
",
components: {
DialogVue,
},
...
...
src/views/pdd-info/detail.vue
View file @
682080e
...
...
@@ -660,7 +660,7 @@
import { getCustomerDeclareDataId } from "@/api/pdd-info";
import { getCustomerList, getPortList } from "@/api/declareData-api.js";
export default {
name: "",
name: "
PddListDetail
",
// components: { RowDataEditForm },
data() {
var checkNegativeNum = (rule, value, callback) => {
...
...
@@ -965,8 +965,8 @@ export default {
};
},
created() {
if (this.$route.
params.data
) {
this.declareId = this.$route.
params.data
.id;
if (this.$route.
query.id
) {
this.declareId = this.$route.
query
.id;
this.queryDeclareData(this.declareId);
this.queryCustomerList();
this.queryPortList();
...
...
src/views/pdd-info/index.vue
View file @
682080e
...
...
@@ -162,7 +162,7 @@
<script>
import { getPddInfo, getResend } from "@/api/pdd-info";
export default {
name: "
Arrival
List",
name: "
Pdd
List",
components: {},
data() {
return {
...
...
@@ -268,7 +268,8 @@ export default {
view(val) {
this.$router.push({
name: "PddListDetail",
params: { data: val },
// params: { data: val },
query: { id: val.id },
});
},
// 清空
...
...
src/views/receipt-management/index.vue
View file @
682080e
...
...
@@ -138,7 +138,7 @@ import { getDictData } from "@/api/system/dict-api.js";
import DialogVue from "./dialog.vue";
export default {
name: "
SupervisePlaceManage
",
name: "
ReceiptManagement
",
components: {
DialogVue,
},
...
...
src/views/reportingData/index.vue
View file @
682080e
...
...
@@ -39,7 +39,7 @@
<!-- 提运单号 -->
<el-col :span="5">
<Formitem label="提运单号" prop="billNo">
<el-input
<
!-- <
el-input
type="text"
class="inputShadow"
id="inputInner--billNo"
...
...
@@ -47,7 +47,12 @@
v-model="sreachFormData.billNo"
clearable
placeholder=""
></el-input>
></el-input> -->
<FormTextareaInput
:formData="sreachFormData"
dataKey="billNo"
@formChange="formChange"
/>
</Formitem>
</el-col>
<!-- 物流运单编号 -->
...
...
@@ -63,7 +68,7 @@
<!-- 订单编号 -->
<el-col :span="5">
<Formitem label="订单编号" prop="orderNo">
<el-input
<
!-- <
el-input
type="text"
class="inputShadow"
id="inputInner--orderNo"
...
...
@@ -71,7 +76,12 @@
v-model="sreachFormData.orderNo"
clearable
placeholder=""
></el-input>
></el-input> -->
<FormTextareaInput
:formData="sreachFormData"
dataKey="orderNo"
@formChange="formChange"
/>
</Formitem>
</el-col>
...
...
@@ -929,7 +939,7 @@ export default {
console.log(error);
} finally {
this.search(0);
this.tableMaxheight = window.innerHeight - 3
35
;
this.tableMaxheight = window.innerHeight - 3
60
;
}
},
mounted() {
...
...
@@ -1166,11 +1176,7 @@ export default {
datasDownload(dataSource) {
let obj = {
// billNo: this.sreachFormData.billNo,
declareId: [],
// logisticsNo: this.sreachFormData.logisticsNo,
// orderNo: this.sreachFormData.orderNo,
// receiptStatus: this.sreachFormData.receiptStatus,
dataSourceTemplate: dataSource,
...this.sreachFormData,
};
...
...
@@ -1513,7 +1519,8 @@ export default {
update(val) {
this.$router.push({
name: "EditReportingData",
params: { data: val },
// params: { data: val },
query: { declareId: val.declareId },
});
},
//申报日志
...
...
src/views/summaryDataSearch/index.vue
View file @
682080e
...
...
@@ -8,26 +8,6 @@
size="small"
>
<el-row class="row-border">
<!-- 提运单号 -->
<!-- <el-col :span="5">-->
<!-- <Formitem label="提运单号" prop="billNo">-->
<!-- <el-input-->
<!-- type="text"-->
<!-- class="inputShadow"-->
<!-- id="inputInner--billNo"-->
<!-- resize="none"-->
<!-- v-model="sreachFormData.billNo"-->
<!-- clearable-->
<!-- placeholder=""-->
<!-- ></el-input>-->
<!--<!– <FormTextareaInput–>-->
<!--<!– :formData="sreachFormData"–>-->
<!--<!– dataKey="billNo"–>-->
<!--<!– @formChange="formChange"–>-->
<!--<!– />–>-->
<!-- </Formitem>-->
<!-- </el-col>-->
<!-- 预录入编号 -->
<el-col :span="5">
<Formitem label="预录入编号" prop="preNo">
<el-input
...
...
@@ -249,7 +229,7 @@ import {
getExportSummaryReceiptData,
} from "@/api/exportSummary-api";
export default {
name: "
ExportBillQuery
",
name: "
SummaryDataSearch
",
data() {
return {
sreachFormData: {
...
...
@@ -435,7 +415,8 @@ export default {
view(val) {
this.$router.push({
name: "SummaryDetail",
params: { data: val },
// params: { data: val },
query: { id: val.id },
});
},
popoverChange(val) {
...
...
src/views/summaryDetail/index.vue
View file @
682080e
...
...
@@ -15,20 +15,6 @@
size="small"
>
<el-row :gutter="5">
<!-- 提运单号 -->
<!-- <el-col :span="3">-->
<!-- <Formitem label="提运单号" prop="billNo">-->
<!-- <el-input-->
<!-- type="text"-->
<!-- class="inputShadow"-->
<!-- id="inputInner--billNo"-->
<!-- resize="none"-->
<!-- v-model="formData.billNo"-->
<!-- clearable-->
<!-- placeholder=""-->
<!-- ></el-input>-->
<!-- </Formitem>-->
<!-- </el-col>-->
<!-- 电子口岸编号 -->
<el-col :span="6">
<Formitem label="电子口岸编号" prop="preNo">
...
...
@@ -350,7 +336,7 @@ import ReceiptInfoTable from "../components/ReceiptInfoTable/index.vue";
import ProductDetailTable from "../components/ProductDetailTable/index.vue";
import { getExportSummaryDetail } from "@/api/exportSummary-api.js";
export default {
name: "",
name: "
SummaryDetail
",
components: { ProductDetailTable, ReceiptInfoTable },
data() {
return {
...
...
@@ -405,8 +391,8 @@ export default {
};
},
created() {
if (this.$route.
params.data
) {
this.id = this.$route.
params.data
.id;
if (this.$route.
query.id
) {
this.id = this.$route.
query
.id;
this.searchData();
} else {
this.back();
...
...
src/views/summaryEdit/index.vue
View file @
682080e
...
...
@@ -174,7 +174,7 @@ export default {
components: {
DialogVue,
},
name: "",
name: "
SummaryEdit
",
data() {
return {
formRules: {
...
...
Please
register
or
login
to post a comment