zhanbo.xu

feat: 修改BUG和去掉按钮

...@@ -393,7 +393,7 @@ export default { ...@@ -393,7 +393,7 @@ export default {
393 393
394 methods: { 394 methods: {
395 // 申报 395 // 申报
396 - postDeclareData(val) { 396 + postDeclareData() {
397 const obj = { 397 const obj = {
398 declareIds: this.selected.map((item) => item.declareId), 398 declareIds: this.selected.map((item) => item.declareId),
399 type: "totalScore", 399 type: "totalScore",
...@@ -411,9 +411,7 @@ export default { ...@@ -411,9 +411,7 @@ export default {
411 this.alertWarningMsg("申报失败,请稍后重试。"); 411 this.alertWarningMsg("申报失败,请稍后重试。");
412 }) 412 })
413 .finally(() => { 413 .finally(() => {
414 - if (+val === 1) { 414 + this.search(0);
415 - this.search(0);
416 - }
417 }); 415 });
418 }, 416 },
419 // 清单总分单申报 417 // 清单总分单申报
...@@ -445,7 +443,9 @@ export default { ...@@ -445,7 +443,9 @@ export default {
445 this.dataPreviewVisible = false; 443 this.dataPreviewVisible = false;
446 this.dataPreviewTitle = ""; 444 this.dataPreviewTitle = "";
447 this.loadings.declaration = false; 445 this.loadings.declaration = false;
448 - this.postDeclareData(val); 446 + if (+val === 1) {
447 + this.postDeclareData();
448 + }
449 }, 449 },
450 // 运单号跳转 450 // 运单号跳转
451 linkChange(record, type) { 451 linkChange(record, type) {
......
...@@ -191,10 +191,10 @@ ...@@ -191,10 +191,10 @@
191 <el-dropdown-item :command="{ code: 'list', name: '清单申报' }" 191 <el-dropdown-item :command="{ code: 'list', name: '清单申报' }"
192 >清单申报</el-dropdown-item 192 >清单申报</el-dropdown-item
193 > 193 >
194 - <el-dropdown-item 194 + <!-- <el-dropdown-item
195 :command="{ code: 'totalScore', name: '清单总分单申报' }" 195 :command="{ code: 'totalScore', name: '清单总分单申报' }"
196 >清单总分单申报</el-dropdown-item 196 >清单总分单申报</el-dropdown-item
197 - > 197 + > -->
198 </el-dropdown-menu> 198 </el-dropdown-menu>
199 </el-dropdown> 199 </el-dropdown>
200 <!-- 运抵单申报按钮 --> 200 <!-- 运抵单申报按钮 -->
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
212 运抵单申报 212 运抵单申报
213 </el-button> --> 213 </el-button> -->
214 <!-- 离境单申报按钮 --> 214 <!-- 离境单申报按钮 -->
215 - <el-button 215 + <!-- <el-button
216 size="small" 216 size="small"
217 type="primary" 217 type="primary"
218 class="dropdown-style-button" 218 class="dropdown-style-button"
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
230 icon-class="fedexDeclareIcon" 230 icon-class="fedexDeclareIcon"
231 ></svg-icon> 231 ></svg-icon>
232 离境单申报 232 离境单申报
233 - </el-button> 233 + </el-button> -->
234 <!-- 撤销单申报按钮 --> 234 <!-- 撤销单申报按钮 -->
235 <el-button 235 <el-button
236 size="small" 236 size="small"
......