zhanbo.xu

feat: 修改BUG和去掉按钮

......@@ -393,7 +393,7 @@ export default {
methods: {
// 申报
postDeclareData(val) {
postDeclareData() {
const obj = {
declareIds: this.selected.map((item) => item.declareId),
type: "totalScore",
......@@ -411,9 +411,7 @@ export default {
this.alertWarningMsg("申报失败,请稍后重试。");
})
.finally(() => {
if (+val === 1) {
this.search(0);
}
});
},
// 清单总分单申报
......@@ -445,7 +443,9 @@ export default {
this.dataPreviewVisible = false;
this.dataPreviewTitle = "";
this.loadings.declaration = false;
this.postDeclareData(val);
if (+val === 1) {
this.postDeclareData();
}
},
// 运单号跳转
linkChange(record, type) {
......
......@@ -191,10 +191,10 @@
<el-dropdown-item :command="{ code: 'list', name: '清单申报' }"
>清单申报</el-dropdown-item
>
<el-dropdown-item
<!-- <el-dropdown-item
:command="{ code: 'totalScore', name: '清单总分单申报' }"
>清单总分单申报</el-dropdown-item
>
> -->
</el-dropdown-menu>
</el-dropdown>
<!-- 运抵单申报按钮 -->
......@@ -212,7 +212,7 @@
运抵单申报
</el-button> -->
<!-- 离境单申报按钮 -->
<el-button
<!-- <el-button
size="small"
type="primary"
class="dropdown-style-button"
......@@ -230,7 +230,7 @@
icon-class="fedexDeclareIcon"
></svg-icon>
离境单申报
</el-button>
</el-button> -->
<!-- 撤销单申报按钮 -->
<el-button
size="small"
......