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-08-12 10:53:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9cf314a8e611c0a70e3a6c6da4141db4872fa00f
9cf314a8
1 parent
1d448945
feat: 修改按钮
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
22 deletions
src/views/reportingData/index.vue
src/views/reportingData/index.vue
View file @
9cf314a
...
...
@@ -246,7 +246,46 @@
</el-button>
</div>
<div class="optionButton-right">
<el-dropdown
<el-button
size="small"
type="primary"
class="dropdown-style-button"
:loading="loadings.orderLoading"
@click="declareData('orderLoading', '订单申报', 'order')"
>
<svg-icon
class="el-icon-user-solid"
icon-class="fedexDeclareIcon"
></svg-icon>
订单申报
</el-button>
<el-button
size="small"
type="primary"
class="dropdown-style-button"
:loading="loadings.waybillLoading"
@click="declareData('waybillLoading', '运单申报', 'waybill')"
>
<svg-icon
class="el-icon-user-solid"
icon-class="fedexDeclareIcon"
></svg-icon>
运单申报
</el-button>
<el-button
size="small"
type="primary"
class="dropdown-style-button"
:loading="loadings.listLoading"
@click="declareData('listLoading', '清单申报', 'list')"
>
<svg-icon
class="el-icon-user-solid"
icon-class="fedexDeclareIcon"
></svg-icon>
清单申报
</el-button>
<!-- <el-dropdown
style="margin-right: 10px"
size="small"
split-button
...
...
@@ -273,12 +312,8 @@
<el-dropdown-item :command="{ code: 'list', name: '清单申报' }"
>清单申报</el-dropdown-item
>
<!-- <el-dropdown-item
:command="{ code: 'totalScore', name: '清单总分单申报' }"
>清单总分单申报</el-dropdown-item
> -->
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
-->
<!-- 运抵单申报按钮 -->
<!-- <el-button
size="small"
...
...
@@ -842,6 +877,9 @@ export default {
revokeLoading: false, // 撤销单申报加载状态
departureLoading: false, // 离境单申报加载状态
arrivalInLoading: false, // 运抵单申报加载状态
orderLoading: false, // 订单申报加载状态
waybillLoading: false, // 运单申报加载状态
listLoading: false, // 撤销单申报加载状态
},
textareaVisible: {},
tableMaxheight: null,
...
...
@@ -1221,15 +1259,14 @@ export default {
},
cancelDataPreview(val) {
this.dataPreviewVisible = false;
this.dataPreviewTitle = "";
if (val === 1) {
this.postDeclareData(this.paramsOjb, this.currentLoadingKey);
} else {
this.$set(this.loadings, this.currentLoadingKey, false);
this.paramsOjb = {};
}
// this.dataPreviewVisible = false;
// this.dataPreviewTitle = "";
// if (val === 1) {
// this.postDeclareData(this.paramsOjb, this.currentLoadingKey);
// } else {
// this.$set(this.loadings, this.currentLoadingKey, false);
// this.paramsOjb = {};
// }
},
/**
...
...
@@ -1251,13 +1288,13 @@ export default {
declareIds: this.selected.map((item) => item.declareId),
type: dropdownCode,
};
if (dropdownName === "清单总分单申报") {
this.dataPreviewVisible = true;
this.dataPreviewTitle = `预览-${dropdownName}`;
this.currentLoadingKey = loadingKey;
this.paramsOjb = obj;
return;
}
//
if (dropdownName === "清单总分单申报") {
//
this.dataPreviewVisible = true;
//
this.dataPreviewTitle = `预览-${dropdownName}`;
//
this.currentLoadingKey = loadingKey;
//
this.paramsOjb = obj;
//
return;
//
}
// 如果是撤销单申报,显示弹窗并返回
if (dropdownName === "撤销单申报") {
...
...
Please
register
or
login
to post a comment